Reading Binary SMS in windows mobile 5 using mapirule

C

cruser11232

Hi all,


Is there a way to binay sms in windows mobile 5 ? Need urgent help.
mapirule sample given in WM5 sdk works fine in case of a text
message.
But if i send binary sms from a j2me application to a windows mobile
the pspvSubject->Value.lpszW shows content as
"contents of this message cannot be displayed". What should be
done...........?//////////.....

Where will the actual data be... if the error is present in lpszW.



regards
Charley
 
P

Peter Foot

This is not possible in WM5 without installing a custom provider into the
SMS subsystem. In WM6 there is a MAPI property introduced on SMS items
containing the raw contents, however it doesn't handle the concatenation of
messages split over several SMS messages.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - software solutions for a mobile world
In The Hand Ltd - .NET Components for Mobility
 
C

cruser11232

Thank you peter for your immediate reply. I shall use either base 64
encoded or hex encoded data. my message size grows ...(...
One more query. If i provide UDH headers in the data like port what is
the behavior in wm5.
I find the message reaching the mobile phone since the back light
glows, but the message is not processed..
Even without mapi rule messages with ports do not reach the inbox
either.

But if i provide the port as zero it works fine... even with my mapi
rule.... ( i use j2me to send port based sms...) /Even tried out
building a custom sms and push it with AT commands.

Is there a way to handle PORTS this in WM5...

cheers,
Charley...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top