Questions tagged as 'android-intent'

2
answers

Intent. Filter program that appears in the "Open With"

Today the option to "open with" lists several programs that are installed on the phone and including my app. I would like my app to be an option only for files in the extension it works, in this case "* .rlc". <activity android:name...
asked by 13.01.2017 / 13:30
1
answer

Display value from another screen

Hello, I'm working with the following code: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_conversor); String t = Double.toStri...
asked by 09.01.2017 / 14:56
1
answer

How to pass a certain content contained in a first direct activity to a third activity?

I'd like to know how to pass the content of a plainText that is in the MainActivity direct to Main3Activity, without having to also import to Main2Activity and then to Main3Activity. The user passes Main2Activity before going to Main3Acitvit...
asked by 21.01.2017 / 22:18
2
answers

Map navigation intent for all apps [mount route]

I'm looking for a way to give users the option to select which app to mount their route (waze, google maps, uber ...), but it just does not work in google maps. When I choose it, it only shows the place on the map, but does not open the navig...
asked by 21.08.2018 / 14:34
0
answers

Reading file shared by other applications on Android

I would like to know how to read files that came through an intent from other applications such as WhatsApp for example My application is Training ProFitness, it is already enabled to receive files of type json and pft, which pft will...
asked by 24.07.2018 / 16:22
1
answer

"android.view.InflateException: Binary XM file line" at the time of changing activity

I'm currently developing an Android app and I'm having a problem that ends up making my program crash from the moment I click the "SignIn" button. The App has no problem at the time it reaches the main activity, but always crashes when the bu...
asked by 12.05.2018 / 21:56
0
answers

Rename URI file to share audio from raw folder

I'm trying to make an app with sound-sharing that is inside the application's "raw" folder, but I'm not getting it. The file is shared, but it does not have the extension .mp3 . I was able to listen in windows media player, but I had to...
asked by 08.03.2018 / 15:15
0
answers

open on specific day with calendar intent on android

I have a function where I open the calendar of android, I pass the complete date and it opens exactly in the month of the date, well everything works but my doubt is, and possible to open in the intent of the day instead of showing the full mont...
asked by 27.02.2018 / 15:52
1
answer

Send a message via WhatsApp to a specific contact

I'm trying to send a text message via WhatsApp to a previously selected number. The contact's chat opens, but the message contained in Extras does not appear in the text field. See: var uri = Android.Net.Uri.Parse("smsto:" + "55" + (num...
asked by 21.02.2018 / 15:29
1
answer

Intent to open link in browser does not work

How do I get my button to send the user to a link? String url = "LINK"; Intent i = new Intent(Intent.ACTION_VIEW); i.setData(Uri.parse(url)); startActivity(i); I tried this way but it did not work     
asked by 03.04.2017 / 17:03