Hello everyone. It's a pleasure to meet you. Welcome to the Mobile Android App lecture to proceed with the MCF and ICT Software Development Business Incubator Program in Myanmar from Korea Aerospace University.
Before the start of the training, I'll introduce myself. I worked Web programmer in Korea for seven years over. Then became interested in Myanmar. And I came to Myanmar with my wife. We gave birth to a daughter in Myanmar Whitoria Hospital. My daughter's name is Shin,Ye-Seo and Myanmar name is Pyupyu. Forward welcome to questions for Android and other questions are also welcome about Korea and Korea-related issues. Thank you.
Class a total of 4 weeks 1 month course and three hours a day. After explaining it will be primarily practice time. because It is the best way to learn programming practice. lecture curriculum is as follows. But may be changed, because I still do not know the culture or the Internet situation in Myanmar. Daily lectures will be given a small project in the late practice. Will be able to make you want to create a App through Daily small project. The final purpose of this lecture is to make the App you want to create a basic function that any action. So I have a few questions to you now. is there anyone developed Android App? is there anyone developed Java Program? Yes, that is fine. Let's practice together one by one. I have a few request now.
We have two recommended option. it is a android phone and use cable for your phone. because we are going to develop android app. we need a test. The best way to test android app is use real device phone. Of course we use AVD. it is Android Virtual Device. but it is a little slow than phone. also it is can not test some function like multi touch. That’s why I recommended this.
So this lecture agenda is very simple like this. The first is What is Smart Phone. We have to know what is smart phone special feature to develop mobile app. and then compare iPhone and Android. and will see Android Architecture and how setting up a development environment.
so now let’s talk about iPhone. Why iPhone? iPhone is not first smart phone. before released iPhone there are many smart phone in the world. but iPhone is a first smart phone popularized smart phone all of the world. after released iPhone everyone will start use smart phone.
why we wild about iPhone? The biggest difference between the other previous smartphones is whole new input device. it is a fingers. Steve jobs told ‘We gonna use a stylus? No! Who wants a stylus? Nobody wants a stylus. So let’s not use a stylus.We are gonna use the best pointing device in the world. We’re born with ten of them. We gonna use our fingers.’
and then iPhone is combined device a three function iPod mp3 player, Phone and Internet. This means we forward can do a lot more use iPhone. It is also same a Android Phone.
What is the difference between Android and iPhone?The biggest difference is Open Source. The iPhone is as proprietary as Apple can possibly make it. If you like what Apple wants to give you in the iPhone, you'll never notice. But, if you want more than what Apple wants to offer you, you're out of luck. Take Adobe Flash, for example. Adobe would love to let you view Flash videos and play Flash games on an iPhone, but Apple will have nothing to do with Flash. Short of the Department of Justice ordering Apple to let Flash on iPhones or Adobe suing Apple into submission, the only way Flash will show up on iPhones, or iPads for that matter, will be through technical kludges. Android is far more open. If there's an Android application out there, even if it's not in Google's official Android Market, you can download, install, and run it.
So we are going to talking about open source. In general, open source refers to any program whose source code is made available for use or modification as users or other developers see fit. Open source software is usually developed as a public collaboration and made freely available.And GNU is a Unix-like operating system created and funded by the Free Software Foundation. One of the goals of the Free Software Foundation was an operating system composed entirely of free software. Many pieces, such as shells, utilities, and compilers were created for this purpose. The GNU operating system has yet to be fully completed, due to slow development and debates about design goals. Most of the programs created for GNU have been ported to other kernels and operating systems, most notably Linux.SoAndorid OS is based on this GNU/Linux Kernel System.
This is a OpenSource feature. A major feature is free and open as I described a while ago.
This is a Android OS Feature. Android based Open Source and use Apache 2.0 license. Prepared every component for smart phone development. And whole free any device manufactures and development. and use java development language. it is most notable feature. This is the reason that I develop Android App despite use iPhone. and next Excellent Performance. Android use JVM(Java Virtual Machine) but it isshowing excellent performance. because Android execute source code compile use Dalvik VM(virtual machine). Dalvik VM is explain after a while.
Android OS is continuous upgrade. the first version is released 1.0 23.09.2008. this table is history of Android with Android Market Share.
Google only provides Android OS to manufacturers instead of building their own smartphones, which is very important to balance its environment. However, Google sometimes launch the reference which are manufactured from other companies with Google-built OS.These reference phones are called ‘Nexus’. After Android 2.X, Google has launched 3 reference phones when Android OS received major update. The reference phone is very important because Google shows its new path for Android environment with its reference phone. Therefore, the reference phone’s sale is not as good as other Android phones, but customers who own reference phones get direct support and firmware update from Google, so they experience new features faster than other Android phone users.
Android OS is continuous upgrade. And it is iterating 2x per year. One major dessert every six months.
And same chart that created another institution for Smartphone market share in the world. It shows same data with before chart.
This is a Android Inner Architecture. Android Source code is divided two form. The one is Native code using Android NDK another is Dalvik runtime using Android SDK. both code running on the Android app framework based on Linux kernel.
This is a Android App Framework. Android app framework include various modules to needed to develop a mobile app. even database system and 3G graphics engine.
This is a standard libraries. it is include many useful open source project. Apache HTTP library for Network system. SQLite for Database system. and whatnot that and that.
And android support NDK. NDK is a toolset that allows you to implement parts of your app using native-code languages such as C and C++.but most apps do not need the Android NDK. you should understand that the NDK will not benefit most apps. In general, you should only use the NDK if it is essential to your app.
Android OS is free. because any device manufactures and development can be use. so Mobile Echo system is formed naturally between Google, device manufactures, chip development company like SAMSUNG, LG, qualcomm, HTC, Motorola even app development. you can participate in here soon.
so finally I will one question to you. which platform should you choice? I will check your answer as who attend next class. who is come back here at next class.
Curriculum Curriculum TableDay Day Title Title1 What is Android 11 Toast, Dialog and Notification2 The first application and Dev Tools 12 AdapterView Widgets3 Self-created App and Market 13 Graphics4 View and 14 Threads and Animations ViewContainer_!SmallProject5 Layout 15 Networking6 Event Handling 16 Database7 Activity 17 Multimedia and Location8 Key and Touch Event 18 Messaging9 Style and Theme 19 Team Project10 Menu and Tab 20 Team Project Review
Recommended Option Android Phone and USB cable for your phone
iPhone Why we wild about iPhone? We gonna use a stylus? No! Who wants a stylus? You have to get them and put them away.You loose them – yuckes! Nobody wants a stylus. So let’s not use a stylus. We are gonna use the best pointing device in the world. We are gonna use the pointing device that we’re all born with… We’re born with ten of them. We gonna use our fingers.
iPhone iPod(mp3 player) and Phone and Internet
iPhone and Android What is the difference between Android and iPhone? Closed systems vs. open systems and others. Security User Control Vendor Lock-in Open Source Battery Life
What is OpenSource? In general, open source refers to any program whose source code is made available for use or modification as users or other developers see fit. Open source software is usually developed as a public collaboration and made freely available. Open Source is a certification mark owned by the Open Source Initiative (OSI). Developers of software that is intended to be freely shared and possibly improved and redistributed by others can use the Open Source trademark if their distribution terms conform to the OSIs Open Source Definition. To summarize, the Definition model of distribution terms require that: The software being distributed must be redistributed to anyone else without any restriction. The source code must be made available (so that the receiving party will be able to improve or modify it). The license can require improved versions of the software to carry a different name or version from the original software. The idea is very similar to that behind free software and the Free Software Foundation.
What is Android? Android OS Feature Open Source Android based Open Source and use Apache 2.0 license. Support Complete Prepared every component for smart phone development. Component for Smart Phone Free Platform for Android is open source also free platform do not have to pay. everyone So any device manufactures can made easily smart phone use android. Java development Java is programming language when use android development. Language So many java developer can start easily android development in the world. Excellent Android use JVM(Java Virtual Machine) but it is showing Performance excellent performance.
Android History Android 1.0 23.09.2008 released The first android version The first android device is only HTC Dream
Android History Android 1.5 Cupcake Camcorder support to record and watch videos Ability to easily upload images and videos to Picasa and YouTube A number of Bluetooth improvements Widgets and folders can now be placed on the home screen Animation on various screen transitions On-screen keyboard with text- prediction
Android History Android 1.6 Donut New camera, camcorder and photo gallery interfaces Improved voice search and search experience Support for higher screen resolutions Google turn-by-turn navigation Text to speech engine Multi-touch gesture support VPN (Virtual Private Network) support
Android History Android 2.0 and 2.1 Éclair Improved UI Contact and Account improvements and synchronization Email support for Exchange, supports multiple account aggregation More camera improvements including flash, digital zoom, white balance, scene modes and macro focus Improved virtual keyboard Browser improvements including key functions of HTML5 Improved speed Improvements to Calendar and Google Maps Bluetooth 2.1 support and related Bluetooth features Live wallpapers
Android History Android 2.2 Proyo Camera control improvements with more on- screen buttons Tethering with up to 8 WiFi hotspots or via USB connection Multi-lingual keyboard support allows quick language switching More performance improvements for faster app access and browser speedups Bluetooth improvements including voice dialing, contract sharing, support for bluetooth car and desk docks Numerous enhancements for Microsofts Exchange, such as remote wipe, calendar support, global address lists and improved security New home screen tips widget
Android History Android 2.3 Gingerbread UI refinements for simplicity and speed Faster, more intuitive text input on the virtual keyboard One-touch word selection and copy/paste Improved power management and power usage status Application status and ability to manually stop applications Internet phone calling Near-Field Communication (NFC) support to read NFC tags New download manager Multiple camera support (i.e. front and rear cameras) Support for barometer, gravity, gyroscope, linear acceleration and rotation vector sensors
Android History Android 3.0 Honeycomb New UI optimized for tablets includes a new system bar, action bar, customizable home screens and recent apps list Redesigned keyboard for faster more accurate entry Improved text selection, copy and paste Synchronize media files via USB without mounting a USB mass- storage device Support for physical keyboards via Bluetooth or USB Bluetooth tethering allows more devices to share the network connection Updated applications for larger screens including browser, camera, gallery, contact and email Multi-core processor support High-performance 2D and 3D graphic support
Android History Android 3.1 Honeycomb UI refinements to navigation and animations USB devices and accessories supported, including mice, keyboards, digital cameras and more. Expanded recent apps list Resizeable Home screen widgets Support for joysticks and gamepads Improved Wi-Fi networking stability, including connection while the screen is off Updated set of standard apps, including browser, gallery calendar, contacts and email. Enterprise support features
Android History Android 3.1 Honeycomb Further enhancements for Tablets Compatibility zoom for fixed-sized applications Direct application access to SD card file system Extended screen API for managing different screen sizes
Android History Android 4.0 Ice Cream Sandwich Major UI changes and enhancements include: Refined UI, Recent Apps selection Home folders and favorites tray Resizable Widgets, Lock screen actions Quick Response for calls, Network data control Other areas that are new or improved include: Social network improvements, Unified calendar Camera and Camcorder changes - face detection, image stabilization, snapshots while video recording, new gallery app with photo editor Browser can get full desktop versions of web sites Improved Email, NFC based sharing, Face Unlock, WiFi-Direct support
Android History Android 4.1 Jelly Bean UI changes and enhancements include: Improved touch response and transitions Expandable, actionable notifications Adaptive keyboard and guesses Other areas that are new or improved include: Instant review of taken photos External braille input and output via USB Improved Voice search NFC based photo sharing USB audio Google Wallet
Android History Android 4.2 Jelly Bean UI changes and enhancements include: Multiple users for tablets Other areas that are new or improved include: Photo Sphere to take 360 degree images Built-in keyboard gesture typing (like Swype) Daydream to display info while idle or docked Beam photos and vidoes
Introduce Sample Process Greeting Name Where live Family Job expectation Hobby personality
Google Reference Phone Google Reference Phone Nexus One Nexus S Galaxy Nexus Nexus 4
Google Reference Phone 1. Nexus One On January 9th 2010, Google officially announced its Nexus brand phone. This model’s support ended at Android 2.3 Gingerbread. an HTC-manufactured smartphone.
Google Reference Phone 2. Nexus S This device was unexpected. Market was expected to see this on in early 2011, but announced on December 2010. This was the first Android 2.3 Gingerbread equipped phone but it is currently upgraded to the newest OS, Android 4.0 Ice Cream Sandwich. Samsung-manufactured successor to the Nexus One.
Google Reference Phone 3. Galaxy Nexus This Galaxy Nexus was launched on October 19th 2011 as Android 4.0 was announced, and Google continues the relationship with Samsung to build the next reference phone. Google changed the whole UI for Ice Cream Sandwich.
Google Reference Phone 4. Nexus 4 LG-manufactured successor to the Galaxy Nexus, released November 2012. The phone was launched with the new Android 4.2 operating system, titled (as was Android 4.1) "Jelly Bean".