the problem is you didn't declare your Subclass of Application to the AndroidManifest. Add android:name="path.to.AppController" to the Application tag, otherwise your subclass of Application is not instantiated and mInstance remains not initialized (null by default). And that explains the NPE