Pedro,
Not sure if you're asking about gps coordinates or device orientation,
here are links for both:
http://developer.android.com/reference/android/hardware/SensorManager.html
http://developer.android.com/reference/android/location/LocationManager.html
You mention logging current time:
http://developer.android.com/reference/java/util/Date.html
And that you are going to write data to a log file:
http://developer.android.com/reference/android/os/Environment.html#getExternalStorageDirectory()
http://developer.android.com/reference/java/io/FileOutputStream.html
And finally, you talk about emailing the log file as an attachment:
http://developer.android.com/reference/android/content/Intent.html#EXTRA_STREAM
-- Kostya
04.12.2010 13:45, Pedro Teixeira пишет:
Any thoughts on this please? It seems quite easy but every time I search on
internet I just find applications that already do this.. I kinda just want to
send an email with the gps positions or something close to that.. like write in
a txt the coordinates while the user is walking.. Anyway I need the
position/orientation and time.
On Dec 3, 2010, at 11:30 PM, Pedro Teixeira wrote:
Hello,
I'd like to make a user test with my application. In order to not be
following the user or make him write things down I would like to
implement some kind of logging system.
This logging would be triggered by pressing a button and stopped by
taking a picture which are actions that I have already implemented.
What I would like to log is just the POSITION and ORIENTATION in
between this actions and also the TIME elapsed from one to another..
maybe to a file or some text document.
Can anyone help me with this? Or give me a hint on an approach for it?
Thank you very much
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
Pedro Teixeira
Website/Portefolio: www.pedroteixeira.org
Facebook: http://www.facebook.com/JosePedroSousaTeixeira
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en