Android: Keystore? (plus Starfield code)

Community Forums/Monkey Talk/Android: Keystore? (plus Starfield code)

EOF(Posted 2011) [#1]
How would you incorporate your own keystore into an Android apk compiled with Monkey?
Does Monkey use the standard debug.keystore at the moment?

The related article -> Signing your application


Also, here is a neat 3D starfield efffect written in Monkey code
For best html results, once complied, edit the main.js file so that RESIZEABLE_CANVAS is true
var RESIZEABLE_CANVAS=true;
Resize your browser (hit F5 to refresh too)

Feel free to upload to the Monkey site



Last edited 2011


therevills(Posted 2011) [#2]
Yes Monkey does use the debug.keystore.

When I was messing around with Libgdx, I looked up about signing apps:

Here is how to sign an Android App:

1. Create a folder called "keytools" and make a folder in that called "keys"
2. Using Eclipse, in Package Explorer window, right click on your project > Android Tools > Exports Unsigned Application Package and save in the keytools folder ("filename.apk")
3. Open command prompt (cmd.exe)
4. Navigate to your keytools folder
5. Type the following:
C:\"Program Files"\Java\jdk1.6.0_24\bin\keytool -genkey -alias myapp.keystore -keyalg RSA -validity 20000 -keystore keys/myapp.keystore

Then following the questions...

6. Type the following:
C:\"Program Files"\Java\jdk1.6.0_24\bin\jarsigner -verbose -keystore keys/myapp.keystore -signedjar filename-signed.apk filename.apk myapp.keystore

Done!

http://www.indiecodez.com/forum/index.php/topic,109.msg4662.html#new