Fileexplorer wont start : So i have been trying to create my own filebrowser via this manual:
http://android-er.blogspot.de/2012/07/example-of-file-explorer-in-android.html

And everytime i start the app it crashes. My Log says this:

05-08 09:31:46.520 23657-23657/com.example.mrwhite.fileexplorer E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.mrwhite.fileexplorer, PID: 23657
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.mrwhite.fileexplorer/com.example.mrwhite.fileexplorer.MainActivity}: java.lang.NullPointerException: Attempt to get length of null array
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2804)

Can someone help me solving this?


