Creating custom taskbar icon in Flex application - apache-flex

I'm trying to create custom icons for my taskbar/desktop icons in my Flex WindowedApplication. So far, I've edited my -app.xml file to include the following:
icons/t_16.png
icons/t_32.png
icons/t_48.png
icons/t_128.png
When the application is run, however, the default flex/air icon is still showing. I have my systemChrome set to standard, and transparent to false, not that they have any relevance to this.
Any ideas?

Have you actually built a release version and installed your air app, or is just the debug version ?
UPDATE:
You have to deploy a release
version before the custom application
icon will be enabled.

Related

Replacing default app icon with custom icon in gradle build

I ported a large legacy Java 8 application to modular openjdk 17 as a gradle build. It produces correctly running installs for the platforms of interest (https://github.com/Papa-26/GS_LV). But I am unable to replace the dodgy default icons with a custom icon, I designed for this application.
I tried modifying the Artifact, and it did it in 'out', but it didn't affect the package in jpackage. Also, I included plugin "de.inetsoftware.setupbuilder",, and I couldn't figure out, how to change the app icon.

Xamarin forms iOS changed AppIcons but remains showing old default

Starting from a standard Xamarin forms app template and changing the app icons in assets.xcassets, I am unable to make this take effect. The initial xamarin icon keeps showing when deployed to physical devices.
In assets.xcassets, I added all the required image sized.
I ensured that in plist info this asset was set as app icons source.
I have tried cleaning, rebuilding and deleting from the ipad and iphone I am testing with. No success.
I tried deleting the default asset and creating a new one, and make pinfo point to this, and still the old Xamarin icon shows up. This makes me think that there is a cache somewhere on either my windows pc, on which I am developing using vs2019, or on the mac which VS is connected to for doing the actual build, and this is not getting updated, since otherwise that old icon should not exist any longer.
I did read this answer
Xamarin forms: Launcher icon for ios
Which indicates that the OP has a problem with a mismatched path to the asset, but that does not seem to be the case for me. The xcasset folder is at the root of the ios project. As this is simply the default test project it is app1/App1.ios/Fawk.xcassets and the entry in pinfo is
XSAppIconAssets
Fawk.xcassets/AppIcons.appiconset
Does this make any kind of sense?
Edit: Tried vs2019, xamarin forms template. Deleted default asset in assetcatalogs under ios, created a new one, set all my custom icon images (png), updated info.plist/visual assets/appicon to my new asset and then ran it on a physical device. The default xamarin icon is what shows up. This seems to indicate it is not a cache issue, as I suspected, but... something else...
You can right-click Assets.xcassets and view it in the folder, there is a json file in it, please check if the file name is correct.
According to the official documentation, if you are not connected to a Mac, it will only display the original image. For more information, you can check: https://learn.microsoft.com/en-us/xamarin/xamarin-forms/deploy-test/hot-restart#limitations

ArcGIS Runtime SDK Debug Display

I am developing an app using the ArcGIS Runtime SDK for .NET in Visual Studio Community 2017, currently set to Debug configuration.
There are these two black boxes/squares with numbers in them, one floats top left of the app window and another one floats top right of my desktop.
I have outline the one floating in the app in red in the following image:
Black box floating in app window with ArcGIS Runtime app for .NET
I assume its some sort of debug information specific to the ArcGIS SDK but searching online has yielded no results and the documentation on the ESRI website does not seem to make mention of it.
Note: It does not display when running the app on an android device, only when running the UWP version.
I would like to know what they are (1) and (2) How to enable and disable them.
That is a debug feature provided by UWP & Visual Studio. There are two black bars in the screenshot you posted:
In the center is the XAML debugging tools. You can disable this by going to Tools> Options> Debugging> General and unchecking 'Enable UI Debugging Tools for XAML'.
On the left is the framerate counter. You can disable this in code:
in App.xaml.cs (within the UWP project):
#if DEBUG
if (System.Diagnostics.Debugger.IsAttached)
{
DebugSettings.EnableFrameRateCounter = false;
}
#endif
Note that the above code already exists in that file, but EnableFrameRateCounter is set to true.
Also note that those tools only appear in debug mode.
Learn more: DebugSettings class

Design Mode not working in Flex Builder 3

When i try to open my mxml script in design mode i'm always getting following message "This Component is base on VBox, which is not a visual component. Switch to source mode to edit it"
Anything wrong with my installation?
Update to Flex Builder 3.0.1 to use design mode with Flex 3.1 SDK. You can download the latest Flex Builder update at http://www.adobe.com/support/flex/downloads_updaters.html.
Please check this link
http://kb2.adobe.com/cps/406/kb406059.html

Flex Builder 4 mobile modifying app properties

I am building an app in Flex Builder 4 (iOS and Android) and have my app worked almost to completion and about ready for deployment. Unfortunately, I cannot find how to change the app icon and title for the system to read, so my app still shows up as Main with the default package symbol in the launcher. Does anyone know where to apply changes to these properties?
You need to edit these details in the .xml file for your project. It will be located in the root of your src folder and will be named something like MyProject-app.xml. Double click this, there you can edit the filename, version number, icon, etc.
NOTE: the default view is Design, i found it much easier to edit in the Source view.

Resources