com.siemens.mp
Class MIDlet

java.lang.Object
  extended bycom.siemens.mp.MIDlet

public class MIDlet
extends Object

Wrapper class for native Widget implementation. Currently only available on MC60!


Constructor Summary
MIDlet()
           
 
Method Summary
static String getAppProperty(String key)
          Lookup the attribute from the jar files' descriptors and return it as a String
static String[] getSupportedProtocols()
          Get schemes supported by platformRequest
static void notifyDestroyed()
          Notify native Widget when MIDlet gets destroyed.
static void notifyPaused()
          Notify native Widget when MIDlet gets paused.
static boolean platformRequest(String locator)
          Start native application.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MIDlet

public MIDlet()
Method Detail

notifyDestroyed

public static void notifyDestroyed()
Notify native Widget when MIDlet gets destroyed.


notifyPaused

public static void notifyPaused()
Notify native Widget when MIDlet gets paused.


getAppProperty

public static String getAppProperty(String key)
Lookup the attribute from the jar files' descriptors and return it as a String


platformRequest

public static final boolean platformRequest(String locator)
                                     throws ConnectionNotFoundException,
                                            NotAllowedException
Start native application. (Currently only available on MC60!)
The URL protocol part (i.e. "http:") determines which native application will be started.
Example: http://wap.my-siemens.com will start the native WAP browser with the given URL.
Currently supported protocol:

Parameters:
locator - URL to be loaded by native application.
Returns:
true if MIDlet has to terminate itself before the request can be fulfilled.
Throws:
ConnectionNotFoundException
NotAllowedException

getSupportedProtocols

public static String[] getSupportedProtocols()
Get schemes supported by platformRequest

Returns:
List of supported schemes


Generated on 2003-10-17For further information and updates, please visit Siemens mobile Developer Portal