I want to modifiy slimjet for personal use and searched through gits, reshacked all dll files and the app exe but I can't seem to find the resources I want to change. Does anybody know, where the grafical resoucres - icons or buttons for the toolbar - are stored in chromium derivatives general, but especially slimjet? I am not talking about the extension buttons. I mean those for "home" and navigation.
Are they inside the compiled binary file inside the exe or inside the .pak file I can not reshack or unpack?
Any clue or hint or help is appreciated.
Related
I think this should be a relatively easy one to answer, I hope, but is proving to be a bit of a stress!
I have used an Icon on an old application developed some years ago and I would now like to use the icon for a current project.. however..
I added the icon using the upload/import icon-image in the properties window, and did not add it in the project resources file, nor specify its location anywhere in my code, using only the icon tool in the properties window.
Now wanting to find the icon image file to use again, I cannot find it anywhere! I have trawled through all the project files looking for the image file or a ref to its location, but have found nothing; except for:
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
When running the application the icon is still clearly visible in the applications taskbar tile.
Does anyone know where the icon file is stored / how I can retrieve it?
Thank you in advance.
It is stored in "{Your_project_name}.{Form_name}.resources" file. Search inside the "obj" folder which is in your project folder.
Now open the command prompt of Visual Studio. We will convert this ".resources" file into a ".resx" file. We use "resgen" command here.
resgen foo.resources bar.resx
The .resx can then be added to a C# project. You can find your icon file there.
I am trying to chance the icon of the exe file created native bundling of javafx packaging but it still contains the default icon. Please suggest
primaryStage.getIcons().add(FileUtility.loadImage("icon.png"));
did not help, it only changes the title bar and task bar icon.
The ico file still gets generated and icon of the exe files remains the default one
I also tried to assign an icon in the project properties-> Deployment-> icon but did not help
I believe I have encountered the same issue and the solution is described in the following thread.
As a side note - neither specifying your icon in the build.xml file or via the project's options in the deployment section is going to work thus far, but it seems to be fixed in the upcoming release of 7u10.
I added response here How to set custom icon for javafx native package icon on Windows and thinks it is the same issue you started out with. However you seem to have moved on, but others might find it interesting...
I added src/main/deploy/package/windows/myapp.ico there and it finally worked :)
For you:
Create src/main/deploy/package/windows/ folder
Add icon with name ${project.build.finalName}.ico
Run mvn jfx:build-native
I haven't played with it extensively - just got it to work and wanted to share. So if you want to use icon with different name, I don't know how. Not yet at least. The ... section in the config section seems to be for webstart, so I haven't been using it. Hope you get it to work!
Answered at How to set custom icon for javafx native package icon on Windows
It was my understanding that all you needed to support retina display was to have a #2x image and scale down to half for the non retina display devices. I put all the regular and #2x files in my Supporting Files > Images folder. However, on the apple website is says the following:
"Even if you use these fixed icon filenames, your app should continue to include the CFBundleIcons or CFBundleIconFiles key in your app’s Info.plist file"
I was unaware that I had to do anything to the plist file or maybe the information in apple's website is outdated. I am running xcode 4.4, any help is appreciated, thanks.
its simple to add icons click on your project in the xcode navigator and just drag and drop the icons to the right slots. then, to be sure they are there just click on the info tab icon files ios5, icon files, ... , and then see if it says icon.png, icon#2x.png, icon-72.png because you need those. its pretty simple and the only editing you really have to do is add icon-72.png(which should be 72x72) and then it should work fine
I am developing an Adobe Air app. I need to set an icon to the app so it is shown on the task bar. I added the icon tag to the descriptor file but it is not working and I really don't know why, any ideas?
Two things that might be throwing you off:
1) the icons block is commented out by default in the auto-generated descriptor file, and is an easy thing to overlook
2) the icons specified in a descriptor file don't appear in the app unless you build a release build, and install the resulting .air file. A debug build will only show the AIR icon.
At least these are the behaviors I experience in Flash Builder 4.
Adding the icons to your application descriptor should do it.
However, icons come in different sizes.
For example:
<icon>
<image16x16>/icons/app/icon_16.png</image16x16>
<image29x29>/icons/app/icon_29.png</image29x29>
<image32x32>/icons/app/icon_32.png</image32x32>
<image36x36>/icons/app/icon_36.png</image36x36>
<image48x48>/icons/app/icon_48.png</image48x48>
<image57x57>/icons/app/icon_57.png</image57x57>
<image72x72>/icons/app/icon_72.png</image72x72>
<image114x114>/icons/app/icon_114.png</image114x114>
<image128x128>/icons/app/icon_128.png</image128x128>
<image512x512>/icons/app/icon_512.png</image512x512>
</icon>
If I'm not mistaken, the 32x32 icon should be the one that is displayed in the taskbar.
Obviously, make sure that you are referring to the correct path in your descriptor file.
One more thing. I just wasted over an hour on this: For an iOS app, you won't see the icon when you drop the app into iTunes (at least not under Windows), but it will appear on your device!
Has anybody please found a way to modify/replace the icon of a Playbook program?
Like display a red star on it - to indicate there is new message for the user.
I've tried tracing NativeApplication.supportsDockIcon and NativeApplication.supportsSystemTrayIcon properties, but they are both false on Playbook simulator.
What you're asking (dynamically changing the icon once the app is installed) is not currently possible. That will require OS support which is not available and hasn't even been mentioned publicly yet.
The reason it's not possible currently without an API is that everything in your .bar is written to a folder which is read-only to the app itself, icon file and MANIFEST.MF file included.
Edit your blackberry-tablet.xml and add
<icon>
<image>blackberry-tablet-icon.png</image>
</icon>