rss
04-24-2014, 12:22 PM
Ask a Dev: How to Use GPS in a Hybrid App
http://rack.2.mshcdn.com/media/ZgkyMDE0LzA0LzI0L2FmLzI2OTIzNDY4MjkuOTRlMTAuanBnCn AJdGh1bWIJNTc1eDMyMyMKZQlqcGc/260d1968/687/2692346829_1ee5045ab2_b.jpghttp://rack.3.mshcdn.com/assets/feed-tw-df3e816c4e85a109d6e247013aed8d66.jpg (http://twitter.com/share?via=Mashable&text=Ask+a+Dev%3A+How+to+Use+GPS+in+a+Hybrid+App&src=http%3A%2F%2Fmashable.com%2F2014%2F04%2F24%2Fa sk-a-dev-gps-in-app%2F%3Futm_campaign%3DMash-Prod-RSS-Feedburner-All-Partial%26utm_cid%3DMash-Prod-RSS-Feedburner-All-Partial%26utm_medium%3Dfeed%26utm_source%3Drss)htt p://rack.1.mshcdn.com/assets/feed-fb-fdab25e3700868c9621fb03b7fd07c38.jpg (http://www.facebook.com/sharer.php?u=http%3A%2F%2Fmashable.com%2F2014%2F04 %2F24%2Fask-a-dev-gps-in-app%2F%3Futm_campaign%3DMash-Prod-RSS-Feedburner-All-Partial%26utm_cid%3DMash-Prod-RSS-Feedburner-All-Partial%26utm_medium%3Dfeed%26utm_source%3Drss&src=sp)
In the latest video of our Ask a Dev (http://mashable.com/category/ask-a-dev/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss) ******, Web Developer Alex Wasner discusses how developers can use native location services in a hybrid app.
While HTML 5 gives you access to geolocation navigation to request a user's location, that expires after 24 hours, which can be an**ying. Wasner recommends using Apache Cordova or PhoneGap (http://phonegap.com/) to save a user's preferences. Cordova also allows use of native maps like Google Maps and Bing Maps.
See also: What Can IFTTT Do for You? (http://mashable.com/2014/04/18/ifttt-mobile-minute/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss)
"The upside to this is that they have great documentation in support and really allows you to customize the look and feel of the map," Wasner says. Read more... (http://mashable.com/2014/04/24/ask-a-dev-gps-in-app/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss)
More about Google Maps (http://mashable.com/category/google-maps/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss), Gps (http://mashable.com/category/gps/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss), Bing Maps (http://mashable.com/category/bing-maps/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss), Mashable Video (http://mashable.com/category/mashable-video/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss), and Tech (http://mashable.com/tech/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss)http://feeds.feedburner.com/~r/Mashable/~4/qOjszObMNcQ
http://rack.2.mshcdn.com/media/ZgkyMDE0LzA0LzI0L2FmLzI2OTIzNDY4MjkuOTRlMTAuanBnCn AJdGh1bWIJNTc1eDMyMyMKZQlqcGc/260d1968/687/2692346829_1ee5045ab2_b.jpghttp://rack.3.mshcdn.com/assets/feed-tw-df3e816c4e85a109d6e247013aed8d66.jpg (http://twitter.com/share?via=Mashable&text=Ask+a+Dev%3A+How+to+Use+GPS+in+a+Hybrid+App&src=http%3A%2F%2Fmashable.com%2F2014%2F04%2F24%2Fa sk-a-dev-gps-in-app%2F%3Futm_campaign%3DMash-Prod-RSS-Feedburner-All-Partial%26utm_cid%3DMash-Prod-RSS-Feedburner-All-Partial%26utm_medium%3Dfeed%26utm_source%3Drss)htt p://rack.1.mshcdn.com/assets/feed-fb-fdab25e3700868c9621fb03b7fd07c38.jpg (http://www.facebook.com/sharer.php?u=http%3A%2F%2Fmashable.com%2F2014%2F04 %2F24%2Fask-a-dev-gps-in-app%2F%3Futm_campaign%3DMash-Prod-RSS-Feedburner-All-Partial%26utm_cid%3DMash-Prod-RSS-Feedburner-All-Partial%26utm_medium%3Dfeed%26utm_source%3Drss&src=sp)
In the latest video of our Ask a Dev (http://mashable.com/category/ask-a-dev/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss) ******, Web Developer Alex Wasner discusses how developers can use native location services in a hybrid app.
While HTML 5 gives you access to geolocation navigation to request a user's location, that expires after 24 hours, which can be an**ying. Wasner recommends using Apache Cordova or PhoneGap (http://phonegap.com/) to save a user's preferences. Cordova also allows use of native maps like Google Maps and Bing Maps.
See also: What Can IFTTT Do for You? (http://mashable.com/2014/04/18/ifttt-mobile-minute/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss)
"The upside to this is that they have great documentation in support and really allows you to customize the look and feel of the map," Wasner says. Read more... (http://mashable.com/2014/04/24/ask-a-dev-gps-in-app/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss)
More about Google Maps (http://mashable.com/category/google-maps/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss), Gps (http://mashable.com/category/gps/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss), Bing Maps (http://mashable.com/category/bing-maps/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss), Mashable Video (http://mashable.com/category/mashable-video/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss), and Tech (http://mashable.com/tech/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial&utm_medium=feed&utm_source=rss)http://feeds.feedburner.com/~r/Mashable/~4/qOjszObMNcQ