Questions tagged [android-intent]
Questions regarding practical and advanced use of Intents, Intent Extras and Pending Intents to start an Activity, Service or to respond to a system or application event/notification via a BroadcastReceiver. (refer to info for basic familiarity)
android-intent
30,937
questions
0
votes
0
answers
8
views
Redirect issue of captive portal
Not able to redirect any intent URL to open any app(eg. playstore and appstore) from captive portal.
In captive portal if we give any intent urls as
window.location.href= intent:playstore-app-url
It ...
0
votes
0
answers
9
views
'intent.getParcelableExtra' type mismatch, deprecated in Java
I'm trying to make a simple apartment rental app for a school project, but I have two problems that have stumped me. Here is the code for the DetailActivity.kt file:
package com.example.project.ui....
0
votes
0
answers
18
views
Show an activity while the phone is lock in Android app
I am trying to show an activity when the app receives an specific message from a bluetooth device even if the phone is locked. I have already have the activity and the connection part and also it ...
0
votes
0
answers
21
views
Overriding feed of camera app with images that come from my app in the background. The solution should put scoped storage into consideration [closed]
I have an android app that is a camera app. This app allows me to select images from my gallery or capture an image using the device's camera.
I am running this app as a background service. What I aim ...
1
vote
0
answers
45
views
open Activity with the display off on wear os
I'm trying to implement the same behavior as the alarm clock app shown in the photo on wear OS.
I tried using NotificationCompat with setFullScreenIntent and wakelock but I can't open an activity to ...
0
votes
0
answers
19
views
intent:// URI not invoking component
I was trying to craft a correct "intent://" URI for following purpose:
Component: com.myapp/.ui.SignIn
Extra String: link
scheme: myapp://
To simply put, I want to translate following ...
0
votes
1
answer
31
views
Implicit Internal Intent vulnerability showing up when Android app is pre-Launch to the Playstore
Recently i creat new app from playstore console and also upload new bundle but playstore mention security and trust issues like Implicit Internal Intent vulnerability. this issues shows following ...
0
votes
0
answers
16
views
Android Settings panel not opening from my app
I'm trying to open the settings panel from my app but it is not doing anything, the device has Android 14 it's a Samsung A24.
I have another device which is the same model, where the code works. But I'...
0
votes
0
answers
17
views
(mgks/Android-SmartWebView) Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag
I am a total newbie and I have cloned a repo (WebView app) from https://github.com/mgks/Android-SmartWebView.git. to test my website but when i try to run, it gives an error "Calling ...
-1
votes
0
answers
10
views
multi Sms App, send from spreadsheet containing phone number and custom values ,customization of message succeed but message not sent
i'm trying to send multiple sms automaticaly .Messages should be customized based on values
from a spreadsheet. i have a function that does the work. but when sending intent to call the native message ...
0
votes
0
answers
12
views
Jetpack navigation and action Intents
I work with Health Connect. And this API require include to AndroidManifet androidx.health.ACTION_SHOW_PERMISSIONS_RATIONALE. I also use Jetpack Navigation and write deeplinks for application. The ...
1
vote
1
answer
34
views
Intent.createChooser doesn't show image or file name
I'm using the code below to allow a user to share an image with another app:
val intent: Intent = Intent().apply {
type = "image/jpeg"
if (uris.size == 1) {
action = Intent....
0
votes
0
answers
31
views
How to Play Video in External Player (like MXPlayer) in React Native?
I'm new to React Native and I'm looking to play a video in an external player (such as MXPlayer) on both Android. I've searched online but haven't found a clear solution.
In Android, this can ...
0
votes
1
answer
40
views
Embedding image attachments in HTML emails from android
I'm trying to send an email from Android with HTML content and image attachments. I also want to embed the images inside the HTML body.
The following works correctly:
ArrayList<Uri> ...
0
votes
0
answers
20
views
Sharing intent with data starts Activity twice
I'm implementing receiving data from other apps with the following approach (code simplified):
@AndroidEntryPoint
abstract class SharingActivity(
protected val sharingDeepLink: Uri
): ...