So I’m finally sitting down to write this tutorial to help you get your games out to the NOOK Apps Market. Hopefully someone finds this helpful. I’m also assuming that you’re already a certified NOOK Developer and you can deploy games to the NOOK Apps Market.
General Disclaimer
This is only a guide and I offer no legal or tax advice on anything and I am not held responsible for anything that should happen as a result of following this guide, including any financial loss, or damage to any property, or loss of data that you or others may incur. YOU ARE USING THIS GUIDE/WALKTHRU/TUTORIAL SOLEY AT YOUR OWN RISK.
Making your NOOK a device you can test on (Developer Mode)
If you have a NOOK to test on you need to put the device into developer mode. This is easily done on the NOOK App Developer site and once you download and install your provision you can connect to the device via adb. There are tutorials on NOOK App Developer site that walk you through this process once you’ve qualified as a NOOK App Developer. You have to put your NOOK into developer mode otherwise you will not be able to test with the device.
Next you’ll need to make sure that you have the latest version of the Android SDK installed - http://developer.android.com/sdk/installing.html
Once you have that installed you’ll need to run it to be able to add the NOOK Tablet and NOOK Color devices, by adding this as an Add-on Site - http://su.barnesandnoble.com/nook/sdk/Nook_Tablet_addon.xml (These instructions are also available on the NOOK App Developer site.)
The entries for the NOOK devices are under the Android 2.3.3 (API 10) for NOOK Tablet and Android 2.2 (API 8) for NOOK Color.
You’ll also want to make sure you can connect to your NOOK via adb, so check the adb_usb.ini file in the .android/ directory where you user’s home directory is (this is different based on your OS.) There should be a line in the file that has 0x2080.
[blockcode]
SAMPLE FILE
ANDROID 3RD PARTY USB VENDOR ID LIST – DO NOT EDIT.
USE ‘android update adb’ TO GENERATE.
1 USB VENDOR ID PER LINE.
0x2080
[/blockcode]
If all is setup correctly you should be able to connect your NOOK and run adb to send the apk to it. If you have problems running adb you can just execute it with no options and it will give you some help. adb is a powerful tool, make sure you know what you’re doing before you execute any commands with it!
Once all these are setup it’s very easy to send your app to your device, but there is only one downside, you can’t get your app on the main screen for easy access, so YOU HAVE TO SEARCH for your app on your device in order to test.
In Summary:
-
Become a Certified NOOK App Developer
-
Enable Developer Mode on your NOOK Device
-
Download the NOOK Add-Ons for the Android SDK
-
Make sure adb is configured correctly
-
Use adb to send your apk to the device
-
Find the apk on your device by using the search feature
Getting your App Ready for Submission
You will want to use your own keystore / signing certs to use during the Corona build of the apk.
Here’s a quick command to generate a keystore if you haven’t done one already:
keytool -genkey -v -alias \<SOME\_ALIAS\> -keystore \<KEYSTORE\_FILE\_LOCATION\> -keyalg RSA -keysize 2048 -validity 10000 -dname "\<SOME\_LDAP\_TYPE\_NAME\>"
Obviously you’ll replace <TEXT> with something more meaningful. Here’s an example -
keytool -genkey -v -alias MyAppsKeyAlias -keystore mykeystore.keystore -keyalg RSA -keysize 2048 -validity 10000 -dname "CN=Awesome Application,O=Aweseme Game Company Name,C=US"
The keytool will prompt you for a few passwords, so you’ll want to memorize them, as you’ll need them to be able to get at the keystore from the Corona build process, or if you ever want to inspect / change the certificates.
If you want to know more about keytool and how you generate your keystore you can research that here - http://developer.android.com/guide/publishing/app-signing.html
Clearly after all this trouble of generating your keystore, you’ll want to use this keystore when building your app. YOUR APP WILL BE REJECTED IF YOU USE THE DEBUG KEYSTORE. You also don’t want to share your keystore as it contains your private key(s). Protect it like you would any other sensitive data.
You should also prepare a few images that will be needed for you app’s meta-data submission:
A 300x300 App Icon and 4 600x1024 Screen Shots (preferably from the device. If you hold down the NOOK’s “n” button and the volume down button it will take a screen shot for you.)
Once you have all this you are ready to put your app’s info on the NOOK App Developer site for approval.
The app review process is a bit different for NOOK than other stores. First you submit your meta-data for review, and once that’s approved you can then upload your APK for approval. Once the app is approved it takes up to 48 hours to make its way into NOOK Apps.
In Summary:
-
Create your own keystore
-
Build your apk with the keystore
-
Prepare a 300x300 App Icon and 4 Screen Shots (600x1024)
-
Submit your App’s Meta-Data and wait for approval
-
Submit your App and wait for approval
-
Once fully approved it will take at most 48 hours for your App to show up
That’s all there is to it!
Good Luck and Happy Coding!
If you have questions or need help you can find me lurking on the #corona IRC channel on freenode as Tyraziel. [import]uid: 57050 topic_id: 24855 reply_id: 324855[/import]