java - Fire - Back button event (kinda crazy scenario) -


my scenario follows. this application, want add shortcut swipepad (shortcut application). when app launched swipepad, key pressed on application existed before. simulating key on previous application. (if application has own key behavior, want same key behavior executed).

for example: launch gmail. use swipe pad , launch facebook. want go facebook. use swipe pad hit key. results in, 1. swipe pad closing (this happen). 2. facebook executing 3. gmail on display

why go through trouble? use note 2 spen. nagging scenario when, using spen, , go back, have switch pen hand , pen.

coming dotnet background struggling java , eclipse. little would appreciated.

i'll try:

  1. i didn't asking.

  2. to emulate key, want make own "input method editor", problem replace current keyboard. (you can emulate key if rooted.)

  3. instead, solve problem:

i have switch pen hand , pen.

you can use spen, hold button on pen, make gesture: "<" , act if pressed key.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -