I am able to use a ShareActionProvider in a normal action bar to show a 
Share button. Clicking on it drops down a menu with a list of apps that I 
can share too. Now, I am trying to use the ShareActionProvider in an 
ActionMode (contextual action bar 
<http://developer.android.com/design/patterns/actionbar.html#contextual> 
shown when you long-press an item). This does not work. Clicking on the 
menu button does not drop down a menu. Is this supposed to work?

As a workaround, I think I can use Intent.createChoser() to get a dialog 
box with the list of apps. However, it would be preferable if I can get the 
drop down menu.

Thanks,
Shri

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to