• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Availability of Intent

 
Ranch Hand
Posts: 65
Android Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Greenhorn
Posts: 4
Android Python Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try this
 
Renjith Mohan
Ranch Hand
Posts: 65
Android Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 4
Android Python Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 65
Android Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.

Photo0127.jpg
[Thumbnail for Photo0127.jpg]
Pop-up menu
 
Eat that pie! EAT IT! Now read this tiny ad. READ IT!
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic