Douglas Farias Expert Licensed User Longtime User Dec 11, 2013 #1 hi i make a flashlight app simple how can i make to user give a long click in one number and it start my app flashlight ? for exemple user is using hes fone and need a flash light he dont need search my app icon only press long click on number 6 <<< exemple and my app start ?
hi i make a flashlight app simple how can i make to user give a long click in one number and it start my app flashlight ? for exemple user is using hes fone and need a flash light he dont need search my app icon only press long click on number 6 <<< exemple and my app start ?
Erel B4X founder Staff member Licensed User Longtime User Dec 11, 2013 #2 It is not possible to intercept regular keystrokes when your app is in the background. You can intercept the Volume key: http://www.b4x.com/android/forum/threads/intercept-volume-button-press.28179/#post-163378 Upvote 0
It is not possible to intercept regular keystrokes when your app is in the background. You can intercept the Volume key: http://www.b4x.com/android/forum/threads/intercept-volume-button-press.28179/#post-163378
P persianpowerman1 Active Member Licensed User Longtime User Dec 11, 2013 #3 wow! this was worth knowing nice Upvote 0