Last week there was no tips and tricks from PullesSon – Android, because of the workload.
This time it will be not really about code, but about bugs.
For those who found the errors overview in the Android market console useful, but almost never get errors reported, there is BugSense.
BugSense will catch all the exceptions and send it right away to your BugSense dashboard and if you have it activated, also it will send you notification to your email.
Signing up is easy and it will direct you to add an application. Be sure to remember your API Key, even it’s also in your dashboard available.
After this there has to be made some code change in your application. First you have to download and add the library file to your project, then you need to add the internet permission by adding
to the android manifest file. Then in the onCreate() method you have to add:
BugSenseHandler.setup(this, YOUR_API_KEY);, where YOUR_API_KEY is your API Key from your dashboard (or the one previously remembered). Also don’t forget to include
import com.bugsense.trace.BugSenseHandler; else you will get compile errors.
The dashboard is really intuitive and easy to understand. A quick overview of the errors reported is shown on the first page of your dashboard with exception name, file name, line number, OS version and application version. From here you can click on the error and it will show details.
The details page will show you all that’s included in the quick overview plus the amount of occurrences, a short stacktrace, last error instance time, ip, country, phone model, screen information and communication information.
In the configuration of the app registered in the dashboard you can add project viewers, like developers that want to know the error information. Also there is an option to set the application stage between testing and production.
Besides they have twitter and a chat to talk for support.
We also got an email from BugSense, mentioning if we needed help to implement the code, because there were no errors reported.
Seems we configured all well and we did some good coding, because there were just no errors generated. After provoking an exception we received it in the dashboard.
Good service and support on the BugSense’ side and easy to implement and understand. Keep up the good work.
PullesSon – Android