Cannot set application icon for a GTK# application in Monodevelop 3.1.1 - mono

I set the icon as described in https://stackoverflow.com/a/12491626/67824 but it still shows as a generic app icon (grey screen with green "exec" text) in the dock and in the ⌘+tab application switcher (both when I run it from MonoDevelop and when I run it using mono foo.exe). I know it can be done, because when I run a mono-compliant version of LINQPad I'm seeing the LINQPad application icon.

I also use the SetIconFromFile method in the main window's class. Example below where my icon is copied to an Images folder at the root of my application:
this.SetIconFromFile(string.Format("{0}{1}Images{2}Logo.ico",
System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location),
System.IO.Path.DirectorySeparatorChar,
System.IO.Path.DirectorySeparatorChar));

Related

Recent apps icon in React-native

I changed the default app icon and it appears fine in the app drawer, but on Android 8.0's recent apps the icon is still the default one.
Also when I try to uninstall the app, the Alert windows that opens contains the dafault react-native icon.
I tried looking on other posts and found this comment, but I already set those and even created a mipmap-ldpi (36x36) icon, but it still remains the same.
How can I change these icons?
I'm using React-native 0.59.1
For Android 8.0 and Above Adaptive Launcher Icon are used and for Versions below Android 8.0 we use Legacy Launcher Icon
You can try try to update icons using Image Asset Studio -
To start Image Asset Studio, select Android in the Project Window. Right click on the res folder and select New > Image Asset. You have now opened Image Asset Studio. You can now create an Adaptive Launcher Icon or Legacy Only Launcher Icon as per your requirement by selecting Icon Type.
You can refer to this link for more information.
Hope it works !

App icon is not displayed on the simulator screen

I draged all kinds of icons. After that I can see them in small windows in "General - App Icons" but when I run a simulator and go to Home Screen, my app icon is not displayed. What is wrong?
Click "Clean" in Xcode. Then remove app from simulator. Then run app.
restart your simulator. Make sure you have proper icon for device type / resolution you are trying to simulate.
For XCode 8 I had this same problem. I had created multiple targets and in doing so had unknowingly removed all targets from membership of Assets.xcassets.
To fix it for me, I selected Assets.xcassets in the project view and then reselected all the targets that I wanted to apply my icon sets to.

wxTaskBarIcon sample

I have successfully built wxWidgets, 2.9.4 and the samples on Mac OS X, xubuntu and WinXP. Running the taskbar sample on all three platforms, there is an icon on the task bar but also an icon showing a running application. This is not normal task bar app behavior, right?
It is normal taskbar behavior. wxTaskBarIcon adds the icon to the system tray. on Windows the application's icon in taskbar is controlled by other API.
See this and this.

Set logo for Mac application

I am an iOS developer and did my first Cocoa Mac application using Xcode 4.2, I set the Logo image in the xcode itself and property list, but the application logo still has its default logo (the white sheet with two pens), how can I set Logo for my application?
Design your 512x512 icon and save it as png file. Open Icon Composer (installed with Xcode in /Developer/Applications/Utilities folder) and drag your png file to it and save your icon as icns.
Now in Xcode open your project and select the target. Drag your icns file to the "App Icon" box. That´s it! Build and run again...
You should place icon (icns format file) Your project target -> summary -> drag n drop in App icon box.
you need a .icns file rather than a straight png to get the file icon. This is essentially a collection of images at different sizes that mac os can use for different jobs.
as of mountain lion, the Icon Composer isn't available. You can build your icns file on the command line from a bunch of scaled and named bitmaps, or you can use the simple utility I built to do the job!
http://hobbyistsoftware.com/icnsBuilder

osx - My application doesn't appear in the Dock when running. How can I fix this?

I just picked up the code for an application our overseas developer has made for us. For some reason, when the application starts, no icon pops up in the Dock (with the little blue circle below).
If I manually add the app to the Dock and start it from the Dock, it will run the application, but the icon won't be illuminated with the blue circle (no indication that it is running).
Where would I have to start in order to solve this problem? (e.g. to make it clear that the application is running by having an icon in the Dock with the blue circle below it).
Thanks!
Either you are running Mac OS X Lion with the indicator turned off (see Dock settings) or you app is configured as a UI element in the Info.plist file (LSUIElement is YES).
Set LSUIElement to NO/false in Info.plist.