Link to Review on NOOK - are intents required? Workarounds?

akao, jflowers,

I’m not seeing a 20-30 second lag when I display the rateApp window on my Nook Color/Tablet. All we are doing on our end is invoking an intent exactly how B&N documents it. The code is very short and simple. Perhaps the lag is due to a slow Internet connection to the Nook store? Not really sure.

How exactly does the screen “freeze”? Do you see a blank white popup dialog appear immediately, but it remain a blank white dialog for 20-30 seconds until it finally displays its contents? I’ve seen that happen once before. [import]uid: 32256 topic_id: 19903 reply_id: 127508[/import]

Mike,

Build #933’s fix is not related to this lag issue. That build fixes a crash that occurs on a Nook HD when the app is side loaded (ie: installed by hand by “adb install”), which is guaranteed to happen when a B&N app reviewer installs and runs the app. I’ve talked to B&N and they have confirmed that build #933 fixed the crash issue. This lag issue is something new that I’ve never heard or seen before. [import]uid: 32256 topic_id: 19903 reply_id: 127509[/import]

In my case I have a button on my main menu. When they click it, the button goes to the ‘on state’ and the app just sits there for about 15-20 seconds WITHOUT the white screen showing. Then, the entire things shows up all of a sudden. [import]uid: 32462 topic_id: 19903 reply_id: 127511[/import]

jflowers,

I can’t reproduce this lag issue on my end. Can you think of anything that might be different about your Nook device compared to, say, a Nook device that was recently purchased and at its factory defaults?

Also, have a look at the Android log while bringing up the popup via “adb logcat” or “ddms” and see if anything noteworthy gets logged. [import]uid: 32256 topic_id: 19903 reply_id: 127517[/import]

here’s what it wrote. took about 45 seconds

I/ActivityManager( 958): Starting activity: Intent { act=com.bn.sdk.shop.details cmp=com.bn.nook.shop/.productdetails.ProductDetailsActivity (has extras) }
D/PhoneWindow( 3558): couldn’t save which view has focus because the focused view android.widget.FrameLayout@4a1e8c38 has no id.
D/FlurryAgent( 3558): Ending session
I/WindowManager( 958): Setting rotation to 0, animFlags=1
I/ActivityManager( 958): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=1(-1) layout=35 uiMode=0 seq=55}
I/Corona ( 3558): system event applicationSuspend
I/Corona ( 3558): APPLICATION SUSPEND
I/Corona ( 3558): =====================ARE WE GOING TO SAVE THE GAME STATEfalse
I/Corona ( 3558): file path is /data/data/com.inillc.dabbleNOOK/app_data/dabbleGameState.txt
I/Corona ( 3558): error is nil
I/BnCloudReqMgr( 2716): BnCloudRequest Service: already running(ComponentInfo{com.bn.cloud.svc/com.bn.cloud.svc.BnCloudRequestNdSvc})
I/SurfaceFlinger( 958):
I/SurfaceFlinger( 958): SurfaceFlinger::createSurface() : layer->mIdentity=140, LayerName= com.bn.nook.shop/com.bn.nook.shop.productdetails.ProductDetailsActivity
I/SurfaceFlinger( 958): SurfaceFlinger::createSurface() : layer->clientIndex=0, surfaceHandle->mToken=0x0
I/ActivityManager( 958): Displayed activity com.bn.nook.shop/.productdetails.ProductDetailsActivity: 344 ms (total 344 ms)
W/IInputConnectionWrapper( 3558): showStatusIcon on inactive InputConnection
D/dalvikvm( 1162): GC_FOR_MALLOC freed 4045 objects / 243216 bytes in 236ms
V/CloudRequestExecutor( 2716): executing request GetRelatedProducts
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, GetRelatedProducts, 1, 21, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(76) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[76] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 76 stage= COMMUNICATING_WITH_CLOUD]]
V/CloudRequestExecutor( 2716): executing request ProductDetails
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, ProductDetails, 2, 15, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(77) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[77] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 77 stage= COMMUNICATING_WITH_CLOUD]]
D/dalvikvm( 1196): GC_FOR_MALLOC freed 5591 objects / 792408 bytes in 138ms
D/NativeCrypto( 1196): Freeing OpenSSL session
D/dalvikvm( 958): GC_EXPLICIT freed 4101 objects / 203608 bytes in 132ms
D/dalvikvm( 1196): GC_FOR_MALLOC freed 4309 objects / 229528 bytes in 39ms
D/NativeCrypto( 1196): Freeing OpenSSL session
I/BnCloudReqSvc( 1196): Request[77] processing completed normally.
V/CloudRequestExecutor( 2716): succeeded
V/CloudRequestExecutor( 2716): executing request ProductSearch
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, ProductSearch, 4, 20, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(78) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[78] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 78 stage= COMMUNICATING_WITH_CLOUD]]
D/dalvikvm( 1196): GC_FOR_MALLOC freed 1672 objects / 183064 bytes in 96ms
I/BnCloudReqSvc( 1196): Request[76] processing completed normally.
V/CloudRequestExecutor( 2716): succeeded
I/BnCloudReqSvc( 1196): Request[78] processing completed normally.
V/CloudRequestExecutor( 2716): succeeded
D/RelatedTitlesView( 2716): position: 0
D/RelatedTitlesView( 2716): position: 1
D/RelatedTitlesView( 2716): position: 2
D/RelatedTitlesView( 2716): position: 3
D/dalvikvm( 1155): GC_EXPLICIT freed 14909 objects / 949776 bytes in 147ms
D/FlurryAgent( 3558): Sending report to: http://data.flurry.com/aar.do
D/FlurryAgent( 3558): Report successful
D/DeviceManagerBroadcastReceiver( 1178): Updated Battery Level: 100
D/DeviceManagerBroadcastReceiver( 1178): Action: android.intent.action.BATTERY_CHANGED
D/DeviceManagerBroadcastReceiver( 1178): Set Alarm: false
D/WifiService( 958): ACTION_BATTERY_CHANGED pluggedType: 0
W/SurfaceFlinger( 958): timeout expired mFreezeDisplay=0, mFreezeCount=1
D [import]uid: 32462 topic_id: 19903 reply_id: 127521[/import]

I was surprised to see the the appsuspend event gets called, and I don’t see appresume getting called [import]uid: 32462 topic_id: 19903 reply_id: 127522[/import]

The “applicationSuspend” event is normal and happen with all app stores, including the iTunes app store.

So, does the “applicationSuspend” event happen immediately after calling the [lua]native.showPopup()[/lua] function or when the popup is finally displayed?

If the “applicationSuspend” event is happening immediately, then that indicates that this is a Nook app store issue and we’ll have to contact B&N’s tech-support group about this issue.

You can also try an EAN belonging to another app to see if the results are different.
Try this one: “2940043890443”
[import]uid: 32256 topic_id: 19903 reply_id: 127530[/import]

@Joshua,

This seems like something that would be very easy for you to debug since you have the Corona source code and could set breakpoints in the applicationSuspend function; whereas it is MUCH more difficult for us to do the same thing using Lua.

We’d all love to use the new API for store links, but when we run into issues like this it causes people to set the use of your API function aside, hoping that it will be resolved in a later build. [import]uid: 120686 topic_id: 19903 reply_id: 127538[/import]

–ApplicationSuspend happens immediately

–changing the EAN didn’t help

–pasting another logcat in case it helps

–eys=1/1/2 nav=1/1 orien=1(-1) layout=35 uiMode=0 seq=71}
I/Corona ( 3558): system event applicationSuspend
I/Corona ( 3558): APPLICATION SUSPEND
I/Corona ( 3558): =====================ARE WE GOING TO SAVE THE GAME STATEfalse
I/Corona ( 3558): file path is /data/data/com.inillc.dabbleNOOK/app_data/dabbleGameState.txt
I/Corona ( 3558): error is nil
I/BnCloudReqMgr( 2716): BnCloudRequest Service: already running(ComponentInfo{com.bn.cloud.svc/com.bn.cloud.svc.BnCloudRequestNdSvc})
D/dalvikvm( 2800): GC_FOR_MALLOC freed 12241 objects / 436304 bytes in 288ms
I/SurfaceFlinger( 958):
I/SurfaceFlinger( 958): SurfaceFlinger::createSurface() : layer->mIdentity=162, LayerName= com.bn.nook.shop/com.bn.nook.shop.productdetails.ProductDetailsActivity
I/SurfaceFlinger( 958): SurfaceFlinger::createSurface() : layer->clientIndex=0, surfaceHandle->mToken=0x0
I/ActivityManager( 958): Displayed activity com.bn.nook.shop/.productdetails.ProductDetailsActivity: 376 ms (total 376 ms)
W/IInputConnectionWrapper( 3558): showStatusIcon on inactive InputConnection
V/CloudRequestExecutor( 2716): executing request GetRelatedProducts
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, GetRelatedProducts, 1, 21, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(91) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[91] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 91 stage= COMMUNICATING_WITH_CLOUD]]
V/CloudRequestExecutor( 2716): executing request ProductDetails
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, ProductDetails, 2, 15, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(92) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[92] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 92 stage= COMMUNICATING_WITH_CLOUD]]
D/dalvikvm( 1196): GC_FOR_MALLOC freed 4705 objects / 702400 bytes in 51ms
D/NativeCrypto( 1196): Freeing OpenSSL session
D/dalvikvm( 1196): GC_FOR_MALLOC freed 6268 objects / 359656 bytes in 48ms
D/NativeCrypto( 1196): Freeing OpenSSL session
I/BnCloudReqSvc( 1196): Request[92] processing completed normally.
V/CloudRequestExecutor( 2716): succeeded
V/CloudRequestExecutor( 2716): executing request ProductSearch
I/BnCloudReqSvc( 1196): ---->execute(BnCloudRequest[GPB, ProductSearch, 4, 20, 60, HIGH, null])
I/BnCloudReqSvc( 1196): Scheduling request(93) for immediate execution
I/BnCloudReqSvc( 1196): Monitor high priority threads: counter at 0
I/BnCloudReqSvc( 1196): Request[93] execution started.
I/BnCloudReqSvc-PrgHndler( 1196): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 93 stage= COMMUNICATING_WITH_CLOUD]]
I/BnCloudReqSvc( 1196): Request[93] processing completed normally.
V/CloudRequestExecutor( 2716): succeeded
E/BnCloudReqSvc( 1196): isErrorCondition(0,com.bn.gpb.GpbCommons$Error@4a37b7f8)–>true
I/BnCloudReqSvc( 1196): Request[91] is ineligible for retry.
E/CloudRequestExecutor( 2716): CloudRequestExecutor - { code=PN0012 text=[Backend][Backend]RecommendationServiceImpl:productPurchased:caliber:RecommendationService/getPurchaseProductRecommendation:url:http://10.231.48.249:8080/RecommendationService/getRecommendations/json?requestType=copurchasedeans&deviceid=61&requestType=copurchasedeans&ean=2940043878649&customerid=D8PYxAH7z6pej8yu&version=2&productMatch=4&productDataTemplate=shop_product&productDataTemplateLinked=shop_product&count=20&countryCode=US&retailerId=BN2&language=en:httpstatus:500 desc=Error logging event capture to PnR database}
E/CloudRequestExecutor( 2716): failed FAIL_RESPONSE_CONTAINED_ERROR
D/dalvikvm( 958): GC_EXPLICIT freed 5704 objects / 235192 bytes in 155ms
D/DeviceManagerBroadcastReceiver( 1178): Updated Battery Level: 100
D/DeviceManagerBroadcastReceiver( 1178): Action: android.intent.action.BATTERY_CHANGED
D/DeviceManagerBroadcastReceiver( 1178): Set Alarm: false
D/WifiService( 958): ACTION_BATTERY_CHANGED pluggedType: 0
W/SurfaceFlinger( 958): timeout expired mFreezeDisplay=0, mFreezeCount=1
D/DeviceManagerBroadcastReceiver( 1178): Updated Battery Level: 100
D/DeviceManagerBroadcastReceiver( 1178): Action: android.intent.action.BATTERY_CHANGED
D/DeviceManagerBroadcastReceiver( 1178): Set Alarm: false
D/WifiService( 958): ACTION_BATTERY_CHANGED pluggedType: 0
[import]uid: 32462 topic_id: 19903 reply_id: 127543[/import]

I got a notification in my email about this post. so i tried it in my app that is already released in Nook store using the rateapp pop up

the app was built using sdk version .927

and there was no lag, the intent screen pops up like a quarter of a second. [import]uid: 157599 topic_id: 19903 reply_id: 127560[/import]

My experience is the same as @jflowers45. It just freezes, it also kills my apps’ music, while waiting for the screen to show up. So, it’s definitely trying to do something. I doubt it’s the network since I am doing this on a pretty good Wifi. Also, when I access the NOOK store directly on from the device, it comes up immediately.

I have a Nook Tablet purchased end of last year/beginning of this.

Also, while it shouldn’t make a difference, we are calling this popup() from our trial app, which shares the same EAN as the main app (by NOOK Store’s design). This is our upsell effort.

Here is my logcat trace. The first 2 lines are mine to show when the button got pushed that calls the native.popup() until when it finally opens. The second line is our EAN, in case you are interested.
I/Corona (23259): FLURRY: NOOK Upgrade Decorator - Buy Button Pushed
I/Corona (23259): ****** 2940043913180
D/PhoneWindow(23259): couldn’t save which view has focus because the focused view android.widget.FrameLayout@405f3510 has no id.
I/Corona (23259): MARK 1234
D/KeyguardViewMediator( 1276): setHidden false
I/WindowManager( 1276): Setting rotation to 0, animFlags=1
I/ActivityManager( 1276): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=1 layout=268435492 uiMode=17 seq=88}
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
I/BnCloudReqMgr( 3059): BnCloudRequest Service: already running(ComponentInfo{com.bn.cloud.svc/com.bn.cloud.svc.BnCloudRequestNdSvc})
D/KeyguardViewMediator( 1276): setHidden false
E/TC (24700): KPICollector: 1350401343351 ActivityManager background {“component”:“com.sx.puzzingoanimals/com.ansca.corona.CoronaActivity”}
D/KeyguardViewMediator( 1276): setHidden false
E/TC (24700): KPICollector: 1350401343356 ActivityManager foreground {“component”:“com.bn.nook.shop/.productdetails.ProductDetailsActivity”}
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
E/TC (24700): KPICollector: 1350401343399 ProductDetails detail_clicked {“ean”:“2940043913180”}
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
D/KeyguardViewMediator( 1276): setHidden false
I/ActivityManager( 1276): Displayed com.bn.nook.shop/.productdetails.ProductDetailsActivity: +191ms
W/IInputConnectionWrapper(23259): showStatusIcon on inactive InputConnection
W/InputManagerService( 1276): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@406151f8 (uid=10007 pid=23259)
D/WsprService(24621): Received com.bn.nook.START_WSPR_AGENT action.
D/WsprService(24621): Start WsprAgent by action com.bn.nook.START_WSPR_AGENT
V/NV (24621): RUNNING
D/WsprService(24621): Start WsprAgent…
D/KeyguardViewMediator( 1276): setHidden false
V/CloudRequestExecutor( 3059): executing request GetRelatedProducts
I/BnCloudReqSvc( 1430): ---->execute(BnCloudRequest[GPB, GetRelatedProducts, 1, 21, 60, HIGH, null])
I/BnCloudReqSvc( 1430): Scheduling request(184) for immediate execution
I/BnCloudReqSvc( 1430): Request[184] execution started.
I/BnCloudReqSvc-PrgHndler( 1430): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 184 stage= COMMUNICATING_WITH_CLOUD]]
V/CloudRequestExecutor( 3059): executing request ProductDetails
I/BnCloudReqSvc( 1430): ---->execute(BnCloudRequest[GPB, ProductDetails, 2, 15, 60, HIGH, null])
I/BnCloudReqSvc( 1430): Scheduling request(185) for immediate execution
I/BnCloudReqSvc( 1430): Request[185] execution started.
I/BnCloudReqSvc-PrgHndler( 1430): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 185 stage= COMMUNICATING_WITH_CLOUD]]
E/TC (24700): KPICollector: 1350401343599 ProductDetails overview_clicked {“ean”:“2940043913180”}
D/dalvikvm( 1430): GC_CONCURRENT freed 960K, 52% free 3612K/7431K, external 668K/1039K, paused 1ms+2ms
D/dalvikvm( 1430): GC_CONCURRENT freed 531K, 52% free 3602K/7431K, external 668K/1039K, paused 1ms+3ms
D/dalvikvm( 1430): GC_CONCURRENT freed 511K, 52% free 3609K/7431K, external 668K/1039K, paused 2ms+2ms
D/dalvikvm( 1430): GC_CONCURRENT freed 440K, 52% free 3576K/7431K, external 668K/1039K, paused 2ms+2ms
D/dalvikvm( 1430): GC_CONCURRENT freed 133K, 47% free 3941K/7431K, external 668K/1039K, paused 1ms+2ms
D/WsprService(24621): WSPr status SUCCEEDED
D/WsprService(24621): WSPr agent succeeded: agent.getAction() == com.bn.nook.START_WSPR_AGENT
D/NookWifiManager( 1430): Connected
D/NookWifiManager( 1430): Connected
D/DeviceManagerBroadcastReceiver( 1472): action (com.nook.intent.action.BNCM_WIFI_ENABLE_RESPONSE)
D/DeviceManagerBroadcastReceiver( 1472): Network state change notification
D/DeviceManagerBroadcastReceiver( 1472): wifiState (2)
D/DeviceManagerBroadcastReceiver( 1472): Network connected
D/DeviceManagerBroadcastReceiver( 1472): Sending Message… ({ what=303 when=-3d18h7m43s539ms })
D/DeviceManagerBroadcastReceiver( 1472): Action: com.nook.intent.action.BNCM_WIFI_ENABLE_RESPONSE
D/DeviceManagerBroadcastReceiver( 1472): Set Alarm: false
D/NookWifiManager( 1472): Connected
D/DeviceManagerService( 1472): Wifi status: SUCCESS__CONNECTED
D/NookWifiManager( 1673): Connected
D/browser ( 1673): Received WiFi status[SUCCESS__CONNECTED]
D/DeviceManagerProvider( 1472): query(): uri (content://com.bn.provider.devicemanagerprovider/registry?notify=false)
D/DeviceManagerProvider( 1472): query(): selection (name = ‘com.bn.device.fota.mode’)
D/DeviceManagerProvider( 1472): query(): selectionArgs (null)
D/DeviceManagerProvider( 1472): query(): Product.BN_FEATURE_ROM_TOKENS_ENABLED (true)
D/DeviceManagerProvider( 1472): query(): Table (registry)
D/DeviceManagerProvider( 1472): Query from ROM Token!
D/DeviceManagerProvider( 1472): query(): name after()
D/DeviceManagerProvider( 1472): deviceInfoQuery: uri (content://com.bn.provider.devicemanagerprovider/registry?notify=false)
D/DeviceManagerProvider( 1472): deviceInfoQuery: return false
D/dalvikvm(24621): GC_CONCURRENT freed 232K, 50% free 2998K/5895K, external 668K/1039K, paused 2ms+2ms
V/NV (24621): RESOLVED__SUCCESS__REACHED_INTERNET
D/Utils ( 1472): getRegistryValue(): Name = com.bn.device.fota.mode Value: auto
D/dalvikvm( 1472): GC_CONCURRENT freed 377K, 49% free 3327K/6407K, external 668K/1039K, paused 2ms+2ms
D/Utils ( 1472): FOTA mode: auto
I/DeviceManagerHandler( 1472): HandleMessage(): msg.what (303)
D/DeviceManagerHandler( 1472): HandleMessage(): Url retrieval
I/BnCloudReqSvc( 1430): Request[185] processing completed normally.
V/CloudRequestExecutor( 3059): succeeded
V/CloudRequestExecutor( 3059): executing request ProductSearch
I/BnCloudReqSvc( 1430): ---->execute(BnCloudRequest[GPB, ProductSearch, 4, 32, 60, HIGH, null])
I/BnCloudReqSvc( 1430): Scheduling request(186) for immediate execution
I/BnCloudReqSvc( 1430): Request[186] execution started.
I/BnCloudReqSvc-PrgHndler( 1430): -->BnCloudRequestProgress[BnCloudRequestProgress[id= 186 stage= COMMUNICATING_WITH_CLOUD]]
E/Omap4ALSA( 1169): called drain&close
I/BnCloudReqSvc( 1430): Request[186] processing completed normally.
V/CloudRequestExecutor( 3059): succeeded
I/BnCloudReqSvc( 1430): Request[184] processing completed normally.
V/CloudRequestExecutor( 3059): succeeded
D/RelatedTitlesView( 3059): position: 0
D/RelatedTitlesView( 3059): position: 0
D/RelatedTitlesView( 3059): position: 1
D/RelatedTitlesView( 3059): position: 2
D/RelatedTitlesView( 3059): position: 3
D/RelatedTitlesView( 3059): position: 0
D/RelatedTitlesView( 3059): position: 0
D/dalvikvm( 1276): GC_EXPLICIT freed 313K, 59% free 4854K/11719K, external 2419K/2953K, paused 46ms
W/SurfaceFlinger( 1276): timeout expired mFreezeDisplay=0, mFreezeCount=1
D/dalvikvm(23259): GC_EXTERNAL_ALLOC freed 1993K, 72% free 3710K/12871K, external 1146K/1180K, paused 30ms
D/dalvikvm(23259): GC_EXTERNAL_ALLOC freed 51K, 72% free 3705K/12871K, external 1203K/1224K, paused 29ms
D/dalvikvm(23259): GC_EXTERNAL_ALLOC freed 45K, 72% free 3708K/12871K, external 948K/1211K, paused 28ms
D/skia (23259): Loading ARM decoder…
D/skia (23259): Loading ARM decoder…
D/skia (23259): Loading ARM decoder…
D/skia (23259): Loading ARM decoder…
D/dalvikvm(23259): GC_EXTERNAL_ALLOC freed 2618K, 72% free 3708K/12871K, external 668K/1180K, paused 27ms
E/WifiStateTracker( 1276): EVENT_SUPPLICANT_PING
E/WifiStateTracker( 1276): EVENT_SUPPLICANT_PING

[import]uid: 41124 topic_id: 19903 reply_id: 127602[/import]

Based on what you guys are telling me, this is clearly an issue on Nook’s side and not a Corona issue. I’ll have to contact B&N about this. [import]uid: 32256 topic_id: 19903 reply_id: 127630[/import]

@JoshQuick

I have put the new “appStore” popup into the trial version of my NOOK App (they allow you to submit both a trial app and a full featured app with the same productID). In the trial version, I have the following

local options =
{
nookAppEAN = kNOOKAppEAN,
supportedAndroidStores = { “nook” },
}
native.showPopup(“appStore”, options)
where kNOOKAppEAN is the ean of the app. When I test this on my Nook Tablet, it will first freeze the screen, as though it is thinking/trying to bring up the full version, then after a long time (maybe 20-30 seconds), it finally shows the app store page. Is this delay normal? Am I doing something wrong?

My concern is that the user will think that my app has crashed. I looked into putting an activity circle on the app, but right now there is no callback from native.showPopup() that I can capture to remove the activity circle when the user is done. So, that’s a none-starter.

Any thoughts/ideas/suggestions would be very much appreciated.
[import]uid: 41124 topic_id: 19903 reply_id: 127501[/import]

akao: in daily builds
CoronaSDK 2012.933

Android: Fixed bug where native.showPopup(“rateApp”) and native.showPopup(“appStore”) would cause a crash on a Nook HD.

could this be related? [import]uid: 160496 topic_id: 19903 reply_id: 127502[/import]

I’m having the exact same issue with lag [import]uid: 32462 topic_id: 19903 reply_id: 127504[/import]

jflowers, akao - we are working with the Nook people to look into this issue. Could you guys send me an APK that you are seeing the lag issue with? We havent been able to reproduce on our side, but an APK from you would be helpful. My email is davidATcoronalabs.

Thanks! [import]uid: 10668 topic_id: 19903 reply_id: 127666[/import]

akao, jflowers,

I’m not seeing a 20-30 second lag when I display the rateApp window on my Nook Color/Tablet. All we are doing on our end is invoking an intent exactly how B&N documents it. The code is very short and simple. Perhaps the lag is due to a slow Internet connection to the Nook store? Not really sure.

How exactly does the screen “freeze”? Do you see a blank white popup dialog appear immediately, but it remain a blank white dialog for 20-30 seconds until it finally displays its contents? I’ve seen that happen once before. [import]uid: 32256 topic_id: 19903 reply_id: 127508[/import]

Mike,

Build #933’s fix is not related to this lag issue. That build fixes a crash that occurs on a Nook HD when the app is side loaded (ie: installed by hand by “adb install”), which is guaranteed to happen when a B&N app reviewer installs and runs the app. I’ve talked to B&N and they have confirmed that build #933 fixed the crash issue. This lag issue is something new that I’ve never heard or seen before. [import]uid: 32256 topic_id: 19903 reply_id: 127509[/import]

In my case I have a button on my main menu. When they click it, the button goes to the ‘on state’ and the app just sits there for about 15-20 seconds WITHOUT the white screen showing. Then, the entire things shows up all of a sudden. [import]uid: 32462 topic_id: 19903 reply_id: 127511[/import]

jflowers,

I can’t reproduce this lag issue on my end. Can you think of anything that might be different about your Nook device compared to, say, a Nook device that was recently purchased and at its factory defaults?

Also, have a look at the Android log while bringing up the popup via “adb logcat” or “ddms” and see if anything noteworthy gets logged. [import]uid: 32256 topic_id: 19903 reply_id: 127517[/import]