tags:

views:

37

answers:

3

I want make an app/service that looks like (Nexus One touch buttons) for the navigation keys (Home, menu,Back, Search)

The buttons should always stay on top and send the command to the actually app thats running.

Someone have ideas and sample codes how to do that?

Ken

+3  A: 

You cannot do this kind of application. First, you cannot keep an app always on top, then you cannot dispatch key events to other apps.

Romain Guy
A: 

Are you sure?

There is an app with name (Smart Taskmanager) wich always detect when you touch the right side of the screen and then detect when you slide the finger to left.

So I think its possible, with this function I think its possible to implementate the code to simulate the (Home, Meny, Back, Search) buttons.

(Its on Htc Desire I ran the "Smart Taskmanager" wich that work.)

All help is Apreciate!

Ken
@Ken: while to err is human, you can be pretty confident Romain knows what he's talking about, being one of the Android engineers ;-)
JRL
A: 

I foregot to say!!

I also see and test an app wich show a "cracked display" always ontop so that tecnic maybe shold be useful to always show the buttons on top.

Those function, show the button and catch the "touch event" and send the event to the active program should be in a service module wich runs in background.

Thats my thought!

Hope to here from you wich develope for android!

Ken