/ Published in: Java
Shows how to access properties in the resources/META-INF/MANIFEST.MF file.
Presumably this file would have an entry like the following:
NameOfFile: winners.txt
The following code accesses this property at runtime from within the MIDlet and prints it to the console.
Presumably this file would have an entry like the following:
NameOfFile: winners.txt
The following code accesses this property at runtime from within the MIDlet and prints it to the console.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public class GetAppPropertiesSpotApp extends MIDlet { protected void startApp() throws MIDletStateChangeException { } protected void pauseApp() {} protected void destroyApp(boolean arg0) throws MIDletStateChangeException {} }