how to transfer an action(ex:key press) from an Activity to other Activities

by npak...@gmail.com » Thu, 12 Mar 2009 19:31:56 GMT


Sponsored Links
 Hi all,
When my application is running, a button is pressed.After my
application processes this event, i want to continue to transfer this
event to other applications. Is it possible? If yes, how to do that?
I very appreciate your advices,
Thanks,
NPAK


--~--~---------~--~----~------------~-------~--~----~



how to transfer an action(ex:key press) from an Activity to other Activities

by Streets Of Boston » Fri, 13 Mar 2009 03:12:52 GMT


 First you should figure out what you really try to accomplish. I don't
know the details of your app, but i guess that your goal is not to
push a button. The goal is the action that occurs when the button is
pushed.

I would just call the action (method/java-code/etc) directly that
would have been called by the button-click of the other activity.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


how to transfer an action(ex:key press) from an Activity to other Activities

by Streets Of Boston » Fri, 13 Mar 2009 10:55:54 GMT


 You could figure how to start the original dialer's activity
(startActivity(Intent)) providing the correct Intent... I'm not sure
how to do that, which action/category/extra-data/etc. to set to make
this happen. Maybe someone else can help you with that.





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How to create a common library in android - containing resource files as well

Hi,

I have several android projects, they share some common codes, resources files. Does any body know how to create an android library that can be used among different projects? I know how to do this if it's only java code. But how do you deal with the resource files? The auto generated R.java? How to make the resources in the lib are accessible to the importing project? Thanks, tj --

2. How to get android version programmtically

Hello, guyes.

I need to get android version programmtically & dynamically when my application 
is running on device. 

I tried android.os.Build.Version, but it doesn't exist in Android sdk 1.6.

How to get android version?

Thanks.
Jiang



      

-- 

3. HttpURLConnection or HttpClient

4. system_server debugging using eclipse.

5. performance using while transferring file via wifi

6. Any way to animate a 2D Game Smooth without OpenGL ?

7. how do I load an image for a softkeyboard