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

  • PhoneGap By Example
  • Andrey Kovalenko
  • 196字
  • 2021-07-16 20:36:41

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
主站蜘蛛池模板: 涪陵区| 息烽县| 抚顺市| 石家庄市| 巩留县| 泾阳县| 永修县| 怀仁县| 夹江县| 上虞市| 油尖旺区| 互助| 盐源县| 扶绥县| 龙泉市| 都兰县| 二连浩特市| 山丹县| 娱乐| 西城区| 金寨县| 肇庆市| 工布江达县| 海城市| 安庆市| 吉林省| 筠连县| 鄯善县| 老河口市| 南部县| 罗山县| 玉山县| 宜黄县| 泉州市| 景泰县| 西城区| 宁乡县| 巢湖市| 突泉县| 台东县| 渝中区|