Clear badge count on clearing app cache - android

I need to show badge count on the app icon. After some research I have found a shortcut badge library for it. The library is really very good and working fine in almost all the listed devices which it's used.
But in Samsung Edge 7, it's creating a problem for me.
Problem:
The badge from app icon does not get updated or cleared. I have uninstall the app as well as clear the app cache from the application manager. But still it gets persisted in the same state.
Link of library: https://github.com/leolin310148/ShortcutBadger
Please help me to solve this problem.

Just use this line in manifest file. This worked from me :-
<meta-data android:name="me.leolin.shortcutbadger.ShortcutBadger" android:value="DISABLE" />
OR
use this link :-
Stack overflow

Related

app Icon not changed in *Task Menu* in flutter?

I have successfully changed the App Icon for the App by replacing the file with the files I downloaded from here.
Its working fine in the Menu with logo and name as expected.
but the icon is not changed in the Task Menu.
And in the Menu its fine though.
I replaced [mipmap-hdpi, mipmap-mdpi, mipmap-xhdpi, mipmap-xxhdpi, mipmap-xxxxhdpi] folders with new ones in the android->app->src->main->res path of my project.
Any help will be highly appreciated.
I had exactly the same issue. I rebooted my smartphone and it worked as it was suggested in related topics. After restart the icon is displayed as it should everywhere.
I attach related links:
Problem ticket in Flutter Github repository
Related question with solution that worked
Please check manifest file.
<application
android:name="io.flutter.app.FlutterApplication"
android:label="flutter"
android:icon="#mipmap/app_logo">
You have to change icon name here.

Installed app icon not visible

My app is perfectly running but installed app icon is not visible in the emulator..I had tried everything but still nothing happened.I had read the previous solutions to this problem but none of them worked for me..
please check your under android manifest file >
application > android:icon="#drawable/ic_launcher

How to deploy an app to mobile after adding AndroidManifest.xml to Project

My problem is, that I can't seem to deploy my app to my phone (galaxy s4) or the emulator anymore, after adding the AndroidManifest.xml to the project.
I have been working on this app for 1 or 2 days, never had a problem testing it on my phone. I wanted to add the App Icon and change the app display name and found out that it had to be done over the AndroidManifest.xml file. So after finally finding where to add it in the QtCreator, I added an Icon and changed the name. When I click deploy, it loads and then the bar turns red, without ANY error messages or nothing. It just goes red full and then goes away. Even the warnings from build are not even showing.
I hope you guys can help me, this is my first question, so if I forgot any information or asked the question wrong, please let me know :)
You need dirqml2sdk debugger libaries (if your OS is windows). You can download it from here.

Android, Why launcher icon and other images never change when I update my images?

I released one version of my application. For this version I had an image for launcher icon. For next version (update), I replaced this icon with other image.
My problem is when I update last version with new one, new launcher icon doesn't display and old one is still displaying.
However, if I clear data before uninstall and after that uninstall then by installing new version I can see new launcher image. The problem is I cannot ask all customers one by one please clear data and then uninstall before updating to new version.
What is the solution?
I have changed launcher icons for my apps several times, and have no problems with it (user base is few millions users). You have nothing to do in your source code, just replace your .png file in res folder and rebuild your project.
Note: if you are building final .apk using some IDE (Eclipse, IntelliJ IDEA, etc.) do not forget to refresh and make a full clean of your project before building it.
Please check you have mention the icon in the manifest
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
</application>
I have the same issue when i was not added the icon in the application tag. but it got resolve after add the icon in the application tag
It should be as easy as replacing the image, but sometimes it doesn't work on eclipse. I solved it just deleting the old icon launcher (all versions mdpi,hdpi...) and then pasting the new ones with a different name.
Maybe it is not your case, but it was my case, and it could be for another one.

Eclipse loads separate activities instead of application

I'm using Eclipse and android SDK (with ADT Plugin), I don't know if it's some kind of configuration issue or it's some code problem. Whenever I load an app that I made from scratch (this means not using another existing code or one sample from the library) to my device or run it on the emulator, the entire app will load as "separate" apps, which are the activities. For example, if the app is named "Hello world" and it has two activities, "MainActivity" and "SecondaryActivity", both of them will show up on the device with their names as app names and sharing the app icon on the menu. Now, if I go to settings, "Hello World" appears as an application, now behaving again like it should. This doesn't affect the operation of the app, however, it's annoying to have more than 1 icon launching the same app. The problem is that, when i first used eclipse, this was not happening.
Just in case it helps, I've already re-installed the entire android SDK and the ADT plugin, as well, I tried using 3 different Eclipse versions (classic, EE, and Java developers), none of them seem to work, even though, in the Graphical Layout for any activity, the name of the app is showed in the bar with the app's icon, but running on the emulator or a real device it shows the activity's name there instead. I've looked everywhere and I haven't solved the problem.
Thanks!
Check your manifest to see if more than one activity has this:
<category android:name="android.intent.category.LAUNCHER" />
The answer I found for the above problem is, replace category.LAUNCHER to category.EMBED in all the activities apart from the MainActivity in your manifest file.

Categories

Resources