This document provides instructions for installing a new Android ROM on a mobile device and developing Android apps. It outlines the requirements for installing a new ROM which includes backing up data, booting into recovery mode, wiping the existing ROM and cache, installing the new ROM zip file from the SD card, and rebooting. It then discusses developing client apps using the Android SDK within Eclipse, as well as developing web apps and hybrid apps that combine web technologies with native platform code. The steps for configuring an Android development environment and creating a new Android project in Eclipse are also outlined.
4. Requirements
• ClockworkMod Recovery
• Latest Android ROM
• Backup all your important personal data on
the phone to avoid loss of datathe phone to avoid loss of data
5. • Boot into ClockworkMod Recovery with a
• Copy the Android ROM file to the root folder
on your phone's internal SD card
• Reboot your Device
• Boot into ClockworkMod Recovery with a
button sequence.
6. Erasing all Data
• Select NAN Droid backup of your existing ROM
• Select Backup and Restore
• Backup
• Wipe Data/Factory Reset• Wipe Data/Factory Reset
• Wipe Cache Partition
• Navigate to Main Menu
• Wipe Dalvik Cache
7. Installing OS
• Navigate to Main Menu
• Install ZIP From SD Card
• Choose ZIP From SD Card
• Locate Android ROM from SD Card• Locate Android ROM from SD Card
• Reboot
9. Client apps
• Developed using the Android SDK and installed on
user devices
• Compiled Java code, with data and resource –
bundled by Android Asset Packaging tool (AAPT) into
Android package or .apkAndroid package or .apk
• All applications have Android Manifest file in its root
directory
– provides essential information about app
• Could be installed directly on phone, but necessary
to be distributed thru Market
10.
11. Web Apps
• An alternative to standalone apps
• Developed using web standards and accessed
through browser – nothing to install on
devicesdevices
• Mixing client and web apps is also possible –
Client apps can embed web pages using
“Webview” in Android app
12.
13. Hybrid App
• Combination of WEB App and Client APP
• Developed with Framework
• Easy to Develop
• Combine HTML/CSS/JS with native code• Combine HTML/CSS/JS with native code
– User interface in HTML/CSS
– Logic and interaction in JS
– Special functions written in platform-specific
native code
14.
15. Steps in App DevelopmentSteps in App Development
16.
17.
18. Development Environment
• Pre-Requirements
– Latest JDK
– Eclipse IDE
– Android SDK– Android SDK
– ADT Tools for Eclipse (via Internet)
– Android Virtual Drive AVD (via Internet)
19. Installing & Configuring Dev
• Install JDK
• Install Eclipse
• Install Android SDK
– Open Android SDK and Install Necessary tools
– Open AVD Manager and Install– Open AVD Manager and Install
• Build SDK Android according to Version & Device
• Install ADT Through Eclipse
– Select
• Help-> Install new Software
• Add URL : https://dl-ssl.google.com/android/eclipse.