Android Mobile Application Development
Go Up to Multi-Device Applications Index
The FireMonkey framework and Appmethod provide the tools you need to develop applications that target the Android platform. Using FireMonkey you can create an Android application and deploy it to Android devices.
The procedure that you use for developing Android apps in Appmethod is generally the same as the procedure for developing iOS apps in Appmethod. One significant difference is that Android development does not require PAServer and connection profiles, both of which are required for iOS development. Both iOS and Android require that the SDK Manager must be pointed to an SDK for the target platform.
|Comparison of Development Requirements for iOS and Android Platforms|
|iOS Requirements||Android Requirements|
Does not apply.
Does not apply.
Does not apply.
Install the USB driver for your Android device and connect to your Android device by USB connection.
Does not apply.
Verify or set the Uses Permissions needed for your Android mobile app
See FireMonkey Platform Prerequisites for a list of system requirements for your development PC, as well as Android device requirements (prerequisites that Android devices must match to support FireMonkey applications).
Supported Android Devices
A multitude of Android devices exist on the market, but we have tested and officially support a short list of Android devices, most of which run the Jelly Bean operating system (4.1/4.2). For a list of supported devices, see Android Devices Supported for Application Development.
The list also specifies some older Android devices that can be used with Appmethod if you implement an AVD (Android Virtual Device) for them.
Preparing Your Android Development Environment
Here are the steps you need to perform in order to prepare your development system (PC) and your Android device for application development with Appmethod:
- Install Appmethod. This also installs the Android development tools.
- Important: If you chose not to install the Android development tools (JDK/SDK/NDK) during the Appmethod installation, you need to install the Android development tools.
- On your development system, install the USB driver for your Android device.
- On your Android device, enable USB debugging
- In the IDE, set up your development environment. This includes the following steps:
Developing Your Application
To create a new FireMonkey mobile application in Appmethod, select either:
- File > New > FireMonkey Mobile Application - Object Pascal
- File > New > FireMonkey Mobile Application - C++
Then select one of the types of FireMonkey mobile applications, and click OK.
For information about the available choices, see Types of FireMonkey Mobile Applications You Can Create. Android is the default target platform in new mobile applications.
The fastest way to get started with Android application development is to follow the tutorial: Mobile Tutorials: Mobile Application Development (iOS and Android).
Running Your Application
After you enable USB debugging on your Android device, you can run your applications on your Android device. If Appmethod does not detect your Android device automatically, see Configuring Your System to Detect Your Android Device.
If you install one or more Android emulators on your development system, you can also run your applications on any of your Android emulators.
- Caution: Android emulators are extremely slow and do not support the same feature set as real devices. If you have an Android device, use your Android device instead.
If your application requires special Android features, such as Internet access or Bluetooth, you need to enable the required Uses Permissions in the appropriate project configuration of your application.
- Note: Appmethod configures new Android applications to require certain typical permissions by default; you should disable permissions that your application does not need.
Initial debugging of Android apps can be performed on the Win32 platform using Mobile Preview.
Deploying Your Final Android Application
Before each release of your Android application, you should check that every setting is properly configured. See Preparing an Android Application for Deployment.
After your Android application is ready for final deployment, you can proceed to build and deploy your application:
- To create a signed Android package that you can upload to application stores such as Google Play, see Deploying Your Signed Android Application.
- To create an unsigned Android package that you can upload to certain application stores directly or that you can sign manually using third-party tools, see Deploying Your Unsigned Android Application.
- Prepare Your Development Environment (Android):
- Write Your Android App:
- Run Your Android App:
- Deploy Your Android App:
- Troubleshoot Your Android App:
- FireMonkey Platform Prerequisites
- Wizards for Creating FireMonkey Multi-Device Applications and Components
- FireMonkey Mobile Application Templates
- Automatic Reference Counting in C++
- Differences between Windows and Mac OS X
- iOS Mobile Application Development
- Mobile Tutorials: Mobile Application Development (iOS and Android)
- Mobile Code Snippets
- ShowModal Dialogs in FireMonkey Mobile Apps
- 8 Tips to Speed Up Your Android ARM Emulator (AVD)