On Tue, Feb 1, 2011 at 10:41 PM, [email protected] <
[email protected]> wrote:

> How would you send the logs to a server?


The same way you send any data to a server.


> You mean an app that sends runtime logs to a server?


I mean either A) you code it yourself to read the logs and send it somewhere
or B) you have the user use a log collecting app to email you the same
information.


> This sounds almost like a security issue if its a gps app or so.


This is why reading logs requires a permission. Although there's really not
much you can do with the logs besides debug your own app, unless other apps
are foolishly leaving critical user information in there.


> How would you get the logs for a crashing app for instance?


You set an unhandled exception handler and read the logs when it's triggered
(because your app crashed).

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to