Professional Documents
Culture Documents
Licensing Requires Android 1.5 or Later: To Turn Off Licensing
Licensing Requires Android 1.5 or Later: To Turn Off Licensing
Licensing will only work if the application is being sold at the Android Marketplace.
If it sold at any other sites or venues please ensure to turn off licensing.
and that in the AndroidManifest file this line is commented out or is missing in the file
<!--
<uses-permission android:name="com.android.vending.CHECK_LICENSE"/>
-->
To Turn on Licensing.
and that in the AndroidManifest file this line is present and not commented out
<uses-permission android:name="com.android.vending.CHECK_LICENSE"/>
==========
There is a supplied ant file to build and sign the application and obfuscate it with
proguard.
To make it work with your system you must edit the local.poperties file.
sdk.dir=/Users/mike/Library/android-sdk-mac
key.store=/Users/mike/Library/keys/android.keystore
key.alias=mobi50
proguard.dir=/Users/mike/Library/proguard4.5.1/lib
The script will ask you for your keystore password and your key password just enter
them in from the shell.
Upon a successful build the ant script will place the apk file in the bin directory of the
project.
And it will be the file with release appended to the project name E.G. MobiViewer-
release.apk
It is very important that you test the application after obfuscation, especially after
the first time a code
base has been obfuscated.
=====
An Android emulator running the Google APIs Add-on, API level 8 (release 2) or higher
You will also need to log in a as chris (gmail login) to test before the application is placed
on the android market place, once it is placed on the market place we can add test gmail
accounts that will work.