On Tue, Jul 15, 2014 at 12:07 PM, sourabh sahu <[email protected]> wrote:

> I am nit looking contextual menu in my app, my requirement is when  I long
> press on any file lets say in a image inside file manager, then whwtever
> options comes into a menu. I want to add my own menu in that context
> menu.please help


This would depend on two things:
1 - configuring your app to handle the correct intents to view or edit data
2 - the other app (file manager or whatever) correctly using this intent to
get a list of apps that can open the selected data to generate their
context menu.

You cannot just inject  your own context menu into another app.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to