import android.app.Activity;
import android.content.SharedPreferences;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.view.*;
import android.view.View.*;
import android.widget.*;
/*
*
* @author Matt
*/
public class MainActivity extends Activity {
Move this inside onCreate.
24.03.2011 13:17, MattClark пишет:
SharedPreferences settings =
getSharedPreferences(AppSettings, 0);
Member initializers are executed when the object instance is
constructed, which may be too early in the Android-specific lifecycle.
-- Kostya
--
Kostya Vasilyev
Could you provide log cat error message or some more detailed code
what you are executing.
Because the piece of code you wrote some what confusing me
public SharedPreferences settings = getSharedPreferences(PREFS_NAME,
0);
On Mar 24, 9:19 am, MattClark mrclark32...@gmail.com wrote:
I am
3 matches
Mail list logo