Questions tagged as 'intent'

1
answer

Get android gallery photo directly

I've researched here and elsewhere on the internet, but I could not find anything like that. Is it possible to restrict that the photos selected by a user come only from the gallery? Ex: When I click on a profile photo and choose the gallery opt...
asked by 18.05.2016 / 22:52
1
answer

Open Android app with connection

I want to know how the Cerberus app, for Android, can open your app when we call a certain number? For those who do not know Cerberus, it is an anti-theft application, so it hides its icon so that people do not realize that it is installed....
asked by 29.04.2015 / 14:53
1
answer

"Unfortunately, * my application * has stopped" in passing data to Activity

I am making an app that formats bibliographic references according to ABNT, but there is an error to pass the data entered by the user to the next activity , which displays the formatted data. Follow the codes and print with the error m...
asked by 01.02.2016 / 18:11
1
answer

Opening an activity with a button

I'm having a problem opening my activity in various forums and have not found the answer. I have the activity "TelaDeLogin" and the activity "Feed", and already tried to open in several ways, here is the button xml code: <Button and...
asked by 10.07.2018 / 17:54
1
answer

How to share an image (ImageView) using Intent?

I'm having a hard time sharing an image from an ImageView from a button, tried several methods, but none worked. Here is an example of what I want to share: link I have an array with the path of the images in Drawable final int[] photo...
asked by 10.05.2017 / 21:08
1
answer

Show an application A within the fragment of another application B

In my application, when the user clicks Add Contact I call the Contacts application using a Intent . But, instead, would it be possible to open a Fragment whose content would be the Contacts application itself, ie show the cont...
asked by 18.12.2015 / 12:03
2
answers

Is there a way to filter the contacts by "organization" in the contacts calendar of Android, when triggered through another activity?

In an Android application, I want to open the contacts directory from another Activity via Intent , but I would like to see only the contacts that have a specific value in the "Organization" field. Is there a way to specify this in...
asked by 25.03.2014 / 18:04
0
answers

Intent Open FaceBook

How do I open facebook on a particular page. Open mainly by the application if it is not installed open in the navigated of the mobile. Can anyone help me?     
asked by 20.05.2017 / 20:18
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

Make the application wait for the response of a BroadcastReceiver

I need to send a list of SMS messages. The problem is that when they are too many, they seem to jam the send, locking the function. So I'd like to send one at a time. I'm trying with the class below: public class EnviaSMS extends AsyncTask<...
asked by 16.12.2014 / 18:08