example.payment.jbricks
Class Main
java.lang.Object
javax.microedition.midlet.MIDlet
example.payment.jbricks.Main
- All Implemented Interfaces:
- java.lang.Runnable, javax.microedition.lcdui.CommandListener, javax.microedition.payment.TransactionListener
public class Main
- extends javax.microedition.midlet.MIDlet
- implements javax.microedition.payment.TransactionListener, javax.microedition.lcdui.CommandListener, java.lang.Runnable
main wrapper
Constructor Summary |
Main()
|
Methods inherited from class javax.microedition.midlet.MIDlet |
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
showCommandExit
public void showCommandExit(boolean show)
startApp
public void startApp()
- Specified by:
startApp
in class javax.microedition.midlet.MIDlet
pauseApp
public void pauseApp()
- Specified by:
pauseApp
in class javax.microedition.midlet.MIDlet
destroyApp
public void destroyApp(boolean unc)
- Specified by:
destroyApp
in class javax.microedition.midlet.MIDlet
commandAction
public void commandAction(javax.microedition.lcdui.Command cmd,
javax.microedition.lcdui.Displayable dis)
- Specified by:
commandAction
in interface javax.microedition.lcdui.CommandListener
processed
public void processed(javax.microedition.payment.TransactionRecord record)
- Specified by:
processed
in interface javax.microedition.payment.TransactionListener
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
buyLife
protected void buyLife(int count)
buyLevel
protected void buyLevel(int count)
setTransactionListenerNull
protected void setTransactionListenerNull(boolean b)
getHistory
protected java.lang.String[] getHistory()