Kindle Fire App Rejected for Back Button

My Kindle Fire app was rejected since If you “Tap on “Back” button of the device, it redirects to the app tray of the device instead of the main menu of the app.”

How do I fix this? I am pretty sure that I have gotten other apps approved without using the hardware back button. What code can I add to detect if the back button was pressed?

Thank you,
Scott [import]uid: 59735 topic_id: 29947 reply_id: 329947[/import]

You can capture the back key using the “key” event.
http://docs.coronalabs.com/api/event/key/index.html

Check out the KeyEvents sample code bundled with CoronaSDK. /Hardware/KeyEvents/

-Tom [import]uid: 7559 topic_id: 29947 reply_id: 120121[/import]

@BoltVisual: check this post comment where I explain and provide the code to handle the back key on android: http://developer.coronalabs.com/forum/2012/02/17/disable-android-back-key#comment-87449 [import]uid: 117906 topic_id: 29947 reply_id: 120293[/import]

Hi BoltVisual,

I posted some additional comments about the issue:
http://developer.coronalabs.com/forum/2012/02/17/disable-android-back-key#comment-120294

Best,
Andreas
[import]uid: 107675 topic_id: 29947 reply_id: 120298[/import]

You can capture the back key using the “key” event.
http://docs.coronalabs.com/api/event/key/index.html

Check out the KeyEvents sample code bundled with CoronaSDK. /Hardware/KeyEvents/

-Tom [import]uid: 7559 topic_id: 29947 reply_id: 120121[/import]

@BoltVisual: check this post comment where I explain and provide the code to handle the back key on android: http://developer.coronalabs.com/forum/2012/02/17/disable-android-back-key#comment-87449 [import]uid: 117906 topic_id: 29947 reply_id: 120293[/import]

Hi BoltVisual,

I posted some additional comments about the issue:
http://developer.coronalabs.com/forum/2012/02/17/disable-android-back-key#comment-120294

Best,
Andreas
[import]uid: 107675 topic_id: 29947 reply_id: 120298[/import]