[android-developers] Re: how to transfer an action(ex:key press) from an Activity to other Activities

2009-03-12 Thread Anh Khoa Nguyen Pham
Did you try using PHONEPLUS_CALLBACK application ( I sent this question on another topic)? I want to do something like this application. Please download and install this application, then you will see my problem clearly. I see that a lot of persons on forum asked about this question but up to now,

[android-developers] Re: how to transfer an action(ex:key press) from an Activity to other Activities

2009-03-12 Thread Streets Of Boston
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. On Mar 12, 10:38 pm, Anh Khoa Nguyen Pham

[android-developers] Re: how to transfer an action(ex:key press) from an Activity to other Activities

2009-03-12 Thread Anh Khoa Nguyen Pham
Thanks for your replies, Actually, my application will run when incoming call is detected. Because i do not know how to integrate my application into original dialer so i must implement my application as a separate application. So when users press Green Key, i want my application to exit and trans

[android-developers] Re: how to transfer an action(ex:key press) from an Activity to other Activities

2009-03-12 Thread Streets Of Boston
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

[android-developers] Re: how to transfer an action(ex:key press) from an Activity to other Activities

2009-03-12 Thread Dianne Hackborn
No you can't send events to other applications, sorry. On Thu, Mar 12, 2009 at 4:31 AM, npak...@gmail.com wrote: > > 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