Hi, I am developing an application that requires data to be passed
between two phones via SMS messages.  One phone is a physical phone
that is our server while the other is the android emulator.  To test
the architecture I need to be able to get my messages in and out of
the emulator, so that the emulator can communicate with the server
phone.

To send messages to the emulator, I have tried opening a connection to
the emulator and sending the command "sms send <number> <message>";
however it appears that the emulator may be converting the message
into 7 bit encoding instead of leaving it at 8 bit.  This causes a
problem because my string is not meant to be interpreted as 7 bit
since the message is just a string representation of encoded and
compressed data.

At this point, our idea is to write the message to a file, push it
into the emulator, and code our SMS receiver to read the file and pass
the data in the file instead of the actual SMS message.  Then to
"send" an SMS message out, we would write it to a file and pull it out
of the emulator.  This should work but is not desirable.

Does anyone have any better suggestions on how to pass SMS data
messages in and out of the emulator?

Thanks,
David


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to