launch

Is there a non-java, cross platform way to launch the associated application for a certain file type?

扶醉桌前 提交于 2019-12-05 02:44:13
First, I found a couple of java specific questions and answers for this. I am looking for more "native", but cross platform solution, using C, C++, some kind of shell scripts, or, in my case, Qt. So the question is, are there standard, cross platform, ways to programmatically open the associated application for certain file types. Or at least to find out if there are associated applications and be able to locate and launch them? By cross platform I mean Windows, OSX and linux (gnome/kde). The use case is having a database with stored files as blobs that will be read on the three different

Selenium WebDriver does not connect with Firefox 20

穿精又带淫゛_ 提交于 2019-12-05 01:31:11
I'm using selenium-server-standalone-2.28.0.jar . Launched the hub and Launched the listener using the following command "C:\Program Files (x86)\Java\jre7\bin\Java.exe" -jar selenium-server-standalone-2.28.0.jar -role webdriver -hub http://localhost:4444/grid/register -port 5557 -browser "browserName=firefox",maxInstances=5,platform=WINDOWS,javaScriptEnabled=true,TAKES_SCREENSHOT=true A blank Firefox window is opened and then following error is displayed: Execute System.InvalidOperationException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: *** LOG

Launch image doesn't update

北战南征 提交于 2019-12-05 01:16:21
I'm using Xcode 4.3.1. Adding launch image is pretty simple -- just drag the image to the Project->Summary->Launch Images window. So I set a launch image before and it worked. But when I dragged a different image and run the app on my iPhone again, the launch image still remain the same as the old one. Even after I delete the launch image from the Launch Images window, the old image still shows up upon launching. I've tried clearing the build as well. Didn't work. Help please. Very much appreciated! You should delete the app from the device, then launch it again. I had the same issue, but with

Testacular doesn't launch chrome browser

谁说我不能喝 提交于 2019-12-05 01:15:59
问题 When I run testacular with 'browsers' set to "Firefox", a new firefox browser opens. I can open the console in there and see my 'console.log' messages etc... When I run testacular with 'browsers' set to "Chrome" or "ChromeCanary", no new browser opens. The tests run correctly, but I can't see the console (because I've got no browser). I have CHROME_PATH set in my windows settings (and CHROME_CANARY_PATH too), I get no error messages regarding browser startup and as I say, my tests work

eclipse launch configuration for web project

不想你离开。 提交于 2019-12-04 16:43:14
So I right click on my project and choose "Run on server" and runs fine. But I cant seem to be able to move the run configuration (the .launch file) in my project - when I go to run configurations > Server tab I see the launch config for tomcat which if I run it launches Tomcat fine but does not display the index of my web app - which is displayed alright if I rclick on the project and choose "Run on server". In ${workspace_loc}\.metadata\.plugins\org.eclipse.debug.core\.launches I have both : Tomcat v7.0 Server at localhost.launch : <?xml version="1.0" encoding="UTF-8" standalone="no"?>

Open Settings application on Unity iOS

丶灬走出姿态 提交于 2019-12-04 15:26:16
I am in need of a way to make the user is taken to the Settings application to disable the multitasking gestures. I know that in iOS 8 you can launch the Settings application programmatically through the URL in Objective-C: NSURL * url = [NSURL URLWithString: UIApplicationOpenSettingsURLString]; But I do not know how to get this URL in Unity to use with Application.OpenURL() JeanLuc You need to write a tiny iOS plugin for that, here is more information about it: http://docs.unity3d.com/Manual/PluginsForIOS.html And here is your solution, ask if something should be unclear. Script/Example.cs

Android open phone call application

戏子无情 提交于 2019-12-04 14:56:25
I just want to open phone call application of android device. I dont want to provide that application a phone number. Just want to open it. I am using phone application's package name to open it. Because I am able to open any application I want through that package name with the code below. Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.android.contacts"); startActivity(launchIntent); I am not able to open Phone and Contacts application with the above code. What can be the problem? Intents are intended (no pwn intended here (damn!)) to give you a more generic way of

How to launch an APP in background in iOS 6.x silently

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 14:38:01
We want to launch an APP silently in iPhone without bring this APP to the Foreground. In iOS 5.x we achieve this goal by this code: [(SBApplication*)app setDisplaySetting:0x4 flag:NO]; [(SBDisplayStack*)displayStack pushDisplay:app]; [(SBDisplayStack*)displayStack popDisplay:app]; But, in iOS 6.x there is not SBDisplayStack any more. I did some search but not found any answers. Someone says that SBWorkSpace replaces the SBDisplayStack in iOS 6.x. We use SBAppToAppWorkspaceTransaction to implement but always bring the APP to the Foreground which dose not achieve our goal. Anyone can help me?

Killing an unknown self restarting server on port 80 Mac OSX

谁都会走 提交于 2019-12-04 13:41:08
I have a server running on port 80, but I do not know what it is or where it came from. When I run sudo lsof -i :80 | grep LISTEN I get httpd 80 root 5u IPv6 0x91f5a9de62859cfd 0t0 TCP *:http (LISTEN) httpd 694 _www 5u IPv6 0x91f5a9de62859cfd 0t0 TCP *:http (LISTEN) I have tried to enter get the process name using the PID, but all I ever get in return is "httpd" or "FOREGROUND". When I kill the PID, the process simply restarts with a new PID. I assume I will have to stop it at launch. How can I stop this server from running at startup? If it helps any, I am trying to free up port 80 to use the

eclipse annoyances: Debug and Launch toolbars unavailable

谁说胖子不能爱 提交于 2019-12-04 10:08:13
I am running Windows XP and Eclipse 4.2.2 Build id: M20130204-1200 and I have lost my Debug and Launch tool bars. I have tried Windows>Reset Perspective (original values) and Window>Customize Perspective's (Tool Bar Visibility and Command Groups Availability) tab options. I have tried the Layout option on Debug view. All failed to bring them back. Right now, I am looking at Tool Bar Visibility tab and a message that says: <"Debug" cannot be made available because it is in the unavailable "null" command group.> However, the Debug checkbox in Command Group Availability is checked. I have also