launcher

How to change the Java application name shown in the Mac OS X launchpad

為{幸葍}努か 提交于 2019-12-12 08:28:23
问题 When my application written in Java with SWT runs under OS X , both from under Eclipse and from jar , its name in the launchpad reads "java", like shown in the picture. In the beginning of my code I call Display.setAppName("MyApp") , and the name of the application in the menu bar and menu items is correct, it reads MyApp , About MyApp , Configure MyApp , etc. The menu items behave properly, I can receive and handle the appropriate events. So the problem pertains exclusively to the app name,

How to set a launcher icon for the self-contained JavaFX2 application?

て烟熏妆下的殇ゞ 提交于 2019-12-12 01:35:01
问题 I've successfully created a native deploy ant script to make a .deb from my JavaFX2 application. However I can't seem to put a launcher icon for it. I had followed 2 steps: 1.Set the classpath for the ant-javafx to include the current directory and put in my base app dir my icon file, Aurica.png ( classpath=".:/home/aureliangtx/programs/java/lib/ant-javafx.jar" ). However, the ant verbose output for the fx:deploy states: Using default package resource [menu icon] (add package/linux/Aurica.png

Shortcuts vs Launcher Widgets (Android)

与世无争的帅哥 提交于 2019-12-11 15:29:18
问题 We have enabled shortcuts for two of our app screen. Using manifest, we have initialized Activity which is referring to the shortcut as below. <activity android:name=".ui.shortcuts.ShortCut1" android:screenOrientation="portrait" android:icon="@drawable/shortcut1" android:label="@string/app_shortcut_name1" android:theme="@style/AppLightTheme"> <intent-filter> <category android:name="android.intent.category.DEFAULT" /> <action android:name="android.intent.action.CREATE_SHORTCUT" /> </intent

AndroidTv and Smartphone in one app / Different launcher

*爱你&永不变心* 提交于 2019-12-11 14:44:33
问题 I am writing an application that will serve for tv and smartphone. For now I just want to differentiate the main screen depending on the device. I have placed fragments, and that are therefore arranged differently according to the device. But when I launch the application on TV, it is not tvActivity that is launched but the mainActivity Also, i have 2 launcher in the manifest, one <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" />

Android categorize installed applications

喜你入骨 提交于 2019-12-11 11:43:05
问题 I want to categorize installed android applications (Like Social, Entertainment, Games, News, Tools and etc). Can anyone suggest how can i programmatically arrange all the installed apps? 回答1: Use the WhereDat API: Create a raw JSON POST request, with an array of the packages you want to categorize: { "packages": [ "com.pixmix.mobileapp", "com.nextstagesearch" ] } Send it to: http://api.wheredatapp.com/data And here's the response: { "apps": [ { "category": "Productivity", "rating": 4.5,

Retrieve Ubuntu launcher icon

大兔子大兔子 提交于 2019-12-11 11:28:30
问题 Is there a way to retrieve application launcher icon. I tried xprop _NET_WM_ICON command but it returns with _NET_WM_ICON: Not found error. But I can see the icon in System Tray(Launcher). How can we retrieve that icon. Any other method ? 回答1: In Ubuntu/Unity it's defined in application .desktop file, not _NET_WM_ICON. See my related answer and desktop file specification You can associate your window with desktop file by setting _NET_WM_DESKTOP_FILE property 来源: https://stackoverflow.com

Run External exe from UWP app, workaround sandboxed mode

倖福魔咒の 提交于 2019-12-11 10:57:59
问题 I have a program where i want to have the ability to launch a local application (for example Spotify) from my UWP App. I have searched the web for a solution as (Process.Start()) doesn't work. As i have understood the UWP applications is kind of sandboxed for saftey and stability reasons. But is there a (simpel) way to work around this. I only want the ability to start and close a program inside my own frame/Window. No need to interact/send/recive data between my applications and the external

Load launcher app again?

删除回忆录丶 提交于 2019-12-11 03:01:22
问题 I have a custom launcher. When I install it, I open it for the first time and use the following code to load the intent chooser for the launchers: Intent localIntent = new Intent(Intent.ACTION_MAIN); localIntent.addCategory(Intent.CATEGORY_HOME); localIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(localIntent); My app will show the all the launchers. Then I choose the other launcher, the one that's notm y launcher, and set it to default. Then the next time the code above runs,

After tap on app icon,launcher create a new instance of root activity again & again.

房东的猫 提交于 2019-12-11 01:59:10
问题 After tap on app icon,launcher create a new instance of root activity & onCreate() of root activity is called when root activity already present in background i.e onPause(). It creating a new instance of root activity again & again instead of onResume() root activity. I know This is due to the intents being used to start the app being different. Eclipse starts an app using an intent with no action and no category. The Launcher starts an app using an intent with android.intent.action.MAIN

What is the difference in the way I launch powershell console?

China☆狼群 提交于 2019-12-11 00:53:02
问题 I work with Sharepoint and I need Sharepoint snap-in present in my console host. When I run powershell from my Windows start menu, I run command Add-PSSnapin Microsoft.Sharepoint.Powershell snap-in is added ok, and everything works well. Also, everything is ok, when I run cmd.exe, and type powershell.exe to it and press enter. So I think no shortcut parameters are involved in this problem (but I not 100% sure :) ). But when I launch powershell through some launcher (I've tested Launchy and