How do I change modals icon in Slack? - slack-api

Unable to find anything in the documentation. https://api.slack.com/surfaces/modals/using

This icon is taken from your App's icon and cannot be changed on a per-modal basis.
Until you have no icon specified - the default one is used like on your screenshot.

Related

Is it possible to determine which App Icon is the default when doing Product Page Optimisation experiment on the icon?

With App Store's product page optimization, it is possible to A/B Test different default app icons.
Is there a way from within the app's code, at runtime, to determine in code with icon is the one the user sees?
Please note: This question is NOT about alternate app icons.
Nor it is about knowing if the default icon is being used.
I want to know with icon is the default.

iOS Change Title of NSUserTrackingUsageDescription

How can I customize the title of the NSUserTrackingUsageDescription system prompt / alert?
In the attached image I underlined the text I want to change with color green.
The text underlined with yellow can be customized within Info.plist key "Privacy - Tracking Usage Description", that works fine.
Maybe this can be done with localization?
It canĀ“t be changed, there is no API available.
See #Paulw11 comments to the original question.

How do you change the icon for an automator app?

I have created a simple application for my Mac using Automator. I am trying to change its icon from the default robot icon, but anything I try does not work. I have tried copy-pasting the image I want using the Get Info technique, but that didn't work. I also converted the image I want as my icon to a .icns file and put it in the resources folder inside the package contents folder for the app. I also renamed that icon to AutomatorApplet.icns. This technique did not work either. Are there any other techniques I can try, or am I simply doing something wrong?
The copy-paste technique actually works. The one thing I realized I missed is to select the image. You need to hit command-a to "select all" before you can copy the image you want to use as your icon. Then to paste the image onto the app/file you want to have the image as an icon for, just select the item and hit command-i. The get info panel opens and you will need to click on the icon on the top left. Hit command-v and your new image should be used as an icon.

Display application icon for background service app on BlackBerry

I am working on an application which has background service functionality. I have successfully implementated the background service using the answer to "How can run background service application and UIApplication same time"
When I install the application on a simulator I can't see application icon. I have set and unset the property Do not display the application icon on the BlackBerry home screen. in BlackBerry_App_Descriptor.xml but the app icon still does not display.
Is this the default functionality? do apps with Alternate entry point selected not show an app icon?
How can I enable the app icon with the functionality of a background service ?
In order to show the App Icon, you need to specify two Icons (images) in the BlackBerry_App_Descriptor.xml file. Under Application Icons, add two image files and select "rollover" for one of those images. This would display an icon for your App even when it is hovered upon or clicked.
You definitely can do what you're asking.
You haven't shown the BlackBerry_App_Descriptor.xml file, but my guess is that it is where your problem is. For an app like yours, you probably have 2 or 3 different entry points. Many times, the normal UiApplication is one entry point, then maybe there's a background service entry point, or possibly a separate push notifications entry point.
For each of these, you can specify properties in the BlackBerry_App_Descriptor.xml file. For your main UI application, it should have Auto-run at startup and Do not display the application on the BlackBerry home screen unchecked (not checked!). You then also need to make sure an icon file is specified in the Icon Files section. You don't actually need the rollover icon, though, although you certainly can add it.
<AlternateEntryPoint Title="MyAppName" MainMIDletName="" ArgumentsForMain="" HomeScreenPosition="0" StartupTier="7"
IsSystemModule="false" IsAutostartup="false"
hasTitleResource="false" TitleResourceBundleKey="" TitleResourceBundleName=""
TitleResourceBundleClassName="" TitleResourceBundleRelativePath="">
<Icons>
<Icon CanonicalFileName="res/img/icon.png" IsFocus="false"/>
</Icons>
<KeywordResources KeywordResourceBundleName="" KeywordResourceBundleRelativePath="" KeywordResourceBundleClassName="" KeywordResourceBundleKey=""/>
</AlternateEntryPoint>
Then, for your background service, you would have Auto-run at startup and Do not display the application on the BlackBerry home screen both checked.
<AlternateEntryPoint Title="MyBackgroundService" MainMIDletName="" ArgumentsForMain="-background" HomeScreenPosition="0" StartupTier="7"
IsSystemModule="true" IsAutostartup="true"
hasTitleResource="false" TitleResourceBundleKey="" TitleResourceBundleName=""
TitleResourceBundleClassName="" TitleResourceBundleRelativePath="">
<Icons>
<Icon CanonicalFileName="res/img/icon.png" IsFocus="false"/>
</Icons>
<KeywordResources KeywordResourceBundleName="" KeywordResourceBundleRelativePath="" KeywordResourceBundleClassName="" KeywordResourceBundleKey=""/>
</AlternateEntryPoint>
Reference
Also, see this BlackBerry reference document, and take a look at the section titled Scheduling processes to run periodically.

smartgwt ToolStripButton icon on disabled form

I have used ToolStripButton which is added in ToolStrip. I have set icon on the buttons and by default button is disabled. problem is icon only shown on button when it is enabled. and but I want to show icon in disabled form of button too.
When a ToolStripButton becomes disabled, the URL of the icon gets "_disabled" added to it. So you'll see a 404 in the Net tab of Firebug from the attempt to fetch that icon. Just put the image file for the disabled version of your icon at that URL.
One small clarification. In my case smarGWT is looking for icon with "_Disabled" appended (with first letter in uppercase). Hope this will save someone time :)

Resources