02-21-2010 11:58 PM
I want to get all the messages that are in inbox. i read API but could not find the way i can do it with API.. can you please tell me how can i do this? and also want to genegrate CSV file containing all that messages that are in inbox.
02-22-2010 12:20 AM
02-22-2010 01:20 AM
i have use SMS demo but how can eliminate the use SMSServer?
I have one listener thread to receive message when arrive it works fine when server is running and does not work when it is stop
02-22-2010 01:45 AM
02-22-2010 02:10 AM - edited 02-22-2010 02:19 AM
I want to develop one app in which it listen for all the incoming for message and each day it collects all the sms that has been receive on that day and then export it to CSV file.
in order to that i refer SMSDemo and find out how to send n receive messages but whenever i send any message from my application i dont get it in my outbox....if i send from bb's message applicaiton i can see it in my outbox.
Please help me.
02-22-2010 02:32 AM - edited 02-22-2010 03:48 AM
you will have to
1) create a class which will open "MessageConnection"
2)You will have implement "javax.wireless.messaging.MessageListener" to intercept all incoming msgs. Next, add this listener to above connection.
3) You can retrieve all the details of intercepted incoming msg by using "javax.wireless.messaging.Message" class.
4) Save these info in persistent DB.
Rest I have no idea about importing this info in CSV format.. So, we shud wait for others to participate in it.
02-22-2010 03:23 AM
I have implemented all the steps and am able to send SMS,Receive SMS notification, receive message. but the i cant find the message that i just in my outbox.....and can find it in my inbox. why is it happening?
02-22-2010 03:44 AM
I guess you have not specified port number of your simulator. You must go thru following thread.