|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zelfi.client.Advertiser
This class can be used by game developers to integrate the Zelfi Ad component. In order to be able to use the Zelfi-Part, the functions of this class must be called.
| Constructor Summary | |
Advertiser()
|
|
| Method Summary | |
static void |
display(Displayable displayable,
MIDlet midlet)
Cancels the wait mode of the thread in the Zelfi Ad component. |
static void |
display(Displayable displayable,
MIDlet midlet,
boolean wait,
boolean internet)
Extended display methode cancels the wait mode of the thread in the Zelfi Ad component. |
static void |
display(MIDlet midlet)
Cancels the wait mode of the thread in the Zelfi Ad component. |
static void |
init(MIDlet midlet)
Initializes the Zelfi Ad component. |
static boolean |
showMenu(Displayable displayable,
MIDlet midlet,
boolean onlytest)
Shows the menu of the Zelfi Ad component. |
static void |
showWML(MIDlet midlet)
Shows rms saved wap page at finishing the application. |
static void |
shutdown(MIDlet midlet)
Shows rms saved wap pages or if no wap pages are available additional advertising at finishing the application. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Advertiser()
| Method Detail |
public static final void init(MIDlet midlet)
midlet - Object of the MIDlet-classMIDlet.startApp()
public static final void display(Displayable displayable,
MIDlet midlet,
boolean wait,
boolean internet)
displayable - the current canvas of the mobile application.midlet - the object of the MIDlet-class.wait - true - waits till the end of the Zelfi-thread. false - only starts Zelfi-thread wihout waiting. Important: never use "false" in keypressed, paint or commandAction.internet - true - allows application to connect to the internet. false - can be used for debugging.
public static final void display(Displayable displayable,
MIDlet midlet)
displayable - the current canvas of the mobile application.midlet - the object of the MIDlet-class.public static final void display(MIDlet midlet)
midlet - the object of the MIDlet-class.
public static final boolean showMenu(Displayable displayable,
MIDlet midlet,
boolean onlytest)
displayable - the current canvas of the mobile application.midlet - the object of the MIDlet-class.onlytest - true - test if menu is available false - show menu if menu is available
public static final void showWML(MIDlet midlet)
throws MIDletStateChangeException
midlet - Object of the MIDlet-class
MIDletStateChangeExceptionshutdown(MIDlet midlet)
public static final void shutdown(MIDlet midlet)
throws MIDletStateChangeException
midlet - Object of the MIDlet-class
MIDletStateChangeExceptionshowWML(MIDlet midlet)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||