Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Doesn't navigate back to app when clicking back from PDF intent

Hello I am using the below code in Compose and can't seem to figure out why when I open a PDF, then click back it takes me to the home screen and not my app. Does anyone know if there's anything I'm ...
Howard's user avatar
  • 53
0 votes
0 answers
18 views

How to share both Pdf and text on whatsapp in single intent in android?

private void shareFileAndLinkViaIntent() { Set selectedDispatches = mRetailerHistoryAdapter.getSelectedDispatchItems(); Set selectedOtherItems = mRetailerHistoryAdapter.getSelectedOtherItems(); ...
Kalpesh Dhupia's user avatar
0 votes
0 answers
29 views

Android Studio SDK 34 get bitmap of full image from camera intent [duplicate]

I am trying to obtain the bitmap of the full size image resulting from an intent, with the following i only obtain de bitmap of the thumbnail. //------- START CAMERA -------------- public void ...
Ingolf Krauss's user avatar
0 votes
0 answers
15 views

Image Preview Not Showing in Android Sharesheet When Sharing via Intent.ACTION_SEND

I'm working on a function to share an image via Android's sharesheet using Intent.ACTION_SEND. The image is generated dynamically from a RelativeLayout and shared as a bitmap file. While the image is ...
Monjel Morshed Sabbir's user avatar
1 vote
0 answers
49 views

Android "onNewIntent" method not being called when a new Intent is invoked

I am trying to integrate Google Assistant into my basic Flutter app. However, when I run the built-in App Intent, OPEN_APP_FEATURE, consecutively, the app ‘refreshes’ and loses its state. My goal is ...
Todd Vermeir's user avatar
0 votes
0 answers
22 views

Android FullScreenIntent Restrictions: Behavior by Target SDK and Android Version

I’m trying to understand how FullScreenIntent (FSI) behavior changes based on Target SDK and Android version. FSI Behavior by Target SDK (official documentation): targetSdkVersion 33 or below: FSI is ...
임세현's user avatar
0 votes
1 answer
27 views

When I make the splash screen the main screen, the app does not open

I want to make a two-screen application. I want to switch from the first location notification screen to the main activity with a button but the application does not open. <?xml version="1.0&...
Taha Kara's user avatar
0 votes
3 answers
153 views

Firebase Cloud Message Notification Opens MainActivity Instead of Target NotificationActivity

I am trying to open NotificationActivity when a user taps on a notification created by Firebase Cloud Messaging (FCM). However, the app always launches the MainActivity instead of the desired ...
Aman's user avatar
  • 2,393
0 votes
0 answers
29 views

Highlighting bypass_dnd setting row in Android

I'm trying to highlight the Override Do not Distrub channel setting upon opening the intent. I have written the code according to this answer: private const val EXTRA_FRAGMENT_ARG_KEY = ":...
Bharel's user avatar
  • 26.8k
0 votes
0 answers
35 views

Intent to update all on google play store?

com.google.android.finsky.VIEW_MY_DOWNLOADS with Package as com.android.vending gets to the overview page. It was remarked on a reddit thread about 10 years ago that Extra "trigger_update_all:...
Tom Mercer's user avatar
1 vote
0 answers
26 views

Missing splashscreens when using getLaunchIntentForPackage

I am using getLaunchIntentForPackage to launch other apps from my app. val launchIntent: Intent? = context.packageManager.getLaunchIntentForPackage(id) context.startActivity(launchIntent) Everything ...
Stefan's user avatar
  • 11
0 votes
2 answers
89 views

How to Share an Image Using a Bitmap with Intent in Android Kotlin?

I'm working on an Android app in Kotlin, and I need to share an image generated as a Bitmap to other apps (like social media or messaging apps). I want to use an Intent for this, but I’m unsure of the ...
Lily Monta's user avatar
0 votes
0 answers
27 views

Problem opening a native app from a web app

I have encountered a problem in which im trying to open a native app from a the browser and sometimes it doesn't work. The web app is in react and what happens there is i make a request to a third-...
Avi Isakov's user avatar
0 votes
3 answers
130 views

How to Open a Chrome Custom Tab Intent in Android Using Kotlin?

I want to open a URL in a Chrome Custom Tab within my Android app (Kotlin). I’d like to have custom toolbar colors and potentially add an "open in browser" button. I’ve read that ...
Lily Monta's user avatar
0 votes
0 answers
29 views

Open URL Intent removes colons from URL Link

I am trying to implement a bluetooth printer functionality directly from browser. The app has an intent option that can be used to print from browser "bprint://" When I call the function ...
Gabriel G's user avatar
  • 121
1 vote
0 answers
35 views

Not able to do UPI payment using third party app

I am working on a project where I have a requirement to scan a UPI QR code and do the UPI payment by invoking UPI apps using Intent. Everything is working fine except I am not able to pay successfully,...
Amritesh Gupta's user avatar
0 votes
1 answer
26 views

Create a unskippable overlay in android

I want to create an unskippable screen that is forced to show to the user at a particular time or when the app desired too, under the acknowledgment of the user (it is an attempt to create a self-...
You May Know's user avatar
0 votes
0 answers
22 views

Not being able to receive intents from my Kotlin Application

I'm trying to make a music player app that can be controlled by intents from another app since youtube music is the default music player in most android phones and it does not listen to intents. I set ...
AhanR's user avatar
  • 31
3 votes
0 answers
18 views

Lost with MediaStore.ACTION_IMAGE_CAPTURE handling

I'm trying to get a full sized image from this action, to no avail. private void photoIntent() { Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); //intent.putExtra(...
Pierre Marzin's user avatar
0 votes
1 answer
49 views

.net Maui list zebra profiles

I created an Maui app. I need to list all the profiles on my zebra device. DOes anyone know to doit? Thanks So far, I tried this, but i don't get any results. The if instruction is always false public ...
Fernando Goncalves's user avatar
0 votes
0 answers
31 views

I can't share hyperlink on Android

I simply copied the following code to my Android app: String textToShare = "Visit <a href=\"http://www.google.com\">google</a> for more info."; Intent intent = new ...
Dmitriano's user avatar
  • 1,998
0 votes
1 answer
38 views

android.intent.action.SET_ALARM is not working currently

import IntentLauncher, { IntentConstant } from 'react-native-intent-launcher'; export const SetAlarm = (Hour, Minute) => { const now = new Date() let currentHour = now.getHours() let ...
skywalker's user avatar
0 votes
1 answer
160 views

Using Intent to access files(e.g. images, mp3...) in Android Studio

I am new and learning Android Studio. Currently, I want to use intent to get access to images and audio files in my android devices. Here is my original code (actually copying from old books) public ...
Lo Dennis's user avatar
0 votes
1 answer
52 views

Open a recent PDF created in Android

I'm using Android Studio to make a simple app to create some PDF files to store some data. I wanto just to make an intent for the generated PDF auto opens for the user. Here's just the canvas drawing ...
Leonardo Miguel's user avatar
0 votes
2 answers
49 views

How to Fix startActivityForResult() is Deprecated In Android In Kotlin

I am Working on a Android App in Kotlin there is payment functionality which is in a main ui thread in a activity but i want to create a separate activity for payment and use coroutines for handling ...
Hariom Harsh's user avatar
0 votes
0 answers
95 views

Enabling "detectUnsafeIntentLaunch" in strictMode throws warning even for Implicit Intent with setPackage

I have enabled detectUnsafeIntentLaunch in strict mode to test for change while targeting for android SDK 35 in my SDK. I have the following code where I send a broadcast and it is caught within the ...
amIT's user avatar
  • 684
1 vote
1 answer
49 views

Is there any way to get name of intent flag in Android?

I wondered if Android has a way to get the name of an intent flag. For instance I get flag value by method intent.flags but these are just int value. I found that 524288 is const value of ...
Thái Quốc Toàn's user avatar
0 votes
0 answers
59 views

Android device opens Play Store instead of calendar app on intent url

I'm dispatching an intent url for android devices using python. This is the relevant code: description = ( u"Nom de l'établissement: {}\n" u"Identifiant Etablissement: {}...
TikuBadmash's user avatar
2 votes
0 answers
82 views

Activity doesn't start when Intent (into ViewHolder) is called

I'm trying to learn kotlin and I'm following a tutorial for a notes app. At 1:06:19 (testing the app) my code doesn't open the "Update" view when I click the updateButton. I added a Toastto ...
genespos's user avatar
  • 3,301
0 votes
1 answer
38 views

how to pass List<String> to putExtra

I'm making a music player in Kotlin, I translated java code from the Internet to Kotlin, but I can't pass List to putExtra, could you tell me how and where to beat it so that everything is calmly ...
ADES GAMES's user avatar
0 votes
0 answers
21 views

Browser App Not Always Recognizing URI Intent on Android

I have a function that checks if there is a browser app capable of executing a given action with a URI and performs that action. (This is necessary because specific actions are required if no browser ...
choi's user avatar
  • 1
0 votes
1 answer
62 views

Start NFC reader by discover emulated NFC tag

I want to create a solution that by detecting an emulated NFC tag will start running a reader application on an android phone. I have found the unequivocal answer that in Android this is not possible. ...
pawchi's user avatar
  • 143
0 votes
0 answers
26 views

Android Redirection Intent Not Working For Firefox in Angular

I'm trying to use an intent in an Angular Application, and It works just fine for Chrome, but when It tries to run on Firefox, everything breaks, there's not even a log about it. What am I missing? ...
rafaelpadu's user avatar
  • 1,632
0 votes
0 answers
11 views

Accept folders intent (android)

I'm trying to make my app accept folders as in the "open with" but for folders. Is this possible? Trying with file:// is How can I add my app to the "open with" but for folders
Abu Mmoja's user avatar
0 votes
1 answer
79 views

When marking main activity as `singleTask`, it will destroy other activities when launched from the launcher

When marking the main activity as singleTask, it will destroy other activities when launched from the Launcher. But when launched from Recents, it will just resume the latest opened activity. Why does ...
Tafel's user avatar
  • 1,179
0 votes
1 answer
61 views

Is there a way to share plain text to another app without the user having to choose that other app

I am trying to allow my app to share some plain text to another app called 'macrodroid'. As the destination app is always the same I don't want my users to have to manually select the app every single ...
Para1life's user avatar
0 votes
0 answers
42 views

Android Studio Widget Button stops working after some time

I am developing an app with Kotlin in Android Studio which has a simple widget with two text views and a button. Every time the button is pressed, it fetches some data from a URL and updates the text ...
Baneina's user avatar
0 votes
0 answers
22 views

Why can my app open websites when the app is open, but not when it is closed. Even though it always opens the website via a foreground service?

In my application users are able to have a service running in the background that after a certain amount of time opens a website for them. But when you close the app and the timer runs out the website ...
Para1life's user avatar
1 vote
1 answer
50 views

How to open only an overlay Activity on sharing, bypassing the MainActivity, like Google Keep? [closed]

I'm trying to implement functionality similar to Google Keep's sharing behavior. When sharing content (like text) from another app and selecting Google Keep from the share menu, the app doesn't open ...
Jun's user avatar
  • 33
0 votes
0 answers
44 views

like google keep share, in flutter implement like this

I’d like to implement a feature in Flutter where, when I’m using a news app and click the share button, several apps show up, and when I select my app, an intent is triggered. However, I want to ...
Jun's user avatar
  • 33
0 votes
1 answer
39 views

discord.js MessageTyping errer

I was making a discord bot with discord.js, but when I use MessageTyping Intent, I get an error. Errer: /home/container/node_modules/discord.js/src/util/BitField.js:174 throw new DiscordjsRangeError(...
hg y 's user avatar
0 votes
1 answer
45 views

(Android) Calling activity from service using startActivity(intent) gets called for the first time, but fails to run second time

I have an activity which i call from service, I am using startActivity(intent) to achieve it, it works fine when i am triggering it for the first time, the activity gets launched properly. But if I ...
Vishwa Mehta's user avatar
1 vote
1 answer
58 views

Encoding issue when previewing CSV file on Android Google Sheets application

I am currently developing a new feature in my Android application that allows users to export their data as a CSV file. The export process is managed on the backend. On app side, we download the ...
YMonnier's user avatar
  • 1,429
2 votes
2 answers
414 views

How to directly open "Display over other apps" settings for my app without showing the list of apps?

I'm trying to open the "Display over other apps" permission settings directly for my app using the following code: val intent = Intent( Settings.ACTION_MANAGE_OVERLAY_PERMISSION, Uri....
Rushi's user avatar
  • 21
1 vote
0 answers
39 views

Why when killing an app quickly, onStop and onPause are not called?

I want to schedule with WorkManager, and when I put the app into background, it will be scheduled, but if I kill the app too quickly, onStop and onPause will not be called, so it will not be possible ...
Đức Nguyễn Văn's user avatar
0 votes
0 answers
97 views

PendingIntent with sdk 34

I have this function that shows a hint with phone number: private void requestHint() { HintRequest hintRequest = new HintRequest.Builder() .setPhoneNumberIdentifierSupported(...
Momo's user avatar
  • 11
0 votes
1 answer
292 views

Full-Screen Intent not opening on Android 14

I'm building an alarm app for Android and I'm trying to launch a full-screen intent from a notification when the alarm rings while the phone is locked (as the documentation suggests). It works without ...
Toxillo's user avatar
  • 60
0 votes
1 answer
30 views

How to Save URI returned from ACTION_CREATE_DOCUMENT and Use In Different Activity/Fragment

How do I save the URI returned from Intent.ACTION_CREATE_DOCUMENT and then use this URI to be used in a different Activity or Fragment? Since startActivityForResult is deprecated, I'm incredibly lost. ...
Whitt's user avatar
  • 57
0 votes
1 answer
30 views

How to create an Android Intent to the AMAP application with multiple waypoints?

How to create an Android Intent to open the AMAP application with multiple waypoints? I tried this URI // Create the URI for the Intent String uri = "amapuri://route/plan/?dlat=destination_lat&...
Leonardo Campanha's user avatar
0 votes
0 answers
27 views

Android Intent Mistake Behaviour

I have a problem related to intent. I write intent in splashscreen by receiving value from other application. I have created a log for checking, whether the value has entered the correct function. and ...
elpafras driko's user avatar

1
2 3 4 5
619