Mobile GIS & LBS Matt Sheehan
Matt holds an MSc in Geography and GIS. He has been working with clients solving problems with GIS for over 17 years. Matt founded WebMapSolutions whose mission is to put innovative, intuitive GIS driven applications into the hands of new and existing users. Building Mobile GIS Apps using TitaniumMay 22nd, 2012 by Matt Sheehan
Our intention here is not to analyze in detail these approaches. We did want to mention, in passing, two key points. Native allows immediate access to new mobile features like rear facing cameras. There is a lag for hybrid to add that functionality. Also performance. Native apps are faster than hybrid. Now whether that makes a difference depends on the apps requirements. From our experience most mobile apps we write are well served by a hybrid approach. But we do look carefully at specs and asses beforehand. There is a half way house approach now available. Instead of hiring an Objective C developer and Java developer to build your iOS and Android versions of a mobile GIS app respectively. Simply hire a javascript developer. Have him build the app using the Titanium api for example. Then convert the app to native Android and native iOS code. Brilliant. Well definitely maybe. Here is an excellent article which compares the Titanium approach to that of Phonegap: http://savagelook.com/blog/portfolio/a-deeper-look-at-appcelerator-and-phonegap>/a> We’ve discussed in depth the Titanium approach with folks at Appcelerator. No doubt it is a nice product. But there are some limitations. Developers need to learn the Titanium api. Any app you develop which uses third party api’s will need a module built which maps the javascript code to native. In our case we most commonly work with ArcGIS. At present there is no ArcGIS module available for either iOS or Android. We are in discussion with Appcelerator about partnering and maybe building these modules. One last limitation is that if an api has no iOS or Java api no module can be built. Thus api’s like OpenLayers are pure javascript. They thus cannot be used in Titanium. This latter issue may be unavoidable, but it does mean that Titanium is not a universal solution. But if we find situations where performance is an issue, or we need a newly released mobile feature. And the app can use api’s which can be used by Titanium, we will certainly look at their solution again. Let us know about your experience with Titanium Tags: Android, appcelerator, arcgis, ESRI, GIS, hybrid, IOS, mobile GIS, native, OpenLayers, PhoneGap, titanium Categories: Mobile ArcGIS, Mobile GIS |