Very nice.
What would be really cool if the OS would provide this kind of functionality
*and* does this in a central way, so that all bugs go through a central
instance. It would be great if the framework developers would get a feel for
how often a bug occurs. And maybe that would also lead to better code, e.g.
more assertions checked.

On Thu, May 21, 2009 at 12:36 PM, Michael Bollmann <
[email protected]> wrote:

>
> 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("[email protected]","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 [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