Currently this activity click on the Start button becomes false, the Finish button becomes true, do record the GPS coordinates automatically refresh, when the completion of the start point and then becomes true, the completion becomes false, and now I do not point the completion point return to the previous activity to do other operations, but when they come back to this activity started from the new button with service did not understand, seek guidance<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) -> Reply:
Return to activity when the button has initialized. You need a flag to record the state of the button, activity onPause I save flag up, onResume do when removing judgment. SharedPreferences recommended to do, is relatively simple. Reply:
Novice SharedPreferences less likely to use it, can not put this activity alone background ah
Reply: Save a logo SharedPreference in a positive solution ah floor Reply:
saved SharedPreference in a logo, a positive solution ah floor
Confused, SharedPreference I checked did not use, there is no simple point, or individual to run this activity backstage ah Reply: 1L said pair Generally, you press the start button in return is needed to prompt the user, in other words, click on the start usually with a dialog box to display the progress. So here you are in a good design logic design ... Reply:
Save a logo SharedPreference, the first floor of positive solutions ah
Confused, SharedPreference I checked did not use, there is no simple point, or individual to run this activity backstage ah
activity is running in the background, but later switched to the front, the state has initialized. So you need to save the state, then switch to the foreground when taken out of the state. Reply:
Save a logo SharedPreference, the first floor of positive solutions ah
Confused, SharedPreference I checked did not use, there is no simple point, or individual to run this activity backstage ah
activity is running in the background, but later switched to the front, the state has initialized. So you need to save the state, then switch to the foreground when taken out of the state.
I direct that a global Boolean variable to save the state of the button it does not work Reply:
Save a logo SharedPreference, the first floor of positive solutions ah
Confused, SharedPreference I checked did not use, there is no simple point, or individual to run this activity backstage ah
activity is running in the background, but later switched to the front, the state has initialized. So you need to save the state, then switch to the foreground when taken out of the state.
I direct that a global Boolean variable to save the state of the button does not work it
Do not fly. You look SharedPreference it, very simple. Reply:
Save a logo SharedPreference, the first floor of positive solutions ah
Confused, SharedPreference I checked did not use, there is no simple point, or individual to run this activity backstage ah
activity is running in the background, but later switched to the front, the state has initialized. So you need to save the state, then switch to the foreground when taken out of the state.
I direct that a global Boolean variable to save the state of the button does not work it
Do not fly. You look SharedPreference it, very simple.
No really, I set a global variable, return to this activity is initialized
No comments:
Post a Comment