30,915 questions
-1
votes
0
answers
62
views
Samsung Dialer Issue: #31#+ Combination Not Working in ACTION_DIAL Intent
In our app we have one requirement that we have to hide the caller as I am working on a courier app.
It works fine on most devices, the dialer opens and shows the number with the +.
I'm opening the ...
-1
votes
2
answers
101
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
160
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
39
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
2
answers
64
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(...
1
vote
0
answers
154
views
Android custom intents: app/intent is loading, but without parameters
I'm attempting to add voice control to my Android (Flutter) application using Custom Intents. The documentation leads me to believe that I can say "Hey Google, open my app name and load xxx" ...
0
votes
1
answer
43
views
Android file attachment included in a SendIntent not being added to email in Gmail
I am trying to attach a file to an SendIntent for Gmail, so that my users can email the file file to me upon request. I am targeting Android 35
I have declared a FileContentProvider in the Application ...
0
votes
1
answer
62
views
How to properly create universal pattern links in AndroidManifest?
I'm working on deep linking in Android and trying to set up <intent-filter> to open my app for selected paths like /missions, /shop, etc. That's working fine. However, I'm having trouble ...
1
vote
1
answer
57
views
How to access Intent and onActivityResult on ReactNative?
We have an Android-based smartphone payment app, and there's a specific branch which runs on mobile POS (to use its card reader). So instead of writing the card reader handling logic from 0, we just ...
2
votes
0
answers
254
views
Android 16 not allowing full-screen intents on app
I have a foreground service that was working fine until Android 15; since Android 16, it has stopped working. I read through all the articles, but couldn't find anything that has been changed since ...
0
votes
0
answers
97
views
How to launch 1DM (idm.internet.download.manager) app from a flutter app and give it download data?
I would like to have my flutter app allow users to launch 1DM(IDM) with download data to download files.
I only found How to launch advanced download manager (ADM) app from a flutter app and give it ...
1
vote
1
answer
106
views
Android URI Relative Filter Group For Intent-Filter Not Working
My Setup
I am on an Android 15 device and I am targeting API 35, so the new UriRelativeFilterGroup feature should be working.
I have the following intent-filter for my Launcher Activity:
&...
0
votes
1
answer
31
views
Add to Intent.EXTRA_TEXT but only after choosing a target app in the intent chooser?
I'm creating an implicit intent to send a referral link. In the intent chooser, I want only the referral link to be visible (along with the target apps such as gmail) and not msgBody which should only ...
0
votes
1
answer
40
views
create share helper class in share images
Tried this code but didn't work out. popup is not getting visible using below code. So what could be the best way to show share popup and create reusable class.
import android.content.Context
import ...
-1
votes
1
answer
57
views
How to save data permanently when sending from one Android activity to another?
I am developing an Android app where I send data from one activity (MainActivity) to another (SecondActivity) using Intent extras. The data is displayed correctly when I open the second activity, but ...