Questions tagged as 'android-intent'

1
answer

Sending data between Activity with PutExtra - Management

I have the following problem: I have three screens: Main Activity 2 Activity 3 In the first Activity (Main) I send a given putExtra to Activity 2 (user id). Activity 2 is the profile screen, and at a certain point I send it to a third...
asked by 03.09.2017 / 18:45
1
answer

Retrieve contact list name list in an android edit

Well, folks? I'm having a problem developing an app, because when I call the application's registration screen before I want to get the name and phone number of the selected contact and send it to the activity edit, however I can not retrieve th...
asked by 12.08.2017 / 16:00
1
answer

Open a file passed via intent on Android 7

The program works in earlier versions of Android, only in Nougat. I get the file from some program, for example the file manager: Uri arqUri = intent.getData(); And I get the path to this file: String caminho = arqUri.getPath(); The...
asked by 14.07.2017 / 18:17
1
answer

How to share an audio from the internal raw directory?

I have several audios stored in the raw directory of the app and I would like to share it with other applications, like whatsapp for example, but I found the documentation on configuring the File provider very confusing. AndroidManifest.xml...
asked by 27.05.2017 / 17:53
0
answers

How to recover Extras from a PendingIntent (Android)?

I'm implementing Notifications in an app. I'm using AlarmManager with a PendingIntent of an Intent with data (in Extras, some model objects) but, when I get them in another BroadcastReceiver class, those extras are not there. Here is the c...
asked by 05.04.2017 / 16:07
2
answers

Recyclerview, problem inserting an item

asked by 16.03.2017 / 17:56
0
answers

Problem - Intent to install APK file - Android Nougat

I searched extensively and did not find the problem. When trying to install an APK file using a Intent in Android Nougat , it simply does not install and displays the following warning: "There was a problem parsing the package."...
asked by 03.01.2017 / 18:54
1
answer

Problem when receiving, via Intent, a file shared by another app

I'm having trouble opening the shared file via Intent . I can correctly receive the path to the file but my app terminates execution. And unfortunately I am not able to capture the error generated. My code: @Override protected void...
asked by 11.01.2017 / 12:43
1
answer

Button to open a new activity is returning to the initial activity

In my application I made a login screen and put a button to authenticate the user through Facebook, after login comes the main screen and in this screen has a button that calls a new Activity. So far so good. Now the problem is, I put a button o...
asked by 15.04.2017 / 20:50