Android Enthusiasts
Q&A for enthusiasts and power users of the Android operating system
Latest Questions
2
votes
0
answers
210
views
How to make YouTube URLs open in YouTube app rather than Brave browser?
I have an Android 15 device (Pixel 6) with the Gmail app. My default browser is Brave, and I do not want to change it to Chrome. I received an email with a link to a YouTube video https://www.youtube.com/watch?v=UkP4JF5X6Fc&t=1s. When I click the link, it opened up Brave to https://m.youtube.com/wat...
I have an Android 15 device (Pixel 6) with the Gmail app.
My default browser is Brave, and I do not want to change it to Chrome.
I received an email with a link to a YouTube video https://www.youtube.com/watch?v=UkP4JF5X6Fc&t=1s .
When I click the link, it opened up Brave to https://m.youtube.com/watch?v=UkP4JF5X6Fc&t=1s (on the "m" subdomain).
Why didn't it open the YouTube app directly?
1. How can I fix that behavior?
Android > Settings > YouTube > Open by default > "In the app" is already enabled.
Even worse, when visiting a video at https://m.youtube.com/watch?v=UkP4JF5X6Fc&t=1s on my Pixel 6, when I clicked the "open app" button on the page, it said "this site can't be reached" and has "intent:" in the url.
2. How can I fix this intent problem?
https://android.stackexchange.com/questions/244621/how-to-make-youtube-urls-open-in-youtube-app-rather-than-browser-updated-for-2 no longer works for me.
I don't see a menu for Brave > Settings > Site settings > Media > “Video playback in Brave”

Ryan
(623 rep)
Jan 8, 2025, 02:12 AM
0
votes
1
answers
1866
views
Understanding why an app-supported link opens in the browser first
This is primarily an attempt at understanding what's going on (and whose fault the shitty UX is 😉). I don't think there's anything I can do to fix it and that's fine, I'm okay with that. ### The situation I have a subscription to the New York Times. I have their app installed, and I'm subscr...
This is primarily an attempt at understanding what's going on (and whose fault the shitty UX is 😉). I don't think there's anything I can do to fix it and that's fine, I'm okay with that.
### The situation
I have a subscription to the New York Times. I have their app installed, and I'm subscribed to their email newsletter. When I open one of these emails, they contain a link to the article at the end, which looks like
https://nl.nytimes.com/f/newsletter/[id]
. This obviously contains an article reference, as well as probably some tracking code for my subscription.
When I click that link in Gmail...
### What I would love to happen is:
Android's app selector dialog pops up and asks me whether I'd like to open this in the NYT app, or one of my browsers.
The app is fine, but sometimes I might want to have it in the browser instead for various reasons.
### What I would expect to happen is:
That it just jumps directly to the NYT app.
Not my prefered solution, but I think my use case is bit unusual and just going to the app is probably what most users would expect after installing the app.
### What actually happens:
Android's app selector dialog pops up and asks me to select one of my browsers (but _not_ the NYT app!). After selecting one, the browser pops up for a split second, then makes way for the NYT app.
### What... the hell!?
That makes no sense, is a bad experience and provides no benefits!
Whose fault is this? Does the app not register the correct URL intent? If so, any theories as to why they didn't?
Or is this a flaw in Android's intent system and the app did the best it could?
Or do the browsers do anything they're not supposed to? (I have Chrome and Flynx installed, btw. With intentionally none of them selected as a 'default' -- I want to get the selector modal each time.)
hheimbuerger
(611 rep)
Sep 27, 2020, 04:33 AM
• Last activity: Dec 5, 2024, 02:40 PM
3
votes
0
answers
360
views
How to create a shortcut to open a folder inside Android/data?
So I have a path that is barely accessible by normal apps: `/sdcard/Android/data/com.zoiper.android.app/files/CallRecordings` Only the built-in Files app/UI can open it, and Total Commander can launch that pre-opened to this path. I'm trying to replicate that (Intent? Action?) and place a shortcut o...
So I have a path that is barely accessible by normal apps:
/sdcard/Android/data/com.zoiper.android.app/files/CallRecordings
Only the built-in Files app/UI can open it, and Total Commander can launch that pre-opened to this path. I'm trying to replicate that (Intent? Action?) and place a shortcut on my home screen that opens a UI to the contents of that folder (so I can move my call recordings to a normal place in the file system that gets synced to the cloud by other apps).
I don't know which intent/action can open that path. This page says that most of the normal ones (ACTION_OPEN_DOCUMENT_TREE
, ACTION_OPEN_DOCUMENT
) have restrictions against opening "The Android/data/ directory and all subdirectories."
I'm using the Shortcut Maker app so I don't need to write any code.
I go to Activities -> Files, and there is com.android.documentsui.ScopedAccessActivity
which sounded promising.
Trying to figure out the exact intent/activity to use, and how to give it the path, and what the path should be in the Content URI scheme.
Something like this?
content://com.android.externalstorage.documents/tree/primary%3AAndroid%2Fdata
I know it's doable since Total Commander can perform it, if it's possible to listen/log what went on in the system while TC opened the Files app, and I could inspect that info and replicate it as a shortcut it would be perfect.
Android 14, Samsung S24U
Firsh - justifiedgrid.com
(131 rep)
May 26, 2024, 06:59 PM
• Last activity: May 29, 2024, 10:02 AM
1
votes
0
answers
230
views
How to put any app in a resizable (freeform, pop-up) window when it starts, from MacroDroid automation macro?
I want to find how to do the question title. - Any app (and Android launcher apps, to view my home screen shortcuts, on top of all apps). - MacroDroid can send activity intent commands to Android. I want to put an app in a resizable (freeform, pop-up) window *when a device action starts it*, in that...
I want to find how to do the question title.
- Any app (and Android launcher apps, to view my home screen shortcuts, on top of all apps).
- MacroDroid can send activity intent commands to Android.
I want to put an app in a resizable (freeform, pop-up) window *when a device action starts it*, in that automation app macro.
*Thank you for anything to help.*
----------
***I can use Taskbar .***
Edward J
(51 rep)
Mar 19, 2024, 04:33 AM
• Last activity: Mar 30, 2024, 07:08 PM
2
votes
0
answers
144
views
What package/app is actually running when doing dialer codes
I am currently trying to figure out another way to access my Samsung Galaxy S21 Ultra's Secret Menus accessed via the dialer codes. My phone cannot open almost all of the dialer code, probably due to restrictions. I figured out how to open the Phone info(The one with the preferred network Setting) m...
I am currently trying to figure out another way to access my Samsung Galaxy S21 Ultra's Secret Menus accessed via the dialer codes. My phone cannot open almost all of the dialer code, probably due to restrictions. I figured out how to open the Phone info(The one with the preferred network Setting) menu via an intent, but I'm now trying to look for the other ones like
4636
and 9090
I then realized I just need to know the package and the class and that stuff to open it. The question is, what are the packages.
I'm basically looking for what package is opening all of these secret menus, and how to execute the dialer codes through that package via intents, or if there is another way to open these secret menus without the dialer.
Please know that I don't actually code intents and use something like automate or Macrodroid to run intents. I am on a un-rooted device, and have no way to access adb. Basically what I'm doing is trying to configure stuff with 4g/5g while just seeing all the menus and what they offer.
Any help would be greatly appreciated!
LilData777
(161 rep)
Feb 9, 2024, 02:26 AM
• Last activity: Feb 9, 2024, 02:00 PM
2
votes
0
answers
166
views
Permissions: How to deny an app Intent.ACTION_GET_CONTENT
As the admin of my android device, I'd like to configure the device to return a permission denied error to all apps that request `Intent.ACTION_GET_CONTENT` by default, unless I explicitly give it permission to make that call. I had an issue where an app made an [Intent.ACTION_GET_CONTENT](https://d...
As the admin of my android device, I'd like to configure the device to return a permission denied error to all apps that request
Intent.ACTION_GET_CONTENT
by default, unless I explicitly give it permission to make that call.
I had an issue where an app made an [Intent.ACTION_GET_CONTENT](https://developer.android.com/reference/android/content/Intent#ACTION_GET_CONTENT) call recently, which popped-up my picture gallery. I was attempting to do the "go back" gesture, but--by mistake--I tapped on one of the images. The result? **A very sensitive photo got uploaded to the public Internet**. It was a photo that I *really* didn't want anyone to see..
Unfortunately, user-errors happens. Until the day I die, I'm sure that I will continue to make input/gesture mis-taps. What I need is better protection from this at a permissions-level.
I checked the app's permissions, but it has none. It can't, for example, access my phone's storage.
What I want to do is further lock-down the apps on my phone such that apps are immediately returned some Permission Denied
error when trying to initiate an Intent
for which they haven't been added to the allowlist for that intent.
How can I deny an app permission to initiate Intent.ACTION_GET_CONTENT
?
Michael Altfield
(526 rep)
Feb 8, 2024, 04:57 PM
• Last activity: Feb 8, 2024, 05:08 PM
0
votes
1
answers
202
views
Can't share from any apps, no links or files (action.CHOOSER ActivityNotFoundException)
On Android 14 GrapheneOS, I am unable to share images or links in multiple applications (such as Mull, Aves Gallery, YouTube, NewPipe, Twitter, and many others). Some apps crash, others do nothing when you press "more" to show more apps, and others say "Cannot open this link" or "No app on your devi...
On Android 14 GrapheneOS, I am unable to share images or links in multiple applications (such as Mull, Aves Gallery, YouTube, NewPipe, Twitter, and many others). Some apps crash, others do nothing when you press "more" to show more apps, and others say "Cannot open this link" or "No app on your device can open this link"
When I go to logcat or see the crash log when offered, every application shows this error
E AndroidRuntime: android.content.ActivityNotFoundException: No Activity found to handle intent { act=android.intent.action.CHOOSER (has extras) }
I have no idea what is causing this issue, since it only started happening very recently. It's possible that in my clouded judgement, I messed with some app permissions to prevent an app from updating itself, but my attempts to revert the permissions had been fruitless and I don't know if it could have been anything else. Any help would be appreciated.
I tried looking online, and every answer assumes the problem is on the application's end and that you are the developer. I couldn't find anything here or Super User, only Stack Overflow.
PatoPan
(23 rep)
Oct 23, 2023, 04:46 PM
• Last activity: Nov 12, 2023, 07:32 AM
0
votes
1
answers
499
views
Android OPEN_DOCUMENT activities failing on OnePlus 8T (KB2005)
I have OnePlus 8T (KB2005), OxygenOS 13.1.0.581 (KB2005_13.1.0.581 (EX01)). Rooted with Magisk (26300), Zygisk enabled. When an app attempts to bring up a file opening dialogue, it either crashes or fails for some reason. For instance, I can't attach files in the Gmail app or open a ROM in My Boy!,...
I have OnePlus 8T (KB2005), OxygenOS 13.1.0.581 (KB2005_13.1.0.581 (EX01)). Rooted with Magisk (26300), Zygisk enabled.
When an app attempts to bring up a file opening dialogue, it either crashes or fails for some reason. For instance, I can't attach files in the Gmail app or open a ROM in My Boy!, and this issue seems to occur with all apps.
The problem appears to be related to handling [
ACTION_OPEN_DOCUMENT_TREE
](https://developer.android.com/reference/android/content/Intent.html#ACTION_OPEN_DOCUMENT_TREE) and also ACTION_OPEN_DOCUMENT
.
Here's an example of the exact error taken from logcat:
notifyUnstableAppInfo: Bundle[{unstableTime=1697596562427, reason=crash, userId=0, exceptionMsg=No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT cat=[android.intent.category.OPENABLE] typ=*/* (has extras) }, exceptionClass=android.content.ActivityNotFoundException, app_channel_type=unstable, packageName=com.fastemulator.gba, unstable_restrict_switch=true}]
This seems to suggest that none of the apps I have support this particular activity, even though I have around five different file managers, including the 'default' Google one. Therefore, at least one of them should have worked.
I'm not sure if this issue is related to rooting, which I did using Magisk. I couldn't find anyone else online with this specific problem. I'm hoping that someone might be able to shed some light on what might be happening here or help me investigate it further.
Link to XDA thread: https://xdaforums.com/t/android-file-folder-activities-failing-on-kb2005.4636820/
1419636215
(51 rep)
Oct 22, 2023, 01:42 AM
• Last activity: Oct 25, 2023, 06:07 PM
1
votes
0
answers
505
views
Record manual actions and convert them to adb shell am start intents/actions?
## Question Is it possible to record phone inputs and the accompanying intents/actions that are executed within an app, and to reproduce them automatically with adb shell? ## Context I was looking into the output of the: ``` adb shell "dumpsys package | grep -i 'org.torproject.android'" ``` Command,...
## Question
Is it possible to record phone inputs and the accompanying intents/actions that are executed within an app, and to reproduce them automatically with adb shell?
## Context
I was looking into the output of the:
adb shell "dumpsys package | grep -i 'org.torproject.android'"
Command, which is:
9a8407 org.torproject.android/.OrbotMainActivity
org.torproject.android.REQUEST_V3_ONION_SERVICE:
9a8407 org.torproject.android/.OrbotMainActivity
9a8407 org.torproject.android/.OrbotMainActivity
da9ed3a org.torproject.android/.core.OnBootReceiver
org.torproject.android.intent.action.START:
9f74748 org.torproject.android/.service.StartTorReceiver
da9ed3a org.torproject.android/.core.OnBootReceiver
da9ed3a org.torproject.android/.core.OnBootReceiver
da9ed3a org.torproject.android/.core.OnBootReceiver
da9ed3a org.torproject.android/.core.OnBootReceiver
90dcf08 org.torproject.android/.service.OrbotService
org.torproject.android/.ui.v3onionservice.OnionServiceContentProvider:
Provider{8d5ddf org.torproject.android/.ui.v3onionservice.OnionServiceContentProvider}
org.torproject.android/.ui.v3onionservice.clientauth.ClientAuthContentProvider:
Provider{8dce92e org.torproject.android/.ui.v3onionservice.clientauth.ClientAuthContentProvider}
applicationInfo=ApplicationInfo{11b6e8d org.torproject.android}
applicationInfo=ApplicationInfo{11b6e8d org.torproject.android}
[org.torproject.android]
Package [org.torproject.android] (650fe6a):
pkg=Package{dfccf5b org.torproject.android}
codePath=/data/app/org.torproject.android-SQmMOFFMA1-foIkNqQbMDQ==
resourcePath=/data/app/org.torproject.android-SQmMOFFMA1-foIkNqQbMDQ==
legacyNativeLibraryDir=/data/app/org.torproject.android-SQmMOFFMA1-foIkNqQbMDQ==/lib
applicationInfo=ApplicationInfo{11b6e8d org.torproject.android}
dataDir=/data/user/0/org.torproject.android
org.torproject.android/.service.OrbotService: android.permission.BIND_VPN_SERVICE
[org.torproject.android]
path: /data/app/org.torproject.android-SQmMOFFMA1-foIkNqQbMDQ==/base.apk
[org.torproject.android]
And I was analysing that to try to find the right command to start an app and press a button inside that app with:
adb shell am start -a org.torproject.android.intent.action.START -n org.torproject.android/.service.OrbotService
Which returned error:
> Starting: Intent { act=org.torproject.android.intent.action.START cmp=org.torproject.android/.service.OrbotService }
> Error type 3
> Error: Activity class {org.torproject.android/org.torproject.android.service.OrbotService} does not exist.
I assume the syntax is almost correct based on analogue commands in other sources, but that a lack of understanding leads to incorrect commands.
Based on the syntax overlap between the am start
command, and the dumpsys
command, I would expect the adb shell am start
commands can be generated automatically based on a set of intents/actions. I assume it is possible to record the intents/actions that are generated by a user by means of input. Such an automation would save quite some time learning how these intents are specified per app. Hence the question.
The closest I got so far was:
adb logcat | fgrep -i intent
However, I was not yet able to parse the logs and retrieve the relevant intents from there.
a.t.
(399 rep)
Jan 5, 2023, 01:39 PM
• Last activity: Jan 5, 2023, 02:04 PM
2
votes
1
answers
180
views
How to capture intent on stock launcher shortcut without root
My device is running MIUI on top of Android 12. I'm using the dual apps feature baked into the rom and there are two shortcut for each of the apps (main and dual apps). [![screenshot showing the two shortcuts][1]][1] When I'm using stock launcher, the shortcut works as intended, where main WhatsApp...
My device is running MIUI on top of Android 12. I'm using the dual apps feature baked into the rom and there are two shortcut for each of the apps (main and dual apps).
When I'm using stock launcher, the shortcut works as intended, where main WhatsApp shortcut (without the yellow icon in the bottom-left) launches the main WhatsApp and vice versa. However, when using third-party launcher, both of those shortcuts have the same behaviour:
without clear way of choosing a default.
I have searched the dual apps setting in my rom to no avail.
I tried to create a shortcut with Shortcut Maker, using this setting
that shortcut can launch the main WhatsApp without throwing a prompt so I'm guessing there is a way to specify which WhatsApp I want to launch using the settings provided in the Shortcut Maker.
What I'm asking is a way to capture or know the setting of the shortcut in stock launcher that directly launches the dual WhatsApp so I can implement that in Shortcut Maker.



ConfusedButterfly
(31 rep)
Oct 23, 2022, 04:58 AM
• Last activity: Oct 23, 2022, 09:44 AM
0
votes
0
answers
558
views
How to use file picker from command line
I would like to launch a file picker from a script to graphically select file. While I am able to launch a file picker by sending intent ```sh am start -a android.intent.action.OPEN_DOCUMENT -d /storage/emulated/0 -t '*/*' ``` I can't see any way to get selection back to script. The command returns...
I would like to launch a file picker from a script to graphically select file. While I am able to launch a file picker by sending intent
am start -a android.intent.action.OPEN_DOCUMENT -d /storage/emulated/0 -t '*/*'
I can't see any way to get selection back to script. The command returns immediately and after file is chosen the dialog is simply closed.
Real Tadpole
(1 rep)
Sep 11, 2022, 12:47 AM
• Last activity: Sep 11, 2022, 12:51 AM
0
votes
0
answers
1454
views
Way to switch between users via shortcut/intent/activity?
I have a device with MIUI 13, that removed (hid) the Android stock multi-user feature that I need. I recalled the activity to show the multi-user feature in settings via shortcut maker (adding accounts works normally), but unfortunately, the lock screen UI doesn't show the switch user shortcuts. So,...
I have a device with MIUI 13, that removed (hid) the Android stock multi-user feature that I need.
I recalled the activity to show the multi-user feature in settings via shortcut maker (adding accounts works normally), but unfortunately, the lock screen UI doesn't show the switch user shortcuts. So, the only way to switch is to enter in multi-user menu and choose one, but with a PIN-protected device, it's not applicable.
Then I need a way to "programmatically" switch to a user with an intent/activity (sorry, I never developed on Android, some concept is not too clear at this time), exactly how to the Android stock lock screen UI does. Having a way to do that in this way, I can place a quick setting tile to achieve my target.
Someone can push me in the right way?
ExTrEmE
(1 rep)
Jul 26, 2022, 12:48 PM
• Last activity: Jul 27, 2022, 02:43 AM
5
votes
2
answers
787
views
How to open a specific page in OneNote app on Android via adb?
I'd like to make use of an Android tablet to write on OneNote pages that I'm actively viewing in a Windows computer. From the Windows computer, I get two links when I right click on a page and select "Copy link to page". These links look like the following: ``` https://onedrive.live.com/view.aspx?re...
I'd like to make use of an Android tablet to write on OneNote pages that I'm actively viewing in a Windows computer. From the Windows computer, I get two links when I right click on a page and select "Copy link to page". These links look like the following:
PS: in OneNote, things are organized as Notebook/Section/Page/Subpage. In the screenshot above, the Notebook is "Paperless", and I have masked out the name for the section and page.
-----
**Update2**: for the full page-specific URL to work, we actually need to escape the
https://onedrive.live.com/view.aspx?resid= ...
onenote:https://d.docs.live.net/ ...
The second link that starts with onenote:https://d ...
is useful when I want to jump to the page on another Windows computer - I can feed it to the Run window, and the OneNote app will display the page I need it to go to.
----
**Question**: with **adb**, can I achieve a similar operation by feeding the second link to the Android tablet, through some "intent"? I know very little about Java and have no idea how to make use of these related posts . Mainly, I'm looking for a long adb
command with appropriate flags that may take, likely, the second link as input and have the Android tablet open the page by responding to some intent.
Eventually, with the long adb
command, I see myself wrapping it in a bash function, and calling it by feeding in the full link that starts with onenote:https://d ...
.
----
**Update1**: thanks to user M. A.'s answer , I can send the onenote:https://d.docs.live.net/...
link to the Android tablet - However, OneNote APK seems to only comprehend up to the section name in the onenote:...
link despite the whole thing consists of page-specific pointers.
Here is a demo where I fed in a **full link** pointing to a page, which was sent as an intent to only go to the relevant **section**.

&
signs in §ion-id
, &page-id
and &end
.
llinfeng
(197 rep)
Jun 30, 2022, 02:21 AM
• Last activity: Jul 10, 2022, 12:23 AM
3
votes
1
answers
1889
views
Simulate powerbutton
I want to use terminal task to to turn the screen off using tasker. I have tried a code like this, and some variants, without success. am start --user 0 -a android.intent.extra.KEY_EVENT --es KEYCODE_POWER ACTION_DOWN I have also tinkered with  android.intent.action.SCREEN_OFF  but with ev...
I want to use terminal task to to turn the screen off using tasker. I have tried a code like this, and some variants, without success.
am start --user 0 -a android.intent.extra.KEY_EVENT --es KEYCODE_POWER ACTION_DOWN
I have also tinkered with
android.intent.action.SCREEN_OFF
but with even less success.
Any ideas as how how I can get this to work? Either with terminal emulator or tasker *send intent* task?
Note: Not rooted, som shell task in will not work.
And System Lock doesn't work well with finger print reader
Snorre Rubin
(61 rep)
Apr 10, 2017, 05:21 PM
• Last activity: Dec 10, 2021, 02:07 PM
3
votes
2
answers
4697
views
How can I emulate pressing another application's Quick Settings tile?
I'd like to programatically press another application's Quick Settings Tile, e.g. from the shell or Tasker. --- In this particular case, I'd like to press ProtonVPN's tile in order to automate connecting and disconnecting. After tearing apart the app, I found that I could reliably disconnect the VPN...
I'd like to programatically press another application's Quick Settings Tile, e.g. from the shell or Tasker.
---
In this particular case, I'd like to press ProtonVPN's tile in order to automate connecting and disconnecting.
After tearing apart the app, I found that I could reliably disconnect the VPN with:
`
su root -c am start-foreground-service -n com.protonvpn.android/org.strongswan.android.logic.CharonVpnService -a android.net.VpnService.DISCONNECT
`
I can sometimes connect with:
`
su root -c am start-foreground-service -n com.protonvpn.android/org.strongswan.android.logic.CharonVpnService -a android.net.VpnService
`
However, this is not very reliable as it's an internal mechanism that bypasses much of what the app does in the process of properly establishing a Quick Connect connection.
If there's an intent that will simulate what occurs when an app's tile is pressed, it should provide a much cleaner solution.
In this instance, the app has the service com.protonvpn.android.components.QuickTileService
and an intent action filter of android.service.quicksettings.action.QS_TILE
however I'm at a loss for where to go from there.
Six
(360 rep)
Jul 7, 2019, 12:53 AM
• Last activity: Sep 7, 2021, 07:45 PM
9
votes
1
answers
40530
views
Sending intents using ADB with additional action, data, and extra
How do I convert the following Java code to an ADB command? ``` Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse("com.glass.videoglass://")); intent.putExtra("startFromWS", true); startActivity(intent); ``` The only thing I've seen so far is ``` adb shell am start -n com.pack...
How do I convert the following Java code to an ADB command?
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("com.glass.videoglass://"));
intent.putExtra("startFromWS", true);
startActivity(intent);
The only thing I've seen so far is
adb shell am start -n com.package.name/com.package.name.ActivityName
Timothy Clemans
(213 rep)
Apr 23, 2014, 09:41 PM
• Last activity: Jun 23, 2021, 04:48 AM
1
votes
0
answers
160
views
Crash when installing application leading to weird "No such app found" entry in drawer and forced reboot
A few days ago I installed a app from an .apk file. Unfortunately, my phone decided to die during the installation process. Since then I have a weird entry in my drawer looking like this: [![Weird entry in app drawer][1]][1] If I click on it, I get a toast saying "No such app found". This alone woul...
A few days ago I installed a app from an .apk file. Unfortunately, my phone decided to die during the installation process. Since then I have a weird entry in my drawer looking like this:
If I click on it, I get a toast saying "No such app found". This alone wouldn't bother me but since then my phone also crashes after about two minutes after it started.
I've tried investigating this problem but I couldn't find anything really helpful. The only thing I found is a post from StackOverflow describing what happens when you install an application. Based on this I think there went something wrong with the intent registration, corrupting a intent register or something like that.
What I've tried so far is cleaning the cache and installing and uninstalling the app again. When the app is installed again, the weird entry in the launcher disappears and even after the app is uninstalled, it doesn't reappear. However, my phone still keeps crashing and after a reboot it reappears.
Does anyone have a idea what is going on here and how to fix this? I would be very thankful for any help :).
Additional information:
- Device: Samsung Galaxy S7 (herolte)
- ROM: LineageOS 15.1 (Android 8.1.0)
- Rooted: Yes
EDIT:
I've also already tried getting the logcat output before the crash but unfortunately it shows nothing really interesting and I think the reason for the crash is not included because it crashes before a write to the logcat takes place.
Also, for clarification, I would like to avoid a factory reset.
EDIT 2:
I've now tried rebooting into safe mode. The drawer entry persists, but the system doesn't crash here. Also, when long pressing on the app and selecting "App info", the launcher crashes with the following entry in logcat:

06-17 18:16:00.960 4599 6669 I ActivityManager: START u0 {act=android.intent.action.VIEW dat=market://details?id=} from uid 10026
06-17 18:16:00.960 6727 6727 D AndroidRuntime: Shutting down VM
06-17 18:16:00.961 6727 6727 E AndroidRuntime: FATAL EXCEPTION: main
06-17 18:16:00.961 6727 6727 E AndroidRuntime: Process: org.lineageos.trebuchet, PID: 6727
06-17 18:16:00.961 6727 6727 E AndroidRuntime: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=market://details?id= }
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1937)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.app.Instrumentation.execStartActivity(Instrumentation.java:1616)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:4487)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at com.android.launcher3.Launcher.startActivityForResult(Launcher.java:1916)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.app.Activity.startActivityForResult(Activity.java:4445)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.app.Activity.startActivity(Activity.java:4806)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.app.Activity.startActivity(Activity.java:4774)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at com.android.launcher3.InfoDropTarget.startDetailsActivityForInfo(InfoDropTarget.java:70)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at com.android.launcher3.popup.SystemShortcut$AppInfo$1.onClick(SystemShortcut.java:97)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.view.View.performClick(View.java:6294)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.view.View$PerformClick.run(View.java:24770)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:790)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
06-17 18:16:00.961 6727 6727 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-17 18:16:00.965 4599 6669 W ActivityManager: Force finishing activity org.lineageos.trebuchet/com.android.launcher3.searchlauncher.SearchLauncher
06-17 18:16:00.970 4599 6781 W DropBoxManagerService: Dropping: system_app_crash (1567 > 0 bytes)
06-17 18:16:00.971 4599 4614 I ActivityManager: Showing crash dialog for package org.lineageos.trebuchet u0
Kippi
(165 rep)
Jun 17, 2021, 03:08 AM
• Last activity: Jun 17, 2021, 04:21 PM
1
votes
0
answers
188
views
Opening docx files in Google Drive viewer when other apps capture intent
I'd like to open `docx` files directly into Google Drive viewer. When another application like Epson iPrint or Termux is installed, I don't have other choice than those apps. When they're not installed, it opens in Google Drive viewer like a charm. I think it is related with intent-filters. When exa...
I'd like to open
docx
files directly into Google Drive viewer.
When another application like Epson iPrint or Termux is installed, I don't have other choice than those apps. When they're not installed, it opens in Google Drive viewer like a charm.
I think it is related with intent-filters.
When examining manifest files :
- Termux has a VIEW intent-fiter on application/*
.
- Epson iPrint has a VIEW intent-fiter on application/vnd.openxmlformats-officedocument.wordprocessingml.document
(and others) which is the mime type of docx document.
- Google Drive has a VIEW intent-filter on */*
so should be able to open anything.
Is there a workaround for this problem ? (appart from uninstalling other apps of course)
Is this a bug or on purpose (thanks in advance to android devs here) ?
I already tried "Open with" type apps with no chances...
mpiffault
(111 rep)
Apr 28, 2021, 09:12 PM
• Last activity: Apr 29, 2021, 03:50 PM
0
votes
0
answers
32
views
Hide specific intent filters
I have several apps on my device that has multiple intent filters, which clutters the menu when I want to open a file(e.g. PDF). I would like to hide some of these intent filters, as I do not need them. This is a picture of the intent chooser: [![Intent filters][1]][1] [1]: https://i.sstatic.net/OOe...
I have several apps on my device that has multiple intent filters, which clutters the menu when I want to open a file(e.g. PDF). I would like to hide some of these intent filters, as I do not need them.
This is a picture of the intent chooser:
I know that iOS has an option to hide these targets under the "More" menu, can this be done on Android? I am using One UI 2 (Samsung) and MIUI 10 (Xiaomi).
Thanks

LCZ
(216 rep)
Dec 29, 2020, 05:41 AM
• Last activity: Dec 29, 2020, 11:47 AM
2
votes
0
answers
344
views
NFC: Spotify URIs open app, not specified resource
My goal is to program NFC tags in such a way, that Spotify starts playing a specific track/album/playlist. But after writing a Spotify URI (e.g. `spotify:track:6rqhFgbbKwnb9MLmUQDhG6`) to my tag, it only opens the app and disregards the resource. The problem seems to be the way Android handles the t...
My goal is to program NFC tags in such a way, that Spotify starts playing a specific track/album/playlist.
But after writing a Spotify URI (e.g.
spotify:track:6rqhFgbbKwnb9MLmUQDhG6
) to my tag, it only opens the app and disregards the resource.
The problem seems to be the way Android handles the tag, because the URI works without any problems when I call it from another app.
A related problem is the way URLs are handled: When I open a Spotify URL like https://open.spotify.com/track/6rqhFgbbKwnb9MLmUQDhG6
from another app, it directly launches Spotify, whereas it would unsuccessfully try to open it with a browser after touching the tag.
It seems like Android only processes the scheme of the URI. Is this correct? If so, is there something that can be done to circumvent this? Why would that be the case?
kunberg
(21 rep)
Nov 28, 2020, 01:24 PM
Showing page 1 of 20 total questions