0% found this document useful (0 votes)
45 views

Installation and Use Instructions (Android) : Prerequisites

The document provides installation and usage instructions for an Android application. It lists prerequisites like SDK packages and icons. It describes running a Create.bat file with 5 parameters to compile the source code and generate a signed APK file. Additional steps include aligning, testing and uploading the APK file and assets to the Android market.

Uploaded by

joshuaMcClure
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Installation and Use Instructions (Android) : Prerequisites

The document provides installation and usage instructions for an Android application. It lists prerequisites like SDK packages and icons. It describes running a Create.bat file with 5 parameters to compile the source code and generate a signed APK file. Additional steps include aligning, testing and uploading the APK file and assets to the Android market.

Uploaded by

joshuaMcClure
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Installation and use instructions (Android)

Prerequisites: For successful operation, this will need following as prerequisites You should install the android SDK and all relative packages and create a virtual device. See android documentation for instructions on this. Icons must be built for the application. (if client is SEO Connie will create the icon) o Required for compilation: 1 icon PNG 48 to 72 pixels wide Images for Android Market: o 2 screen shots (created after compilation and build from testing emulator) 480 x 800 - 24 bit PNG o High Resolution Application Icon. (if client is SEO Connie will create the icon) 512w x 512h - 32 bit PNG Maximum: 1024 KB

Usage: For configuring the application specific to a user, following are the steps: 1. Log on to ADINO. 2. Invoke command prompt and change to your folder C:\AndroidBuilder 3. Run Create.bat <param1> <param2> <param3> <param4> <param5>. This will produce an android executable (.APK) file, in the same folder from where the batch file is run. See screenshot below:

The batch file, Create.bat, needs 5 parameters as described below. Each parameter must separate by a space.
1 Parameter Source code folder
st

C:\AndroidBuilder> create.bat c:\androidsrc\ http://www.800beachme.com/mobile/ c:\icons\ ic_hhv_72.png hhv


4 Parameter Filename of new icon
th

5 Parameter Application Name

th

2nd Parameter User specific URL

3 Parameter Folder containing new icon file

rd

Note: Ensure that there is one space between every two parameters.

This will trigger the batch file with parameters as above. The batch file will then take following steps and will provide information to user on command prompt. Step 1: It will create the strings.xml file, using 2nd parameter of user URL Step 2: Next, it will copy the new icon file (BestBuy.png in this example) to source code folder as icon.png Step 3: Compilation process will be triggered. Step 4: On successful compilation, the unsigned APK file will be generated Step 5: Next, it will use the key.store file, sign the application and create applications APK file. This file will be created in the same folder from which the user has fired batch file. This APK file then can be uploaded to customers website. 4. AFTER Compilation you must align the application: The command for this is: zipalign f v 4 infile.apk outfile.apk

The infile and outfile CAN NOT be of the same name. 5. FTP the resulting outfile.apk to your local PC 6. Place a copy of your outfile.apk in your platform-tools folder: a. C:\nonspacedfolderwhereyouinstalledandroid\android-sdk\platform-tools 7. Run your emulator(virtual device)

a.

8. Install the apk once you have a similar window above: a. Open command prompt and change to the folder where you installed the SDK and move to the platform-tools directory. i. c:\Android\android-sdk\platform-tools> b. Run the following command: i. Adb s emulator-5554 install outfile.apk (emulator-5554 could be something different on your machine)

c. 9. After installing move the application on the simulated android phone to a blank desktop like the following:

a. b. Take Screen shot (use the snipping tool from Windows 7) c. Create a 480 x 800 - 24 bit PNG file.

10. Run the application in the simulated android phone and create a second screen shot like:

a. 11. Log on to android market: a. https://market.android.com/publish/Home?pli=1 b. User name: [email protected] c. Password: MaKenna1 d. You should see a screen like this:

12. Click Upload Application and upload the outfile.apk a. Your result should be something like:

13. Upload Assets: a. 2 Screen Shots i. 480 x 800 - 24 bit PNG

b. High Resolution Application Icon i. 512w x 512h - 32 bit PNG

14. Listing Details a. Title 30 characters identifying the client b. Description 4000 characters max suggestions something from the home page or from the mobile site.

15.

16. 17. 18.

c. Application Type - Application d. Category Travel & Local Publishing Options, Contact Information and Consent a. Content Rating Everyone b. Phone Number 252-725-9773 c. Check - This application meets Android Content Guidelines d. Check - I acknowledge that my software application may be subject to United States export laws, regardless of my location or nationality. I agree that I have complied with all such laws, including any requirements for software with encryption functions. I hereby certify that my application is authorized for export from the United States under these laws. [Learn More] Click Save When you are satisfied that everything is as it should be active that application by clicking on the APK Files tab and click Activate. Then click Publish

You might also like