I’d love that feature to show all the apps for a developer. For now, we don’t have enough apps to make this critical, but we will soon. Josh? [import]uid: 9905 topic_id: 19903 reply_id: 131806[/import]
I’m wondering if NOOK only has one intent for both “show other apps” and “rate app”
Intent i = new Intent();
i.setAction(“com.bn.sdk.shop.details”);
i.putExtra(“product_details_ean”,“2940043352927”); // Your real EAN goes here
startActivity(i);
[import]uid: 157599 topic_id: 19903 reply_id: 131808[/import]
Everyone,
We already support this. Corona’s “rateApp” and “appStore” popups execute that shop details intent that B&N documents.
There is no way to show a list of your apps in the B&N store. The Nook does not provide an intent/API that allows you to do that. You’ll have to show a list of your apps within your app instead, and when the user taps on them, show the shop details via Corona’s “appStore” popup. [import]uid: 32256 topic_id: 19903 reply_id: 131812[/import]
Am I being dense, or are the “rateApp” and “appStore” options missing from the native.showPopup() docs?
When I’m unsure about how something works I usually consult the docs first, but recently I’m finding that they haven’t always been updated to show new functionality. At the moment the native.showPopup() doc only covers sms and mail, I ended up making my own function to go to the iOS app store because I had no idea this functionality was available, it was only because I searched for Nook store details that I stumbled across it.
[import]uid: 84115 topic_id: 19903 reply_id: 132688[/import]
It’s documented here…
http://docs.coronalabs.com/api/library/native/showPopup.html
[import]uid: 32256 topic_id: 19903 reply_id: 132779[/import]
Thank you, unfortunately google searches rarely give me the new docs so I forget that they exist. I had been looking at the reference pages:
http://developer.coronalabs.com/reference/index/nativeshowpopup
Thanks again. [import]uid: 84115 topic_id: 19903 reply_id: 132824[/import]
Am I being dense, or are the “rateApp” and “appStore” options missing from the native.showPopup() docs?
When I’m unsure about how something works I usually consult the docs first, but recently I’m finding that they haven’t always been updated to show new functionality. At the moment the native.showPopup() doc only covers sms and mail, I ended up making my own function to go to the iOS app store because I had no idea this functionality was available, it was only because I searched for Nook store details that I stumbled across it.
[import]uid: 84115 topic_id: 19903 reply_id: 132688[/import]
It’s documented here…
http://docs.coronalabs.com/api/library/native/showPopup.html
[import]uid: 32256 topic_id: 19903 reply_id: 132779[/import]
Hmm… I forgot our old API documentation was still there. In any case, I had our web team notified to do something about this to prevent future confusion. Either show a message stating the documentation is old with a link to the new documentation or have it redirect to the new documentation site. Thanks for bringing this up. [import]uid: 32256 topic_id: 19903 reply_id: 132949[/import]
Thank you, unfortunately google searches rarely give me the new docs so I forget that they exist. I had been looking at the reference pages:
http://developer.coronalabs.com/reference/index/nativeshowpopup
Thanks again. [import]uid: 84115 topic_id: 19903 reply_id: 132824[/import]
Hmm… I forgot our old API documentation was still there. In any case, I had our web team notified to do something about this to prevent future confusion. Either show a message stating the documentation is old with a link to the new documentation or have it redirect to the new documentation site. Thanks for bringing this up. [import]uid: 32256 topic_id: 19903 reply_id: 132949[/import]
Joshua,
I am testing a new app using the appstore API for iTunes to show one of my other apps.
I thought that this API would open a pop-up box/window on top of the app I am at that could be closed by touching a Done/Cancel button to return to the app I was at.
But instead it gets out of the app to go to the appstore and I have to then close the appstore and open again the app I started from.
Am I missing something?
thanks, Luciane [import]uid: 32063 topic_id: 19903 reply_id: 134393[/import]
Luciane, in your build.settings file, do you have your app set to exit on suspend?
UIApplicationExitsOnSuspend = false,
It is still going to open the iTunes AppStore app and force your app into the background, which you can either tap on the icon to relaunch it, or press the home button twice quickly to bring up the list of running apps and switch back to your app. This is life on iOS. [import]uid: 199310 topic_id: 19903 reply_id: 134408[/import]
Hi Rob,
In build.settings I have this:
UIApplicationExitsOnSuspend = true, --forces app to relaunch from start after suspend
But you are saying that even if I set it to false the store API it will not open the appstore in a box that can be closed by touching a button and bring back my app automatically? [import]uid: 32063 topic_id: 19903 reply_id: 134410[/import]
The AppStore will be opened in it’s own app and not a window within your app.
By having that set to “true”, when someone re-opens your app, it’s like they started new instead of resuming where they left off.
[import]uid: 199310 topic_id: 19903 reply_id: 134412[/import]
The only app store that allows you to display app details within your own app is the Barnes & Noble app store. All other stores display app details within their own “App Store” application. There is no work-around for this. That is just how Apple, Google, and Samsung made it. So, expect your app to get suspended when using this API.
We’ve noted this behavior in our API documentation via the link below. Please see the last sentence.
http://docs.coronalabs.com/api/library/native/showPopup.html#show-app-details-or-rate-an-app-in-the-app-store
I hope this helps! [import]uid: 32256 topic_id: 19903 reply_id: 134531[/import]
Joshua,
I am testing a new app using the appstore API for iTunes to show one of my other apps.
I thought that this API would open a pop-up box/window on top of the app I am at that could be closed by touching a Done/Cancel button to return to the app I was at.
But instead it gets out of the app to go to the appstore and I have to then close the appstore and open again the app I started from.
Am I missing something?
thanks, Luciane [import]uid: 32063 topic_id: 19903 reply_id: 134393[/import]
Luciane, in your build.settings file, do you have your app set to exit on suspend?
UIApplicationExitsOnSuspend = false,
It is still going to open the iTunes AppStore app and force your app into the background, which you can either tap on the icon to relaunch it, or press the home button twice quickly to bring up the list of running apps and switch back to your app. This is life on iOS. [import]uid: 199310 topic_id: 19903 reply_id: 134408[/import]
Hi Rob,
In build.settings I have this:
UIApplicationExitsOnSuspend = true, --forces app to relaunch from start after suspend
But you are saying that even if I set it to false the store API it will not open the appstore in a box that can be closed by touching a button and bring back my app automatically? [import]uid: 32063 topic_id: 19903 reply_id: 134410[/import]
The AppStore will be opened in it’s own app and not a window within your app.
By having that set to “true”, when someone re-opens your app, it’s like they started new instead of resuming where they left off.
[import]uid: 199310 topic_id: 19903 reply_id: 134412[/import]