Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

How to get heading at exact time user takes photo

$
0
0

Hi there,

I currently let users take photos in my app and I need the heading (compass) at the exact moment the photo was taken. However, right now I only get an callback for "success" at the moment the person decides to use the photo, and not re-take.

However, this is too late, and the heading will probably have changed at that moment since the user most likely moved.

I am getting the heading just fine, and I get the photo fine, but the timing is incorrect as the "success" callback is fired later.

I imagined I could keep a log of the headings, and match the time with the time the photo was taken, but I can't seem to get the time of the photo neither.

Any clue on how to fix this?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>