Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp

Mateen Dar

Ranch Hand
+ Follow
since Jan 14, 2005
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 Mateen Dar

i didnt understand .. how do u
12 years ago
hi, how can i create a class to be a singleton. a singleton is a class that can only be used a sinlge time during the execution of a program. am i right. thanks.
12 years ago
hi how can we send mail from a jsp page. do i nead a smtp server or not. thanks .
[ October 16, 2005: Message edited by: Bear Bibeault ]
12 years ago
how can i consume a web service written in C#, from with my j2se application.
12 years ago
hi i want to make a chat midlet that commnicates between two user with bluetooth. the first problem is that i dont know even the abc of bluettoth. how can i transfer and recieve data using bluettoth. please help.
12 years ago
String addr = "sms://" + destination;

MessageConnection sender = null;

try {

try {

//connection creation

sender = (MessageConnection) Connector.open(addr);

//message creation

TextMessage msg = (TextMessage) sender.newMessage(MessageConnection.TEXT_MESSAGE);

//message is load

msg.setPayloadText(message);

//send it

sender.send(msg);



} finally {

sender.close();



}

} catch (Exception ex) {

//handle exception

}





what format must the destination be in .. i have a service number a port and a phone number ...
12 years ago
i have read about the wma form java. could u please give a small example. thanks
12 years ago
hi my service number for my phone company is +92300000042 . how do i use this to send sms to a phone nummer
12 years ago
hi i am interted to developa web site that u can can send sms to mobile phones. could u please get me started on this thanks. also can u tell me howe to send a sms from one mobile to another
12 years ago
hi,
i wanted to know the difference between wap and http. is it true that wap is a "smaller brother" of http without all the bells and whistles, like package acknowlegment etc. or am i way off line . thnaks.
12 years ago
i want to send my midlet to a nokia 3410 using parallel cable. how can i do this
12 years ago
the midlet of my mobile application, contains a function that reads data from awebhost splits it and return an array of strings. but for some reson this is not working. i have tested it on three emulators and it works fine biut when i put it on a real device it did not work . could anyone test it for me . u can get it here

http://j2me.zapto.org:8080/WebRoute

the problem is in the help menu. can u please help me thanks.
12 years ago
hi thanks for the reply ..
i have posted the site below could u test the proejct for me. i dont have a web enabled phone. and let me know if it works

http://j2me.zapto.org:8080/WebRoute/
12 years ago
my mobile project reads from a servlet posted as
http://j2me.zapto.org/WebProject .. will a mobile me able to read from this. it works fine in a emulator
12 years ago
i faced the same problem . their is no split function in j2me. so i just wrote my own function thata takes a string and a delimiter. about 5 lines of code. thats all.
13 years ago