Stanford Lecture: Saving the World and Have Fun Doing It

  • 1,641 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Good example.

    zunita http://ringtones-x.com/ | www.freeringtonesforatt.org/
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
1,641
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
0
Comments
1
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. STANFORD UNIVERSITY School of Engineering Engineering For Good Save The World and Have Fun Doing It (EE 46) Lecture 5 Problems and Challenges Bess Ho Guest Lecturer February 3, 2010
  • 2. Engineering For Good
  • 3. Engineering For Good
  • 4. Engineering For Good
  • 5. Save The World
  • 6. Have Fun Doing It The Future Begins
  • 7. Have Fun Doing It
  • 8. Have Fun Doing It
  • 9. Problems Save The World
  • 10. Save The World
  • 11. Most Popular SDK for developers App Store
  • 12. So many phones So little time
  • 13. Apple One Size One Screen Size iPhone iTouch iPhone 3G iPhone 3GS
  • 14. Google G1 G2 Low Density Screen 120 dpi Medium Density Screen 160 dpi High Density Screen 240 dpi
  • 15. Hero Hero Droid Nexus One
  • 16. RIM Curve Bold Tour Storm
  • 17. 435 Devices
  • 18. Nokia Color Depth 24 bit (16 Million Color) 16 bit (65,536 Color) 12 bit (4,096 Color) 8 bit (256 Color) 4 bit (16 Color) 2 bit (4 Color) 1 bit (2 Color)
  • 19. Nokia Screen Size 360x640 pixels 240x320 pixels 176x208 pixels 128x128 pixels 84x46 pixels
  • 20. Nokia Nokia S60 Screen Size: 640x360 pixels Screen Ratio (16:9) Touch and/or Keypad Nokia S40 Screen Size: 320x240 pixels Screen Ratio (4:3) Keypad
  • 21. Eliminiation Engineering For Good
  • 22. Save The World
  • 23. Save The World California’s Central Valley Haiti Colombia Uganda
  • 24. Worldwide Coverage Latin America Africa Middle East China
  • 25. Network in Emerging Markets EDGE Network Cramped Bandwidth Open 10 full website a month without going over monthly allowance Wait 15min before one page completely loads http://www.symbian-guru.com/welcome/2010/02/full-web- experience-no-thanks-give-me-symbian-any-day.html
  • 26. GPS Microphone (Geo) (Audio) Camera (Photo / Video) Magentometer (Compass) Accelerometer Touch (XZY) (Device Orientation) Wireless Bluetooth (File) Data Plan / WiFi (Web) External Accessory SMS (Data) (Data)
  • 27. GPS Microphone (Geo) Camera (Audio) (Photo / Video) Magentometer (Compass) Accelerometer Touch (XZY) (Device Orientation) Wireless Bluetooth (File) Data Plan / WiFi Memory Card (Web) (Data) USB Cable SMS (Data) (Data)
  • 28. GPS Microphone (Geo) (Audio) Camera (Photo / Video) Magentometer (Compass) Accelerometer Touch (XZY) (Device Orientation) Wireless Bluetooth (File) Data Plan / WiFi (Web) 1 External Accessory SMS (Data) (Data)
  • 29. External Accessory (Data) 30-pin dock connector Require Certification SDK iPhone External Accessory Framework http://developer.apple.com/ipod/ 1 apply.html
  • 30. External Accessory (Data) Point of Sale (POS) Credit Card Terminal 1
  • 31. GPS Microphone (Geo) 2 (Audio) Camera (Photo / Video) Magentometer (Compass) Accelerometer Touch (XZY) (Device Orientation) Wireless Bluetooth (File) Data Plan / WiFi (Web) External Accessory SMS (Data) (Data)
  • 32. 2 Microphone (Audio) Recording AV Foundation Framework Audio Queue Services Remote IO Unit Coding Difficulties
  • 33. 2 Microphone (Audio) Audible Sound Speech Voice Inaudible Sound Heartbeat Breathing Sleeping Instrument Signal
  • 34. 2
  • 35. GPS Microphone 3 Camera (Geo) (Audio) (Photo / Video) Magentometer (Compass) Accelerometer Touch (XZY) (Device Orientation) Wireless Bluetooth (File) Data Plan / WiFi (Web) External Accessory SMS (Data) (Data)
  • 36. Camera 3 (Photo / Video) Scanner Bar Code QR Code
  • 37. Camera 3 (Photo / Video) Card Scanner Business Card
  • 38. Camera 3 (Photo / Video) ID Scanner (Future) Passport
  • 39. Camera 3 (Photo / Video) Text Scanner Optical Character Recognition (OCR)
  • 40. Camera 3 (Photo / Video) “Live” Scanner Augmented Reality (AR)
  • 41. Camera 3 (Photo / Video) Recording Displaying Photo / Video Gallery Photo Library Framework
  • 42. 3 Kodak Pearl Module Dental System Practice Management Systems 3D & Extraoral Imaging Intraoral Radiography Intraoral Digital Image Intraoral X-ray Image
  • 43. Doctor Profile Patient Medical & Patient Profile Dental History & Alert Doctor Directory Patient Directory Patient Chart
  • 44. Appointment Office Financial Reports Schedule Production vs Collection
  • 45. GPS Microphone (Geo) (Audio) Camera (Photo / Video) Magentometer (Compass) Accelerometer Touch (XZY) (Device Orientation) 4 Wireless Bluetooth (File) Data Plan / WiFi (Web) External Accessory SMS (Data) (Data)
  • 46. Wireless Bluetooth 4 (File) Controller Heliptor Automobile
  • 47. 4 Wireless Bluetooth (File) Yes Yes Yes iPhone Cupcake 1.5 S40 OS 3.1 S60
  • 48. GPS Microphone (Geo) (Audio) Camera (Photo / Video) Magentometer (Compass) Accelerometer Touch (XZY) (Device Orientation) Wireless Bluetooth (File) 5 Network / WiFi (Web) External Accessory SMS (Data) (Data)
  • 49. Network / WiFi (Web) 5 HTTP protocol GET / POST Data Store .plist files SQLite CoreData
  • 50. 5 Network / WiFi (Web) Database Support SQLite / SQLite SQLite SQLite / Core Data (OS5) HTML5 Database Object
  • 51. GPS Microphone (Geo) (Audio) Camera (Photo / Video) Magentometer (Compass) Accelerometer Touch (XZY) (Device Orientation) Wireless Bluetooth (File) Network / WiFi (Web) External Accessory 6 SMS (Data) (Data)
  • 52. SMS (Data) 6 Private 1:1 or 1:N Public 1:N
  • 53. GPS Microphone 7 (Geo) (Audio) Camera (Photo / Video) Magentometer (Compass) Accelerometer Touch (XZY) (Device Orientation) Wireless Bluetooth (File) Network / WiFi (Web) External Accessory SMS (Data) (Data)
  • 54. GPS Microphone (Geo) (Audio) Camera (Photo / Video) 8 Magentometer (Compass) Accelerometer Touch (XZY) (Device Orientation) Wireless Bluetooth (File) Network / WiFi (Web) External Accessory SMS (Data) (Data)
  • 55. GPS Microphone (Geo) (Audio) Camera (Photo / Video) Magentometer (Compass) 9 Accelerometer Touch (XZY) (Device Orientation) Wireless Bluetooth (File) Network / WiFi (Web) External Accessory SMS (Data) (Data)
  • 56. GPS Microphone (Geo) (Audio) Camera (Photo / Video) Magentometer (Compass) 10 Accelerometer Touch (XZY) (Device Orientation) Wireless Bluetooth (File) Network / WiFi (Web) External Accessory SMS (Data) (Data)
  • 57. 10 Touch Press Touch Touch Events Screen & Press Multi Touch (5) Touch Options
  • 58. Touch Touch Events touchstart touchend touchmove 10 touchcancel Touch API Drag & Drop Gestures (scale & rotation)
  • 59. Email TEXT Email openURL: Method To From CC BCC 11 HTML Email MessuageUI Framework Attachment
  • 60. Push Notification 12
  • 61. Analysis Math i = fabs(x); // fabs(-1.5) = 1.5 i = ceil(x); // ceil(2.5) = 3 i = floor(x); // floor(2.5) = 2 i = pow(x,y); // pow(4,2) = 16 i = sqrt(x); // sqrt(9) = 3
  • 62. Data Visualization Android Flash Core Animation Drawing API Animation Framework Mojo.Animation Open GL Open GL Open GL Open GL (Qt)
  • 63. Device Specification Device Altas DeviceAtlas is the fastest, most accurate mobile device recognition solution available with over 5,000 mobile devices http://deviceatlas.com/
  • 64. Device Specification Adobe Device Central It comes with any Adobe CS4 Product License.
  • 65. Challenges Engineering For Good
  • 66. License To Kill Kill Millions
  • 67. Case Study Haiti 2010 Earthquake Jan 12, 2010 Tue 21:53 UTC (4:53 pm local time) 7.0-magnitude earthquake California’s San Andreas fault is also characterized as strike-slip
  • 68. Case Study Haiti 2010 Earthquake Estimated 3 million of Haitians are affected 180,000 bodies are buried in mass graves
  • 69. Before Earthquake 50% of children are unvaccinated 40% of population are access to basic health care 50% of deaths are related to 1) HIV /AIDS 2) Respiratory infections 3) Meningitis 4) Diarrheal diseases including cholera & typhoid 90% of children suffer from waterborne diseases & intestinal parasites 5% of Adult is infected with HIV Tuberculosis (TB) are ten times as high as other Latin American countries 30,000 suffer from Malaria
  • 70. Design Consideration 50% of 10 Million Haitians are under 20 year old 65.9% literacy rate is lowest in the region Most Haitians live on $2 or less per day 66% Haitians work in agricultural sector in small-scale subsistence farming
  • 71. Design Consideration Simple Minimal Entry Less Words Use Icons Use Color
  • 72. Design Consideration
  • 73. License To Kill Kill Millions Most common and most serious injuries are open fractures, head injuries and infected wounds that need amputation Gun wounds Immediate threats of Tentanus and Gangrene Spread of Measles, Meningitis and other infections Existing AIDS, Tuberculosis, Malaria & Malnourishment
  • 74. http://haiti.ushahidi.com/ Haiti 2010 Earthquake
  • 75. Haiti 2010 Earthquake SMS: 4636 #haiti #haitiquake haiti@ushahidi.com http://haiti.ushahidi.com/
  • 76. Translation Official Language: French & Creole 20,000 SMS Filtered 2,000 Reports Submitted 2-10 Min to forward after Translation
  • 77. Translation Official Language: French & Creole Volunteers CrowdFlower SamaSource
  • 78. Translation Crow Source VS Device Localization Fast Slow
  • 79. Haiti 2010 Earthquake Life Saving Tools
  • 80. Best Medicine Prevention Vaccine
  • 81. Bill and Melinda Gates Foundation $10 Billion Protect children against dangerous conditions as diarrhea and pneumonia
  • 82. MicroWork ReBuild Haiti Create job Restore life Offer security Better education
  • 83. Nokia Money for Unbanked Peer-to-Peer money transfer Send money View transactions Pay bills Add money MicroFinance / Microloan •4 Billion mobile users •1.6 Billion have bank account •Majority merchants don’t have payment terminals
  • 84. Nokia FREE OVI Mail Email for everyone you@ovi.com http://email.nokia.com/ OVI Maps 3D / Night Mode http://maps.ovi.com/
  • 85. Nokia FREE Files on OVI FREE Nokia App 10GB FREE Cloud-based PC / Mac Remote Access to doc https://files.ovi.com
  • 86. Nokia FREE Scan http://mobilecodes.nokia.com
  • 87. Nokia Keyboard Nokia S60 5th Ed Mini-Computer
  • 88. Resources Wireframe
  • 89. Wireframe Pencil & Paper Paper Prototyping Simple structural drawings http://www.uistencils.com/ http://appsketchbook.com/ http://www.mobilesketchbook.com/
  • 90. Resources Mockup
  • 91. Mockup Balsamiq PC / MC FREE Download Standalone No Programing Required Easy & Quick http://www.balsamiq.com/
  • 92. Mockup Y! Design Stencil Kit PC / MC FREE Download No Programing Required Require software Basic Design skill OmniGraffle, Visio (XML), Adobe Illustrator (PDF and SVG), and Adobe Photoshop (PNG) http://developer.yahoo.com/ ypatterns/about/stencils/
  • 93. Mockup iPhone SDK Dash Code Mac Only Intel-based Mac OSX Leopard Require iPhone SDK iPhone SDK Xcode Interface Builder http://developer.apple.com/ iphone/program/apply.html
  • 94. Mockup Nokia Developer Forum Templates Layout Framework Mockup
  • 95. Mockup FREE iPhone Developer University Program http://developer.apple.com/ iphone/program/university.html
  • 96. Resources Development
  • 97. Native App Mac Mac Mac PC Mac PC Only PC Only PC Linux Flash Lite Web Java Objective-C Java Web Symbian C++ Web (Beta) Symbian Qt Java Flash CS Eclipse / Aptana Xcode Eclipse Eclipse Web-based Carbide Ares Eclipse
  • 98. Native App 3rd Party Frameworks HTML / CSS / JavaScript Titanium Yes Yes Phone Gap Yes Yes Yes http://www.appcelerator.com/ http://phonegap.com/ products/titanium-mobile/
  • 99. Resources Testing
  • 100. Testing FREE $200-600 Simulator VS Device
  • 101. Testing iTouch Phone Phone Phone Phone Plan Plan Plan Plan Data Data Data Data Plan Plan Plan Plan
  • 102. Testing Device Anywhere https://www.deviceanywhere.com • Thousand of models • Can’t test location • Avoid purchase • Can’t test accelerometer • Low Monthly Cost $100-300 • Can’t test sound
  • 103. Testing Nokia Nokia Developer Forum Registered Nokia Developer Benefits Nokia Device Anywhere Nokia Remote Device Access
  • 104. Testing Nokia Device Anywhere https://www.deviceanywhere.com/nokia/welcome.htm • Hundred of models • Can’t test location • Avoid purchase • Can’t test accelerometer • FREE • Can’t test sound • Limited to no. of hrs per month
  • 105. Testing Nokia Remote Device Access http://www.forum.nokia.com/Technology_Topics/ Application_Quality/Testing/Remote_Device_Access • Hundred of models • Can’t test location • Avoid purchase • Can’t test accelerometer • FREE • Can’t test sound • Limited to no. of hrs per day
  • 106. Resources Signing
  • 107. Nokia Submit App to Store without Signing S60 S40 Flash Lite + Web Runtime Flash Lite (WRT) Package .ZIP Package into .WGZ into .NFL
  • 108. Nokia Submit App to Store without Signing Flash Lite Symbian .NFL .SIS .WGZ Symbian Publisher ID $200 per year No Signing Symbian Signed Acct
  • 109. iPhone Requirements for Individual Developer Enroll Annual $99 Developer Private Apple ID & Public Keys Developer Certificate Developer Provisioning Profile Apple Worldwide Developer Relationship Distribution Certificate Provisioning Profile
  • 110. Resources Approval
  • 111. Approval Nokia Android Apple 2-4 weeks Immediate 2-4 days 7-10 days few weeks to months
  • 112. Resources App Stores
  • 113. Apple iTunes iTunes http://www.apple.com/itunes/ iPhone Dev Center http://developer.apple.com/iphone/
  • 114. Google Android Market Android Market http://www.android.com/market/ Developer Community http://developer.android.com
  • 115. RIM AppWorld AppWorld http://supportforums.blackberry.com/ Publsiher https://www.blackberry.com/ CorpDevZone/register.do Developer Forum http://appworld.blackberry.com/ webstore/
  • 116. Palm App Store Palm App Store http://www.palm.com Palm Developer Center http://developer.palm.com/
  • 117. Nokia OVI Store OVI Store http:/ /www.ovi.com Publisher https://publish.ovi.com/info/ Developer Forum http:/ /www.forum.nokia.com/
  • 118. We Want You
  • 119. Save The World
  • 120. STANFORD UNIVERSITY School of Engineering
  • 121. STANFORD UNIVERSITY School of Engineering
  • 122. STANFORD UNIVERSITY School of Engineering TO GO BOLDLY WHERE NO ENGINEER HAS GONE BEFORE
  • 123. Q&A