Linked Questions
28 questions linked to/from Passing data between activities in Android
0 votes
9 answers
12k views
How to share variables between classes in java [duplicate]
Possible Duplicate: Passing data between activities in Android so I have two activity's, and I need to save one variable in first activity, and use it in the second activity. Can anyone help me? ...
2 votes
1 answer
3k views
Pass Text Between Activities [duplicate]
Possible Duplicate: Passing data between activities in Android How can I edit text in my Activity, then pass this text by an intent to a new Activity?
0 votes
2 answers
97 views
which way is better for passing arguments between activities in android [duplicate]
Possible Duplicate: Passing data between activities in Android Ok Lets say that in my Activity1.java there is a variable called date If I declare it as static, in my Activity2 I can recall its ...
-3 votes
1 answer
94 views
How can different activities pass data to the same class? [duplicate]
I have two buttons. Button1 go to A then C Button2 go to A then B and finally C. There are values pass between these activities. The problem I faced now is how do I check whether they are data ...
-2 votes
3 answers
96 views
Pass information between android activites [duplicate]
Possible Duplicate: Passing data between activities in Android I'm trying to pass a string from my main activity to another activity I have created. How would I do this?
-2 votes
1 answer
43 views
android intent confused [duplicate]
unable to send data , from one activity to another
0 votes
4 answers
4k views
android: How to share a POJO between Activities
I am porting a program to Android. I have all my business logic on POJOs, so I need to use Activities as a mere front-end. The problem is that I don't know how to share POJO between Activities; I've ...
0 votes
2 answers
5k views
Android Intent with explicit handler and id
I have a ListActivity which should call an edit form, much like in the Notepad tutorial. The difference is, that I don't want to call an ACTION_EDIT intent, but the EditorActivity-class directly and ...
-1 votes
5 answers
1k views
Global variable in android [duplicate]
Possible Duplicate: Android global variable I am working with an Android project. I have two activities. I am designing a file uploader. The first activity is to choose a file. The second one is ...
0 votes
4 answers
3k views
How to send Intent Extra?
I am a beginner of Android. I want to pass the result from FirstActivity to the SecondActivity as below. How to remove results in intent extra? Or any way to pass the result to SecondActivity and show ...
1 vote
3 answers
782 views
How to pass information between Activities
I have asked this question a few times on here already, but still am not confident enough to start throwing things into my code because I'm afraid I'll ruin the functionality it already has. What I ...
0 votes
1 answer
2k views
ListView connect to ViewPager, FragmentPagerAdapter how
I have researched and tried to learn, but I am unclear and would appreciate help. I have played with a few different strategies, but cannot figure this out though this is really basic stuff. I have a ...
2 votes
1 answer
2k views
DatePicker change view after date is picked
I have a button which pulls up the DatePicker fragment but I can't figure out how to make the view change depending on the date picked. I put onDateSet method in my main.java which is the activity ...
0 votes
2 answers
1k views
How to pass checked items to another activity?
I got list of checked contacts.However, i need to pass these selected contacts to another activity and display in edit Text.Please help.Thanks
0 votes
1 answer
964 views
Android - onclick, change TextView content , background colour and set visibility gone
Hi I am very new to Android development. Here is my problem: In have two activities as shown below. Activity1.class XML--> has two buttons Button1 (Id:@+id/btn1 , onclick:doTHIS) and Button2 (Id:@...