On Sat, Apr 16, 2011 at 11:16 PM, ArcDroid <[email protected]> wrote: > Hello all, > I have tried everything and can't get past this issue. Here is a my > error and the simple code example.... >
> MyApp appState = ((MyApp)getApplicationContext()); > // String state = appState.getState(); Use getApplication() not getApplicationContext(). And read the JavaDoc. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

