Questions tagged [launch]

The definition of a launch is an event at which something, such as an application/program is started.

1269 questions
168
votes
17 answers

How to detect first time app launch on an iPhone

How can I detect the very first time launch of - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // if very first launch than perform actionA // else perform actionB } method?
Shishir.bobby
  • 10,994
  • 21
  • 71
  • 100
156
votes
2 answers

Android Respond To URL in Intent

I want my intent to be launched when the user goes to a certain url: for example, the android market does this with http://market.android.com/ urls. so does youtube. I want mine to do that too.
Isaac Waller
  • 32,709
  • 29
  • 96
  • 107
128
votes
7 answers

How can I launch Safari from an iPhone app?

This might be a rather obvious question, but can you launch the Safari browser from an iPhone app?
keuminotti
  • 1,443
  • 2
  • 12
  • 16
84
votes
3 answers

Android singleTask or singleInstance launch mode?

I have an app that has a list as its main activity and then you can click items which opens a detailed view of that item. I also have a search activity that is similar to the main activity and works as intended. However I want this search activity…
Kman
  • 2,569
  • 5
  • 23
  • 27
82
votes
15 answers

Xcode 4 Error: Error Starting Executable

I ran into problem with testing my app on iOS and Xcode when I am uploading it to my actual devices (iphone and iPad), and I'm wondering if someone knows the issue and can help me out: Normally when I build my app on my devices, the app is installed…
JusmanX
  • 961
  • 1
  • 7
  • 6
76
votes
6 answers

Determine if an app exists and launch that app on iOS

Is there a way to check iOS to see if another app has been installed and then launched? If memory serves me this was not possible in early versions but has this been changed?
Rob
  • 4,149
  • 5
  • 34
  • 48
42
votes
9 answers

How to open the command prompt and insert commands using Java?

Is it possible to open the command prompt (and I guess any other terminal for other systems), and execute commands in the newly opened window? Currently what I have is this: Runtime rt = Runtime.getRuntime(); rt.exec(new…
404 Not Found
  • 3,635
  • 2
  • 28
  • 34
29
votes
13 answers

Eclipse shortcut to run a class

I have an Eclipse project where I often launch the same java class. I have added my run configuration to the favorites menu, but to launch it I still need to click on the run-drop-down menu and click the icon - is there any way to associate a…
Frank Meulenaar
  • 1,207
  • 3
  • 13
  • 23
27
votes
4 answers

How do I run an Eclipse launcher file in IntelliJ IDEA?

I have a Eclipse .launch file that a developer has created to set up the classpath, vm and program arguments from a XML file that Eclipse uses to launch the program. I want to be able to run this file in IntelliJ IDEA but is there an automatic way…
algolicious
  • 1,182
  • 2
  • 10
  • 14
25
votes
8 answers

How do I launch application one from another in C#?

I have two desktop applications. After closing the first application, the first application will start the second application. How do I start the second application after finishing first application? My first application creates a separate desktop.
Suriyan Suresh
  • 2,964
  • 14
  • 51
  • 80
24
votes
3 answers

Android: Launch activity from clickable text

Is there any way I can launch an activity from a portion of a string. eg I have this in my strings.xml file: This is a clickable string I would like the text between the u tags to be underlined and…
Martyn
  • 16,432
  • 24
  • 71
  • 104
23
votes
9 answers

How to detect whether an OS X application is already launched

Normally an application bundle on OS X can only be started once, however by simply copying the bundle the same application can be launched twice. What's the best strategy to detect and stop this possibility? On Windows this effect can simply be…
Per Ersson
  • 771
  • 2
  • 6
  • 10
20
votes
7 answers

Removing Launch Screen in Xcode 6.0

I've created a browser app, but every time it launches, the LaunchScreen.xib pops up first for a second or so. How can I stop this screen from appearing?
djinne95
  • 275
  • 1
  • 3
  • 10
19
votes
3 answers

How do I start multiple main programs in a Java executable .jar?

I'm writing a program that contains multiple packages in it. Each package has its own main program that I want all to launch simultaneously when the .jar is executed by an interpreter. This seems like a fairly simple question, but when I looked…
Brian
  • 7,955
  • 16
  • 66
  • 107
19
votes
2 answers

Launch JVM process from a Java application use Runtime.exec?

I want to be able to launch a Java server process from an existing java application and monitor the stdoutput and stderror and redirect that output to a file. Is the best approach to use 'Runtime.exec' and treat the app like any other OS process or…
Berlin Brown
  • 11,504
  • 37
  • 135
  • 203
1
2 3
84 85