I guess most of you know the problem.
Some user got a problem and posts it at comment with no change to
reply or reach them for details.

So i wrote a class to send bug reports from within my android
application directly to my bugtracking account at http://lighthouseapp.com/.

Using it is pretty straightforward:
TicketSender.init("APIToken","AccountName",ProjectID);
TicketSender.i().send("f...@bar.com","got a problem","your app is force
closing");
TicketSender.i().deinit();

This creates a new issue that contains the users email in it's title.
APIToken can be generated at lighthouseapp.com and is used for
authentication.

If you don't know http://lighthouseapp.com/ they also got a free
account to try them.
They also integrate nicely with http://beanstalkapp.com/ for
subversion hosting which also offers a free account.

here is the source
http://pastebin.com/f36965d3a

Suggested improvements:
-make the HTTP Post request non-blocking
-attach recent logcat output to the bug report
-add an activity and make it an android library like ScoreNinja so
applications can send reports without the need of
android.permission.INTERNET

Hope you find it useful
Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to