Nook Color App was rejected on the nook color HD & HD+ for the following:
On the NOOK HD and NOOK HD+, the Back button in the System bar at the bottom of the screen should take users to the previous screen in the app. If users are already at the home screen, the Back button should quit the app.
For the Nook color the status bar is set to display (which is where the 'soft back button is located).
I used the following code:
// Set up a listener for the NOOK button
local function onNookPress( event )
local phase = event.phase
local keyName = event.keyName
if keyName == “back” then
– Do stuff
– Keep the return true line here because
– you want to successfully return
return true
end
end
– Attach the listener to the Runtime object
Runtime:addEventListener( “key”, onNookPress)
Works fine on my Nook Color.
Does the Nook Color HD & HD+ require different coding ?
Thanks,
Frank
[import]uid: 31039 topic_id: 34520 reply_id: 334520[/import]