The
Questions tagged [android-activity-alias]
18 questions
18
votes
2 answers
Activity-Alias gets removed on app update
I have implemented two activity-alias that the user should be able to enable or disable in runtime.
…

JacksOnF1re
- 3,336
- 24
- 55
10
votes
1 answer
Extract / distinguish ActivityAlias name from TargetActivity
I have multiple ActivityAliases which all start one single TargetActivity.
Inside of my TargetActivity I try to distinguish the alias that started
the TargetActivity.
The aliases are defined in Manifest as launchables (intent-filter), which will be…

JacksOnF1re
- 3,336
- 24
- 55
8
votes
1 answer
Aapt dump badging of apk does not list any launchable activity for activity-alias
I recently changed my AndroidManifest.xml with the following changes:
Changed my main launcher activity's name to NewMainActivity.
Added an activity-alias with old activity name pointing to new activity.
Now, when I do aapt dump badging…

thepace
- 2,221
- 1
- 13
- 21
2
votes
1 answer
My app is disappear in the recent apps after dynamic changing the app Icon with Android 9.0
I use activity-alias to dynamically change the icon of my application, resulting in my application disappear in the recent apps.
Manifest

wzpp
- 21
- 1
2
votes
1 answer
Activity alias enabling with single top
In my app there is an activity with alias: MyActivity and MyAliasActivity registered in the Manifest. The purpose of the alias is to provide extra intent filter. This feature can be enabled/disabled in the runtime by the user. The activity and alias…

Mohru
- 725
- 1
- 7
- 17
2
votes
1 answer
app not launch from recent apps after changing launcher icon via activity-alias in 5.0+
After changing app launcher icon to a new one with activity-alias method, I exit from app via back button, and when I try to start app from recent apps (Recent Tasks) in android 5.0+, app won't launch. and in some source codes it toasts: "Could not…

Amir Hossein Ghasemi
- 20,623
- 10
- 57
- 53
1
vote
0 answers
How to start activity-alias of another app which has permission?
I have an app which has an activity and activity-alias. I am trying to call this activity from another app through activity-alias but it crashes when i add permission in activity-alias. If no permission is added, it works fine.

Mohsin
- 55
- 1
- 6
1
vote
1 answer
Intent for fails with ActivityNotFoundException
I wrote an activity-alias for an Activity:

RominaV
- 3,335
- 1
- 29
- 59
1
vote
2 answers
Is it possible to add new ActivityAliases at runtime?
In AndroidManifest.xml, it's possible to define multiple elements. However, the ActivityAlias java class does not suggest that these aliases can be defined at runtime.
Is it possible to add new activity aliases to an app at…

Armand
- 23,463
- 20
- 90
- 119
0
votes
0 answers
Android activity-alias shows two apps in mobile menu
Hey guys I am using activity-alias and it shows 2 apps on device (Google Pixel)
Screenshot:
My CODE:

Faiz Ahmad Dae
- 5,653
- 2
- 14
- 19
0
votes
0 answers
Android - Create launcher Icon for the deeplink
Here is my main application launcher activity

RAMU
- 176
- 1
- 8
0
votes
1 answer
Why get "Unable to find explicit activity class" error?
I changed application icon if user is gold user. When if the user is not gold after I changed that, don't load splash activity again. I tried create two alias actvity for these two sitatuan but I can't change icon with two alias. I tried deleted…

Ahmet Yılmaz
- 425
- 5
- 16
0
votes
1 answer
Error type 3 - Error: Activity class does not exist
I know it's a duplicated question but any solution I tried not resolved the problem.
The real question is there's a way to launch the app when the activity alias is enabled? I mean, my app has a feature to change the icon launcher for certain users…

Wellington Yogui
- 371
- 3
- 18
0
votes
0 answers
Change App Icon by downloading from server at runtime
I want to change the app icons at runtime. I went through the below article:
https://blog.jakelee.co.uk/programmatically-changing-app-icon/
, which talks about using to change the app icon at run time. I tried it and it works. But I…

sangeetha
- 47
- 3
- 12
0
votes
1 answer
I want to change the launcher Activity without crashing my app and preserving shortcuts of my app on homescreen
This is a simple project. I am using 2 activities.
MainActivity
NewActivity
I made 3 aliases of MainActivity
RED
BLUE
GREEN
I want to change icon and label of my launcher according to activity-alias I made. For this I made 3 buttons in New…

gpl
- 1,380
- 2
- 8
- 24