handling back button in android with childbrowser

Hi,
I have a requirement where i launch a childbrowser plugin from my android app to get a token( user enters id and password to get this).On getting the token , I close the childbrowser and return to my app.
The problem is when childbrowser is just launched and user press the back button(we don't have token).I want to implement some functionality(for example, exit the app) there rather then returning to the app. I am not able to get any back event for this. The enyo code back does not fires ... the main activity overridden back does not fires.
Appreciate any help!
Sign In or Register to comment.