The moose likes Android and the fly likes Availability of Intent Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Availability of Intent" Watch "Availability of Intent" New topic
Author

Availability of Intent

Renjith Mohan
Ranch Hand

Joined: Nov 28, 2008
Posts: 63


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: 63

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: 63


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.

[Thumb - Photo0127.jpg]
 Filename Photo0127.jpg [Disk] Download
 Description Pop-up menu
 Filesize 317 Kbytes
 Downloaded:  3 time(s)

 
IntelliJ Java IDE
 
subject: Availability of Intent
 
Threads others viewed
Installing APK from SD Card
different between encryption and compression
Is it Ok to put a short version of your name in your resume?
Proxy Vs Decorative pattern
Open Android's default Music App from own Application
developer file tools