Android activity seven days a week

In my application, there is a splash screen activity and the intention of the main activity in which there is an openGL view begins.

Some users report that the game exits and returns to a surge.

I am sure this is a mistake, but it fails, and therefore I do not receive crash reports.

What could make him fail so quietly? so that user application loops and the Force Close window are not visible.

Edit: I stopped restarting the splash screen by setting noHistory = "true" in the manifest for slapsh activity. Now users simply report that it exits silently. What can cause this ?!

Edit2: If this is some kind of hint, I recently updated the SDK from r10 to the r16 SDK, I believe that I deleted all the other changes, I would go back to r10 if I could, but I can’t Find a way.

Edit Jan 19: I found the root cause of this problem. At some point, Google introduced an SDK feature called "png crush". And PowerVR is not always happy with loading these textures. See my other question here for more information and solutions.

+4
source share
4 answers

This happens with my applications, often during development-debugging, and this usually happens due to the following problem.

  • , VBOs. , VBOs . , , , , , . , , .

, GPU , GPU. , ( , , VBOs) Motorola Defy.

.

:)

+1

, . API , .

, ACRA BugSense. , .

+3

? , , stacktrace logcat, Uncought Exception ( ACRA , recomment ACRA)

+2

There is only one way to overwrite the default exception behavior - UncaughtExceptionHandler. You can create your own class ExceptionHandler implements UncaughtExceptionHandlerand do with exceptions, no matter what you want - send it to a remote server or smth else. To register it, you must create a Applicationclass:

public class YourApplication extends Application {
@Override
public void onCreate() {
    super.onCreate();
    Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(this.getApplicationContext()));
    }
}

and register this class in the manifest file

<application 
    android:name="your.package.name.YourApplication" 
    ... >
         ...
</application>
0
source

All Articles