David (krinchan) wrote in lj_dev,

Sprint Picture Messaging

I'm unsure of the status of the code that operates on Sprint Picture Messages. I remember there being some issues at getting a full sized picture out of the email that sprint sends.

Apparently, at some point in the recent past, Sprint updated their message format.

In the email's HTML within the head tag is the following snippet of code:

<!-- lsPictureMail-Share-xECrJJJa7YkkShrh88Xa-comment
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF&#45;8&quot;?&gt;
&lt;messageContents type=&quot;PICTURE&quot;&gt;
&lt;mediaItem id=&quot;1&quot;&gt;



The key here, is the url between "&amp;lt;url&amp;gt;" and "&amp;lt;url&amp;gt;". On all emails recieved from my phone, this URL leads to the full sized picture. A quick regex on the message coming into the application, such as "(&amp;lt;url&amp;gt;)(.*)(&amp;lt;/url&amp;gt;)" would effectively extract the URL of the full sized picture. Even better, when sending multiple pictures in one message, the result is multiple URL lines. This could effectively allow Sprint users to finally post multiple pictures in one post.

Is this implementable within the source code?

EDIT: Sorry about that. Don't know why this post just magically appeared on everyone's friends list now. It didn't even affect my friend's list. La-de-dah...*head desk*
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded