Forums Register Login

receive multiple messages

+Pie Number of slices to send: Send
Hi;
I need to send multiple binary messages to a cellphone (for example a wallpaper). I need to receive these messages in my application however I can not handle multiple messages. Do you have any suggestions or any examples of that kind.
And also I need to save this file to the memory of the cellphone but this will be the further step. First of all I need to receive multiple messages and concating them.

Thank you...
+Pie Number of slices to send: Send
Hi,

There should be no problem with receiving multiple messages, if the phone you're using supports WMA (Wireless Messaging API).

Does the MessageConnection fail after receiving the first message?

Or perhaps you are using another API ...
+Pie Number of slices to send: Send
There is one problem with using WMA, you are only guaranteed that you can use 3 messages that are tied together. However, these are always in the right order at the application level. But you dont't get very much data into 3 messages

Will you send the data between 2 mobile phones? Or, do you send the message between a computer and a mobile phone?

You could use a SocketConnection, which sends small messages and always guarantee the right order.

If you need to save data on the phone, you should use the FileConnection API. Note that not all phones have FileConnection implemented.
and POOF! You're gone! But look, this tiny ad is still here:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1308 times.
Similar Threads
Sun ePractice Examination Errors - JMS
sent and receive SOAP Messages with Attachments
How to activate Realm logs in Tomcat 5.5 / 6 ?
UDP socket
Implementing a message broadcast server using servlets
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:16:38.