File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Availability of Intent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Availability of Intent" Watch "Availability of Intent" New topic
Author

Availability of Intent

Renjith Mohan
Ranch Hand

Joined: Nov 28, 2008
Posts: 65


Hey guys,

Have you seen file options (details, open as, edit and send) once an item in the file explorer is tapped?

how can I open it from code?

is there any suitable intent?

Thanks in advance
Tibi Giurgiu
Greenhorn

Joined: Jul 01, 2011
Posts: 4

try this
Renjith Mohan
Ranch Hand

Joined: Nov 28, 2008
Posts: 65

Thanks Tibi!

Well, I tried that snippet. It shows only view options; with a list of suitable applications with which I can open the file

Tibi Giurgiu
Greenhorn

Joined: Jul 01, 2011
Posts: 4

Yes, that's for opening a file, i guess i've misunderstood your question.
Are you asking how to implement those options, how to show the context menu or if it's possible to open the context menu of an external app (Astro I asume)?
Renjith Mohan
Ranch Hand

Joined: Nov 28, 2008
Posts: 65


Oops! did I confuse you?

okay I will make it simple.

For instance, take Astro file browser. When you long tap any of the file, a menu pops up. See the attached image.

What is this menu called?

I need to implement this one in my application.




[Thumbnail for Photo0127.jpg]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Availability of Intent
 
Similar Threads
Proxy Vs Decorative pattern
Is it Ok to put a short version of your name in your resume?
Open Android's default Music App from own Application
Installing APK from SD Card
different between encryption and compression