Category "android-intent"

Share Button In Compose

How can I make a share button in compose, which will share a download link, I tried this but the result was different that I expected. Here is the code. Button

intent.resolveActivity returns null in API 30

Looking at intent.resolveActivity != null but launching the intent throws an ActivityNotFound exception I wrote opening a browser or an application with Deep li

Android - deep link - got null categories from intent

My app can be opened with deep link. When clicking a link in an email from the Outlook Android app, my app is opened. But, the Intent doesn't contain any catego

How to Pass a List of Objects from activity A to activity B in Kotlin?

I have 2 Activities, I want to pass an arraylist of an Object and show it on a ListView Activity A: btnGuardar.setOnClickListener{ i

Share Intent text using Kotlin on Android

I want to share text in my CardView using share Intent using kotlin but there is a problem with last line in the code in kotlin the code val shareIntent = I

How to Get Image Path in my App which is Selected from Whats app's Chat?

i have demo application with image view and in this image view i need to set image from which selected from whats app Chat, Currently i was getting Path of sele

Trying to pass a background color through intentPutExtra

I am trying to set the background color with intentPutExtra but it doesn't seem to change, this is my intent from the MainActivity: @Override publ

Share PDF using intent in android not working in Android 12

Am not able to share PDF using intent only in android 12 but its working fine below version. Am downloading file and taking file Uri from download folder. Downl

Howto getExtras from a local broadcast Intent in react-native

in my React-Native opened project, I want to receive the data (extra text) sent by another local service app named "scanservice" on its intent output (broadcast

Passing ArrayList of JsonObjects through intents [duplicate]

How do I pass ArrayList of JSONObjects from RecyclerView's viewholder to another activity through intents?

How i can get Uri from intent?

I did @Override public void onClick(View v) { switch (v.getId()){ //если выбрали

Android Studio mailto Intent doesn't show subject and mail body

I'm trying to send an e-mail from my Android App. With the click on a button, gmail should open and show a new email with my previously defined recipient, subje

show pdf file inside android app from server url without give the permission download that file

show PDF file inside the android app from the server URL without give permission to download that file. how it can do in the android app. I have tried using web

How to open and check whether Play Protect is enabled or disabled

minSdkVersion 18 targetSdkVersion 27 Using below code, I can able to open the Google Settings page. private static final String GOOGLE_SETTINGS_COMPO

Android: How to hide or close topmost activity?

In my app, I need to start the built-in camera application using the action INTENT_ACTION_STILL_IMAGE_CAMERA. The reason of this action is that in this case, I

Duplicate Classes to handle app flow (with explicit intents)

I have three different options in my app that allow the user through several of the same classes but at different times, ie 1) Sharing with friend: MainClass

intent.putExtra() in pending intent not working

I am passing a pending intent through alarmreceiver, from a service class. But, after the pendingIntent fires, the intent.putExtra() information is not being re

How to detect change in time each second in Android?

I am creating a custom watch face for android by following this tutorial. I have implemented broadcast receiver to detect change in time as follows: Inside my

Android - Already have a pending vsync event

I have three services. MorningNotification, DinnerNotification, EveningNotification And I have this code to init them: morning_notification = new Intent();

android remove data from getintent

I have an activity for handling deeplink which is a browsable activity suppose user clicks a link on another app and my browsable activity handles that intent