public class TiAPP extends Object
Modifier and Type | Field and Description |
---|---|
static int |
APP_GENERIC
Type of generic APP
|
static int |
APP_SHELL
Type of shell APP
|
Constructor and Description |
---|
TiAPP() |
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete the APP
|
void |
enableAutorun()
Enable the APP autorun
|
void |
execute(boolean immediate,
String args)
Execute the APP
|
byte[] |
getAdditionalData()
Gets the APP additional data
|
String |
getDescription()
Gets the APP description string
|
int |
getId()
Gets the APP id
|
String |
getName()
Gets the APP name string
|
int |
getSize()
Gets the APP size
|
int |
getType()
Gets APP type
|
String |
getTypeName()
Gets APP type name
|
boolean |
isAutorun()
Check if the APP is autorun
|
boolean |
isRunning()
Check if the APP is running
|
public static final int APP_GENERIC
public static final int APP_SHELL
public void delete() throws IOException
IOException
- If an I/O error occurspublic void enableAutorun() throws IOException
IOException
- If an I/O error occurspublic void execute(boolean immediate, String args) throws IOException
immediate
- immediate execute or notargs
- execute args stringIOException
- If an I/O error occurspublic byte[] getAdditionalData()
public String getDescription()
public int getId()
public String getName()
public int getSize()
public int getType()
public String getTypeName()
public boolean isAutorun()
public boolean isRunning()