Linked Questions
11 questions linked to/from How to start an Intent by passing some parameters to it?
869 votes
18 answers
1.1m views
How do I get extra data from intent on Android?
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("...
-1 votes
2 answers
625 views
Android issue: how to get content from edittext
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 ...
0 votes
1 answer
399 views
unable to send data from one intent to another Android
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 ...
0 votes
3 answers
306 views
I want to edit the look of startActivityForResult
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 ...
0 votes
3 answers
189 views
How to make a single activity in android to handle many activities?
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 ...
0 votes
4 answers
92 views
how to set to serialazble with error in setArgument
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) { ...
-3 votes
3 answers
123 views
Creating a UI with many different screens in Android [closed]
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 ...
0 votes
2 answers
94 views
Android: I set some icons in the actionbar, but they were not shown on my device
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 ...
0 votes
1 answer
88 views
How to pass latitude and longitude to Pasnormastreetview to show the street view
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" ...
0 votes
2 answers
81 views
How to move a record id to a different Activity
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 ...
0 votes
0 answers
68 views
How to access different classes from login activity?
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 ...