Questions tagged [extras]
113 questions
0
votes
1 answer
Sharing intent extra's and adding to them over more than 3 activities on Android and then retrieving all the extra's on the 5th activity
I'm trying to create a set up sequence for my signing up process where on the first page (activity) the user's email and password is stored as extra's in an intent. These extra's are then stored as variables in the second page. Then on the second…

Ire Adewolu
- 71
- 8
0
votes
2 answers
Modx(Revolution) search function for FAQs
I'm trying to implement a search for my FAQs page. I'm using the modx extras FAQ Manager and SimpleSearch. SimpleSearch works quite well if you're searching modx resources, but the problem I've run into is how to search a database table for example…

WiseOlMan
- 926
- 2
- 11
- 26
0
votes
2 answers
Can't pass String via Extra on an Android grid view
I have a gridView and I want to pass an Extra via an intent.
It usually works, but not here:
gv.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView> parent, View v,
…

Xavier
- 270
- 1
- 7
- 17
0
votes
3 answers
Start activity using intent with extra does not show all the extras
Inside a setOnItemClickListener I use an intent to start a new activity. I put 7 strings as extras for this intent. When I click an item (of a ListView) I want all these extras to be displayed (on a new screen). But I see only the first 4 extras.…

Monica
- 389
- 1
- 7
- 19
0
votes
0 answers
Can I find out how many extras are in a data object?
I have an activity with some CheckBoxes and each box has a String value that is added to an ArrayList. When the OK button is clicked a returnResult Intent is created and the extras are put to the intent.
In onActivityResult I want to create a for…

RapsFan1981
- 1,177
- 3
- 21
- 61
0
votes
0 answers
jquery Data Tables Plugin Enable Multiple features
jquery Data Tables Plugin Enable Multiple features
jquery datatables extras
Hi I'm using DataTables jquery plugin with ColVis and TableTools extras. The following code works fine:
…
0
votes
1 answer
pass intent with extra to defined layout text view
I am at the beginning of an app, I'm an absolute amateur and what i want to do is simple.
I am trying to pull Extras from an intent on my first activity into a textview on my second activity
First page: what is your name? (type a name and push a…

martinseal1987
- 1,862
- 8
- 44
- 77
0
votes
2 answers
Attempting to Bundle Extras: Incompatible operand types Bundle and String & The method getIntent() is undefined for the type
I'm attempting to check for extras in my service and I'm getting two errors:
"Incompatible operand types Bundle and String" on the line:
if (extras != "0") {
...and "The method getIntent() is undefined for the type" on the line:
Bundle extras =…

Amani Swann
- 11
- 1
- 5
0
votes
2 answers
Android: putExtras and Intents
I am having a problem with passing strings from a fragment to another activity.
I have tried numerous methods of passing them using intents (eg normal extras, bundles) , but the extras are always null in the activity.
I have looked at…
user2442638
0
votes
0 answers
activity does not get the last intent extras
I have an activity A that is triggered like the starting activity.
in oncreate, if some data is missing, activity A creates a new activity B with a startactivity. It also calls finish() after that. Like this way, I obtain a backstack with only…

Bertuz
- 2,390
- 3
- 25
- 50
0
votes
1 answer
How to send a List to next Intent
I want to send this 'list' to the next class(HomeActivity).But i was trying to do it by sending extras but couldn't somebody please help me to fix this
code
protected void onPostExecute(final List> list) {
//…

Hybrid Developer
- 2,320
- 1
- 34
- 55
0
votes
3 answers
Android What is Preference.getExtras() used for?
The Preference class has a method called getExtras().
It may or may be not related to the Preference intent, but the Extras can be get and put using the intent directly.
There is no method putExtra/s() in the Preference class, then...
what is the…

ilomambo
- 8,290
- 12
- 57
- 106
0
votes
2 answers
Getting extras from an intent in Android
I have an issue that is driving me crazy, I want to get "n" string values from a bundle, somehow avd crashes when I click on "send button".
Activity 1
public void enviar(View view){
Intent intento=new Intent(this, Segunda.class);
Bundle…

viterete8
- 1
- 3
0
votes
1 answer
Passing Extras and screen rotation
This kind of questions appear periodically. Sorry if this has been covered before, but I'm a newbie and couldn't find the appropriate answer. It deals with the correct implementation of communication between classes and activities.
I made a gallery…

Luis A. Florit
- 2,169
- 1
- 33
- 58
0
votes
2 answers
Android: NullPointerException when using Extras in Intents
Please I get a NullPoiterException when I try to get the extras form the intent.
The error is thrown exactly when I call
int posizione2 =Integer.parseInt((getIntent().getExtras().getString(Intent.EXTRA_TEXT)));
Any help very much…

Lisa Anne
- 4,482
- 17
- 83
- 157