You are on page 1of 24

A.

ANTONY ALEX MCA Dr G R D College of Science Coimbatore Tamil Nadu - India

Installation Mobile Devices

Requirements
ClockworkMod Recovery Latest Android ROM Backup all your important personal data on the phone to avoid loss of data

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.

Erasing all Data


Select NAN Droid backup of your existing ROM Select Backup and Restore Backup Wipe Data/Factory Reset Wipe Cache Partition Navigate to Main Menu Wipe Dalvik Cache

Installing OS
Navigate to Main Menu Install ZIP From SD Card Choose ZIP From SD Card Locate Android ROM from SD Card Reboot

Developing Android Apps

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 .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

Web Apps
An alternative to standalone apps Developed using web standards and accessed through browser nothing to install on devices Mixing client and web apps is also possible Client apps can embed web pages using Webview in Android app

Hybrid App
Combination of WEB App and Client APP Developed with Framework Easy to Develop 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

Steps in App Development

Development Environment
Pre-Requirements
Latest JDK Eclipse IDE Android SDK ADT Tools for Eclipse (via Internet) Android Virtual Drive AVD (via Internet)

Installing & Configuring Dev


Install JDK Install Eclipse Install Android SDK
Open Android SDK and Install Necessary tools 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.

Android Application Development

Eclipse IDE

Android SDK

Android Emulator

Android Mobile Device

AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.anddev.android.hello_android"> <application android:icon="@drawable/icon"> <activity android:name=".Hello_Android" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest>

Eclipse New Project

Configure App

Thank U

You might also like