Hi Houcem,

take a look at the code of android-x86 that implaments a way to use MENU,
BACK and HOME buttons in a device with just touchscreen. i if the name of
the file that implements tihs is touchable.java

http://www.android-x86.org/documents/touch-only-device-howto

Regards,

Rogerio

2010/2/12 Houcem Berrayana <[email protected]>

> Hi all,
>
> I want to simulate Home and Back buttons. I tried to see how to
> dispatch a key event but I didn't knew exactly how to do ??
> I found some examples using IWindowManager. but I haven't found this
> class in the SDK. Is there any other way to send key events ?
> Thanks by advance and excuse me for my horrible English.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to