FirePhone - launch icons not populating? - android

For some reason in the latest version of my App, the app loads and runs from IDEA, but the launch icon doesn't show up on the home screen or in the grid. Oddly, it was working fine in an earlier build, which is currently being sold on the Amazon Ap store and works as expected when downloaded, but the updated version isn't working. I've made a number of changes to my development environment and have tried resizing widgets and providing a widget in the default drawable folder, but its not making any difference.
Does anyone have a suggestion what to look at that might explain the behavior?

Well I haven't been able to find out exactly why this happened, but I was able to find a workaround.
The app I was working was a new revision of an App already published ot the Amazon App store. I purchased a copy of the app from the store just to check, so the original (V.1.0) app itself was showing up on my list of apps in the cloud. The new version I am working on (V.1.1) is the version on which the icons weren't showing up when I ran it from Android Studio.
The workaround that worked was to a) to delete the app from my cloud, and b) to change the Application attribute android:label to a different name. After I did that, the icon showed up again on my FirePhone. not sure which of these two changes did the trick, maybe both are not necessary, but in case anybody else is running into this problem...

There is a simple solution for this.
If you want your app to be compatible for both Android and Kindle you have to make the necessary icon adjustments for Kindle. Add the custom drawable folders to your project.
custom drawable "drawable-1024x600-v10" with ic_launcher.png for KindleFire 1 st Gen
custom drawable "drawable-1024x600-v15" with ic_launcher.png for KindleFire 2nd Gen
custom drawable "drawable-1280x800" with ic_launcher.png for KindleFire HD-7'
custom drawable "drawable-1920x1200" with ic_launcher.png for KindleFire HD-8.9'
Do not replace the drawable folders you currently have for Android, just add to them. Alternatively, you can replace your mdpi icon with 200x200 (will display blurry on some kindles such as the fireHDx) or 512x512 (for better results).

Related

Flutter doesn't update launcher icon

I created a new icon for my app and I used flutter launcher icons for generate the launcher icon.
In the midmap folders there is the ic_launcher.png and if I open it is my new launcher icon.
But if I install the app via android studio on my phone it shows the old icon.
It happened to me even when I created the first icon.
It went all well but the app had the default flutter icon.
It started to show the new one when I changed the app name but now I cannot change it again.
I already tried with the flutter-launcher-icons widget, to use flutter clean, ecc... but it doesn't change.
Why there is this problem? And where the app takes the old logo information?
UPDATE
I discovered a workaround for this problem.
If I delete all generated files (even the ones that looks right) and then I regenerate them when I install the app on the phone the icon looks right.
There will be 5 different mipmap files within android/app/src/res/main folder. Each mipmap consists icon launcher of different dimensions and pixels. Make sure you have replaced all 5 icon launchers with your generated Icon Launcher.
You can Generate Icon Launcher from here.
I see this issue still hasn't been resolved. I did find a workaround when I ran into the same problem. Just add
adaptive_icon_foreground: 'assets\logo.png'
adaptive_icon_background: '#000000'
in your pubspec.yaml under flutter_icons: where you can mention any suitable background color in hex for adaptive_icon_background.
I've had a similar problem, where the app icon would always be the androids default one. The way I fixed this, was by looking at the following Github thread: https://github.com/flutter/flutter/issues/59305
I noticed, that there was an error in my AndroidManifest.xml, where the android:icon="#mipmap/launcher_icon" was not inside the application-tag. After placing the ">" after android:icon="#mipmap/launcher_icon", it worked for me.
How it looked:
Not working
How it should look:
Working
I hope this helped

Device shows default droid icon instead of app launcher icon

I changed the launcher icon file and it's name(from ic_logo to ic_launcher) and made respective changes in the Manifest.
Some devices(Moto-G, Moto Razor) which updated the app since then see the default droid icon instead of the actual ic_launcher icon.
The same devices would see the proper launcher icon if the app is uninstalled and reinstalled, instead of just updating.
It shouldn't be a problem with the folders the icon is placed in. Because it works fine on most of the devices and after uninstall and reinstall on the above mentioned devices. Just for reference:
Anything I can do to make it work in the next update(without uninstalling)?
Clean your project once and then try
For Application Icon, try to put them in #mipmap directory. That's what Google recommends and sometimes stupid bugs happen when you don't follow the guidelines.
Read
mipmap drawables for icons

Applying custom icon to Android project

I have a problem with setting my icon to the project. I've created different images and placed them in appropriate folders (drawable
ldpi, mdpi and so on) and
set android:icon to my icon in AndroidManifest.xml.
But icons have changed everywhere except desktop .
Have any ideas why?
Working in Intellij IDEA
I got the same issue just now, but I found a trick to solve this problem:
you can just use the refactor function of intellij and rename the icon again. After renaming intellij will recognize this icon and now make the app again and it works for me!
And I noticed that my application has the correct icon on emulator but not on my android device, but it is because of the android system on the phone. If you see that you icon will be shown up on the emulator correctly then you don't need to get worried.

Android galaxy tab options menu different?

My friend tried my app with his new galaxy tab and it seems it is a little different than the emulator I tested it on. His options menu for the app was dark instead of the white background and you could not really see any of the options and most of the app did not work properly. I made the app on the 2.1 android update and am very stumped I tried searching for something about this but could not find anything. Is there a way to modify to act accordingly if this happens?
Samsung modified a lot of standard themes and images. The only way to fix it, that I found, was to force my own theme and use my own images everywhere.
Since Android 2.3 the menu background has changed to black. But the general color palette for the icons you make shouldn't be that much different. See more here:
Android Menu Design Guidelines
If you wish to have different icons for android version 2.3 and earlier versions put the icons for Android 2.3 and later in a resource folder with -v9 appended to the folder name. Example:
drawable-hdpi-v9
You should do the same thing with notification icons, as android 2.3 really made a big change to the way notification icons should look.
Btw, if you are looking for an easy way to make icons for your application, Roman Nurik's asset studio is really great: http://android-ui-utils.googlecode.com/hg/asset-studio/dist/index.html

Is this a built in drawable?

In this linked image , I see the button on the right quite often in a lot of apps. On my Moto Droid, it is used extensively in the settings app. It is also used as the default AlertDialog icon. Can I use this via a android.r.drawable?
The icon is built-in with the Android development, you can access the image by using R.drawable.ic_dialog_menu_generic
While it may be possible to use it via android.R.drawable, you may want to find the image in the resources that come with your SDK ($ANDROID_HOME/platforms/$VERSION/data/res, where $ANDROID_HOME is where you have the SDK installed and $VERSION is a relevant Android API level). So, per Mr. Forloney's answer, you'll find that in, say, drawable-hdpi/ic_dialog_menu_generic.png in the aforementioned directory. Then, copy that image into your project. While it will add 5K to your project size, it will mean that the icon does not change based upon OEM or Android changes.

Categories

Resources