karam alem
- Forum posts: 2
Jun 26, 2012, 8:36:59 AM via Website
Jun 26, 2012 8:36:59 AM via Website
Hi every one
I have three activities
the first one:
there is just a button if the user press the button it will transfer him to the second activity, and this is the default activity.
the second one:
there is many edit texts and a spinner item and tow button if the user press the save button it will saved the entered data to a shared preference and transfer him to the third activity
the third one:
it is a list activity and the list will load the shared preference.
the question is :
how can I change the default activity from the first one to the third one if the user saved at least one shared preference so when the user open the app again the third activity should appear to him ??
and thanks...
I have three activities
the first one:
there is just a button if the user press the button it will transfer him to the second activity, and this is the default activity.
the second one:
there is many edit texts and a spinner item and tow button if the user press the save button it will saved the entered data to a shared preference and transfer him to the third activity
the third one:
it is a list activity and the list will load the shared preference.
the question is :
how can I change the default activity from the first one to the third one if the user saved at least one shared preference so when the user open the app again the third activity should appear to him ??
and thanks...
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.