|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.android_scripting.IntentBuilders
public class IntentBuilders
| Method Summary | |
|---|---|
static Intent |
buildBackgroundShortcutIntent(java.io.File script,
Parcelable iconResource)
Builds an intent that creates a shortcut to launch the provided script in the background. |
static Intent |
buildInterpreterShortcutIntent(Interpreter interpreter,
Parcelable iconResource)
Builds an intent that creates a shortcut to launch the provided interpreter. |
static Intent |
buildStartInBackgroundIntent(java.io.File script)
Builds an intent that will launch a script in the background. |
static Intent |
buildStartInTerminalIntent(java.io.File script)
Builds an intent that launches a script in a terminal. |
static Intent |
buildStartInterpreterIntent(java.lang.String interpreterName)
Builds an intent that launches an interpreter. |
static Intent |
buildTerminalShortcutIntent(java.io.File script,
Parcelable iconResource)
Builds an intent that creates a shortcut to launch the provided script in a terminal. |
static Intent |
buildTriggerServiceIntent()
|
static PendingIntent |
buildTriggerServicePendingIntent(Context context)
Creates a pending intent that can be used to start the trigger service. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Intent buildTriggerServiceIntent()
public static Intent buildStartInBackgroundIntent(java.io.File script)
script - the script to launch
public static Intent buildStartInTerminalIntent(java.io.File script)
script - the script to launch
public static Intent buildStartInterpreterIntent(java.lang.String interpreterName)
interpreterName - the interpreter to launch
public static Intent buildInterpreterShortcutIntent(Interpreter interpreter,
Parcelable iconResource)
interpreter - the interpreter to link toiconResource - the icon resource to associate with the shortcut
public static Intent buildBackgroundShortcutIntent(java.io.File script,
Parcelable iconResource)
script - the script to link toiconResource - the icon resource to associate with the shortcut
public static Intent buildTerminalShortcutIntent(java.io.File script,
Parcelable iconResource)
script - the script to link toiconResource - the icon resource to associate with the shortcut
public static PendingIntent buildTriggerServicePendingIntent(Context context)
context - the context under whose authority to launch the intent
PendingIntent object for running the trigger service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||