Hi,

Here is a scenario of what I am trying to do.
A user is running for example a media appplication.
When the user is selecting files in the application to watch, he has
the option to click a lets say ctrl.
then my intent receiver will notify my application to show a pop-up
window to let the user send the file the user has just selected to a
buddy.

Ideally, I would like to write some independent code that would
recognize that the ctrl (or any key) was clicked when a 'file-like'
selection was made in another application by the user. i think going
as far as the pop-up window is possible. However, I am unsure if it is
possible to get a reference (or information) of the file to send it or
verify that it is indeed a file. Here is two posibilties that i think
of:

1) use interprocess communication (I think it may require
implementation by the other application though)
2) try to get the name of the application through the ActivityManger
(My application can guess the content provider of the application and
attempt to get it from there if there is one? although how to access
the ContentProvider dynamically is a blur to me right now)
3) other options??

It is a proof of concept for my school project, so it is not as
important if it can be done but it will be cool if I can find a
workable solution. I would appreciate if anyone has any suggestions.
Thank you.
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to