Monday, June 20, 2011

[android-developers] constructor problem

hello 
sorry about my english...
i have a class settingM:

static SharedPreferences myPreferences;
public final String PREF_FILE_NAME = "PrefFile";

public settingM()
{
 myPreferences = getSharedPreferences(PREF_FILE_NAME, MODE_WORLD_READABLE);
 
}

when i create a obj from this class i get the force close message

what the problem with the constructor?
thank you for your helping 


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment