Linked Questions

869 votes
18 answers
1.1m views

How can I send data from one activity (intent) to another? I use this code to send data: Intent i=new Intent(context,SendMessage.class); i.putExtra("id", user.getUserAccountId()+""); i.putExtra("...
Adham's user avatar
  • 65k
-1 votes
2 answers
625 views

In my project. There are three files. passParaActivity.java //main Activity, show a edittext and a button to reslut.java result.java //display the number which typed in passParaAcitivity.java ...
SPG's user avatar
  • 6,225
0 votes
1 answer
399 views

I am trying to get data from editText box and open that url on Button click. For that I have to send data from one intent to another. For that, I have referred this and this but was unable to send ...
Aexyn's user avatar
  • 1,222
0 votes
3 answers
306 views

My app launches the default android camera. However, I am having a problem editing the appearance of startActivityForResult. I just want to change the buttons of strings onStartActivityForResult to ...
Andrew El-Masry's user avatar
0 votes
3 answers
189 views

I am making an android application containing more than 200 buttons............ Each button respond to an activity...........Each activity contains a button, text view and and image............ Is ...
areeb's user avatar
  • 3
0 votes
4 answers
92 views

I would like to make this code at serialazble But I dk why, in the setArguments, there is a red underline, thus can't run the code. Can someone guide me? public void summaryClick (View v) { ...
Chloe's user avatar
  • 149
-3 votes
3 answers
123 views

I'm a total newbie to Android programming and am trying to create a program which contains public transport schedules. I've been trying to create many buttons(Cities, bus numbers etc.), with each ...
africe's user avatar
  • 5
0 votes
2 answers
94 views

I want to put some actions in my actionbar. In my Design-Preview the icons were shown, but on my device there are no icons shown in actionbar. What do I have to change for showing the icons in the ...
Cap's user avatar
  • 57
0 votes
1 answer
88 views

This is the view. here i have added the StreetViewPanormaFragment <fragment xmlns:android="http://schemas.android.com/apk/res/android" xmlns:map="http://schemas.android.com/apk/res-auto" ...
Rahul 's user avatar
  • 73
0 votes
2 answers
81 views

I am creating a SQLiteDatabase in inside a Service and I am trying to pass the record id to another Activity so that I can populate a ListView. I guess I could pass the dataset to a method inside the ...
user579426's user avatar
0 votes
0 answers
68 views

I have 4 activities as activity1, activity2, activity3, and activity4. I access these activities from main activity which has four buttons, each button opens a specific activity, for example button1 ...
Coin Chain's user avatar