yes, the issue is related to the way Android of different versions handles the hard keys differently (apparently from 2.0 onwards it matters if it's a soft or a hard key). Here is the story from the android developer blog: http://android-developers.blogspot.com/2009/12/back-and-other-hard-ke...
As a developer it is very frustrating to have new versions break old code, but that's essentially what happened with every new version of Android, and I haven't had time yet to even try to understand all the different ways in which I'm now supposed to check for something as simple as a long-press on the back key.
When the app is terminated with the long press, it exits, within the limits of Android, meaning, it may exit, or it may not ;)
Sorry, Michael
On Mar 9, 12:49 pm, Geoffrey <geoffrey.met...@gmail.com> wrote:
> yes, the issue is related to the way Android of different versions > handles the hard keys differently (apparently from 2.0 onwards it > matters if it's a soft or a hard key). Here is the story from the > android developer blog:http://android-developers.blogspot.com/2009/12/back-and-other-hard-ke...
> As a developer it is very frustrating to have new versions break old > code, but that's essentially what happened with every new version of > Android, and I haven't had time yet to even try to understand all the > different ways in which I'm now supposed to check for something as > simple as a long-press on the back key.
> When the app is terminated with the long press, it exits, within the > limits of Android, meaning, it may exit, or it may not ;)
> Sorry, > Michael
> On Mar 9, 12:49 pm, Geoffrey <geoffrey.met...@gmail.com> wrote:
> > I've recently upgraded from HTC Magic to Nexus One.
> > Now, when I long press 'BACK' button, I briefly see the exit dialog > > box.
> yes, the issue is related to the way Android of different versions > handles the hard keys differently (apparently from 2.0 onwards it > matters if it's a soft or a hard key). Here is the story from the > android developer blog:http://android-developers.blogspot.com/2009/12/back-and-other-hard-ke...
> As a developer it is very frustrating to have new versions break old > code, but that's essentially what happened with every new version of > Android, and I haven't had time yet to even try to understand all the > different ways in which I'm now supposed to check for something as > simple as a long-press on the back key.
> When the app is terminated with the long press, it exits, within the > limits of Android, meaning, it may exit, or it may not ;)
> Sorry, > Michael
> On Mar 9, 12:49 pm, Geoffrey <geoffrey.met...@gmail.com> wrote:
> > I've recently upgraded from HTC Magic to Nexus One.
> > Now, when I long press 'BACK' button, I briefly see the exit dialog > > box.