More questions on wap multimedia

More questions on wap multimedia SearchSearch
Author Message
dinos
New member
Username: Dinaras

Post Number: 5
Registered: 02-2006
Posted on Monday, August 03, 2009 - 11:41 am:   

Hello again,

I am trying to receive multimedia messages on a blackberry BOLD phone. I am facing the following problem:

If i send a wap multimedia message with weblink, then everything works fine. If i send the same message with wap push then the phone cannot open the generated webpage.

The links received on the phone are different. http://mydomain.com/MZ/OmoMrhkt sms with weblink (MMSWAPPush=SMS)
http://mydomain.com/20090803/13/E7A2C541.WML?id=XXXXXXXXXX wapalert (MMSWAPPush=Yes)

Is this a bug or something has changed? The later used to work in my blackberry in version 2008.

Thank you very much

Dinos
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1114
Registered: 08-2008
Posted on Monday, August 03, 2009 - 05:18 pm:   

Hi Dinos,

I'm not seeing any problem in my tests.

The link format is different for the SMS with web link because we thought it would be a good idea to shorten the link since it takes up space in the text of the message. When the server receives a request for the link, internally it converts it back to the other format.

We do try to auto-determine whether to use WML or HTML when returning content (even though the link says ".WML"). But the logic is the same whether the short URL or long URL is being retrieved.

Can you enable the MMSCDEBUG.LOG? Then we can see what happens in each case when the device goes in to retrieve the message content. If something is going wrong, that will show us what it is.

If you don't want to post the MMSCDEBUG.LOG here, you can e-mail it to nowsms@nowsms.com with "Attention: Des" in the subject line of the message. If you do e-mail it, please also post a follow-up here to let me know that you did ... that way I'll know to look for the log.

Or you can post the log as an attachment to a reply here...

--
Des
NowSMS Support
dinos
New member
Username: Dinaras

Post Number: 6
Registered: 02-2006
Posted on Wednesday, August 05, 2009 - 11:41 am:   

Hello and thanks for your reply

I am attaching the mmsdebug log

The wap push arrives ok, and the phone can open it, but when it is about to load the phone dispalys that

the xml is not well formed. I have seent it with other sites as well. Could it be that there is a small bug in the formation of html or wml?

Thank you very much in advance for your help

Best regards
text/plainsmsdebug log
NOWSMSDEBUG.TXT (61.6 k)
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1122
Registered: 08-2008
Posted on Wednesday, August 05, 2009 - 10:40 pm:   

Hi Dinos,

I think you're right. The HTML template is not as real-world tested as the WML version.

I don't have a Blackberry Bold to test with, but we did notice that there were some tags that were not closed. This doesn't seem to cause problems on other browsers, but they should be properly closed.

I've uploaded another update to http://www.nowsms.com/download/nowsmsupdate.zip so that you can try this change, as it may be a couple of days before we can test on a variety of different Blackberry models.

--
Des
NowSMS Support
dinos
New member
Username: Dinaras

Post Number: 7
Registered: 02-2006
Posted on Thursday, August 06, 2009 - 06:57 pm:   

Hello again Des and thank you for your quick reply

I tested the new update and the html template looks gorgeous.

It seems though that it can only handle specific amount of text. If you add more text then the text is cut towards the end, something that did not happen with the wml version.

Could you please investigate that as well?

Thank you in advance
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1126
Registered: 08-2008
Posted on Thursday, August 06, 2009 - 09:05 pm:   

Hi Dinos,

Yes, it seems to be an issue with the CSS.

I'm not an expert with regard to CSS. The way I interpret it, scrolling should be enabled.

I made a few trial and error edits to the nowsms.css file (located in program files\nowsms\mmscdata\css), and it seems that removing all "height:100%" references fixes the scrolling issues.

Here's an edited nowsms.css file:

text/cssnowsms.css
nowsms.css (0.5 k)


--
Des
NowSMS Support
dinos
New member
Username: Dinaras

Post Number: 9
Registered: 02-2006
Posted on Friday, August 07, 2009 - 01:20 pm:   

Sorry posted initially to wrong post, it should be here

Hello Des,

It seems that the problem is not solved removing height in the css.

An other thing i have noticed is that when i send same image with web link the html that is created displays text smaller, whereas when send with multimedia wap push text is bigger and cut.

Finally if i copy the link of wap push and paste it in the browser of blackberry all text appears ok

Any clue

Thanks in advance
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1134
Registered: 08-2008
Posted on Sunday, August 09, 2009 - 02:20 pm:   

Hi Dinos,

It doesn't make any sense to me. The HTML page that is generated is exactly the same whether it is sent via WAP push or text SMS.

The only thing that is different is the link itself.

The test SMS goes out with a shorter link (/MZ/something), where as the WAP push has a longer link (/YYYYMMDD/HH/idxxxxxx.wml?id=phonenumber).

Does copying and pasting both links into the browser result in the same result? Or is it different? (Can you tell whether it is the WML or HTML version that is actually being displayed in each case...I'm assuming that in both cases it is the HTML version.)

Have you tried clearing the cache on the Blackberry? (I'm wondering if there is an issue with the CSS file sometimes being retrieved from the cache.)

--
Des
NowSMS Support
dinos
New member
Username: Dinaras

Post Number: 10
Registered: 02-2006
Posted on Monday, August 10, 2009 - 12:25 pm:   

The problem of text been cut at the bottom of the multimedia message appears no matter which way the message is sent( weblink sms or wap push)

I cannot tell whether my blackberry is receiving the html or wml page.

The only difference i can see is with text size like i said in my previous post

An other thing i have noticed is that when i send same image with web link the html that is created displays text smaller, whereas when send with multimedia wap push text is bigger.


Please try to send some messages your self with long long text and you will see.

Thank you very much
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1144
Registered: 08-2008
Posted on Friday, August 14, 2009 - 09:50 pm:   

Hi Dinos,

Apologies for taking so long to reply.

I had to refer this back to engineering for further comment/analysis.

It appears that we opened up a can of worms by using HTML templates for the multimedia content push.

Different devices have different quirks and limitations when displaying HTML content (and between different versions of the same device).

We made a mistake in formatting the content in an HTML table element, as this led to content being truncated in some environments ... particularly with long text.

In response to these issues, we've greatly simplified the HTML formatting so that it works better on more devices.

Unfortunately, it still varies quite a bit from device to device.

So, we've decided to go back to using WML as the default presentation language, and only use HTML for devices that do not support WML (such as the iPhone). The rendering on different devices seems more consistent with this change.

I've uploaded an update with these changes to http://www.nowsms.com/download/nowsmsupdate.zip.

--
Des
NowSMS Support