Questions tagged as 'android-intent'

1
answer

ProgressDialog closing before Second Activity opens

I have an Activity called Login_Activity, when the user logs in, I want a ProgressDialog to appear, until the other Activity is fully loaded, because since I'm going to put some things to execute in the onCreate method of the second Activity, th...
asked by 30.11.2017 / 19:05
0
answers

How to pass an object to another Activity [duplicate]

public class Despesa { private long id ; private Date data; private String local; private String endereco ; private String cnpj ; private LinkedList <Item> itens; private Str...
asked by 29.03.2018 / 03:34
1
answer

How do I get my app listed by the WhatsApp Insert button

I need my app to appear in the apps list with sounds to share, that we click on that clips from WhatsApp , know that whatsApp button to insert a picture, a sound, etc ... like in image below Iwasusingforthisthefollowingintent-filte...
asked by 24.06.2017 / 18:37
1
answer

How to prevent a new instance of Activity from being created at each Intent

In my application I have a BroadCast that receives push notifications in background , this push currently opens an activity with the information of a request to be accepted, what happens is that if the same instant is...
asked by 28.08.2016 / 22:24
1
answer

Android send message to multiple Whatsapp contacts

I have an application that today displays calendar contacts that have whatsapp, and there it is possible to write a message in that application and send it to whatsapp users, however when calling the whatsapp it goes without any selected contact...
asked by 31.03.2017 / 20:23
0
answers

startActivityForResult always receives resultCode 0

For some reason, my Activity is always returning resultCode 0 . I have already consulted several forums and I have seen that several people went through this, but none of the solutions I found worked for me.    CALLING ACTIVITY:...
asked by 02.01.2017 / 14:56
1
answer

Problem using PutExtra with a vector

I can not get the vector inside PutExtra. Can anyone help me? Activity 1 double[] valores = new double[vetorEdits.length]; for (int i = 0; i < vetorEdits.length ; i++) { valores[i] = Double.parseDouble( v...
asked by 11.11.2017 / 18:46
3
answers

Unable to start activity ComponentInfo

The app does not work when deploying. It "crashes" straight. Follow the code and the error: ActMain.java package desenvmoveluss.com.br.trabalho01; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.wi...
asked by 23.09.2016 / 23:15
1
answer

Pass data from Firebase Database by Intent and retrieve in another activity [duplicate]

This is the fragment of my Fragment code in which I need to pass a parameter (Firebase DB id) through an Intent generated by Adapter.setOnClickListener : ... viewHolder.eventoCardView.setOnClickListener(new View.OnClickListener() {...
asked by 22.03.2018 / 00:30
1
answer

Share App Link with WhatsApp

Good morning!    How do I share a link from my app with a contact in whatsapp? Searching the internet was able to form this code (it is without success tests because I am still just testing it) that when recording an activity in the firebase I o...
asked by 20.09.2017 / 16:18