views:

448

answers:

1

Android Platform 1.5

  • I open splash screen at the end i call finish() then i moved to browse page.
  • At the browse page when i click on home button it hide the application.(b/c of Android's Multi tasking feature)
  • When i go to Android's desktop launch application again it starts from splash screen.

Android Platform 1.6

  • I open splash screen at the end i call finish() then i moved to browse page.
  • At the browse page when i click on home button it hide the application.(b/c of Android's Multi tasking feature)
  • When i go to Android's desktop launch application again it always starts from browse screen instead of splash screen why is that ?

I am putting all the data in onsave instance

@Override
 protected void onSaveInstanceState(Bundle outState) {
  outState.putString(WLConstants.READ_GPS, readGPS );
  outState.putSerializable(WLConstants.SEARCH_CRITERIA, searchCriteria);
  outState.putString(WLConstants.PARAM_WHERE, locationField.getText().toString());
  outState.putBoolean(WLConstants.PARAM_NEAR_ME, rNearMe.isChecked());
  super.onSaveInstanceState(outState);
  Log.v(TAG, "onSaveInstanceState()");
 } 

i am extracting values from oncreate method

public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
if(savedInstanceState != null){
Log.v(TAG,"instace found");
}else{

Log.v(TAG,"instace not found");
}
}

"Instance found" never get called means it never returns bundle any reason why ?

+1  A: 
Christopher