Nook App rejected Volume up / down text on screen

here is the error i got from nook dev program

Test Case #7

The user interface of your app is not appropriately scaled or designed for the NOOK family of devices and their displays. Please refer to the test criteria information, address the issue, and resubmit.
Failed on the following device(s):

NOOK Tablet (Gingerbread) 1.4.1 [x]
NOOK HD (Ice Cream Sandwich) 2.0 [x]
NOOK HD+ (Ice Cream Sandwich) 2.0 [x]

  1. Start the app.
  2. Turn the volume up or down.
  3. Examine the left side of the screen.
    Result: White text of “volume up” or “volume down” displays on the left side of the screen when adjusting the volume on all devices. **See Screenshot**

[html]
http://i1171.photobucket.com/albums/r553/EPXGAMES/NWLADicon_zps704c325f.png
[/html] [import]uid: 17701 topic_id: 35051 reply_id: 335051[/import]

screen below

Photobucket

I haven’t programmed anything with volume up or down commands into the app.

anyone have had this issue before?? [import]uid: 17701 topic_id: 35051 reply_id: 139353[/import]

Nice screen! What is the game about?
[import]uid: 184193 topic_id: 35051 reply_id: 139377[/import]

Night Whisper Lane is the 1st authentic Survival Horror gaming experience specifically designed for Mobile Devices that merges classic “Point and Click” gameplay with a “Turn-Based Battle System” to help you fend off whatever evil awaits you in this seemingly endless labyrinth.

its out on iOS, Kindle Fire, and Android [import]uid: 17701 topic_id: 35051 reply_id: 139390[/import]

has this happened to anyone else before??

what typically happens when you press the volume up / down buttons on the nook? on the kindle i see a scroll bar with the volume going up and down.

thanks [import]uid: 17701 topic_id: 35051 reply_id: 139419[/import]

I’ll check it on my Nook color when I get home. If the OS is generating the message, then it should be managing itself properly. I can’t see where Corona SDK could interfere with it.

Just make sure you are not generating that (and it could be in some library you’ve included if you’re trying to check for the “n” button on the Nook, that code could be outputting messages if it sees the V-UP or V-Down buttons.
[import]uid: 199310 topic_id: 35051 reply_id: 139462[/import]

Rob,

if you want i can send you the apk file. which file host do you use for files larger then 100MB?

below in the code I’m using in the main.lua

--setup a listener for the Nook button  
local function onNookPress( event )  
 local phase = event.phase  
 local keyName = event.keyName  
 local myText = display.newText("", 50, 50, native.systemFont, 16)  
 myText.text = keyName  
 if keyName == "back" then  
 storyboard.gotoScene( "mainmenu", "zoomInOutFade", 1000 )  
 \_G.hud.isVisible = false  
 \_G.hudHealth.isVisible = false  
 audio.stop( 1 )  
 audio.stop( 3 )  
 audio.stop( 4 )  
 audio.stop( 10 )  
 storyboard.settings.PlayElevatorMusic[1] = true  
 storyboard.saveTable(storyboard.settings, "settings.json")   
 local ThemeSong = audio.loadStream("assets/audio/theme.m4a")  
 local backgroundMusicChannel1 = audio.play(ThemeSong, { channel=1, loops=-1 } )  
 return true  
 --else  
 -- return false  
 end  
end  
  
-- Attach the listener to Runtime object  
Runtime:addEventListener( "key", onNookPress)  

im assuming the lines 5 and 6 are the reason for the output
local myText = display.newText("", 50, 50, native.systemFont, 16)
myText.text = keyName
could be the problem , but i dont have a device to test it out on. [import]uid: 17701 topic_id: 35051 reply_id: 139522[/import]

emanouel, you can send me your apk and I can try it out on my nook if you’d like.
Shoot me a link to jorge AT rocketgamelabs DOT com.
It does appear that the print statement is what’s causing the problem though.
[import]uid: 80305 topic_id: 35051 reply_id: 139540[/import]

I don’t have a Nook, but in that chunk of code you posted it looks like you’re creating myText on each button press, but you’re never getting rid of it.

So every time that function is called it stacks the new myText.keyName on top of the old one.

If you’re getting rid of that display object I don’t see it in that code.

Jay
[import]uid: 9440 topic_id: 35051 reply_id: 139541[/import]

Jorge Sanchez,

Which nook do you have? im going to upload a new version of the nook today and ill send you a email to the apk fie.

let me also know how it reacts to volume up and down press as well as the nook button. it should take you to the main menu once pressed.

J. A. Whye,

you are right i don’t have the remove display text in the code, i always had corona remove it automatically with storyboard.

whats the line of code to just remove the line or code?? wont it give a error after you click on it again after removing it??

thanks again for everyone’s help [import]uid: 17701 topic_id: 35051 reply_id: 139548[/import]

screen below

Photobucket

I haven’t programmed anything with volume up or down commands into the app.

anyone have had this issue before?? [import]uid: 17701 topic_id: 35051 reply_id: 139353[/import]

Nice screen! What is the game about?
[import]uid: 184193 topic_id: 35051 reply_id: 139377[/import]

Night Whisper Lane is the 1st authentic Survival Horror gaming experience specifically designed for Mobile Devices that merges classic “Point and Click” gameplay with a “Turn-Based Battle System” to help you fend off whatever evil awaits you in this seemingly endless labyrinth.

its out on iOS, Kindle Fire, and Android [import]uid: 17701 topic_id: 35051 reply_id: 139390[/import]

has this happened to anyone else before??

what typically happens when you press the volume up / down buttons on the nook? on the kindle i see a scroll bar with the volume going up and down.

thanks [import]uid: 17701 topic_id: 35051 reply_id: 139419[/import]

I’ll check it on my Nook color when I get home. If the OS is generating the message, then it should be managing itself properly. I can’t see where Corona SDK could interfere with it.

Just make sure you are not generating that (and it could be in some library you’ve included if you’re trying to check for the “n” button on the Nook, that code could be outputting messages if it sees the V-UP or V-Down buttons.
[import]uid: 199310 topic_id: 35051 reply_id: 139462[/import]

Rob,

if you want i can send you the apk file. which file host do you use for files larger then 100MB?

below in the code I’m using in the main.lua

--setup a listener for the Nook button  
local function onNookPress( event )  
 local phase = event.phase  
 local keyName = event.keyName  
 local myText = display.newText("", 50, 50, native.systemFont, 16)  
 myText.text = keyName  
 if keyName == "back" then  
 storyboard.gotoScene( "mainmenu", "zoomInOutFade", 1000 )  
 \_G.hud.isVisible = false  
 \_G.hudHealth.isVisible = false  
 audio.stop( 1 )  
 audio.stop( 3 )  
 audio.stop( 4 )  
 audio.stop( 10 )  
 storyboard.settings.PlayElevatorMusic[1] = true  
 storyboard.saveTable(storyboard.settings, "settings.json")   
 local ThemeSong = audio.loadStream("assets/audio/theme.m4a")  
 local backgroundMusicChannel1 = audio.play(ThemeSong, { channel=1, loops=-1 } )  
 return true  
 --else  
 -- return false  
 end  
end  
  
-- Attach the listener to Runtime object  
Runtime:addEventListener( "key", onNookPress)  

im assuming the lines 5 and 6 are the reason for the output
local myText = display.newText("", 50, 50, native.systemFont, 16)
myText.text = keyName
could be the problem , but i dont have a device to test it out on. [import]uid: 17701 topic_id: 35051 reply_id: 139522[/import]

emanouel, you can send me your apk and I can try it out on my nook if you’d like.
Shoot me a link to jorge AT rocketgamelabs DOT com.
It does appear that the print statement is what’s causing the problem though.
[import]uid: 80305 topic_id: 35051 reply_id: 139540[/import]

I don’t have a Nook, but in that chunk of code you posted it looks like you’re creating myText on each button press, but you’re never getting rid of it.

So every time that function is called it stacks the new myText.keyName on top of the old one.

If you’re getting rid of that display object I don’t see it in that code.

Jay
[import]uid: 9440 topic_id: 35051 reply_id: 139541[/import]

Just to update everyone,

The game finally passed nooks tests.

the issue was lines 5 and 6 . just removed both and it will works :slight_smile: [import]uid: 17701 topic_id: 35051 reply_id: 140134[/import]

Jorge Sanchez,

Which nook do you have? im going to upload a new version of the nook today and ill send you a email to the apk fie.

let me also know how it reacts to volume up and down press as well as the nook button. it should take you to the main menu once pressed.

J. A. Whye,

you are right i don’t have the remove display text in the code, i always had corona remove it automatically with storyboard.

whats the line of code to just remove the line or code?? wont it give a error after you click on it again after removing it??

thanks again for everyone’s help [import]uid: 17701 topic_id: 35051 reply_id: 139548[/import]