[Android Apps and Games] Publiuss:
Hi

Very interesting app... but I've immediate force closes at launch if SD unmounted (mounted on PC).

Pehaps you cold better handle this case.

I'm on sonyericsson SK17i.

Some logs:

12-10 11:39:36.908 I/ActivityManager(1533): Start proc mobi.omegacentauri.SendReduced for activity mobi.omegacentauri.SendReduced/.Options: pid=11893 uid=10397 gids={1015}
12-10 11:39:36.957 W/InputManagerService(1533): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@2c3f61a8
12-10 11:39:37.437 E/AndroidRuntime(11893): FATAL EXCEPTION: main
12-10 11:39:37.437 E/AndroidRuntime(11893): java.lang.RuntimeException: Unable to start activity ComponentInfo{mobi.omegacentauri.SendReduced/mobi.omegacentauri.SendReduced.Options}: java.lang.NullPointerException
12-10 11:39:37.437 E/AndroidRuntime(11893):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1967)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at android.app.ActivityThread.access$600(ActivityThread.java:127)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at android.os.Handler.dispatchMessage(Handler.java:99)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at android.os.Looper.loop(Looper.java:137)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at android.app.ActivityThread.main(ActivityThread.java:4441)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at java.lang.reflect.Method.invokeNative(Native Method)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at java.lang.reflect.Method.invoke(Method.java:511)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at dalvik.system.NativeStart.main(Native Method)
12-10 11:39:37.437 E/AndroidRuntime(11893): Caused by: java.lang.NullPointerException
12-10 11:39:37.437 E/AndroidRuntime(11893):	at mobi.omegacentauri.SendReduced.Utils.getCacheDir(Utils.java:60)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at mobi.omegacentauri.SendReduced.Utils.cleanCache(Utils.java:88)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at mobi.omegacentauri.SendReduced.Options.onCreate(Options.java:15)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at android.app.Activity.performCreate(Activity.java:4465)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
12-10 11:39:37.437 E/AndroidRuntime(11893):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
12-10 11:39:37.437 E/AndroidRuntime(11893):	... 11 more
12-10 11:39:37.447 W/ActivityManager(1533): Force finishing activity mobi.omegacentauri.SendReduced/.Options
12-10 11:39:37.457 W/ActivityManager(1533): Force finishing activity com.android.vending/.AssetBrowserActivity
12-10 11:39:37.957 W/ActivityManager(1533): Activity pause timeout for ActivityRecord{2c744da8 mobi.omegacentauri.SendReduced/.Options}
12-10 11:39:39.167 I/ActivityManager(1533): Process mobi.omegacentauri.SendReduced (pid 11893) has died.
12-10 11:39:48.707 W/ActivityManager(1533): Activity destroy timeout for ActivityRecord{2c744da8 mobi.omegacentauri.SendReduced/.Options}
12-10 11:40:13.407 I/ActivityManager(1533): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=mobi.omegacentauri.SendReduced/.Options bnds=[320,102][423,173]} from pid 5824
12-10 11:40:13.607 I/ActivityManager(1533): Start proc mobi.omegacentauri.SendReduced for activity mobi.omegacentauri.SendReduced/.Options: pid=11911 uid=10397 gids={1015}
12-10 11:40:13.878 E/AndroidRuntime(11911): FATAL EXCEPTION: main
12-10 11:40:13.878 E/AndroidRuntime(11911): java.lang.RuntimeException: Unable to start activity ComponentInfo{mobi.omegacentauri.SendReduced/mobi.omegacentauri.SendReduced.Options}: java.lang.NullPointerException
12-10 11:40:13.878 E/AndroidRuntime(11911):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1967)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at android.app.ActivityThread.access$600(ActivityThread.java:127)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at android.os.Handler.dispatchMessage(Handler.java:99)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at android.os.Looper.loop(Looper.java:137)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at android.app.ActivityThread.main(ActivityThread.java:4441)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at java.lang.reflect.Method.invokeNative(Native Method)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at java.lang.reflect.Method.invoke(Method.java:511)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at dalvik.system.NativeStart.main(Native Method)
12-10 11:40:13.878 E/AndroidRuntime(11911): Caused by: java.lang.NullPointerException
12-10 11:40:13.878 E/AndroidRuntime(11911):	at mobi.omegacentauri.SendReduced.Utils.getCacheDir(Utils.java:60)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at mobi.omegacentauri.SendReduced.Utils.cleanCache(Utils.java:88)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at mobi.omegacentauri.SendReduced.Options.onCreate(Options.java:15)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at android.app.Activity.performCreate(Activity.java:4465)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
12-10 11:40:13.878 E/AndroidRuntime(11911):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
12-10 11:40:13.878 E/AndroidRuntime(11911):	... 11 more
12-10 11:40:13.878 W/ActivityManager(1533): Force finishing activity mobi.omegacentauri.SendReduced/.Options
12-10 11:40:14.397 W/ActivityManager(1533): Activity pause timeout for ActivityRecord{2c0a2f98 mobi.omegacentauri.SendReduced/.Options}
12-10 11:40:15.707 I/ActivityManager(1533): START {act=android.intent.action.APP_ERROR flg=0x10000000 cmp=com.android.vending/com.google.android.finsky.activities.AppCrashProxy (has extras)} from pid 1533
12-10 11:40:15.757 I/ActivityManager(1533): START {act=android.intent.action.APP_ERROR flg=0x10000000 pkg=com.google.android.feedback cmp=com.google.android.feedback/.FeedbackActivity (has extras)} from pid 10901
12-10 11:40:15.757 W/InputManagerService(1533): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@2c4cbfc0
12-10 11:40:15.787 I/ActivityManager(1533): Process mobi.omegacentauri.SendReduced (pid 11911) has died.

And

12-10 11:42:27.337 I/ActivityManager(1533): Start proc mobi.omegacentauri.SendReduced for activity mobi.omegacentauri.SendReduced/.Options: pid=12023 uid=10397 gids={1015}
12-10 11:42:27.348 D/statusbar(9693): read: I/ActivityManager( 1533): Start proc mobi.omegacentauri.SendReduced for activity mobi.omegacentauri.SendReduced/.Options: pid=12023 uid=10397 gids={1015}
12-10 11:42:27.387 I/dalvikvm(12023): Turning on JNI app bug workarounds for target SDK version 4...
12-10 11:42:27.427 W/ResourceType(1533): Skipping entry 0x7f040032 in package table 0 because it is not complex!
12-10 11:42:27.597 D/SurfaceFlinger(134): Release buffer at 0xc22c0
12-10 11:42:27.657 W/Resources(12023): Converting to string: TypedValue{t=0x10/d=0x400 a=-1}
12-10 11:42:27.677 W/Resources(12023): Converting to string: TypedValue{t=0x10/d=0x55 a=-1}
12-10 11:42:27.677 W/ApplicationContext(12023): Unable to create external cache directory
12-10 11:42:27.687 D/AndroidRuntime(12023): Shutting down VM
12-10 11:42:27.697 W/dalvikvm(12023): threadid=1: thread exiting with uncaught exception (group=0x2b542210)
12-10 11:42:27.697 E/AndroidRuntime(12023): FATAL EXCEPTION: main
12-10 11:42:27.697 E/AndroidRuntime(12023): java.lang.RuntimeException: Unable to start activity ComponentInfo{mobi.omegacentauri.SendReduced/mobi.omegacentauri.SendReduced.Options}: java.lang.NullPointerException
12-10 11:42:27.697 E/AndroidRuntime(12023):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1967)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at android.app.ActivityThread.access$600(ActivityThread.java:127)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at android.os.Handler.dispatchMessage(Handler.java:99)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at android.os.Looper.loop(Looper.java:137)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at android.app.ActivityThread.main(ActivityThread.java:4441)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at java.lang.reflect.Method.invokeNative(Native Method)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at java.lang.reflect.Method.invoke(Method.java:511)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at dalvik.system.NativeStart.main(Native Method)
12-10 11:42:27.697 E/AndroidRuntime(12023): Caused by: java.lang.NullPointerException
12-10 11:42:27.697 E/AndroidRuntime(12023):	at mobi.omegacentauri.SendReduced.Utils.getCacheDir(Utils.java:60)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at mobi.omegacentauri.SendReduced.Utils.cleanCache(Utils.java:88)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at mobi.omegacentauri.SendReduced.Options.onCreate(Options.java:15)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at android.app.Activity.performCreate(Activity.java:4465)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
12-10 11:42:27.697 E/AndroidRuntime(12023):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
12-10 11:42:27.697 E/AndroidRuntime(12023):	... 11 more
12-10 11:42:27.707 D/statusbar(9693): read: W/ActivityManager( 1533): Force finishing activity mobi.omegacentauri.SendReduced/.Options
12-10 11:42:27.707 W/ActivityManager(1533): Force finishing activity mobi.omegacentauri.SendReduced/.Options
12-10 11:42:28.217 W/ActivityManager(1533): Activity pause timeout for ActivityRecord{2c81d9b0 mobi.omegacentauri.SendReduced/.Options}
12-10 11:42:28.227 D/statusbar(9693): adding mock
12-10 11:42:28.237 D/statusbar(9693): read: W/ActivityManager( 1533): Activity pause timeout for ActivityRecord{2c81d9b0 mobi.omegacentauri.SendReduced/.Options}
12-10 11:42:29.248 D/statusbar(9693): adding mock
12-10 11:42:29.248 D/statusbar(9693): Exception when adding mock
12-10 11:42:29.248 W/System.err(9693): java.lang.IllegalStateException: View android.widget.LinearLayout@2bb88de0 has already been added to the window manager.
12-10 11:42:29.257 W/System.err(9693):	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:244)
12-10 11:42:29.257 W/System.err(9693):	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:215)
12-10 11:42:29.257 W/System.err(9693):	at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:140)
12-10 11:42:29.257 W/System.err(9693):	at com.kiumiu.ca.statusbar.free.statusBarService.d(Unknown Source)
12-10 11:42:29.257 W/System.err(9693):	at com.kiumiu.ca.statusbar.free.r.handleMessage(Unknown Source)
12-10 11:42:29.257 W/System.err(9693):	at android.os.Handler.dispatchMessage(Handler.java:99)
12-10 11:42:29.257 W/System.err(9693):	at android.os.Looper.loop(Looper.java:137)
12-10 11:42:29.257 W/System.err(9693):	at android.app.ActivityThread.main(ActivityThread.java:4441)
12-10 11:42:29.257 W/System.err(9693):	at java.lang.reflect.Method.invokeNative(Native Method)
12-10 11:42:29.257 W/System.err(9693):	at java.lang.reflect.Method.invoke(Method.java:511)
12-10 11:42:29.257 W/System.err(9693):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
12-10 11:42:29.257 W/System.err(9693):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
12-10 11:42:29.257 W/System.err(9693):	at dalvik.system.NativeStart.main(Native Method)
12-10 11:42:29.548 I/ActivityManager(1533): START {act=android.intent.action.APP_ERROR flg=0x10000000 cmp=com.android.vending/com.google.android.finsky.activities.AppCrashProxy (has extras)} from pid 1533
12-10 11:42:29.557 I/AudioHardwareMSM7X30(152): Routing audio to Speakerphone
12-10 11:42:29.557 D/statusbar(9693): read: I/ActivityManager( 1533): START {act=android.intent.action.APP_ERROR flg=0x10000000 cmp=com.android.vending/com.google.android.finsky.activities.AppCrashProxy (has extras)} from pid 1533
12-10 11:42:29.567 I/Process (12023): Sending signal. PID: 12023 SIG: 9
12-10 11:42:29.587 D/statusbar(9693): read: I/ActivityManager( 1533): Start proc com.android.vending for activity com.android.vending/com.google.android.finsky.activities.AppCrashProxy: pid=12037 uid=10094 gids={3003, 1015}
12-10 11:42:29.587 I/ActivityManager(1533): Start proc com.android.vending for activity com.android.vending/com.google.android.finsky.activities.AppCrashProxy: pid=12037 uid=10094 gids={3003, 1015}
12-10 11:42:29.587 I/ActivityManager(1533): Process mobi.omegacentauri.SendReduced (pid 12023) has died.

Bye.