Maybe I have not been used for Android development, but when I see it, I hope everything is ordered To be done in When an activity ends, the next starts, however, it seems that my code does not work like this, for example take the following code:
for (int i = 0; I & lt; 3; i ++) {intent to myIntent = new intent (Game.this.getBaseContext (), NextScreen.class); MyIntent.putExtra ("Some", i); MyIntent.putExtra ("Opp", oppList.get (i) .toString ()); StartActivityForResult (myIntent, 0); } This does not display an activity, wait for whatever you do on that screen, then come back for another activity. It immediately displays the third activity if I click on the back button on my Android emulator, it will show me two activity ... and if I click back again, then it will show me an activity ... then these activities on the screen are fast Sector fire will these activities you I'm not sure I like the first person without having to wait without him, even those who want to do something like this. Any thoughts that I am doing wrong? How do you work about this situation?
Activities are executed asynchronously; it is a way of sorting that your onActivityResult Chain of activation in the method Each Activity Activity, which starts with 0 , and takes sub-activity back as part of the result If onActivityResult can deal with the logic response, then check the activity number and the next c Let Ividhi on fire (if any).
Comments
Post a Comment