• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This is a sample Android executable that can be used to test the
2Google Breakpad client library on Android.
3
4Its purpose is simply to crash and generate a minidump under /data/local/tmp.
5
6Build instructions:
7
8   cd android/sample_app
9   $NDK/ndk-build
10
11  Where $NDK points to a valid Android NDK installation.
12
13Usage instructions:
14
15   After buildind the test program, send it to a device, then run it as
16   the shell UID:
17
18     adb push libs/armeabi/test_google_breakpad /data/local/tmp
19     adb shell /data/local/tmp/test_google_breakpad
20
21   This will simply crash after dumping the name of the generated minidump
22   file.
23
24   See jni/test_breakpad.cpp for details.
25
26   Use 'armeabi-v7a' instead of 'armeabi' above to test the ARMv7-A version
27   of the binary.
28
29Note:
30   If you plan to use the library in a regular Android application, store
31   the minidump files either to your app-specific directory, or to the SDCard
32   (the latter requiring a specific permission).
33