android - using ShareActionProvider somewhere else, not it ActionBarSherlock -


sorry noob question, i've used shareactionprovider actionbarsherlock. don't want use actionbarsherlock @ - want use side menu , have button sharing - can ?

you can put in click listener or similar.

intent sendintent = new intent(); sendintent.setaction(intent.action_send); sendintent.putextra(intent.extra_text, "this text send."); sendintent.settype("text/plain"); startactivity(sendintent); 

which should show dialog this:

action_send


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -