Needed reference to source code for adb shell command "input" that is used to inject keypresses.

by Royston Rodrigues » Wed, 26 Aug 2009 15:05:21 GMT


Sponsored Links
 Hi All,

I was able to find the source of adb shell command "input".

Location:
frameworks/base/cmds/input/src/com/android/commands/input/Input.java

Regards,
Royston
QCOM





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



Other Threads

1. Problem applying animation on a View

Hi all,

I've a custom ViewGroup with several custom children views and I'm
trying to apply an AlphaAnimation on the views with no luck.  If I
apply the animation on the ViewGroup it's correctly applied and I can
see all the children views fading in, but if I try to apply it
directly to the views, it doesn't work. I'm loading the fading
animation from an xml resource and applying it using the
startAnimation method. So if i do:

viewgroup.startAnimation(AnimationUtils.loadAnimation(this,
R.anim.fade));

it works like a charm, but if I do:

viewgroup.getChildAt(0).startAnimation(AnimationUtils.loadAnimation
(this, R.anim.fade));

nothing happens.

Any idea of what could be the problem here?

Thanks in advance.

-- 

2. Error installing android SDK on windows XP

I see following error:
"Failed to fetch URL 
https://dl-ssl.google.com/android/repository/repository.xml,
reason: HTTPS SSL error. You might want to force download through HTTP
in the settings."

I tried to play around with the settings, didnt help.

Whats the workaround?

-- 

3. Android SDK and AVD Manager

4. Self-restarting service

5. how to show a dialog when a activity is running and game is over ?

6. Preferred way to support multiple Android OS Versions?

7. Android 2.0 has no Google maps icon on desktop, why?