vedhavyas / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

Cannot integrate ACRA into live wallpaper #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Followed the basic intro, used WallpaperService.getApplication() as input to 
ACRA.init(), and annotated the WallpaperEngine class
2. Built and deployed on device
3. Simulated exception with division of 0

What is the expected output? What do you see instead?
I would expect that ACRA took over the exception and did it's magic
Instead nothing special happened. The app just crashed like before.

What version of the product are you using? On what operating system?
Latest as of now (4.2.3) on Android 2.3.4 (app compiled for 2.1-update)

Please provide any additional information below.
I am sure there is a way to do this, but there is not a single word anywhere 
mentioning how to incorporate ACRA in a live wallpaper. Updating the 
documentation would be a great start!

Original issue reported on code.google.com by lennartr...@gmail.com on 8 Nov 2011 at 3:16

GoogleCodeExporter commented 8 years ago
I have tested adding ACRA to the CubeLiveWallpaper sample project.

You just have to follow all the steps of the BasicSetup wiki page, including 
the creation of an Application subclass that you have to report in your 
application manifest. The @ReportsCrashes can only be set on an Application 
subclass.

ACRA integrates exactly the same way as with any other project.

Original comment by kevin.gaudin on 13 Jan 2012 at 11:24