Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
intent extras
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Salih Gündüz  
View profile  
 More options Oct 6 2012, 8:00 am
From: Salih Gündüz <gunduz.sa...@gmail.com>
Date: Sat, 6 Oct 2012 05:00:47 -0700 (PDT)
Local: Sat, Oct 6 2012 8:00 am
Subject: intent extras

Can we control which activity send data in destination activity?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RichardC  
View profile  
 More options Oct 6 2012, 9:28 am
From: RichardC <richard.crit...@googlemail.com>
Date: Sat, 6 Oct 2012 06:28:20 -0700 (PDT)
Local: Sat, Oct 6 2012 9:28 am
Subject: Re: intent extras

Sorry don't understand your question


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grzegorz Patynek  
View profile  
 More options Oct 6 2012, 12:08 pm
From: Grzegorz Patynek <gpaty...@gmail.com>
Date: Sat, 6 Oct 2012 09:08:46 -0700 (PDT)
Local: Sat, Oct 6 2012 12:08 pm
Subject: Re: intent extras

If You want to know which Activity data is sent, You can send activity id
in extras.
In activity You create private variable:
Activity A {
private id = 'A';

}

and then put extras
Intent.putExtras('activityId','this.id')
That will inform new activity about source.

W dniu sobota, 6 października 2012 14:00:48 UTC+2 użytkownik Salih Gündüz
napisał:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kristopher Micinski  
View profile  
 More options Oct 12 2012, 1:55 pm
From: Kristopher Micinski <krismicin...@gmail.com>
Date: Fri, 12 Oct 2012 13:53:11 -0400
Local: Fri, Oct 12 2012 1:53 pm
Subject: Re: [android-developers] intent extras
Please clarify why you want to know this.  It seems like you're trying
to be more stateful than you should be being.. What happens when the
structure of your app slightly changes, and then you have logic in
your app to branch on the activity which sent the last intent.. that's
bad, right?.. Right.

It sounds like any app really following this design idea would be badly written.

kris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »