public class splash extends Activity{
private boolean _enableAutoSMS;//CheckboxPreference;
String _listPreference1,_listPreference2,_listPreference3,_listPreference4,_listPreference5,_listPreference6;
String editTextPreference;
String ringtonePreference;
String secondEditTextPreference;
String customPref;
private String _preference = "FreeBetting" ;
private SharedPreferences _sharedPreference;
private Editor _editor;
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
getWindow().requestFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.splash);
_sharedPreference = getSharedPreferences("Photo Share", Context.MODE_PRIVATE);
_editor = _sharedPreference.edit();
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
splash.this.startActivity(new Intent(splash.this,UserLogin.class));
splash.this.finish();
}
}, 2540);
}
@Override
protected void onStart() {
// TODO Auto-generated method stub
super.onStart();
}
}
By:Parmil.S &VkHooda
private boolean _enableAutoSMS;//CheckboxPreference;
String _listPreference1,_listPreference2,_listPreference3,_listPreference4,_listPreference5,_listPreference6;
String editTextPreference;
String ringtonePreference;
String secondEditTextPreference;
String customPref;
private String _preference = "FreeBetting" ;
private SharedPreferences _sharedPreference;
private Editor _editor;
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
getWindow().requestFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.splash);
_sharedPreference = getSharedPreferences("Photo Share", Context.MODE_PRIVATE);
_editor = _sharedPreference.edit();
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
splash.this.startActivity(new Intent(splash.this,UserLogin.class));
splash.this.finish();
}
}, 2540);
}
@Override
protected void onStart() {
// TODO Auto-generated method stub
super.onStart();
}
}
By:Parmil.S &VkHooda