Instead of using, .show();create the intention:
new Intent i = new TweetComposer.Builder(activity)
.text("#hastag").
.createIntent();
Now you can run the action for the result:
startActivityForResult(i, TWEETER_REQ_CODE);
where TWEETER_REQ_CODEis just a numeric identifier. next onActivityResultwait for the appearance TWEETER_REQ_CODE.
Hope this helps, N.
source
share