Skip to content Skip to sidebar Skip to footer

Initializing An Application Object And Calling A Method On It While Application Is Closed Results In Null Reference Error

I'm saving an object saveObject(myKey, object); static public void saveObject(String key, Object value){ try{ Application application = new Application(); Fi

Solution 1:

You should never be creating an application object. There is one of these per app, and the Android system will make it.


Post a Comment for "Initializing An Application Object And Calling A Method On It While Application Is Closed Results In Null Reference Error"