View Single Post
Old 03-17-2009, 06:53 AM   #1 (permalink)
baskaraninfo
Knows Where the Search Button Is
 
baskaraninfo's Avatar
 
Join Date: Feb 2009
Location: Bangalore
Model: 9350
PIN: N/A
Carrier: Telstra
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question What's the difference between Email and SMS message composing using Java api's

Please Login to Remove!

I have been using the following to create an email message:

Quote:
Session session = Session.getDefaultInstance();
Store store = session.getStore();
// WHERE TO SAVE THE SEND MESSAGES
Folder[] folders = store.list(Folder.SENT);
Folder sentfolder = folders[0];
net.rim.blackberry.api.mail.Message msg = new net.rim.blackberry.api.mail.Message(sentfolder);
But, how can I create a SMS message using Java api?

Thanks
Offline   Reply With Quote