Android

901 views

Published on

Android Programming

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
901
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
50
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Android

  1. 1. A. ANTONY ALEX MCA Dr G R D College of Science Coimbatore Tamil Nadu - India
  2. 2. Installation Mobile DevicesMobile Devices
  3. 3. 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
  4. 4. • 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.
  5. 5. 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
  6. 6. 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
  7. 7. Developing Android Apps
  8. 8. 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
  9. 9. 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
  10. 10. 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
  11. 11. Steps in App DevelopmentSteps in App Development
  12. 12. Development Environment • Pre-Requirements – Latest JDK – Eclipse IDE – Android SDK– Android SDK – ADT Tools for Eclipse (via Internet) – Android Virtual Drive AVD (via Internet)
  13. 13. 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.
  14. 14. Android Application Development Eclipse IDE Android SDK Android Emulator Android Mobile Device
  15. 15. 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">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>
  16. 16. Eclipse New Project
  17. 17. Configure App
  18. 18. Thank UThank U

×