Questions tagged as 'android-intent'

2
answers

Permissions to make calls compatible with Android 6.0 and earlier versions

In my app, I am creating a Activity with several TextView that collects the information from a database in SQLite integrated in my app, and one of the data is the phone. My intention with this data, was to be able to crea...
asked by 09.06.2016 / 21:45
2
answers

Intent to open profile with the facebook app using Page ID, Android?

I am trying to open a facebook profile with a button, but I have tried and always open with the browser and not with the facebook app, someone can help me please, so I have it at this time. protected void onCreate(Bundle savedInstanceState...
asked by 10.05.2017 / 15:56
2
answers

How can I send a message via WhatsApp to a specific contact from another android application?

I am developing an application that sent a message to a specific WhatsApp contact from my app. I already tried this code. Uri mUri = Uri.parse("smsto:+999999999"); Intent mIntent = new Intent(Intent.ACTION_SENDTO, mUri); mIntent.setPackage(...
asked by 01.04.2016 / 00:59
3
answers

Back to parent activity

In manifest.xml I have the following: <activity android:name="ActividadA"> </activity> <activity android:name="ActividadB" android:parentActivityName="ActividadA"> </activity>...
asked by 24.10.2016 / 18:04
2
answers

Do not allow the user to return to the login once logged into the system

Well, I have an Android app where I have the following until now: The login screen and a "Welcome" screen, the point is that when the user manages to enter with the correct email and password, I take it with an Intent to the "Welcome" screen, bu...
asked by 29.10.2016 / 19:53
1
answer

Capture incoming call. Android

I have my application that uses the MediaPlayer class, I need that when a call comes in the sound is mute, but when the app goes to the background (when you press the home button for example) follow the playback of the audio. public static...
asked by 19.07.2016 / 01:13
2
answers

Android notifications

I have the following problem. I have an app that receives push notifications from firebase. So far excellent. When I receive the notification, what I do is create a notification in the following way: private fun sendNotification(messageBody...
asked by 15.02.2018 / 16:10
2
answers

Simulate ViewPager transition with fragments but in activities

Assuming we have two activities, A and B. I want that when you press an element (for example a button) of the activity A change to the activity B simulating the effect that has been implemented in the ViewPager when changing from one fragment...
asked by 24.10.2016 / 16:41
3
answers

How to go from an Activity "A" to an Activity "B" to select data and return to Activity "A" without the editText of Activity "A" being erased?

I have the need in an "Activity A" to call an "Activity B" to select data and send it to the "Activity A", but in the "Activity A" I have 10 edit text that when making those transitions with intents they are deleted, and I do not want to pass al...
asked by 20.06.2018 / 22:51
1
answer

Android does not get push notifications

When trying to receive notifications in Android the following error is generated:    Failed to solve target intent service, skipping classname enforcement   Error while delivering the message: ServiceIntent not found. I have check...
asked by 23.06.2016 / 19:46