Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (601)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Capturing Android Exceptions remotely  (Read 3631 times)
0 Members and 1 Guest are viewing this topic.
Offline lsgames

Senior Newbie





« Posted 2010-05-25 07:39:06 »

Just discovered how to automatically get force-close reports from users. Most amazing thing to happen for weeks! Probably you know already but here is the description:

http://nullwire.com/capturing_android_exceptions_remotely
Offline noblemaster

« JGO Spiffy Duke »


Medals: 20
Projects: 10


Age of Conquest makes your day!


« Reply #1 - Posted 2010-05-25 08:50:06 »

I used it and it worked great! Although I ended up having to manually delete 10000s of files with force-close errors (mostly memory problem).

You know the Android Market shows bug reports NOW!?

Offline lsgames

Senior Newbie





« Reply #2 - Posted 2010-05-25 10:21:01 »

No, didn't know that! Where do I see the market bug reports? Are they available on 2.1?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline PaulReeves

Senior Newbie





« Reply #3 - Posted 2010-05-25 14:19:13 »

I think they are independent of version, or at least for some versions lower than 2.2. I have had some reports dating from the 13th of May pre-dating the release of 2.2.

It is pretty handy and has helped me find a few errors. A big plus is the zero effort required on our part to get this information about exceptions.
Offline strategy
« Reply #4 - Posted 2010-05-25 19:46:30 »

I used the nullwire solution too, though - for some reason I haven't been able to figure out - I get lots and lots of duplicate messages; up to 10 per individual error sometimes.

The Console exception reports (look on the console - it should have a link Bugs) is excellent, but from what little I understand, it is only enabled on a limited number of phones. So you just don't get a realistic impression about how error-prone your application is. I've read posts that suggest that it is only some Droids and Nexus One's that have this enabled, though I haven't seen any concrete info.

For example, one of my apps has some 10-15 exceptions per day, but I have yet to see a single error in the console.

It seems unlikely that Android OS 1.5 does not register any exceptions through the console. The 2.2 OS broke builds for 1.5 under certain circumstances, and I had a few hours yesterday where everyone who tried to run the app on an OS 1.5 phone suffered FCs. Not a peep in the console. Which is a pity, since I suspect that a disproportionate amount of the really nasty errors (OOM, etc.) occur on 1.5 phones.

I find Flurry quite useful in terms of determining how stable my apps are. If only their handling of exceptions was better, it would be a near-perfect service.

Offline ryanm

Senior Devvie


Projects: 1
Exp: 15 years


Used to be bleb


« Reply #5 - Posted 2010-12-16 10:21:46 »

Nullwire.com seems to have dropped off the internet, so I've rejiggered their exception-catcher somewhat.
It still works in much the same way: it catches uncaught exceptions and saves a log, on the next launch, saved logs are found and dispatched.

The differences are:
  • Just one class
  • Loads of information included in logs as standard: Package version, device, SDK version, brand, product, etc
  • You can append additional arbitrary information to crash logs

The main change is that the user is prompted to send saved crash reports directly by email, rather than having them uploaded invisibly. On the upside:
  • You don't have to ask for network permissions
  • Paranoid users can see what information you're gathering
  • Helpful users can append more information to the email
  • It opens a dialog between you and the user - you can reply asking for more information, with an updated APK, etc

On the downside I guess it looks a little unprofessional. However, your app has just force-closed, so the sheen may already be off the apple.

Code is over here.
Offline ppz67

Innocent Bystander





« Reply #6 - Posted 2010-12-17 09:10:11 »

Haven't checked the code out yet Ryan, but thanks for adding the link.
If you've written a great game/app then most users wouldn't care about submitting information.  I've found this to be the case with some facebook apps that I've written and they will willingly hand over their details as long as it is clear you won't misuse them.

Biotin hair growth solutions can help you regain lost hair.
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #7 - Posted 2010-12-21 21:22:13 »

Useful stuff, thanks for sharing!

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (30 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (42 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (48 views)
2014-11-29 21:32:03

toopeicgaming1999 (114 views)
2014-11-26 15:22:04

toopeicgaming1999 (102 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!