Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 31 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
31
Dung lượng
0,97 MB
Nội dung
Mobileimageprocessing – Part 1 Mobile application development on Android “ Hello World ” project Hello World project “Viewfinder EE368” project Ima g e processin g librar y ggy Mobile application examples Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no. 1 Layar augmented reality Landmark Recognition http://www layar com Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no. 2 http://www . layar . com Streaming mobile augmented reality Book cover recognition http://www youtube com/watch?v=fKm7iknUFqc Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no. 3 http://www . youtube . com/watch?v=fKm7iknUFqc Mobile platforms Symbian Windows Mobile iPh Ad id Nokia N97 Nokia E61 HTC Pure Samsung Omnia iPh one A n d ro id Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no. 4 iPhone iPad Motorola DROID Kyocera Zio Industry support for Android Open source mobile platform developed by Google Supported by Open Handset Alliance: over 60 companies Supported by Open Handset Alliance: over 60 companies including major service carriers and major mobile device manufacturers Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no. 5 Programming in Java Android encourages high-level development Android uses Java as main programming language Android uses Java as main programming language Inherits basic classes from conventional Java String, Container, Math, IO, Network Adds new classes specific to mobile devices Camera, Telephony, Map, GPS, Speech Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no. 6 Android software stack [ Professional Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no. 7 [ Professional Android Application Development ] Android software stack [ Professional Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no. 8 [ Professional Android Application Development ] Android software stack [ Professional Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no. 9 [ Professional Android Application Development ] Android software stack [ Professional Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no. 10 [ Professional Android Application Development ] [...]... Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 19 Creating a new project (1) Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 20 Creating a new project (2) Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 21 Creating a new project (3) Make sure this is your personal workspace Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 22 Creating... EE368 MobileImageProcessing – Part 1 no 27 Debugging syntax errors Look for red markers on the side and explanations below Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 28 Running the program (1) Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 29 Running the program (2) 03EH368929E3K Actual device Emulator Bernd Girod, David Chen: EE368 MobileImage Processing. .. code examples used in lecture Link: http://ee368.stanford.edu/Android Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 12 Class tutorial for Android Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 13 Class tutorial for Android Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 14 Class tutorial for Android Framework can be installed from scratch on... EE368 MobileImageProcessing – Part 1 no 23 Editing the Java source file To auto-import necessary classes, use Control + Shift + O Every visible program uses an extension of the Activity class Set the layout of this Activity by overriding the onCreate method Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 24 Editing the layout resource file Bernd Girod, David Chen: EE368 Mobile Image. .. Edit layout, define constants, d ayou , de e co s a s, insert external image files Edit program permissions and overall settings Bernd Girod, David Chen: EE368 Mobile Image Processing – Part 1 no 17 Eclipse IDE: Android phone emulator Dummy checkerboard pattern mimics real camera viewfinder Bernd Girod, David Chen: EE368 Mobile Image Processing – Part 1 no 18 “Hello World” project Goals of this project... workspace Link: http://ee368.stanford.edu/Android Li k htt // 368 t f d d /A d id Bernd Girod, David Chen: EE368 Mobile Image Processing – Part 1 no 15 Eclipse IDE Different perspectives Text editor Class hierarchy Project files j Errors and warnings Bernd Girod, David Chen: EE368 Mobile Image Processing – Part 1 no 16 Eclipse IDE: project files Java source files Program new functions here Auto-generated... Mobile Image Processing – Part 1 no 24 Editing the layout resource file Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 25 Editing the values resource file Define string constants, number g , constants, color constants, etc here Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 26 Editing AndroidManifest.xml If you program contains multiple activities, make sure each...Android programming framework system messages program installation and execution programmer inputs Android SDK Bernd Girod, David Chen: EE368 Eclipse IDE Java Runtime MobileImageProcessing – Part 1 no 11 Class tutorial for Android Framework can be installed from scratch on your own computer ( p (Windows, Mac, or Linux) following the tutorial , , ) g provided to the class... David Chen: EE368 MobileImageProcessing – Part 1 no 30 Program execution messages on the console Program apk file installed to device Main Activity started on device Bernd Girod, David Chen: EE368 MobileImageProcessing – Part 1 no 31