Change Android Studio Icon in the Mac OS Dock - macos

First up, I am not sure if this is the place to ask. Since there isn't a lot of Android-Studio tags on Super User and I know that a lot of people uses Android Studio on StackOverFlow. So please correct me if I'm wrong on the comment section to save me from the down votes.
So...
I tried changing the default icon of the Android Studio IDE on my Mac and I was able to do it. The problem is when I open it, it reverts to the original icon it has, then when I quit the IDE it returns to the icon I selected. Is it possible to make it always stay with the same icon I pasted in Finder Get Info?
Here is the icon I changed it to:
But it changes to this when it is opened:

In Mac OS X, there is an extra file for icons,
very commercial software always loads this file.
When you right-click the application "Android Studio",
and click on "Show Package Contents", then navigate to
Contents > Resources and replace "Android Studio.icns"
with an icon you created in a photo-editing or illustration
software (export to .icns or use a .icns icon converter).

Related

How to display thumbnails like Explorer or Finder

I have written a Firemonkey app and it saves its files with extension ".qrmx".
In both Explorer (Windows) and Finder (Mac), its thumbnail looks like a blank sheet of paper with the top right corner curled over. This is, I think, the generic thumbnail. How can I introduce a thumbnail specific to my app?
It finally dawned on me that I needed to associate my program files with my program. For Windows, I was able to do this within the Inno Setup installer by defining Registry settings. For OS X, I was able to do it with settings in the info.plist file. Both operating systems then used the appropriate icons from my app.

windows 7 - some icons disappeared on start menu, desktop, programm and features

some of my icons disappeared, for example the whole Microsoft office icons, they disappeared in the start menu, programm and features and also on the desktop.,
what i've tried is , to go to the folder of the exe, and pin it to the taskbar this will also show up the icon for unknown exe. changing icon doesnt work for the shortcuts, its disabled.
then i made a new shortcut and put it on the desktop that will show up the original icon. so i can recreate the start menu and the desktop, but still the icons are missed in programm and features.
i also tried to delete the icon cache db a 100 times but that doesnt work.
has anybody a solution?
does somebody know where the icon references are stored in the registry. i dont know where to start
Rebuild the icon cache.
If that doesn't work look here for a quick and easy fix.
http://www.arcane.org/the-mystery-of-the-disappearing-windows-7-start-menu-icons/

How to set an OSX application dock icon in XCode?

So far the only working solution I have found is to use:
[NSApp setApplicationIconImage: myImage];
But this message is sent after the default icon is already in the dock, so it's not working: the icon is initially set to the default application icon. I have not found the correct place to send this message.
I have read this: How can I set the icon for a Mac Application in Xcode? but it seems a bit too old to be useful for XCode 4.3
What is the standard way to set the dock icon, and even more importantly, where in the documentation is this described ?
I have trashed 4.3 two days ago, so I am using 4.5 developer preview to explain, but it should be similar.
Open up you project
In the left inspector be sure you are in the project navigator
Click the top node which should be named like your project
The middel section should now show some summaries of your project
Click on your Project name under "Targets"
The middle section should now show some Tabs, get on "Summary"
Drag your Icon file to the App Icon field.
Hope that helps.

Why is my application bundle sometimes missing its icon or crossed out?

Why is my application bundle sometimes missing its icon and/or have this "cancel" symbol over it?
alt text http://img33.imageshack.us/img33/2690/picture2oql.png
I have looked at the .plist file and the icon path and icon exist and are correct. If I right click the bundle and click Get Info, the icon shows up in the 'preview' section.
This happened after I moved around some code in my qmake file (but made no change semantically). Is this just a bug in Finder? There seems to be no way to refresh the view.
What generally causes Finder to display this cancel symbol and/or not load the bundle's icon?
That's the "You can't run this application" icon.
The finder will display that icon if:
the app is marked as being untrusted (i.e., downloaded like #kiamlaluno said)
the app the wrong architecture (i.e., PPC app on an intel machine without rosetta)
the application bundle is messed up (make an empty folder with an .app extension)
Since you're building this program, I suspect that the Finder noticed the .app bundle before it was finished compiling and thought it was broken. When you move your app to another folder, the Finder refreshed the bundle (which is complete now), and displayed the correct icon.

"Beautifying" an OS X disk image

When I downloaded Skype, I noticed that, in place of a normal "disk image" icon, there was a custom icon, and when I double clicked on the icon, the window used a colorful image as the background, prompting me to drag the skype icon into the applications folder.
How can I do that with my applications?
Thanks,
Jason
Let me add to the other answers jwz's howto on setting view options on .dmg files. This is the simplest one that I got to work with no problems.
Also, to change the icon from the default .dmg icon:
In the Finder, open an inspector window (^I) for the file whose icon you want to use, click on the icon at the top (it will get a blue border) and copy it to the clipboard (^C).
Then open another inspector for your .dmg, click on the icon and press ^V to paste
(you can change the icon for any file like this).
For this kind of thing, you can always look at open-source programs and see what they do to get a similar result. For example here are the relevant source files for building pretty dmg files in:
Adium
Miro
If you’re interested in a commercial solution, there are a number of DMG designer apps available, including the following I gleaned from a MacUpdate search:
DMG Packager
DMG Architect
DMG Canvas
This is a great freeware solution for a custom background with zero hassle:
http://sourceforge.net/projects/dmgcreator/

Resources