Ed Schepis

Greenhorn
+ Follow
since Feb 06, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ed Schepis

Hi Sowjanya,
I'm interested in the same topic.
Did you find anything?
Accessing Siebel webservices?

Thanks
Edoardo
12 years ago
Hi,
it seems that in

String batt = System.getProperty("batterylevel");
mainForm.append (batt);

you're appending a null to the form causing an unexpected exception.

Consider that (from Motorola developer support website):
http://developer.motorola.com/techresources/techsupport/

"...some of the system properties may return null as they may not be supported on early devices and some system propoerties require the MIDlet to be trusted otherwise return null..."

Regards,
Edoardo
16 years ago
Hi all,
sorry if a little Off Topic, but here it's the right place to
find interested people.
In Italy, we have just started the Java Mobile Developers Forum (JMDF), a
community of people focusing on Wireless and Mobile technologies using Java.
Our mission is to meet monthly (first meeting will be the 23rd of September in Milan) and to share our experiences in developing
and testing Java Mobile applications.
I have started a group in Yahoo to organize the events and the lab to
support the initiative.
If you are in Italy and would like to partecipate, please join us at
http://groups.yahoo.com/group/jmdf/

Main activites (... for free) will be:
- a lab with cellular phones and server machines available for testing
subscribers applications;
- a repository containing devices capbilities and bugs;
- developing open source projects
- to talk and meet "live" in monthly events
- look at success stories of main companies in Java and Mobile area

Thanks for the little space and time I've taken... hope
to see you all italian readers there.

Edoardo Schepis
Sun Microsystems
18 years ago
I passed too!
Congratulations guys!
[ September 02, 2005: Message edited by: Ed Schepis ]
18 years ago
If you use Tomcat as web server you could take a look at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/balancer-howto.html
However is a good start point for thinking about load balancing self-made solutions

Ed
19 years ago
NSIcom CrEme is a JVM fully compatible with pJava (personal java), but not with MIDP.
Therefore it tries to start the jar file looking for the main class (like in J2SE).
You have to install a KVM (JVM for MIDP apps) in your iPAQ...
... unfortunately I do not know about KVM for iPAQ :-(

Cheers
Ed
19 years ago
As MIDP2 API specs on platformRequest say: "...If the platform has the appropriate capabilities and resources available, it SHOULD bring the appropriate application to the foreground and let the user..."
The devices should implement it, so I've seen a lot of missing implementation around.
19 years ago
Hello Sri Ramu,
to make it work just add below lines to system.config file in wtk lib dir

# platform request
com.sun.midp.midlet.platformRequestCommand: "C:\Program Files\Opera\opera.exe"

Here the command is to launch opera browser and you can use it with the statement:
platformRequest("http://www.something");


Cheers
19 years ago
Try to use a specific supported mime-type (null means "use the default PNG type")
Try some format that can be queried from System.getProperty with "video.snapshot.encodings" as the key.
I think that P900 has some bug on it.

About Nokia 7610, as specs say:
IllegalStateException - Thrown if initDisplayMode has not been called.

Ed
19 years ago
Hi, i've read the SCEA FAQ and a lot of posts in this topic but I didn't find the answer. Do I need to buy the part 2 of the exam in order to be able to download the assignment? Or it is available as soos as I pass the part 1 and then I have to buy the voucher for part 2 only to submit it?

Thanks in advance guys.
Ed
Just a question: I've partecipated to the blueprint survey for SCJP 5.0, but not yet received the voucher... did they already sent to survey participants? How could I ask for it?

Thanks
Thanks to this forum I've passed today the SCEA exam (part 1).
Just a secret... make sure to have a voucher close to expiration date... ;-)
It makes you study more than other good intentions can do.

Cheers
19 years ago
Hard question... :roll:
You could create a MIDlet that will be the update of your MIDlet-A.
In the new version you can implement the read features missing in the actual one (maybe with an http connection to send data to a server ).

When you update your MIDlet (if the device keeps the specs) the rms should be left untouched or at least should ask fot it to the user.
Therefore with the new version you could use the new functionality you implemented to read data.

Remember that if the device does not support this practice (leave data of rms during update) you will loose data! be careful... make some tests with other midlets before that try.
If this feature is not supported, on the SE P900/P800 you could also copy the rms.db fileof your MIDlet from the device filesystem to the PC, using an application like "PC File Manager" from epocware.com
On my P800 MIDlets are within C:\system\MIDlets\<something like [1014738d]> (where C is P800 file system, D is the memory card).
After the installation of the new MIDlet (at this point also MIDlet-B) you could re-insert the rms.db file in the directory of the new MIDlet and access to data from your MIDlet.

Hope it helps and moreover it works
Ed
19 years ago
In my opinion here the choice is up to manufacturers.
The specs let the manufacturers to "downgrade" these functionalities with some kind of policy.
However you will discover it only on the real device.
At the moment I did not see devices with such restrictions and the exam won't ask you for manufacturer specific implementations
Do you want post some snippet of your code?
19 years ago