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.
Related
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));
I use another image.icns as my applications icon file.
I've deleted ~/Library/Application Support/NotificationCenter/*.db and restarted my computer but the notification icon is still the default Mac icon for my application.
Stop your application from running in Xcode. Force quit the Notification Center process via Activity Monitor. Relaunch Notification Center and then launch your application. Your notifications should now display your application's icon you've provided in your AppIcon.appiconset.
Turns out you should probably keep your icons in an ".iconset". And have all the recommended sizes available for the notification center to pick up (e.g. might be 32 x 32, might be 16 x 16).
And to create this, you can use the "Icon Composer" app to convert your .icns file into a full blown icon set. The .icns file does end up in your built app package / bundle in the end, though.
Details can be found in Apple's "High Resolution Guidelines for OSX" document, under the "Create a set of icons that include high-resolution versions" section.
Archive your app, export it to your applications folder. When there is a copy of your app in Applications folder, notification icon is somehow visible. This worked in my case...
I'm trying to trick windows 8 into thinking there is a touch screen connected.
I've been searching the web for a way to bring up the keyboard that should be displayed once you click on a text box (while with a touch screen), but I've come up empty...
Can anyone tell if there is a way to get the virtual (not OSK!) keyboard in metro to come up even without a touch screen?
Perhaps a setting or some work-around.
Thanks
One way to do this is to run your application inside of the Visual Studio simulator. To do this click on the drop-down in the debug menu and change the selection from Local Machine to Simulator:
Then when you debug, VS will bring up a device simulator. You can then click on the hand in the upper right to enable using the mouse in touch mode:
Finally, click on a control that requires the keyboard, and you should see the onscreen keyboard come up.
More info on Testing Windows 8 apps using Visual Studio 2012 at MSDN.
I am developing an application for Symbian S60 V3. The application can be run properly on Simulator on PC. It can be transferred to Phone. On Phone, it can be clicked to installed. But after installation, I cannot find the installed application for running. It just disappear.
Is there any hint ?
Did you create the application with user interface? If it's just some bacjground process without icon and GUI then it won't be visible.
Did you check under Applications link (or Installed or whatever it is called in different systems).
Do you see your app listed in Settings -> Application Manager?
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.