Reading Binary SMS in windows mobile 5 using mapirule

  • Thread starter Thread starter cruser11232
  • Start date Start date
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
 
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
 
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...
 
Back
Top