I hereby claim:
- I am rocco on github.
- I am geeroc (https://keybase.io/geeroc) on keybase.
- I have a public key ASABu1VDb3AwLhLpfwkxJ-UuwkDw9uzZYNrYyeHHM0S3VQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# list connected devices and emulators | |
# this outputs a list of attached/running [device-id]s | |
adb devices | |
# ---------------------------------------------------- | |
# list all installed apps on device | |
# outputs all [package-id]s of installed apps | |
# from: http://stackoverflow.com/questions/4032960/how-do-i-get-an-apk-file-from-an-android-device#18003462 |
# create keystore | |
keytool -genkey -v -keystore [somename].keystore -alias [somename] -keyalg RSA -keysize 2048 -validity 10000 | |
# follow instructions | |
# to keep things simple, use [somename] for .keystore file name and alias too | |
# same for password: just press enter on this prompt: | |
# --------------------------------------------------- | |
# Enter key password for <[somename]> | |
# (RETURN if same as keystore password): |
# you are in cordova project root folder | |
# create android release | |
# this also updated android project using values in config.xml | |
cordova build android --release | |
# sign the package | |
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore [your.keystore] platforms/android/ant-build/[AppName]-release-unsigned.apk [your alias] | |
# verify package, this must output "jar verified." |
var useFont = window.prompt('Font:'); | |
$('html *').each(function(){ | |
this.style.setProperty('font-family', useFont, 'important'); | |
}); |