Home > Mobile >  The android
The android

Time:09-29

Start a program on the activity, this activity will set the click event for a picture, click the jump after another activity, just like most of the mobile phone games, the glory of the king, for example, a picture at first, later got to login interface, returned after the jump to another activity is returned directly to the mobile phone interface, and then again to open the program will open the first activity interface, how to let him open the second does not perform the first activity

CodePudding user response:

Add a LoadingActivity, don't need the setContentView, as the entrance to the program
Read the SP, see whether your tag is clicked, click on the images jump main interface, not just jump your first activity
Click on the image jump for the first time to save add a tag to SP

CodePudding user response:

reference 1/f, no fucker said reply:
add a LoadingActivity, don't need the setContentView, as the entrance to the program
Read the SP, see whether your tag is clicked, click on the images jump main interface, not just jump your first activity
Click on the image jump for the first time save add a tag to SP
how to use SP speak more specific

CodePudding user response:

refer to the second floor lufeia response:
Quote: reference 1/f, no fucker said reply:
add a LoadingActivity, don't need the setContentView, as the entrance to the program
Read the SP, see whether your tag is clicked, click on the images jump main interface, not just jump your first activity
First click on the image jump save add a tag to SP
how to use SP can tell a specific point

This is a beginner or you just started to learn, SharedPreferences

CodePudding user response:

reference no fucker said reply: 3/f
Quote: refer to the second floor lufeia response:

Quote: refer to 1st floor without fucker said reply:
add a LoadingActivity, don't need the setContentView, as the entrance to the program
Read the SP, see whether your tag is clicked, click on the images jump main interface, not just jump your first activity
First click on the image jump save add a tag to SP
how to use SP can tell a specific point

This is a beginner or you just started to learn, SharedPreferences
learned some but just contact SP, not clear this idea
  • Related