6263646566676869707172
break; } } public void getCurrentHeading() { Compass.getCurrentHeading(new Callback() { @Override public void onSuccess(float heading) { text.setHTML("Current Heading:<br/>" + heading); } @Override
7576777879808182838485
} }); } public void watchHeading() { watchId = Compass.watchHeading(new Callback() { @Override public void onSuccess(float heading) { text.setHTML("Watch Heading:<br/>" + heading); } @Override
6364656667686970717273
break; } } public void getCurrentHeading() { Compass.getCurrentHeading(new Callback() { @Override public void onSuccess(CompassHeading heading) { text.setHTML( "Current Heading:<br/>" + "Nagnetic Heading: " + heading.getMagneticHeading() + "<br/>" +
8182838485868788899091
} }); } public void watchHeading() { watchId = Compass.watchHeading(new Callback() { @Override public void onSuccess(CompassHeading heading) { text.setHTML( "Watch Heading:<br/>" + "Nagnetic Heading: " + heading.getMagneticHeading() + "<br/>" +