SUBJECT CODE : 3161612
As per New Syllabus of
Gujarat Technological University
Semester - VI (IT) (Open Elective - II)
Mobile Application Development
Vilas S. Bagad
M.E. (E&Tc), Microwaves
M.M.S. (Information systems)
Faculty, Institute of Telecommunication Management
Ex-Faculty Sinhgad College of Engineering,
Pune
® ®
TECHNICAL
PUBLICATIONS
SINCE 1993 An Up-Thrust for Knowledge
(i)
Mobile Application Development
Subject Code : 3161612
Semester - VI (IT) (Open Elective - II)
ã Copyright with Author
All publishing rights (printed and ebook version) reserved with Technical Publications. No part of this book
should be reproduced in any form, Electronic, Mechanical, Photocopy or any information storage and
retrieval system without prior permission in writing, from Technical Publications, Pune.
Published by :
® ®
TECHNICAL Amit Residency, Office No.1, 412, Shaniwar Peth,
Pune - 411030, M.S. INDIA Ph.: +91-020-24495496/97,
PUBLICATIONS
SINCE 1993 An Up-Thrust for Knowledge Email : [email protected] Website : www.technicalpublications.org
Printer :
Yogiraj Printers & Binders
Sr.No. 10/1A,
Ghule Industrial Estate, Nanded Village Road,
Tal. - Haveli, Dist. - Pune - 411041.
ISBN 978-93-90450-08-4
9 789390 450084 Course 18
9789390450084 [1] (ii)
Android
software
environment
Custom
applications
in Java
Dalvik virtual
machine
Linux kernel
Applications
Home, Contacts, Phone, Browser, ...
Application Framework
Manager for activity, Window, Package, ...
Libraries Runtime
SQLite, OpenGL, SSL, ... Dalvik VM, Core libs
Linux Kernel
Display, Camera, Flash, Wifi, Audio, IPC (binder), ...
Activity
launched
onCreate()
onStart() onRestart()
User navigates onResume()
to the activity
App process Activity
killed running
Another activity comes
into the foreground
User returns
to the activity
Apps with higher priority onPause()
need memory
The activity is
no longer visible User navigates
to the activity
onStop()
The activity is finishing or
being destroyed by the system
onDestroy()
Activity
shut down
Fragment is added
onAttach()
onCreate()
onCreatView()
onActivityCreated()
onStart()
onResume()
Fragment is active
User navigates The fragment is
backword or added to the back
fragment is stack them
removed/replaced removed/replaced
onPause()
The fragment
returns to the
onStop() layout back
stack
onDestroyview()
onDestroy()
onDetach()
Fragment is destroyed
Submenu Menu Item 1 Menu Item 2
Menu Item 3 Menu Item 4 More
Menu Item 5
Menu Item 6
Menu Item 9
CheckBox
Radiobutton 1
Radiobutton 2
Radiobutton 3
Menu+a
Submenu
Menu item 1
Menu+b
Check box
Radio 1
Radio 2
Radio 3
AbstractThreadedSyncAdapter CursorLoader
Widgets
Other applications
ContentProvider
Search
Data storage Data storage
1
2
2