Link to home
Start Free TrialLog in
Avatar of krelmanamit
krelmanamit

asked on

j2me - don't success reading from jad file.

Hi,
I saw an example how to read from the jad file

System.out.println(getAppProperty("MIDlet-Name"));

but it always return null.
I checked in the jad file and sure that this paramters is in the file,
maybe it is related but when I try to run Alert
             Alert alert = new Alert("Alert","dd",null,AlertType.ERROR) ;
            alert.setTimeout(Alert.FOREVER);
            display.setCurrent(alert,form);

It doesn't work. -:(
I am new with j2me programmer then it can be foolish problem

Thanks.



ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of krelmanamit
krelmanamit

ASKER

It is working now, ( I run the class file instead of the jad file )

do you know why the alret doesn't work ?
Looks like it should...  If you post some more of your code, maybe someone could help you?