The Design and Implementation of Photoviewer Based on OpenGL ES under Android Platform
- Author
- LiuYang
- Advisor
- WangYuYing , ZhangZuo
- School
- Harbin Institute of Technology
- Major
- Software Engineering
- Classification
- TP393.092 Web browser
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 66
- Citations
- 0
Abstract
Nowadays, in the consumer goods market of smart phones, products whichinstalled with Android OS occupy a large proportion. When Android OS is verified canbe transplanted to Tablet PC, not only many hardware manufacturers favor the use ofAndroid OS, but also Google cooperation adds supporting for Tablet PC in the AndroidOS. With the diversification of Android applications, brilliant user interface experienceis also becoming increasingly popular, so Android OS is added with OpenGL ESgraphics library to comply with this demand. Based on these present situations, thispaper aims to implement a Tablet PC oriented PhotoViewer application with the use ofOpenGL ES to draw user interfaces.Based on the requirements analysis of this application, this paper designs anarthitecture which is based on data level and integrates display level and operationlevel, and designs and implements three functions of image data management, imagedata operation and user interface effects.The image data management plays a role to provide quick access to image file inorder to support the efficient operations of the image data; image data manipulationcontains the classification display of the virtual albums, image use setting, screenlocking, image scaling and image slide and settings. User interface effects cover screensensor effect, multi-point touch operation and application interface background setting.Besides, this application describes relationships between user interaction and interfacesswitching with a state machine model.The file cached two-level index is used to read images in this paper, the first levelindex is used to index image folders, and the second level index is used to indeximages. These indices will be written into storage disk, and be maintained when theapplication starts. The drawing of user interfaces uses the OpenGL ES graphics library.As to touch operations occured in the user interfaces, a touch event dispatcheringmechanism is used to ensure correct responds to user operations.Java and XML development language are used in this paper, and developmenttools are Eclipse IDE, Beyond Compare, Android SDK2.2, Android ADT plug-ins forEclipse. The PhotoViewer application developed in Ubuntu10.04developmentplatform is able to identify all image files in storage disk of a device, and then treate images folders which contain these imge files as a single set to build virtual albums,users can view image files through these virtual albums, and then perform functions ofvarious image operations.
Table of contents
Abstract 4-5
Abstract 5-10
Chapter 1 Introduction 10-19
1.1 Background and project topics topics 10
1.2 associated with the subject of domestic and foreign research status 10-16
1.2.1 Android application of foreign research status picture 10-12
1.2.2 Android domestic Research Status picture applications related technical 12-13
1.2.3 Android pictures application main content 13-16
1.3 of this research 16- 18
1.4 This article organizational structure 18-19
Chapter 2 functional requirements and related technologies needs 19-29
2.1 picture Viewer application 19-24
2.1.1 user interface effects needs 19-21
demand 2.1.2 Image data operations 21-23
2.1.3 Image data demand management 23-24
2.1.4 non- functional requirements 24
2.2 technology solutions 24-27
2.2.1 picture Viewer application the framework 24-26
2.2.2 file cache index 26
2.2.3 OpenGL ES graphics 26-27
2.2.4 touch gesture recognition 27
2.3 Chapter Summary 27-29
Chapter 3 picture Viewer application design 29-51
3.1 image viewer application the outline design functional structure 29-33
3.1.1 picture Viewer application architecture 29
3.1.2 picture Viewer application 29-32
3.1.3 picture Viewer application state machine model 32-33
3.2 Image data Management is designed 33-40
3.2.1 Image data management component design 33-35
3.2.2 file cache index is designed design nbsp 35-40
3.3 Image data manipulation ; 40-44
3.3 .1 album category display design 41
3.3.2 picture purposes set design 41-42
3.3.3 picture lock screen design 42
3.3.4 picture slide show and set design 42-43
3.3.5 image scaling is designed 43-44
3.4 user interface design effect design nbsp 44-49
3.4.1 user interface (UI) elements ; 44-48
3.4.2 multi-touch design 48-49
3.5 Summary achieve 49-51
Chapter 4 picture Viewer application 51-78
4.1 Image data Management implementations 51-57
4.1.1 Image loaded achieve 51-54
4.1.2 file cache index realization achieve 54-57
4.2 Image data operations 57- 68
4.2.1 classification achieve nbsp album displayed ; 57-58
4.2.2 uses pictures set to achieve 58-60
4.2.3 lock screen picture achieve achieve 60-62
4.2.4 picture slide show and set 62-65
4.2.5 Image scaling achieve 65-68
4.3 user interface to achieve the effect of 68-77
4.3.1 application OpenGL ES rendering screen 68-72
achieve nbsp 4.3.2 screen background settings ; achieve 72-73
4.3.3 picture induction treatment 73-75
4.3.4 multi-point touch implementations 75-77
4.4 Summary tests 77-78
Chapter 5 picture Viewer application 78-87
5.1 Android test application introduces 78-79
5.2 Photos test browser application 79-86
5.2.1 functional Test 79-82
5.2.2 problems and Solutions 82-83
5.2.3 performance Test 83-85
5.2.4 analysis 85-86
5.3 chapter Summary 86-87
conclusion 87-88
references 88-92
Thanks 92-93
biographical 93
Related dissertations
- Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
- Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
- Design and Implementation of Crane Monitoring System Based on Android
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Security Detection System Based on the Android Paltform
- Research on Meteorological Data Acquisition and Processing System
- The Research of Fall Detection Based on Mobile Terminal
- Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal
- The Smart Home Control System Based on Android System
- The Design and Implementation of Android Smart Home Control System
- Embedded System Applications in the Smart Home
- Design and Implementation of Intelligence Home System Based on ZigBee
- Design and Implementation of Smart Home System Based on Android Platform
- Research and Design of Embedded Intelligent Bus Station Guideboard Control System
- The Design and Implementation of Multi-functional Smart Home System
- Research on Intelligent Home Furnishing system based on Android
- Remote Robot Control Technology Based on Android System
- Design of Small Mobile Robot System Based on Android