Run TIdeSDK app in Background - tidesdk

I want to run the tideSDK app in background when user clicks the run app in background button. How can I achieve this. So that app is not showing in the front.
Is it possible to this stuff in tideSDK? Any pointers to achieve this would be Great.

Just do
win.hide();
where win is a Ti.UI.UserWindow. When the app is hidden it is run as a background process:
(背景處理程序 means "Background Processes")

Related

Anyway for azerothcore to go the background or system tray?

I want to know if you can put authserver and worldserver to the background. I know mangos do this and since in the end, Azerothcore is based on mangos so I'm wondering if Azerothcore can still do this.
Or another way I do it for windows is use RBtray
RBTray is a small Windows program that runs in the background and allows almost any window to be minimized to the system tray by:
Right-Clicking its minimize button
Shift-Right-Clicking on its title bar
Using the Windows-Alt-Down hotkey
Note that not all all of these methods will work for every window, so please use whichever one works for your needs.
Just a guess that your trying to move console windows to system tray?.

JavaFX - How to run desktop app in the background using window close/minimize button and 'reopen or completely close' from hidden icons

I created a simple clipboard(desktop app) using JavaFX. Now I want to run the clipboard in the background when user minimizes or closes the app. For example, 'XAMPP' or 'μtorrent'. Of course, user can reopen or completely close the clipboard from hidden icons(in windows) or from the top panel(in ubuntu). From THIS question, i found
Platform.setImplicitExit(false);
which runs the clipboard in the background. But i want to show it in the hidden icons(in windows) so that i can reopen or completely close it from there.
I know how to get and modify the window OnCloseRequest. I just want to know what i should do to run the clipboard in the background.
I searched in the google and StackOverflow for any related tutorial or blog post but found nothing. Any suggestion will be highly appreciated.
I didn't share my code because my clipboard app has no problem. I just want to add the above-mentioned feature.

UWP - Change App Icon dynamically

I recently received a real headache problem for UWP apps.
Basically I would like to change the main Icon of my app depending on an action.
Let's say I would like to change the App Icon if a certain user logs into my app so that he does not see default App Icon after closing the app.
I found different links which refer to work on tiles, which works perfectly fine. But I did not come up with a solution to change the App's Icon.
Is there a way like in iOS to use AlternateIcons or in Android to just call an Alias?
Tiles are technically the icons in the UWP world. You can update the live tiles as you desire with notifications and they can provide richer visual surface than classic icons.
For the App List and Taskbar icons however, those are just static and you cannot change them at runtime. They come from the Package.appxmanifest Visual Assets section, so you have to define them ahead of time.
You however use Badge notifications to display simple info next to the app icon in the Task bar as well as on the main app tile.

Remove Universal Windows Platform Black toolbar

Might be a really stupid question but anyone got any idea how to get rid of the black toolbar appearing when running my application. I'm using Template10 as well.
That's buttons for debugging your application.
If you deploy your app and run it - your app will run without them.
Watch this thread if you want to manage:
How to remove the “Go to live visual tree” / “Enable selection” / “Display layout adorners” overlay when debugging?
There is a small button at the bottom of the black toolbar, which when clicked it hides the biggest part of it (in case you don't want to see it while debugging).

WatchKit Menu Items Not Displaying

I'm in Xcode 6.2 Beta 3 (Build 6C101), I've added a menu and two menu items to my Interface Controller, and created IBActions for both. I've given them titles and images, but when I run the app nothing displays.
I've read
https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/Menus.html
and can't see anything about need to show menu items programatically - what am I missing?
You do not need to present the menu programmatically. The only thing you need to do is wire each button to IBActions in your Watch app extension.
The most likely issue is caching of the previous Watch app storyboard. Do a clean build and try again.
Finally, as you likely know WatchKit menus only display on a "force press". They cannot be used for the main interface of the Watch app. In the Simulator, a click and hold with the mouse will simulate a force press, and the animation will make it clear when you have done one, even in contexts where it doesn't do anything.
This was solution for me- Go to Hardware->Touch Pressure->Deep Press then try tap on watch simulator.
I have recently encountered this issue on a real device, although the menu was working as expected on the watch simulator. In my case, the problem was in SF Symbol that I've used as an image.
Everything was fixed after replacing it with an image from the assets catalogue.

Resources