Hello,

I am in process of validating this approach on this, hope it helps.

- modify base/services/java/com/android/server/
WindowManagerService.java to allow injecting keys from one app to
another
- create an app that has inject key event permission to simulate BACK
button, and close itself immediately, this app would be launched by
intent with FLAG_PREVIOUS_IS_TOP.

Aad

On Jun 26, 3:48 am, xift <[email protected]> wrote:
> Hi,
> I am currently porting Eclair to a device without Back and Menu
> button.
> Android 1.5 was running on that device before. The vendor had some
> pretty neat software replacement for these buttons.
> How to Implement such a replacement?
>
> I already searched this group but appearently every Android device
> seems to have these keys.
> Home key is no problem (And there is already a home key on the
> device).
> But I cant figure out any way to implement the Menu and Back buttons
> in software.
>
> Any hints?

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to