Mobile Application Development
Total Page:16
File Type:pdf, Size:1020Kb
Author: Dr.P.Thiyagarajan, Dept. of Computer Science, Central University of Tamil Nadu, Thiruvarur – 610 005 Mobile Application Development Author: Dr.P.Thiyagarajan Assistant Professor & Head In-charge Department of Computer Science Central University of Tamil Nadu Thiruvarur – 610 005 Email: [email protected] Author: Dr.P.Thiyagarajan, Dept. of Computer Science, Central University of Tamil Nadu, Thiruvarur – 610 005 CC XIII – Mobile Application Development UNIT I Introduction- The Mobile Ecosystem: Operators - Networks - Devices - Platforms - Operating Systems - Application Frameworks - Applications - Services UNIT II Mobile Devices Profiles - Options for development - Categories of Mobile Applications: SMS - Mobile Websites - Mobile Web Widgets - Native Applications - Games - Utility Apps – Location, Based Services(LBS) Apps - Informative Apps - Enterprise Apps UNIT III Mobile Information Architecture: Introduction - Sitemaps - Click Streams - Wireframes - Prototyping - Architecture for Different Devices. Mobile Design: Interpreting Design – Elements of Mobile Design - Mobile Design Tools - Designing for Different Device/ Screens UNIT IV J2ME Overview -J2ME Architecture and Development Environment- Small Computing Device Requirements, Run-Time Environment, MIDlet Programming, Java Language for J2ME, J2ME SDK, J2ME Wireless Toolkit UNIT V Case Study: Google Android: Introduction - Android Development Environment- evelopment Framework- SDK, Eclipse - Emulator, Android AVD - Project Framework. Apple IOS - RIM Blackberry - Samsung Bada - Nokia Symbian - Microsoft Windows Phone. TEXT BOOKS: 1. Mobile Design and Development by Brian Fling, O’Reilly Media, Inc 2009 2. J2ME: The Complete Reference, James Keogh, Tata McGrawHill 2003 REFERENCE BOOKS: 1. Smart Phone and Next-Generation Mobile Computing by Pei Zheng and Lionel Ni, Elseveir 2006 2. Beginning Android by Mark L. Murphy , Apress 2009 Author: Dr.P.Thiyagarajan, Dept. of Computer Science, Central University of Tamil Nadu, Thiruvarur – 610 005 Unit 1 MOBILE ECOSYSTEM 1 Introduction: The Mobile Ecosystem, Operators, Networks 2 Devices: Platforms, Operating systems 1-30 3 Applications: Application frameworks, Applications, Services Unit 2 MOBILE DEVICES PROFILES 4 Categories of Mobile Applications: SMS, Mobile Websites, Mobile Web Widgets 31-76 5 Native Applications: Games, Utility Apps, Location Based Services(LBS) 6 Apps: Informative Apps, Enterprise Apps UNIT 3 MOBILE INFORMATION ARCHITECTURE 7 Introduction: Sitemaps, Click Streams, Wireframes, Prototyping, Architecture 77-125 8 Mobile Design:Interpreting Design, Elements of Mobile Design 9 Mobile Design tools: Designing for different device, screen Unit 4 J2ME 10 Introduction : J2ME architecture and development environment, Small computing device requirements, Run-time environment , MIDlet programming 126-168 11 Languages: J2ME, J2ME Software Development Kits, J2ME wireless toolkit Unit 5 CASE STUDY 12 Introduction: Google Android Introduction, Android Application Development 13 Development Framework: SDK, Eclipse, Emulator, Android 169-219 AVD 14 Project Framework: Apple IOS, RIM Blackberry, Samsung Bada, Nokia Symbian, Microsoft Windows Phone Author: Dr.P.Thiyagarajan, Dept. of Computer Science, Central University of Tamil Nadu, Thiruvarur – 610 005 CONTENTS Unit 1 MOBILE ECOSYSTEM 1-30 1.1 Contents of the unit 1.2 Introduction 1.3 Objectives 1.4 Introduction to Mobile system 1.4.1 The Mobile Ecosystem 1.4.2 Operators 1.4.3 Networks 1.5 Devices 1.5.1 Platforms 1.5.2 Operating systems 1.6 Mobile Applications 1.6.1 Application frameworks 1.6.2 Applications 1.6.3 Services 1.7 Check your progress Questions 1.8 Answer to Check your progress Questions 1.9 Summary 1.10 Key words 1.11 Self Assessment Questions 1.12 Further readings Unit 2 MOBILE DEVICES PROFILES 31-76 2.1 Contents of the unit 2.2 Introduction 2.3 Objectives 2.4 Mobile Devices Profiles 2.4.1 Categories of Mobile Applications 2.4.2 SMS 2.4.3 Mobile Websites 2.4.4 Mobile Web Widgets 2.5 Native Applications 2.5.1 Games 2.5.2 Utility Apps 2.5.3 Location Based Services(LBS) 2.6 Apps 2.6.1 Informative Apps 2.6.2 Enterprise Apps 2.7 Check your progress Questions 2.8 Answer to Check your progress Questions 2.9 Summary 2.10 Key words 2.11 Self Assessment Questions 2.12 Further readings Author: Dr.P.Thiyagarajan, Dept. of Computer Science, Central University of Tamil Nadu, Thiruvarur – 610 005 UNIT 3 MOBILE INFORMATION ARCHITECTURE 77-125 3.1 Contents of the unit 3.2 Introduction 3.3 Objectives 3.4 Mobile Information Architecture 3.4.1 Sitemaps 3.4.2 Click Streams 3.4.3 Wireframes 3.4.4 Prototyping 3.4.5 Architecture 3.5 Mobile Design 3.5.1 Interpreting Design 3.5.2 Elements of Mobile Design 3.6 Mobile Design tools 3.6.1 Designing for different device 3.6.2 Designing for different screen 3.7 Check your Progress Questions 3.8 Answers to check your progress questions. 3.9. Summary 3.10. Key words 3.11 Self Assessment Questions and answers 3.12 Further Readings Unit IV J2ME 126-168 4.1 Contents of the unit 4.2 Introduction 4.3 Objectives 4.4 J2ME architecture and development environment 4.4.1 Small computing device requirements 4.4.2 Run-time environment 4.4.3 MIDlet programming 4.5 J2ME Software Development Kits 4.6 J2ME wireless toolkit 4.7 Check your Progress Questions 4.8 Answers to check your progress questions. 4.9. Summary 4.10. Key words 4.11 Self Assessment Questions and answers 4.12 Further Readings Author: Dr.P.Thiyagarajan, Dept. of Computer Science, Central University of Tamil Nadu, Thiruvarur – 610 005 Unit V CASE STUDY 169-219 5.1 Contents of the unit 5.2 Introduction 5.3 Objectives 5.4 Introduction to Google Android 5.4.1 Google Android 5.4.2 Android Application Development 5.5 Development Framework 5.5.1 SDK 5.5.2 Eclipse 5.5.3 Emulator 5.5.4 Android AVD 5.6 Project Framework 5.6.1 Apple IOS 5.6.2 RIM Blackberry 5.6.3 Samsung Bada 5.6.4 Nokia Symbian 5.6.5 Microsoft Windows Phone 5.7 Check your Progress Questions 5.8 Answers to check your progress questions. 5.9. Summary 5.10. Key words 5.11 Self Assessment Questions and answers 5.12 Further Readings Model Question Paper Author: Dr.P.Thiyagarajan, Dept. of Computer Science, Central University of Tamil Nadu, Thiruvarur – 610 005. UNIT 1 MOBILE ECOSYSTEM 1.1 Contents of the unit 1.1 Contents of the unit 1.2 Introduction 1.3 Objectives 1.4 Introduction to Mobile system 1.4.1 The Mobile Ecosystem 1.4.2 Operators 1.4.3 Networks 1.5 Devices 1.5.1 Platforms 1.5.2 Operating systems 1.6 Mobile Applications 1.6.1 Application frameworks 1.6.2 Applications 1.6.3 Services 1.7 Check your progress Questions 1.8 Answer to Check your progress Questions 1.9 Summary 1.10 Key words 1.11 Self Assessment Questions 1.12 Further readings 1.2. Introduction Mobile Ecosystem is collection of multiple operators, networks, devices, operating system, applications, process and services by companies. Mobile devices: Mobile phones, Tablets, Phablets, etc. Software: Operating system, Network protocols, development tools, testing tools, etc. Companies: Device manufacturers, carrier, Apps stores, development and testing companies. Etc. Data: SMS, contacts, bank transactions, etc. Mobile manufacturers: Samsung, Blackberry, Sony, Nokia, Motorola, Windows Phone, etc. Operating system: IOS, Android, Blackberry OS, Symbian, etc. 1 Author: Dr.P.Thiyagarajan, Dept. of Computer Science, Central University of Tamil Nadu, Thiruvarur – 610 005. 1.3. Objectives To study the history from telephone to smart phone. To understand the basic concepts of mobile system. To acquire more knowledge in mobile Ecosystem. Be familiar with network concepts related to mobile Ecosystem. To study different mobile operating system. To gain knowledge about different mobile platforms and application development. 1.4 Introduction to Mobile system A mobile phone is a wireless handheld device that allows users to make and receive calls and to send text messages, among other features. The earliest generation of mobile phones could only make and receive calls. Today’s mobile phones, however, are packed with many additional features, such as web browsers, games, cameras, video players and even navigational systems. A mobile phone may also be known as a cellular phone or simply a cell phone. The original Mobile Devices and C The original Mobile Devices and C ommunication was mmunication was designed for voice applications (2G). When the first mobile phones were introduced, their only function was to make and receive calls, and they were so bulky it was impossible to carry them in a pocket. Later, mobile phones belonging to the Global System for Mobile Communications (GSM) network became capable of sending and receiving text messages. As these devices evolved, they became smaller and more features were added, such as multimedia messaging service (MMS), which allowed users to send and receive images. Most of these MMS-capable devices were also equipped with cameras, which allowed users to capture photos, add captions, and send them to friends and relatives who also had MMS-capable phones. 2 Author: Dr.P.Thiyagarajan, Dept. of Computer Science, Central University of Tamil Nadu, Thiruvarur – 610 005. 1.4.1 The Mobile Ecosystem The smart phones become our inseparable companions today. It is become part of human life. A smart phone is a mobile phone that can do more than other phones. They work as a computer but are mobile devices small enough to fit in a user's hand. Smart phones include the following uses: Sending and receiving emails, text, photographs and multimedia messages Registering contacts, calculator, currency, alarm, etc. functions Browsing the Internet using a mobile browser Playing games and Video chat point of sale terminal when paying for goods or services barcode scanning, creating high quality photographs or video Determining user's exact location utilizing GPS (global positioning system) satellites Upto 1980, we used telephone to exchange voice information over telephone lines.