[android-developers] the focused activity is able to receive the simulated Key/touch tap Msg ?

2012-04-14 Thread Xie Daniel
Hey , I am trying to investigate the simulation of key/touch tap and sending to ther application . After some navigation on internet , I get to know that sending these msg seems impossible. and also , I am told that key/touch tap msg is destinated to the focused activity... So my question

[android-developers] Re: the focused activity is able to receive the simulated Key/touch tap Msg ?

2012-04-14 Thread Xie Daniel
Also , as for dispatchKeyEvent , my understanding is that it only intercepts all Keys EVENT to the process where dispatchKeyEvent is invoked,instead of system-wide Key Events ... please help to verify my statement. Thanks ... On Sat, Apr 14, 2012 at 5:11 PM, Xie Daniel jasic2...@gmail.com wrote

Re: [android-developers] how to become a developer

2011-12-19 Thread Xie Daniel
hhee . Interesting topic .. Basically speaking , there are something in common when you learn to program : Do some reading turtorials to understand primary elements like syntax. Do some practice on the samples/demo to accumulate experiences. Do some thinking to grasp the essentials . I

Re: [android-developers] how to get blocked until the target activity returns.

2011-06-17 Thread Xie Daniel
if there was no Activity found to run the given Intent. On 6/15/11, TreKing treking...@gmail.com wrote: On Sun, Jun 12, 2011 at 8:42 AM, Xie Daniel jasic2...@gmail.com wrote: So , would you like to shed some lights of the way of making the execution blocked in OnActivityResult unless WIFISettings

[android-developers] how to get blocked until the target activity returns.

2011-06-15 Thread Xie Daniel
With some research on the issue , I perceive that this question has sth to do with the mode singletask in the acitivity , I wanna guide user to enable wifi using the snippet below : Intent intent = new Intent(Intent.ACTION_MAIN); // Intent intent = new Intent();

[android-developers] a question of message hooking

2011-05-30 Thread Xie Daniel
I have a scenario like this : A1 Thread(GUI thread) and A2 thread. A2 thread regularly sends msg to A1 to update GUI showing . But frequent msg sending might lead to the msg accumulation in A1 Queue because A1 might not handle these messages in a short manner. Then, some msgs like onDestroy