Search code examples
androidcordovaaugmented-reality

Augmented reality phonegap


I would like to know if I can use phonegap to create a simple augmented reality application. Can I create an augmented reality browser with phonegap to show pois at camera of Android phone? Anyone know some references or simple examples?


Solution

  • PhoneGap is not just a native wrapper of a web app. Through the PhoneGap javascript APIs, the "web app" has access to the mobile phone functions such as Geolocation, Accelerometer Camera, Contacts, Database, File system, etc. Basically any function that the mobile phone SDK provides can be "bridged" to the javascript world. On the other hand, a normal web app that runs on the mobile web browser does not have access to most of these functions (security being the primary reason). Therefore, a PhoneGap app is more of a mobile app than a web app. You can certainly use PhoneGap to wrap a web app that does not use any PhoneGap APIs at all, but that is not what PhoneGap was created for. if there is something u want to use in your app that phonegap does not provides then you can create a native plugin and use the functionality in your app. thus phonegap can be used to create apps that can match 100% with the functionality provided by a native app. you can give it a try to create your app.