All Questions
Tagged with intent or android-intent
30,899 questions
0
votes
1
answer
63
views
Android 15/16: returning from browser (deeplink) causes mixed DayNight theme in fragments (new fragments use system dark, old fragments stay light)
I have an Android app using AppCompat DayNight (Theme.MaterialComponents.DayNight.NoActionBar).
Goal
First run: app should follow OS theme (optional).
After user manually selects Light or Dark, the ...
2
votes
1
answer
267
views
Android App Actions OPEN_APP_FEATURE BII not triggering with Gemini Assistant (ADB deep link works)
I am migrating my Android app from deprecated custom intents to the Built-In Intent (BII) actions.intent.OPEN_APP_FEATURE to support Google Assistant and Gemini.
I have configured shortcuts.xml with ...
1
vote
1
answer
72
views
Adding destinations to the Android sharesheet
In Android, there is the system sharesheet. I can see that some apps (WhatsApp, Telegram) insert destinations for specific people into it. When an app opens the shareseet, I can see a couple of ...
1
vote
0
answers
79
views
How to make floating window service stay on top of eveything including intent in Android Kotlin?
I am writing an app that supposed to work with AppInfo intent for running apps. When you click on a button, floating window should display covering everything underneath it until my app is done with ...
-1
votes
1
answer
72
views
Android Intent.ACTION_SEND_MULTIPLE: Is it possible to set separate captions for each image URI?
I am developing an automation feature for an Android app where I need to share multiple images to WhatsApp (and other apps) using Intent.ACTION_SEND_MULTIPLE.
The Goal:
I want to share a batch of ...
2
votes
1
answer
344
views
Samsung Calendar : empty event when opened with ACTION_VIEW intent
To open an existing event from its ID, I use an Intent to open the phone's default calendar app.
Since November 2025, I have had many users with Samsung devices who have encountered an issue with ...
1
vote
1
answer
243
views
Auto-paste text into ChatGPT/Gemini from Android app [closed]
I'm developing a React Native app that generates AI prompts. I want to send these prompts directly to ChatGPT or Google Gemini apps with the text automatically pasted into their input field, not just ...
0
votes
1
answer
73
views
Accessiblity not clicking on "Force stop" at all
I can verify that onAccessibilityEvent and onServiceConnected functions are triggered, but nothing expected happens.
Here is my AndroidManifest.XML
<?xml version="1.0" encoding="utf-...
0
votes
1
answer
57
views
Android: Why is onNewIntent() not called from Notification click while using singelInstance launchMode
I have an Android app where I want to show a notification when the app is running in the background.
The associated Activity is declared in the manifest with:
<activity
android:name="....
Advice
1
vote
0
replies
90
views
Can you close programatically an open Chrome Custom Tab Intent?
I have implemented an authentication workflow using Activities which works fine: a proxy activity launches an Intent to open a web, and during the authentication the web redirects to a separate ...
0
votes
0
answers
36
views
Chrome Android reuses Intent.EXTRA_TEXT across multiple share actions
Problem
I'm building an Android app that receives shared URLs from Chrome's share menu. The app works correctly on the first share, but all subsequent shares receive the same URL from the first share ...
-1
votes
2
answers
131
views
How to check if a BroadcastReceiver exists in another app?
I'm trying to send a broadcast to a BroadcastReceiver which is present in another app, using the following code:
val filter = IntentFilter()
filter.addAction("android.intent.action.MAIN")
...
3
votes
2
answers
167
views
Why does intent.getStringExtra() return null when broadcast is sent using "am" shell command?
I have an app that runs as UID 1000 (system), and I want to run shell commands as the system user via this app and display the output as a toast.
CmdReceiver.java:
package com.ishacker.android....
0
votes
0
answers
47
views
Android Activity Back Stack issue with launchMode="singleTask" and CallRedirectionService
I'm developing a React Native app with an Android-specific feature that detects calls to a specific customer service number. When a user dials *611, the call is intercepted, terminated, and the app ...
0
votes
1
answer
84
views
onCreate is called twice with FLAG_ACTIVITY_NEW_TASK or FLAG_ACTIVITY_CLEAR_TASK
I've noticed that there are 2 times when startActivity with intent for the same Activity (FirstActivity) is called in my Android project, and it's called in both places like that:
FirstActivity.intent(...