A JAR containing a MIDlet named TestGeneratorMIDlet. |
A JAD with this content:
MIDlet-1: TestGeneratorMIDlet
...
Configuration: CLDC-1.0 MicroEdition-Profile: MIDP-2.0
...
|
This MIDlet needs to get the property with the key LabName defined in the JAD.
This needs to be assigned to a String labName from within the MIDlet.startApp() method.
|
What is the correct way to accomplish this? |
Choice 1 | String labName = this.getProperty("LabName "); |
Choice 2 | String labName = this.getAppProperty("LabName "); |
Choice 3 | String labName = System.getProperty("MIDlet-LabName"); |
Choice 4 | String labName = this.getAppProperty("MIDlet- LabName "); |