开发者

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/


  1. Monitoring app activity: Google Analytics for Android

  2. Collecting Android logs: take a look at inner class CollectLogTask in SendLogActivity

  3. Uploading to Google Docs: Docs List API or Spreadsheet API

  4. Catching crashes: set default uncaught exception handler. Important: call System.exit() when you're done.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜