Xamarin, Android: Change name of whole app, not just the Label - android

this might sound like a simple question, but I haven't been able to find a solution to this:
I created an app that I now want to publish, but while debugging, this app had an incorrect name.
Now, ofcourse I can change the namespace and / or label in my MainActivity, so that the app on my phone gets the right name assigned to - but if you check this app under "application" it still has its original name.
Is there anyway how I can change all of my Apps name in like "one click"? I did find a few instances, in which the "old" name still appeared, but changing one led to this app no longer debugging.
I'm using Visual Studio :)
THANKS!

You should change it in the AndroidManifest.xml

Related

Programmatically change Android application icon and name

Basically I just want to be able to programmatically change the application's name and icon
without it reverting to back the originals.
The main way people seem to be doing it is by using an activity-alias
in AndroidManifest.xml, but that seems to need you to use a different
Main package name, I don't want to have another one, I'd like to be able to
use the same one for both.
And, isn't using an activity-alias just going to temporarily change them?
Is there a different way to enable one and disable the other one without having
to use a different package name?
And is there any other reliable way to programmatically change the app icon and name?
It seems like a lot depends on what OS version you are using.
Oh, and not having to add any sketchy permissions if possible.
This on Windows.
Thanks!

Flutter: Local Notifications changing name of the app

I have the flutter local notifications package installed and everything works just fine except for one thing:
When the screen is locked and a local notification appears, on iOS it doesn't show the real name of the App but only the name of the flutter project. And if I unlock the screen, the real name of the App appears.
I already changed the App name like you normally would do it, so going to the android folder/app/src/profile/AndroidManifest.xml and also on iOS Runner/Info.plist and change the name.
I also changed the title inside the NotificationController, but this only effects the name of the local notification when the screen is unlocked.
How can I change it so that not depending on wether the screen is locked or unlocked, only the real App name is shown?
Thank you very much!
Ok I guess I know whats going on. Somehow in debug mode sometimes the "real" name of the app doesn't show up but the project name. When releasing the app, this issue disappears.
So if anyone else has this problem, don't worry about it, just release the App, it will function correctly.
Well when I was facing the same problem I just searched that name in the Project level search using Ctrl+Shift+f. After searching it will show you all the places where the old name of your application still exist then you can change them one by one.
In my case I have found app name about 15-16 places some of them I have changed already and then changed the rest.
I hope this will work for you too.

Find componentInfo name for custom icon

I have been trying to customize ameixa, an open-source icon pack to add some missing icons.
The source I base myself on with can be found here.
I do not intend to add new icons (yet), only to re-use existing ones for some applications that are not supported yet.
For that purpose, I have been adding entries to src/main/res/xml/appfilter.xml
In order to find the ComponentInfo's name, I have been using openlauncher's "hide apps" feature, which gives me the full package name and activity of apps he can see (for instance, com.myapp.app/com.myapp.app.activity.Activity).
My problem is that some of the apps I use don't mention an activity name, but only the app (for instance, com.myapp.app/). I have tried using both this, as well as some obvious activity names (com.myapp.app/com.myapp.app.(App/acitivity.MainActivity...), but none of those worked.
By trying to compare with some other apps that already are shown without a right-hand definition in the already-existing source code, I don't see an obvious pattern to try.
Do any of you know how I can figure out the exact ComponentInfo name I need to enter to a given app icon ?
I ended up figuring out a solution, maybe not the best but it works.
I have been building locally my own version of openlauncher (any other launcher should do), and checked in the code where the list of app is built.
By putting a breakpoint there and debugging my application, I could access the properties "package name" and "activity name" which are enough as a name for the ComponentInfo definition.
Maybe there is a faster/easier way to achieve that, but that's what ended up working for me.
One option is to download Nova Launcher. Long press on an icon to bring up a menu, and then press "Edit". This will show the icon along with the ComponentInfo below it. You can long press on this to copy the text.

Are there any implications of renaming a published android application?

I'm about to change the application name of a fairly popular Android app published on Google Play.
I know how to do it, but I would also like to be sure that nothing but the name will be changed. For example I don't want to loose the application's position in the search results.
Is there anyone that has renamed a published application and can confirm that nothing but the name will change?
Best regards,
Andreas
EDIT: With "application name" I'm refering to the application label that you set in the manifest file, not the package name or the name of the apk.
If you mention that the app has changed name within the description i.e. "App1 is now App2!"
It should still show up in search when people search the old name, for 'rankings' it's based on the package name and should keep it's position.

Make android app icon available to other applications

I would like my application icon to be available to other applications.
I understand this is a bit unclear so will try explain:
Applications such as Astros program manager lists applications with their icon. For all apps this is the correct icon as on the launcher, except mine which is displaying the standard android icon. I have set my icon as the manifest using: android:icon="#drawable/runninglate"
This works on the launcher but Astro still shows the default icon from when I create the project (which I deleted a long time ago). I have also tried renaming my icon file to icon.png in case this was a standard. This also failed to work.
I am clearly doing something wrong, or have missed a setting somewhere, can some one point me in the right direction.
Make sure you have your icon in the <application> element, perhaps in addition to having it in the <activity> element of the activity that should appear in the Launcher.
Seems it was a caching issue. I re-flashed my phone today for an update and the correct Icon was shown using the same APK as I was using when it wasn't showing. Maybe a clear data on the displaying app was all that was required!

Categories

Resources