Sameer Thigale Android app development

20
Android App Android App Development Development Sameer Thigale

description

Basic Tutorial on Android App development. Good for Absolute

Transcript of Sameer Thigale Android app development

Page 1: Sameer Thigale  Android app development

Android App DevelopmentAndroid App DevelopmentSameer Thigale

Page 2: Sameer Thigale  Android app development

Introducing AndroidIntroducing AndroidA software platform and Operating

System for mobile devicesBased on the Linux kernelCan be programmed in C/C++ but

most app development is done in Java

Allows writing managed code in the Java language

Unveiling of the Android platform was announced on 5 November 2007 with the founding of OHA

Page 3: Sameer Thigale  Android app development

Little bit of HistoryLittle bit of HistoryGoogle acquired the startup

company Android Inc. in 2005 to start the development of the Android Platform.

Developed by Google and later the Open Handset Alliance(OHA)

Page 4: Sameer Thigale  Android app development

Open Handset AllianceOpen Handset AllianceA consortium of several companies

Page 5: Sameer Thigale  Android app development

Variety of Devices running Variety of Devices running Android!Android!

Page 6: Sameer Thigale  Android app development

Now the question that comes Now the question that comes to mind is how’s this possible to mind is how’s this possible to support such a variety of to support such a variety of devices?devices?

Answer lies in it’s openness and the coming slides too!!

Page 7: Sameer Thigale  Android app development

PlatformPlatform Hardware  

Android is not for a single piece of hardware; it's a complete, end-to-end software platform that can be adapted to work on ANY number of hardware configurations.

Everything is there, from the boot loader all the way up to the applications.

Page 8: Sameer Thigale  Android app development

Moving Forward Moving Forward Android provides these core

applications:Email ClientSMS ProgramCalendarMapsBrowserEtc. etc..

So!! All these are written in Java

Page 9: Sameer Thigale  Android app development

So what it needs to be an So what it needs to be an Android developer?Android developer?Android SDK- This can be installed

on either any OS(Ubuntu, Windows, Mac) and running either x64 or x86 architecture

Java Development Kit(JDK), Preferably people ask us to use 32-bit JDK

Both programs are freely available on the Internet

Page 10: Sameer Thigale  Android app development

And of course, a And of course, a hatkehatke Idea!!Idea!!

Page 11: Sameer Thigale  Android app development

By the Way..By the Way..An Android device is not

required! SDK includes Android Virtual Device Emulators!

No money required to either develop or distribute Android apps! Unlike iOS, Windows Phone etc.( Though I use a Windows Phone for some different reasons)

Page 12: Sameer Thigale  Android app development

Phases in Application Phases in Application DevelopmentDevelopmentDesignDevelopDistribute

Page 13: Sameer Thigale  Android app development

Ahh, Design?Ahh, Design?So! There are different versions

of Android, as we all keep saying kon sa Android version hain??? :-D

From 1.0 to 4.0

Page 14: Sameer Thigale  Android app development

Understanding StylesUnderstanding StylesDevices and DisplaysThemesTouch FeedbackTypography

Page 15: Sameer Thigale  Android app development

Understanding PatternsUnderstanding PatternsGestures: Touch , Long Press,

Swipe, Drag, Double Touch, Pan Zoom etc.

Navigation: Remember the back button?

Page 16: Sameer Thigale  Android app development

DevelopingDevelopingBasic knowledge of Java and XMLXML helps us to design the UI. Similar

to HTML. We define the tags<Button android:id=“@+id/button1”></Button>Thus we’ll be defining buttons, text

boxes, check boxes etc using XML and just make use of the button1 identifier in Java to code!

Simple!! You may feel it similar to VB

Page 17: Sameer Thigale  Android app development

Where to start from?Where to start from?Understanding folders in Android

SDK: res, bin, etc.Understanding AndroidManifest

fileUnderstanding Layouts: Linear,

Relative, Table, AbsoluteActivities, Content Providers, etc.Testing your apps on actual

devices!

Page 18: Sameer Thigale  Android app development

Continued..Continued..Testing on Android Virtual

DevicesDebugging Android apps: LogcatWhat is signing APK?Things about distributing Android

app!

Page 19: Sameer Thigale  Android app development

Advanced TopicsAdvanced TopicsMaking Use of Location based

servicesAccelerometerGyroscopeControlling camera3D rendering using OpenGL.SQLiteBluetooth, microphone etc.

Page 20: Sameer Thigale  Android app development

Questions!Questions!I left any doubts?