Win a copy of Java Challengers this week in the Java in General forum!

Loh Ying Hui

Greenhorn
+ Follow
since Feb 03, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Loh Ying Hui

I need to add numbers automatically into a certain field in a table for every record whenever it reaches month-end. This action has to be automatic, means, no action button should be clicked by admin for this. How is this possible with Access ?
Helo,
Does anyone out there knows how to set up 2 emulator in different machine ? What i did was receiving a sms message from a server at localhost to the emulator. Can i do it in two different machine ? What are the values i need to set in the internal.config file ? Please help !! Thx a lot!!
18 years ago

quote:
--------------------------------------------------------------------------------
Originally posted by Loh Ying Hui:
Another question i would like to ask, is it posible to run 2 emulators at the same time, one emulator sending a sms and another emulator receives it ? Thanks.
--------------------------------------------------------------------------------
Yes, you can run two emulators on the same machine.


Hello there,
I've try doing with 2 emulator and it works. What about running two emulators on different machine ? Is it possible ? Where do i set the ip address ?
Thanks !
18 years ago
oh! I didnt notice i wrote createPreparedStatement instead of preparedstatement. anywayz, thanx for the link!
oh i see. can you tell me what's the difference between createStatement and createPreparedStatement ?
can anyone tell me how can i invoke a trigger in a Database from a servlet ? what kind of statement do i need to execute ?
thanks
That's too bad.. , is there any other emulator you would like to suggest ?
18 years ago
I can finally run the application.. I guess the error i am having is the wireless toolkit i m using is a 2.0 version and there's some security problem.
Micheal, in your article you mention about the MIDP 2.0 AMS (Application Management Software). When a registered connection comes in, the AMS invokes a corresponding MIDlet to handle it. When the AMS picks up an SMS incoming message, it will first buffer the message and then trigger the handling MIDlet. The MIDlet can read and delete the message. Is this posible with the wireless toolkit 1.0.4 ?
thanx.
18 years ago
hi,
I received below error while trying to run the WMA tester source code. Is there any setting i missed out ? I've already added the required runtime properties in the internal.config file.
Besides that, i also have error while trying to access com.sun.midp.Configuration.getProperty(propName), the message i get is that there is no com.sun.midp.Configuration package.. What is wrong actually ?
Plz help! Thanks in advance.
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(+174)
at java.lang.Integer.parseInt(+6)
at com.sun.cldc.io.j2me.datagram.Protocol.getPort(+48)
at com.sun.cldc.io.j2me.datagram.Protocol.open(+66)
at com.sun.cldc.io.ConnectionBase.openPrim(+7)
at com.sun.midp.io.InternalConnector.openPrim(+231)
at com.sun.midp.io.InternalConnector.open(+26)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+5)
at com.sun.midp.io.j2me.sms.DatagramImpl.open(+53)
at com.sun.midp.io.j2me.sms.Protocol.<init>(+236)
at java.lang.Class.runCustomCode(+0)
at com.sun.midp.io.InternalConnector.openPrim(+216)
at com.sun.midp.io.InternalConnector.open(+9)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+6)
at javax.microedition.io.Connector.open(+5)
at message.messageAlert.startApp(+10)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
at com.sun.midp.midlet.Scheduler.schedule(+225)
at com.sun.midp.dev.DevMIDletSuiteImpl.schedule(+7)
at com.sun.midp.Main.runLocalClass(+20)
at com.sun.midp.Main.main(+68)
Error in server receiving
java.lang.SecurityException: Untrusted read operation.
at com.sun.midp.io.j2me.sms.Protocol.receive(+72)
at message.messageAlert$SMSServer.run(+15)
18 years ago
well, guess i'll have to go back to the manual way of running an emulator from the command prompt. :roll:
Another question i would like to ask, is it posible to run 2 emulators at the same time, one emulator sending a sms and another emulator receives it ? Thanks.
18 years ago
I have downloaded the sample coding in the document and I am using the Sun one studio toolkit to build it. Where should I specify the reference implementation's runtime properties ? I can't find any internal config file in the tool. And I am not running the application using command line..
Plz help. thanks.
18 years ago
For instance, if my filesystem is under d:\myDirectory\MyPackage,
Where should i mount the WMA jar file ? Is it under d:\myDirectory ? The WMA i downloaded is a zipped file, so, should i load the other zipped file into the same dir as the WMA jar file as well ?
Yes, I will be hoping to read your article..and in the mean time, try to work this out.
thanx
18 years ago
hi there,
Can you tell me which WMA page should i refer to? Because most of the pages i read didn't tell bout the runtime parameter that i should pass. Second, where should i place the WMA jar file?
Thanks again!
Loh Ying Hui
18 years ago
Hi All,
I want to use Sun one studio 4 mobile edition for developing wireless applications for Nokia j2me enabled phones . However, i have no idea how can i install the wireless Messaging API into it.
Anyone out there got any idea ?

Thanks in advance.
Ying Hui
18 years ago