Revision: 2437
http://sourceforge.net/p/swingme/code/2437
Author: yuranet
Date: 2021-04-23 17:32:38 +0000 (Fri, 23 Apr 2021)
Log Message:
-----------
static show toast
Modified Paths:
--------------
AndroidME/src_MIDP/javax/microedition/midlet/MIDlet.java
Modified: AndroidME/src_MIDP/javax/microedition/midlet/MIDlet.java
===================================================================
--- AndroidME/src_MIDP/javax/microedition/midlet/MIDlet.java 2021-04-22 21:36:44 UTC (rev 2436)
+++ AndroidME/src_MIDP/javax/microedition/midlet/MIDlet.java 2021-04-23 17:32:38 UTC (rev 2437)
@@ -93,6 +93,9 @@
this.pauseApp();
}
+ /**
+ * @return true if the MIDlet suite MUST first exit before the content can be fetched.
+ */
public boolean platformRequest(String url) throws ConnectionNotFoundException {
try {
@@ -438,7 +441,7 @@
notifManager.notify(0, notification);
}
- public void showToast(final String message,final int duration) {
+ public static void showToast(final String message, final int duration) {
final Activity activity = AndroidMeActivity.DEFAULT_ACTIVITY;
activity.runOnUiThread(new Runnable() {
@Override
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|