Copy link to clipboard
Copied
Hi guys,
is it possible to use Geolocation from Air Ajax (javascript)? Or it's available only from AS?
Thanks!
Copy link to clipboard
Copied
It is my understanding that Javascript based AIR applications can not be created for AIR for Android. Now you can create a StageWebView within you application. That loaded HTML page can have JavaScript. Since it uses the devices' instance of WebKit, it should have the GeoLocatation API available.
Does that help?
Chris Griffith
Copy link to clipboard
Copied
Are you sure that i can't create Javascript based AIR app for Android? As I looked in docs it seems ok to do that - but i'm newbie in this so...
Copy link to clipboard
Copied
Unfortunately, AIR for Android development only supports ActionScript. I don't think there are plans for enabling Javascript based development (but I am not on the team). If you are a Javascript developer, then I would recommend looking at Titanium's Appcelerator or PhoneGap as possible solutions for you mobile development. Also, don't forget there is just developing as a mobile web app.
Chris
Find more inspiration, events, and resources on the new Adobe Community
Explore Now