Hi Informatix,
well, I plan to send it to the application which has the current focus. And of course that should happen from within a service module. E.g. the service module is waiting for a specific trigger and then it should send the keyevent to the application which is in the focus.
Very much like what happens if you do
adb shell
$ input keyevent 25
So how could I do that? I mean my very first post shows my attempt to run that shell command from within my Android app.
And by the way, searching the forum shows a good number of threads which describe a similar problem but without a solution.
So am I right to assume that the limitations of B4A are so great that a simple app as "button saver" can't be developed using B4A?
Erel, I don't say this to offend you in any way, I greatly appreciate your development of B4A and in fact I've been recommending B4A on all sorts of levels to my coworkers and friends but from looking through the archive of posts I see that all threads remain unanswered. Including statements that you don't think that this is possible. However, the reality of apps on the Market prove that it is possible.
So I would greatly appreciate if someone can point me to the right direction. You see before I recommend to my line manager to use B4A I need to be convinced that in fact the community is there to help with problems where B4A meets its limitations.
Otherwise the bottom line would be that B4A can't be considered as a real alternative to writing it directly in Java.
Please get me right on this one. I just want to avoid spending hours and hours on a project and then finding out half-way through (or close to the end) that there is one limitation which is an intrinsic problem to B4A making it impossible to use B4A for the WHOLE project...