Carlos PQ

Greenhorn
+ Follow
since May 07, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Carlos PQ

Hello!
Im programming an app in Java with a Modem in the serial port.
I already know how to make the app read the messages that the modem sends. Ive also created a thread that after some time, it wakes up and looks if there are messages in the serial port.
BUT, I would be interested in generate an interruption (or an exception, i dont know which is the best choice) that would wake my thread up when there is an incomming message in the serial port from the modem.
That is, the app is asleep (there is no CPU time), and when the Modem sends a message to the serial port, the app would wake up automatically (the interruption will execute a method in the app, or would wake up a thread... i dont know)
Somebody could help me???
Really thank you!
21 years ago
Hello!
Im programming an app in Java with a Modem in the serial port.
I already know how to make the app read the messages that the modem sends. Ive also created a thread that after some time, it wakes up and looks if there are messages in the serial port.
BUT, I would be interested in generate an interruption (or an exception, i dont know which is the best choice) that would wake my thread up when there is an incomming message in the serial port from the modem.
That is, the app is asleep (there is no CPU time), and when the Modem sends a message to the serial port, the app would wake up automatically (the interruption will execute a method in the app, or would wake up a thread... i dont know)
Somebody could help me???
Really thank you!
21 years ago
Hello,
i would like to develop two differents applications that can comunicate with the other.
Both app will run in the SAME machine (so, i dont know if i still should use sockets... sockets are useful to comunicate apps running in different machines, no?)
Can someone help me??
Thank you very much.
21 years ago
Hello,
Ive heard about a SIM Application Toolkit, "something" that some mobile telephones and SIM Cards have.
But, can someone tell me
How it works?
what I can do wiht it and how i work with it?
where i can learn more about it?
Thanks a lot.
21 years ago
Hello!!
I am developing (or trying to develop MIDlets using JBuilder and Nokia Developer's Suite).
How can I send/recieve/manage SMS in a MIDlet???
Is that using AT-Commands??? How can i use them in the Midlet?
Anybody could help me???
Thanks!!!
21 years ago
Thank you very much!!!
It was that!
21 years ago
Thank you very much Matthew! But i still dont get it!!!
What i do is:
Image logo=null;
try{
logo= Image.createImage("logo1p.png");
}catch (IOException e)
{ System.out.println("error"+e);}
ImageItem logoItem=new ImageItem("",logo,ImageItem.LAYOUT_DEFAULT,"");
pantallaPresentacion.append(logoItem);
AND HERE IT IS WHAT I GET AS RESPONSE:
errorjava.io.IOException
DEFAULT-> xpos=2 imgWidth:0 labelWidth:0
Used w=4 xpos=2
DEFAULT-> xpos=2 imgWidth:0 labelWidth:0
Used w=4 xpos=2
DEFAULT-> xpos=2 imgWidth:0 labelWidth:0
Used w=4 xpos=2
I THINK THAT IT CANT FIND THE IMAGE (I PUT logo1p.png IN THE SAME FOLDER THAN THE CLASS IS)
COULD YOU HELP ME WITH THIS?
THANKS AGAIN FOR YOUR HELP! AND SORRY IF THIS QUESTION ARE TOO SILLY!
21 years ago
Hello!
I would like to insert a picture in mi MIDlet...
Can anyone help me PLEASE???
Thank you very much!!!
21 years ago