sunil_rinku
Posts: 0
Joined: Thu Jan 23, 2014 3:17 am

navigator.compass.getCurrentHeading not working

I am trying touse compass with android.

When I open below url in Android Galaxy Note 2 browser. It does not load function with navigator.compass.getCurrentHeading.

http://appery.io/app/view/3f692975-80...

1) does it have to be .apk file to use compass with phonegap on adroid or android browser will be fine?
2) are there any special consideration for using phonegap with appery (although I am new to phonegap).

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

navigator.compass.getCurrentHeading not working

Hello,

Yes to use/test PhoneGap the app needs to be installed on the device (.apk and .ipa depending on the device).

PhoneGap - it is like wrapper that takes your HTML/CSS/JS web app and makes it as a native app, also it makes possible to use native device features like camera, accelerometer, geolocation e.t.c.

More information you can find here:
:: http://docs.phonegap.com/en/3.0.0/ind...

Return to “Issues”