官术网_书友最值得收藏!

Chapter 3. Easy Work with Device – Your First PhoneGap Application "Travelly"

In this chapter, we will continue to build a mobile application "Travelly" using PhoneGap, its plugins, and Sencha Touch. We will utilize the application structure already defined in the previous chapter. It is a mobile application for a traveller to capture pictures and place them on the map. Our system should support the addition, display, and removal of media elements. Our application should be able to access hardware features of the mobile device it is running on. It will access the device's camera to capture photos, the filesystem to save media data in persistent file storage, and geolocation to detect the place of the captured photo. We will use Sencha Touch to build the user interface and control the client-side logic. The Sencha Touch store will handle the storage of information, and Google map will be used to display saved media.

This chapter will show you how to:

  • Use GapDebug
  • Install PhoneGap plugins
  • Access the camera to capture a photo and save it to the device's filesystem
  • Detect the current device's geolocation
  • Use the Sencha Touch store
  • Display data on Google Maps
主站蜘蛛池模板: 鹤壁市| 高雄县| 永吉县| 凤阳县| 神木县| 沙河市| 古丈县| 麟游县| 车险| 休宁县| 上蔡县| 伊宁县| 盱眙县| 虞城县| 郎溪县| 淳安县| 平远县| 冷水江市| 南充市| 元谋县| 南雄市| 龙里县| 晴隆县| 同仁县| 琼结县| 茂名市| 马山县| 上饶县| 北安市| 合江县| 姜堰市| 水城县| 改则县| 武强县| 浦县| 涡阳县| 皋兰县| 汝城县| 门头沟区| 英山县| 昆明市|