-2.ppt" classOn selecting a project topic


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

-2.ppt" classOn selecting a project topic

  1. 1. CSE 494/598 Spring 2009 Mobile Health and Social Networking Class 2 Thursday, January 22, 2009
  2. 2. Today <ul><li>Survey review </li></ul><ul><li>Android review </li></ul><ul><li>Android SDK </li></ul><ul><li>First homework </li></ul>
  3. 3. Survey Review Let’s see what you said…
  4. 4. I am expecting to learn in this course <ul><li>Pervasive and ubiquitous computing principles </li></ul><ul><li>Capabilities, inner workings and limitations of mobile devices </li></ul><ul><li>Applications for mobile devices </li></ul><ul><li>Mobile/wireless network standards </li></ul><ul><li>Developing mobile applications for latest devices </li></ul><ul><li>Fundamentals of wireless embedded devices </li></ul><ul><li>Mobile system design principles </li></ul><ul><li>Interface design, ergonomics and human factors </li></ul><ul><li>State of the art in mobile devices and standards </li></ul><ul><li>Future of this domain </li></ul><ul><li>What are the challenges hindering evolution of mobile devices </li></ul><ul><li>Security issues </li></ul><ul><li>How to improve health (and in general) life with these technologies </li></ul>
  5. 5. My concerns about this course are <ul><li>What’s more than what I already know </li></ul><ul><li>Not enough collaboration with fellow students (x2) </li></ul><ul><li>Language limitations </li></ul><ul><li>Might not count toward my credit hours </li></ul><ul><li>Too much workload (x2) </li></ul><ul><li>Too much or too advanced programming required and too little learning (x2) </li></ul><ul><li>Not adequate background (x2) </li></ul><ul><li>Not practical or application-oriented </li></ul>
  6. 6. Therefore… my wishes for this course are <ul><li>Teach me more than what I already know </li></ul><ul><li>Apply some collaborative learning </li></ul><ul><li>Be easy to understand </li></ul><ul><li>Count toward my degree requirements </li></ul><ul><li>Have reasonable workload </li></ul><ul><li>Require not too much programming </li></ul><ul><li>Require little background knowledge </li></ul><ul><li>Be practical and application-oriented </li></ul>
  7. 7. I learn through the following methods none=0, limited=1, somewhat=2, a lot=3, extremely=4 8 Labs/Hands-on 29 Quizzes 29 Exams 36 Homework 42 Projects 48 In-class discussion and activities
  8. 8. I am interested in those mobile computing domains none=0, limited=1, somewhat=2, a lot=3, extremely=4 35 Games & Entertainment 7 Other (creativity, system technology) 43 Health & Well Being 45 Professional & Productivity 48 Personal Assistance 49 Personal Communications & Social Networking
  9. 9. I want my smart device to have the following features and capabilities <ul><li>Internet & wireless connectivity </li></ul><ul><li>Email / handle multiple accounts </li></ul><ul><li>Calling </li></ul><ul><li>Texting SMS and MMS </li></ul><ul><li>Advanced IM </li></ul><ul><li>GPS and smart navigation </li></ul><ul><li>Music & video </li></ul><ul><li>Merge various and diverse address schemes </li></ul><ul><li>Maps </li></ul><ul><li>Provide laptop-equivalent capabilities </li></ul><ul><li>Entertainment software </li></ul><ul><li>Calendar & organizer </li></ul><ul><li>Adaptive to context/situation </li></ul><ul><li>Waterproof </li></ul><ul><li>Ample storage </li></ul><ul><li>Health monitoring </li></ul><ul><li>Face recognition </li></ul><ul><li>Voice recognition </li></ul><ul><li>Intuitive interface </li></ul><ul><li>Location-based services </li></ul><ul><li>Multitasking / multiprocessing </li></ul><ul><li>Connectivity to appliances </li></ul><ul><li>Sync-able with my computer </li></ul><ul><li>Personal security </li></ul><ul><li>Be fast </li></ul><ul><li>Comfortable </li></ul><ul><li>Pretty </li></ul><ul><li>VoIP </li></ul><ul><li>Tactile keyboard </li></ul><ul><li>Large screen Touchscreen </li></ul><ul><li>Lots of software availability </li></ul><ul><li>Easy to program and use </li></ul><ul><li>Long battery life </li></ul><ul><li>Lightweight </li></ul><ul><li>Good speakers </li></ul><ul><li>Shake-resistant parts </li></ul><ul><li>Lots of sensors </li></ul><ul><li>Quality camera </li></ul><ul><li>Expandable storage </li></ul>
  10. 10. I want to do to the following tasks/activities with my smartphone <ul><li>Be a better professional </li></ul><ul><li>Weather info </li></ul><ul><li>Entertainment </li></ul><ul><li>Personal Organizing, prepare my schedule based on my habits and to-do list, keep me on schedule </li></ul><ul><li>Personal Health care, help my doctors </li></ul><ul><li>Multimedia collection organizing </li></ul><ul><li>Keeping in touch with and locate friends </li></ul><ul><li>Help me learn my friends </li></ul><ul><li>Exercise and sports </li></ul><ul><li>Remember my passwords </li></ul><ul><li>Share files and documents </li></ul><ul><li>Stock market activities </li></ul><ul><li>Whatever I do on my laptop </li></ul><ul><li>Travel, maps and navigation </li></ul><ul><li>Everything </li></ul><ul><li>Help me find solutions to my problems </li></ul><ul><li>Keep me updated with emails in an easy and intuitive way </li></ul><ul><li>Cooking </li></ul><ul><li>Coursework </li></ul><ul><li>Photo editing and sharing </li></ul><ul><li>Keep track and a log of what I do </li></ul><ul><li>Control my appliances </li></ul><ul><li>Keep track of my child and his/her condition </li></ul><ul><li>Document authoring/editing </li></ul>
  11. 11. The Google Android Technology overview Open Handset Alliance
  12. 12. Overview of talk <ul><li>Background history of Android </li></ul><ul><li>Open Handset Alliance </li></ul><ul><li>Overview of features and architecture </li></ul><ul><li>Industry response </li></ul><ul><li>Notable available Apps </li></ul><ul><li>Future </li></ul>
  13. 13. Android: Background history <ul><li>In July 2005, Google acquired Android, Inc., a small company that developed software for mobile phones </li></ul><ul><li>In the following months, the former “Android, Inc.” team started working on a Linux-based OS for mobile devices </li></ul><ul><li>By the end of 2006, media and press was filled with news about Google entering the mobile market. </li></ul><ul><li>In November 2007, the Open Handset Alliance was announced. </li></ul><ul><li>OHA’s first project: Android. </li></ul>
  14. 14. Open Handset Alliance: Mission statement <ul><li>Building a better phone for consumers </li></ul><ul><li>Today, there are 1.5 billion television sets in use around the world. 1 billion people are on the Internet . But nearly 3 billion people have a mobile phone , making it one of the world's most successful consumer products. Building a better mobile phone would enrich the lives of countless people across the globe. The Open Handset Alliance™ is a group of mobile and technology leaders who share this vision for changing the mobile experience for consumers. </li></ul><ul><li>Innovating in the open </li></ul><ul><li>Each member of the Open Handset Alliance is strongly committed to greater openness in the mobile ecosystem. Increased openness will enable everyone in our industry to innovate more rapidly and respond better to consumers' demands. Our first joint project as a new Alliance is Android™ . Android was built from the ground up with the explicit goal to be the first open, complete, and free platform created specifically for mobile devices . </li></ul><ul><li>[source http://www.openhandsetalliance.com/oha_overview.html] </li></ul>
  15. 15. Open Handset Alliance: Members <ul><li>Mobile Operators </li></ul><ul><ul><li>China Mobile Communications Corporation </li></ul></ul><ul><ul><li>KDDI CORPORATION </li></ul></ul><ul><ul><li>NTT DoCoMo, Inc. </li></ul></ul><ul><ul><li>SOFTBANK MOBILE Corp. </li></ul></ul><ul><ul><li>Sprint Nextel </li></ul></ul><ul><ul><li>T-Mobile </li></ul></ul><ul><ul><li>Telecom Italia </li></ul></ul><ul><ul><li>Telefónica </li></ul></ul><ul><ul><li>Vodafone </li></ul></ul><ul><li>Semiconductor Companies </li></ul><ul><ul><li>AKM Semiconductor Inc </li></ul></ul><ul><ul><li>Audience </li></ul></ul><ul><ul><li>ARM </li></ul></ul><ul><ul><li>Atheros Communications </li></ul></ul><ul><ul><li>Broadcom Corporation </li></ul></ul><ul><ul><li>Ericsson </li></ul></ul><ul><ul><li>Intel Corporation </li></ul></ul><ul><ul><li>Marvell Semiconductor, Inc. </li></ul></ul><ul><ul><li>NVIDIA Corporation </li></ul></ul><ul><ul><li>Qualcomm Inc. </li></ul></ul><ul><ul><li>SiRF Technology Holdings, Inc. </li></ul></ul><ul><ul><li>Synaptics, Inc. </li></ul></ul><ul><ul><li>Texas Instruments Incorporated </li></ul></ul><ul><li>Handset Manufacturers </li></ul><ul><ul><li>ASUSTeK Computer Inc. </li></ul></ul><ul><ul><li>Garmin International, Inc. </li></ul></ul><ul><ul><li>HTC Corporation </li></ul></ul><ul><ul><li>Huawei Technologies </li></ul></ul><ul><ul><li>LG Electronics, Inc. </li></ul></ul><ul><ul><li>Motorola, Inc. </li></ul></ul><ul><ul><li>Samsung Electronics </li></ul></ul><ul><ul><li>Sony Ericsson </li></ul></ul><ul><ul><li>Toshiba Corporation </li></ul></ul><ul><li>Software Companies </li></ul><ul><ul><li>Ascender Corp. </li></ul></ul><ul><ul><li>eBay Inc. </li></ul></ul><ul><ul><li>Esmertec </li></ul></ul><ul><ul><li>Google Inc. </li></ul></ul><ul><ul><li>LivingImage LTD. </li></ul></ul><ul><ul><li>Nuance Communications, Inc. </li></ul></ul><ul><ul><li>OMRON SOFTWARE Co, Ltd. </li></ul></ul><ul><ul><li>PacketVideo (PV) </li></ul></ul><ul><ul><li>SkyPop </li></ul></ul><ul><ul><li>SONiVOX </li></ul></ul><ul><ul><li>Commercialization Companies </li></ul></ul><ul><ul><li>Aplix Corporation </li></ul></ul><ul><ul><li>Borqs </li></ul></ul><ul><ul><li>Noser Engineering Inc. </li></ul></ul><ul><ul><li>TAT - The Astonishing Tribe AB </li></ul></ul><ul><ul><li>Teleca AB </li></ul></ul><ul><ul><li>Wind River </li></ul></ul>
  16. 16. Technology overview <ul><li>Features </li></ul><ul><ul><li>Dalvik virtual machine – the user-level application VM </li></ul></ul><ul><ul><li>Integrated browser - based on the open source WebKit engine </li></ul></ul><ul><ul><li>2D and 3D Graphics support </li></ul></ul><ul><ul><li>Database support </li></ul></ul><ul><ul><li>Media support for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF) </li></ul></ul><ul><ul><li>GSM Telephony (hardware dependent) </li></ul></ul><ul><ul><li>Bluetooth, EDGE, 3G, and WiFi (hardware dependent) </li></ul></ul><ul><ul><li>Camera, GPS, compass, and accelerometer (hardware dependent) </li></ul></ul><ul><li>Supporting libraries </li></ul><ul><ul><li>System C library - BSD-based </li></ul></ul><ul><ul><li>Media Libraries - based on PacketVideo's OpenCORE (MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG) </li></ul></ul><ul><ul><li>Surface Manager - manages access to the display subsystem </li></ul></ul><ul><ul><li>LibWebCore - a modern web browser engine </li></ul></ul><ul><ul><li>SGL - the underlying 2D graphics engine </li></ul></ul><ul><ul><li>3D libraries - an implementation based on OpenGL ES 1.0 APIs </li></ul></ul><ul><ul><li>FreeType - bitmap and vector font rendering </li></ul></ul><ul><ul><li>SQLite </li></ul></ul><ul><li>SDK </li></ul><ul><ul><li>including an emulator , debugging tools , memory and performance profiling , and an Eclipse plug-in . </li></ul></ul>
  17. 17. Industry response <ul><li>Open Handset Alliance keeps growing </li></ul><ul><ul><li>Companies such as ARM, Sony Ericsson, Toshiba and Vodafone only recently joined </li></ul></ul><ul><li>T-Mobile released G1 in October 2008. </li></ul><ul><ul><li>Kogan Technologies , an Australian technology manufacturer, has announced Android-compatible handsets </li></ul></ul><ul><ul><li>In September 2008, Motorola confirmed that it was working on hardware products that would run Android. </li></ul></ul><ul><ul><li>Huawei Technologies is planning to launch smartphones that would run Android in Q1 2009. </li></ul></ul><ul><ul><li>Lenovo is working an Android-based mobile phone that supports the Chinese 3G TD-SCDMA standard. </li></ul></ul><ul><ul><li>HTC is planning a &quot;portfolio&quot; of Android based phones to be released summer of 2009. </li></ul></ul><ul><ul><li>Sony Ericsson is planning to release an Android based handset in the summer of 2009. </li></ul></ul><ul><ul><li>Samsung plans to offer a phone based on Google's Android operating system in the second quarter of 2009. </li></ul></ul><ul><ul><li>GiiNii Movit Mini is a Internet device based on Google's Android operating system. </li></ul></ul><ul><li>Apple: </li></ul><ul><ul><li>In July 2008, released iPhone 3G in a broader market than iPhone 1.0 </li></ul></ul><ul><ul><li>In March 2008, Apple publicly released the iPhone SDK. Developers still have to pay a fee </li></ul></ul><ul><li>Applications </li></ul><ul><ul><li>Lots of new applications released through the Android Market </li></ul></ul>
  18. 18. Notable Android applications <ul><li>Android Developer Challenge winners </li></ul><ul><ul><li>Cab4me – location-based request for a cab. </li></ul></ul><ul><ul><li>Compare Everywhere – scan barcodes and compare prices with nearby stores. </li></ul></ul><ul><ul><li>Locale – automatically change the mode of your phone depending on the location. </li></ul></ul><ul><ul><li>Wertago – what’s hot tonight? Where are my friends? And who am I going to meet at that bar? </li></ul></ul><ul><ul><li>PhoneBook 2.0 – a secure, contextual and social address book. </li></ul></ul><ul><ul><li>Piggyback – start and organize carpools. </li></ul></ul><ul><ul><li>BioWallet – biometric-based authentication </li></ul></ul><ul><ul><li>Em-Radar – Weather updates and keeps family and friends connected in cases of public emergency. </li></ul></ul><ul><li>Android Market picks </li></ul><ul><ul><li>Loopt – automated, location-based social networking app </li></ul></ul><ul><ul><li>Mobile Banking – Android app by Bank Of America </li></ul></ul><ul><ul><li>Pro Football Live - … </li></ul></ul><ul><ul><li>Wikitude – Mobile global travel guide </li></ul></ul><ul><ul><li>Amazonmp3 – Amazon mp3 front-end for Android </li></ul></ul>
  19. 19. To sum up: the nature of Android <ul><li>Industry standard for mobile phone O/S </li></ul><ul><li>platform-independent development </li></ul><ul><ul><li>Hides the platform details </li></ul></ul><ul><li>Open Source </li></ul><ul><ul><li>More attractive to expand to other devices </li></ul></ul><ul><li>Open Market </li></ul><ul><ul><li>Promotes wide use of the standard </li></ul></ul><ul><li>support for built-in sensors </li></ul><ul><ul><li>Accelerometer, digital compass </li></ul></ul><ul><li>support for GPS </li></ul><ul><ul><li>Location-based services </li></ul></ul><ul><li>Provides wireless connectivity </li></ul><ul><ul><li>3G/EDGE, wifi, Bluetooth </li></ul></ul><ul><li>Backed by a consortium of semiconductor, software and mobile operator companies; lead by Google </li></ul><ul><ul><li>It is going to be around for a while </li></ul></ul><ul><ul><li>More android phones to follow </li></ul></ul>
  20. 20. Future of Android <ul><li>What would you like to see in Android 2.0 spec? </li></ul><ul><ul><li>Support for more built-in sensors? </li></ul></ul><ul><ul><ul><li>Weather: Temperature, humidity, barometer? </li></ul></ul></ul><ul><ul><ul><li>Health: pollution levels, UV level etc? </li></ul></ul></ul><ul><ul><li>Support for more wireless protocols? </li></ul></ul><ul><ul><ul><li>ZigBee, WiMAX </li></ul></ul></ul><ul><li>What devices, other than smartphones, would you like to run Android? </li></ul>
  21. 21. Developing your first app on Android “Hello, Android”
  22. 22. Overview of Developing the first app <ul><li>Download and install SDK </li></ul><ul><li>Download and install Eclipse </li></ul><ul><li>Walkthrough of “Hello, Android” </li></ul><ul><li>API specs </li></ul><ul><li>More on screen… </li></ul>
  23. 23. End of class <ul><li>Homework assignment </li></ul><ul><ul><li>Develop an app on SDK (see next slide) </li></ul></ul><ul><li>Online assignment </li></ul><ul><ul><li>Answer online discussion question </li></ul></ul><ul><ul><li>Will be graded for participation and quality of response </li></ul></ul><ul><li>Next class (January 27 th ) </li></ul><ul><ul><li>Topic: Key concepts and challenges in mobile, pervasive and ubiquitous computing </li></ul></ul><ul><ul><li>Review material: Chapter 1 of the textbook </li></ul></ul>
  24. 24. Homework Assignment 1 <ul><li>Develop a simple App that uses button clicks to change some displayed text of your choice </li></ul><ul><li>Due by Tuesday, January 27th </li></ul><ul><li>Deliverables </li></ul><ul><ul><li>Source code (estimated length: 50 lines) </li></ul></ul><ul><ul><li>Run-time Screenshots </li></ul></ul><ul><li>Hints </li></ul><ul><ul><li>It consists of </li></ul></ul><ul><ul><ul><li>A button view object </li></ul></ul></ul><ul><ul><ul><li>A text view object </li></ul></ul></ul><ul><ul><li>It uses click events to update the appropriate texts </li></ul></ul><ul><ul><li>Look in the documentation for buttons, listeners and on-click actions </li></ul></ul><ul><ul><li>Use the XML-based layout to define and instantiate those view objects </li></ul></ul><ul><ul><li>Do the “Hello, Android” app and Notepad Tutorials first to get acquainted. </li></ul></ul><ul><li>Don’t hesitate to customize it and add functionality </li></ul><ul><ul><li>Make sure the basic functionality (i.e. button-activated text alteration) is included. </li></ul></ul>