On Thursday, January 17, 2013 at 4:07:42 PM UTC-6, bob wrote: > You probably want to focus on the startActivityForResult method: > > > public void startActivityForResult (Intent intent, int requestCode, Bundle > options) > Added in API level 16 > Launch an activity for which you would like a result when it finished. When > this activity exits, your onActivityResult() method will be called with the > given requestCode. Using a negative requestCode is the same as calling > startActivity(Intent) (the activity is not launched as a sub-activity). > Note that this method should only be used with Intent protocols that are > defined to return a result. In other protocols (such asACTION_MAIN or > ACTION_VIEW), you may not get the result when you expect. For example, if the > activity you are launching uses the singleTask launch mode, it will not run > in your task and thus you will immediately receive a cancel result. > As a special case, if you call startActivityForResult() with a requestCode >= > 0 during the initial onCreate(Bundle savedInstanceState)/onResume() of your > activity, then your window will not be displayed until a result is returned > back from the started activity. This is to avoid visible flickering when > redirecting to another activity. > This method throws ActivityNotFoundException if there was no Activity found > to run the given Intent. > Parameters > intent > The intent to start. > requestCode > If >= 0, this code will be returned in onActivityResult() when the activity > exits. > options > Additional options for how the Activity should be started. See > Context.startActivity(Intent, Bundle) for more details. > Throws > > > android.content.ActivityNotFoundException > See Also > startActivity(Intent) > > > On Thursday, January 17, 2013 9:27:56 AM UTC-6, Prabu Siabuabu wrote:hi > everyone! i was wonder is it possible to make an app like this? -> > http://i1193.photobucket.com/albums/aa344/hiatus1/wireframe_zps9e434b1b.jpg > and if yes, how can i do that?? i'm stuck on to link up all of my activites > to main activities.. anyone here can help me please?? thanks in advance. > > > Regards, > > > Prabu
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/20c2dcad-e3fc-4ff5-b422-db8ec4035366%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

