Thanks for the update. I just applied it to one of my big projects with many activities. It works like a charm. I know its a little bit early for the transition or Erels future revised back key, but i trust your library and will use it on all my projects. I just hope Erels future back key revision wont affect your library in usage. I'm not an expert but i think it will be ok.
thanks for testing. the library's main purpose was to deal with android 17's no opting out of back key handling. in
effect, this has nothing to do with b4a. at some point, however, it will have to be incorporated into b4a (as has no
opting out of full screen). i assume it will no longer be necessary to use backster. i don't know if you've noticed but
there are a massive number of app updates from play store almost daily. developers (big and small) are forced to
scramble to keep up with google's changes. this is not b4a's fault. if backster is superfluous at some point, so be it.
it's no different from being forced to update an app because google moved the goal posts yet again. with all the
attention focused on full screen and sdk36, the back key issue has slipped by almost unnoticed.
note: you might want to pay attention to where you initialize and start intercepting the back key (ie, in create or resume).
i spend a lot of time testing this aspect.
also, i need to look at the async msgboxes. that last boolean parameter which allows the user to "back out" of the msgbox without tapping one of the supplied exits. that's next on my list...
update: with the async msgboxes, i always set cancelable to false because i want the user to chose from among the options that i provide (which do include a cancel option). anyway, for testing i set cancelable to true and backster didn't close the app. so, for me, that's a good thing.
after reading this, go back to post #1 and pick up new version (0.85) of library + explanation of changes.