0% found this document useful (0 votes)
23 views

4 45766954a6

Uploaded by

self.shahiduddin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
23 views

4 45766954a6

Uploaded by

self.shahiduddin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 7
PREFACE ‘The imporance of Mobile Application Development is well known in various engineering fields, Overwhelming response to Our books on various subjects inspired us to write this book. The book is structured to cover the key aspects of the subject Mobile Application Development The book uses plain. lucid language 10 explain fundamentals of this subject. The book provides Logical method of explaining various complicated concepts and_ stepwi methods to explain the important topics. Each chapter is well supported with necessary Illustrations, practical examples and salved problems, All chapters in this book are arranged in @ proper sequence that permits each topic to build upon earlier studies. All care has been taken to make students comfortable in understanding the basic concepts of this subject ‘The book not only covers the entire scope of the subject but explains the philosophy of the subject. This makes the understanding of this subject more clear and makes it more interesting. The book will be very useful not only to the students but also to the subject teachers, The students have to omit nothing and possibly have to cover nothing more, We wish 10 express my profound thanks 10 all those who helped in making this book a reality. Much needed moral support and encouragement is provided on numerous cecasions by our whole family. We wish to thank the Publisher and the entire team of Technical Publications who have taken immense pain to get this book in time with quality printing Am suggestion for the improvement of the book will be acknowledged and well appreciated Authors Drushati R. Sonar Narendva S. Deshi Anwmdoha D. Tatste Dedicated to Renders of Bock. ww Bee Unit — | 35, Explain with relevant analogy the [3.1 Control flow, Directory Structue. pees Doesog Sager 2 Components of a screen, Fundamental Componentsand | 3p, Describe the steps to use the| UI design, Eayonts given Android rich Ul componet: | 3, Linear Layout ; Absolute Layout, Frame 3c. Daceribe the steps to use the] Layout, Table Layout ; Relative Layout given type of Layout 3d. Develop the given basic Android application. Unity 4a, Develop rich user Interfaces for|41 Text view, Edit Text; Button Image Dinigning ide the given Android application Button; Togsie Button: Kadio Button and Interficewith | 4b, Develop Android application | __Radio Grup, Checkbos; Progress Bar View using the given view 22 List view ; Grid view ; Image view : de Explain the significance of the| St! view ; Custom Toast Alert given display Alert 43. Time and Date Picker 4d, Develop the given application using time and date picker. 5a, Apply the given Intents and | 5.1 Intent, Intent Filter service nt APPABOm 52 activity, Lifecycle; imadcast Lifecycle evelopment 5 9 databases [5b Use Fragment to generate the [23 Content Provider ; Fragments. given multiple activities, 34 Service : Features of Service, Android . platform service, Defining new service, 5c Develop programs to play the) Service Lifecycle, Permission, example of given multimedia, aa eRe 5d. Write the query to perform the given database management operation. Android System Architecture, Multimedia framework, Play Audio and Video, Text to speech, Sensors, Asyne tasks Audie capture, Camera, Bluctooth, Animation. SQLite Database, necessity of SQLite, Creation and connection of the database, extracting value from cursors, Transactions w Se Unie-VE Security and Application Deployment 6 6, 6d, Explain the given location based Write the steps to customize the given permissions for users, Features of the given android scecurity service Write the steps to publish given andoid App 63 64 ‘SMS Telephony Location Based Sevices : Creating the project, Getting the maps API key, Displaying the map, Displaying the zoom control, Navigating to a. specific location, Adding markers, Getting location, Geocoding and reverse Geocoding, “Getting Location data, Monitoring Location Android Security Model, Declaring and Using Permissions, Using Custom Permission, Application Deployment; Creating Small Application, — Signing of application, Deploying app on Google Play Store, Become 1 Publisher, Developer Console. TABLE OF CONTENTS Chapter-4 Android and its Tools (1-1) to (1-12) 1.1 Introduction to Android 1. 1.1.1 Whatis Android be 1.1.2. Key Plattorm Components tet 11.3. Android Versions. 1-2 1.1.4 Open Handset Alliance (OHA) 1 11S Android Reosystem bed LLG Needof Andioid. 2.5.2. seee cesses LES 12. Android Features, 1-6 13. Tools and Software Required for Developing an Androicl Application ie 14. Android Architecture « 1-8 by Chapter-2 Installation and Configuration of Android (2-1) to (2-20) 24. The Andioid Opetating System ef 2.11 How-do Android: Apps Work 7... 2d 2.12. Java Development Kit JDK)... 2-3 23 Android SDK 4 22 Android - Deycloper Tools cnc .® 23° Android Viral Device (AVD) eve BS 24 Android Emulator 25° Dalvik Virtual Machine (VM) 2-7 2.6 Steps to Install and Configure Android Studie and SDK. ......00.¢eceec02-9 2.6.1, The development eavironaeat 9 2.62. lnsalling the Jaya Development Kit (JDK) 2- 9 2.6.3. Setting up Android Stucie. 2.64 Installing Additional Android 2.6.5. Installation of Emulators 2-18 Listas Chapter-3 Components and Layouts (3-1) to (3 - 66) 3.1 The Development Process. 3-1 3.1,1 Creating the Project 2 3.1.2 Direetory and File Structure of an Android Studio Project 3-12 3.2 Components of Android Application 3-16 3.2.1 Creating the user Interface 3-18 3.3. Layouts 3.3.1 Android Linear Layout 3.3.2 Android Absolute Layout 3-33 4.33 Android Frame Layout 3-36 3.34 Android Table Layout 3-83 3.39 Andoid Relative Layout 3-52 Chapter - 4 Designing User Interface with View (4-1) to (4-34) Ad The Android View ss ssceescevsevecteree Aol 4,1 Basie Views 1 ALLA Tost View : 42 41.1.2 Declare UT Elements in XML. 4 412 Balt Text z 4.15. Button 4-6 4.1.2.1 Bunton Atsibutes 4e7 4.14 Image Button bait 4.14.1 Image Button Atiibutes 48 4.15 Toggle Button 4-8 4.16 Radio Burton vis 4.1.7 Radio Group 4-15 4.18 Check Box a7 4.1.8.1 Check Box Atiibutes bet ee rier: et) 42 43 4.1.9 Progress Bar 41.9.1 Indeterminate ‘ 41,92 Res List View seen 4.2.1 Grid View 42.1.1 Methods of Grid View... 42.1.2 Andtoid Grid View Attributes 4.2.2 Image View 4.2.3. Scroll View 42.3.1 Vertically Scrolling... 42.32 Horizontally Sorolling 4.4 4.2.4 Custom Toast Alert 42.4.1 Creating a Toast = Time and Date Picker 4.3.1 Date Picker Propert 4.3.2 Time Picker Properties 4-19 4-19 Chapter-5 Activity and Multimedia with $2 53 Databases Intent S.LT Use of Intent 5.1.2 Types of Intent in Android 5.13 Intent File 51.3.1 Work of Intent Activity Life Cycle 5.21 Understand the Activity Lifeeyele. 5.22 Broadeast Life Cyele 3.2.2.1 Types of Broadcasts. Content Provider 53.1 Creating a Content Provider 532. Fragments 3.2.1 Creating a Feagmen 53.2.2 Types of Fragments Service 54.1 Android Services Lifecyle Diagram 5.4.2 Features of Service 5.4.2.1 Android Platform Service 54.3. Defining New Service. (5-1) to (5 - 58) 5-23 25 5-26 27 5-27 27 Sad Serviee Life Cycle. 54.3.1 Create Service s 5435 Permissions 5.5 Android System Architecture : s-31 5.1 Multimedia Framework wenn 5233 5.2 Play Audio anc Video. aeoee 5298 5.5.2.1 Playing Audio Files soi 5.53 Textto Speech 55.22 Playing Video Files 5 554 Sensors . =36 533 Asyne Tasks 5-38 Audio Capture. . 5-30 5.46.1 Camera 5-39 Bluetooth... 5-41 5.7.1 Animation 5-43 SQLite Database . -47 58.1 Necessity of SQLite Database 5-48 582 Creation and Connection of the Database. $48 583 584 Extracting Value mi Cursor. Transactions Chapter-6 Security and Application Deployment (6 - 1) to (6 - 1) 6.1 SMS Telephony oe 6-1 6.1.1 Sending and Receiving SMS Messages... 6-1 62 Location Based Service 6-1 62.1 Location APIs ot 6.2.1.1 Classes and Inerfices of Location Based Services 6-2 6.22. Creating the Project 6.2.2.1 Creating an SMS App Getting the Maps API Key... 6-2 62:21 What is a Google Maps APIKey?,, 6-2 6.23.2 How to get a Google Maps APE Key? 6-2 Displaying the Map 6-4 62.4.1 Google Map-- Layout File 6-7 62.4.2 Google Map - Android Manifest Pile 6-7 6.2.4.3 Customizing Google Map 6-8 TECHNICAL FUBLICATIONS® - An up thrust for knowledge @) 6.2.4.4 Changing Map Type 5-8 62.5 Displaying the Zoom Control... ....05+ 6-8) 6.2.5.1 Enable/Disable Zoom 6-8 Important Methods of Zoom Contos. sven 6-8 6.2.6 Navigating to Specific Location 6-8 6.2.6.1 Andioid Google Map Displaying ‘Current Location. o-8 6.2.6.2 Callback Methods in 2.7 Adding Markers 6-9 628 Getting Location, Getting Location data, Monitoring Location .- 6-9 629 Geocoding and Reverse Geocoding... 6~ 10 63 Android Security Model . 6-12 63.1 Declaring and using Permissions 6-12 6.3.1.1 Define a Custom Ap 6-2 6.3.1.3 User IDs and File Access cor) 6.3.1.4 Creare a Permission Group 6-13 632. Using Custom Permission 6-13 6.4 Application Deployment 6-2 GAL Creating Small Application 6-13 6A2 Signing of Application 6-3 6.4.2.1 Signing in Debug Mode 6-1 6.42.2 Signing in Release Mode 6-14 643 Deploying App on Google Become a Publisher, Devel ‘Solved Sample Papers Google Map... 6-9 yp Permission, . 6 12 Play Store loper Console. 6- 14 (S- 1) to (S-6) TECHNICAL PUBLICATIONS® An yp thst for knowledge [uwr=1| Android and its Tools 14 14 + Android is an operating system ane programming platiorm developed by Google for smartphones and ther mobile devices (such as tablets). Introduction to Android What is Android 7 sstem that is based Java Android is a mobile operating, a modified programming interfoce. on version of Linux with a +t was originally developed by a startup of the same name, Android, Inc. In 2005, as part of its strategy the mobile Google purchased Android and took over its development work. to enter space, Android was developed by the Open Handset Alliance (OHA), which is led by Google, The Open Handset Alliance (OHA) is consortium of multiple companies like Samsung, Sony. Intel and many more to provide a service and deploy handsets using android platform, Android gives a chance to reuse the application components and the replacement of native applications. The most distinguished feature of Android is that it gives equal opportunities to native apps and third party apps to use its resources. Linux kemet |+— operating system Lins kerma Dav« viwatmacnine |_| piccsourare Native ard thi ‘Apps (Third patty and native aps) patty appitcatin Fig. 4.4.1 Android environment 442 Like any technology stack, the Android platiorm can be broken down into areas of tesponsibility to make it easier to understand Android platform are shown below. Key Platform Components The main divisions of the Fig. 1.1.2 The major components of the Android platiorm, ‘The architectural diagram in Fig. 1.1.2 shows that the Android platform can be broken down into five sections : + Applications + Application framework + Midelleware libraries + Operating system + SDK and developer tools Applications are pretiy obvious. But several different types of applications are available on most Android the distinction is subtle. Core open source applications are included as park of Android devices and ltself, such as the Browser, Camera, Gallery, Music, These are typically inchuded with every Android device. Phone and more There are also non-open source Google apps that are included with most builds including Market, Gmail, Maps, YouTube and more, Many carrier or hancleot offical

You might also like