|
Tutorial: Deploying ELIPS Studio apps to Android phones
Follow this tutorial to learn how to build ELIPS applications and deploy them on Android devices, or sell them through Android Market, on a Windows PC or a Mac. ELIPS Studio comes bundled with all the tools you need to build and download your app on Android platform. Note that those tools are made available by Android in open source.
USB Driver Installation (Windows only)In order to connect an Android device to test your applications, on Windows, you need first to install the USB driver. Note that on Mac, this is not necessary, as the native USB driver will be used.
NOTE
The generic Android USB driver might not work on some Android-based phones like the HTC Desire for instance. In such a case, please proceed with the installation of the manufacturer custom USB driver provided with the mobile phone. For the detailed procedure, check the android developer website
Android Device Setup (Mac and Windows)You also need to turn on "USB Debugging" on your device:
Build Configuration (Mac and Windows)Open your project in ELIPS Studio.
Application settings
Key settings Introduction
Key settings for a new certificate
A certificate (a.k.a Key Store file) will be generated during the build process and will be used for signing your app. You can use the same certificate for other applications, see next. Key settings for an existing certificate
IMPORTANT NOTE: KEY SETTINGS ARE MANDATORY
You need to enter the key and certificate settings, including the password which should be at least 6 chars. Otherwise the build will fail at the end of the process, with messages such as:
Simulating and Building for Android (Mac and Windows)After selecting one of the "Generic – Generic Android" devices in ELIPS Studio plug-in, you can simulate and debug the application. You can then build the application from the "Build ELIPS Package" button. The result is an ".apk" application generated in your project "\output\Generic - Generic Android 320x480" folder.
Deploying the App on the Device (Mac and Windows)You can now plug your Android device to your computer. To upload the application on the device, you need to use the command line tool "adb" from Android, so called "Android Debug Bridge" (if you wish to read more about this tool, you can find a useful explanation in this page. On WindowsThis command line tool is available in the ELIPS Studio Framework folder (by default: To use it, open a cmd window and run it with the following command: C:\[path_to_adb_tool] > adb install [path_to_apk]\[appname].apk
On Mac This command line tool is available in the ELIPS Studio Framework installation folder (by default: To use it open a terminal, and run the following command: $> "/Applications/Elips FB[3 or 4].app/Contents/Resources/Android Tools/bin/adb" install [path_to_apk]\[appname].apk
That's it! Your application is now installed on the device in the main menu. You can now start it and see it running! |
Login
Win a pass for FITC SF!
As a FITC SF sponsor, we are giving you the chance to win two full festival passes!
Learn more here.
FITC SF Contest Winners and Special Discount on conference tickets - Read More...
Beta 7: now for MAC also (plus some PC goodies) - Read More...
Blog and Win a pass for FITC San Fran - Read More...
Quick Links
|