Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

j2me - don't success reading from jad file.

Posted on 2004-10-21
4
Medium Priority
?
632 Views
Last Modified: 2006-11-17
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.



0
Comment
Question by:krelmanamit
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 2000 total points
ID: 12368945
can you post your JAD file?

Remember getAppProperty is case sensetive...
0
 

Author Comment

by:krelmanamit
ID: 12368967
It is working now, ( I run the class file instead of the jad file )

do you know why the alret doesn't work ?
0
 
LVL 35

Expert Comment

by:TimYates
ID: 12369063
Looks like it should...  If you post some more of your code, maybe someone could help you?
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month20 days, 16 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question