|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanger.app.Bundle
public final class Bundle
| Field Summary | |
|---|---|
static int |
SPLASH_HEIGHT
|
static int |
SPLASH_WIDTH
|
| Method Summary | |
|---|---|
static void |
checkForBundles()
Used by the OS to load more bundles as needed. |
boolean |
containsApp(Application app)
Discover if this Bundle corresponds to the provide Application object |
static Bundle |
findByClassName(String name)
Return a bundle that has a Class Name which matches the provided string, or null if no such Bundle exists. |
static Bundle |
findByDisplayName(String name)
Return a bundle that has a Display Name which matches the provided string, or null if no such Bundle exists. |
static Bundle |
findByID(int id)
Return the bundle that has the id which matches the given one, or null if there is no such bundle. |
static Bundle |
findByName(String name)
Return a bundle that has a name which matches the provided string, or null if no such Bundle exists. |
String |
getChooserCategory()
Return the chooser category where the application *hopes* to be placed. |
String |
getClassName()
Return the class name of the Application class that will be instantiated to launch the app |
void |
getComponentVersion(ComponentVersion cv)
Fill out the Component Version info for this Bundle |
String |
getDisplayName()
Return the application name suitable for display in the Launcher, and other human-readable places |
int |
getID()
This identifier is used by some internal system code. |
ImmutableBitmap |
getLargeIcon()
Return a 32x32 (hopefully) large icon bitmap |
static Bundle[] |
getList()
Return an array containing all Bundles in the system. |
ImmutableBitmap |
getMiniIcon()
Return a icon that it at most 11x11 and suitable for the Quick Access window. |
String |
getName()
|
Bitmap |
getPreviewScreen()
Deprecated. |
RecordingPen.Record |
getPreviewScreenRecord()
|
ResourceDatabase |
getResources()
Return the Resource Database |
int |
getSize()
size in flashrom in bytes. |
ImmutableBitmap |
getSmallIcon()
Return a 16x16 (hopefully) small icon bitmap |
String |
getVendor()
|
boolean |
invisibleToUser()
Return true if this app should be invisible to the user. |
boolean |
isDebuggingTool()
Return true if this app is a debugging tool. |
boolean |
isDirty()
Returns true if the DIRTY state is set -- indicates preview screen is due for redraw in Launcher |
boolean |
isMIDlet()
|
boolean |
isRunning()
Return true if the application associated with this
bundle is actually running. |
boolean |
launchOnBoot()
Return true if this app should start on system boot |
void |
quitApp()
Send a QUIT request to the application (if it's started) |
void |
resume()
Send a RESUME request to the application (if it's started) |
void |
sendNetworkEvent(Event e)
Send a Network Event to the application (if it's started) |
protected void |
setChooserFolderLabel(CharSequence label)
|
void |
setDirty()
Set the DIRTY state -- should only be used by launcher |
void |
setDisplayName(String appName)
Change the display name. |
void |
setShowInChooserMenu(boolean showInChooserMenu)
Change the show in chooser menu flag. |
boolean |
showInChooserMenu()
Return true if this app should be shown in the chooser menu |
boolean |
showInChooserRing()
Return true if this app should be shown in the chooser ring |
void |
suspend()
Send a SUSPEND request to the application (if it's started) |
void |
sysSendEvent(Event e)
Send an Event to the application (if it's started) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SPLASH_WIDTH
public static final int SPLASH_HEIGHT
| Method Detail |
|---|
public String getName()
public String getVendor()
public String getClassName()
public String getDisplayName()
public void setDisplayName(String appName)
public String getChooserCategory()
public boolean launchOnBoot()
public boolean showInChooserRing()
public boolean showInChooserMenu()
public void setShowInChooserMenu(boolean showInChooserMenu)
public boolean invisibleToUser()
public boolean isDebuggingTool()
public ImmutableBitmap getLargeIcon()
public ImmutableBitmap getSmallIcon()
public ImmutableBitmap getMiniIcon()
public boolean isMIDlet()
public boolean isRunning()
true if the application associated with this
bundle is actually running.
true if the app is running, false
if notpublic void sysSendEvent(Event e)
public void sendNetworkEvent(Event e)
public void suspend()
public void resume()
public void quitApp()
public Bitmap getPreviewScreen()
protected void setChooserFolderLabel(CharSequence label)
public RecordingPen.Record getPreviewScreenRecord()
public boolean containsApp(Application app)
public boolean isDirty()
public void setDirty()
public ResourceDatabase getResources()
public void getComponentVersion(ComponentVersion cv)
public static void checkForBundles()
public static Bundle findByDisplayName(String name)
public static Bundle findByClassName(String name)
public static Bundle findByName(String name)
public static Bundle findByID(int id)
null if there is no such bundle.
id - the id to look for
null if
there is nonepublic static Bundle[] getList()
public int getID()
public int getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||