How to send application usage and bug reports to Google docs?
I talked yesterday to an Android app developer for a few minutes and he showed me a really cool feature: automated app crash reports reported directly inside a Google spreadsheets. Basically he made the app crash on purpose using some kind of easter eggs, then went on his Google docs accounts and, sure enough, the bug report was there.
From what I understood he's basically doing an HTTP POST to some Google server (I think to recall spreadsheet.google.com or something like that) everytime an app crashes and he gets all the info he needs.
What Google API, if any, was h开发者_Python百科e using? If no API is involved, how do you know how to format and encode your post?
This might be what you are looking for - ACRA (Application Crash Report for Android) http://code.google.com/p/acra/
Monitoring app activity: Google Analytics for Android
Collecting Android logs: take a look at inner class CollectLogTask in SendLogActivity
Uploading to Google Docs: Docs List API or Spreadsheet API
Catching crashes: set default uncaught exception handler. Important: call System.exit() when you're done.
精彩评论