D Daniele87ITA New Member Jan 7, 2015 #1 Hi I need an application that runs in background, ideally in the system tray, and captures certain keypresses. At the end I need to intercept the end string output by a barcode scanner and substitute it with my string. Is it even possible? Thanks!!
Hi I need an application that runs in background, ideally in the system tray, and captures certain keypresses. At the end I need to intercept the end string output by a barcode scanner and substitute it with my string. Is it even possible? Thanks!!
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2015 #2 Running an app in the background is simple: https://www.b4x.com/android/forum/t...-the-system-tray-notifications.37534/#content However it will not be able to intercept key events sent to other apps. Upvote 0
Running an app in the background is simple: https://www.b4x.com/android/forum/t...-the-system-tray-notifications.37534/#content However it will not be able to intercept key events sent to other apps.
D Daniele87ITA New Member Jan 8, 2015 #3 thanks! I knew about system tray but didn't know about key presses,is it a limitation of b4j or java itself? Upvote 0
thanks! I knew about system tray but didn't know about key presses,is it a limitation of b4j or java itself?
Erel B4X founder Staff member Licensed User Longtime User Jan 9, 2015 #4 Pure Java doesn't support this feature. You might be able to use native libraries for each platform that implement this. Upvote 0
Pure Java doesn't support this feature. You might be able to use native libraries for each platform that implement this.