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

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
主站蜘蛛池模板: 德州市| 牟定县| 灵石县| 望谟县| 芷江| 南召县| 巴青县| 东阳市| 松溪县| 资中县| 九寨沟县| 石阡县| 江华| 萨迦县| 沿河| 河曲县| 固阳县| 张家口市| 宜阳县| 洞头县| SHOW| 永宁县| 广灵县| 九江市| 塘沽区| 高台县| 水富县| 兰考县| 和田市| 叙永县| 吉安县| 临洮县| 江安县| 木里| 本溪市| 鄯善县| 方正县| 东宁县| 武川县| 宣恩县| 乐都县|