Incorrect URL displayed on phone | Search |
NowSMS Support Forums ⬆ WAP Technical Discussions (unsupported) ⬆ Archive through December 08, 2004 ⬆ |
◄ ► |
Author | Message | |||
Barbara Unregistered guest |
Hi, I send the following HEX string as an SMS message : 0605040B8423F0BE0601AE02056A0045C60D03687474703a2f2f706c61746f2e6d6163616c6c612e 636f6d3a383038302f61737465726f6964732e6a616400070103546869732069732061206d657373 6167652066726f6d20746865205761705075736820426561726572000101 When the URL is displayed on the phone it looks like http://www.http://blah.com:8080 Any ideas why the extra "http://www." is added to the start of the URL?? thanks | |||
Kent Williams Moderator Username: Kent Post Number: 35 Registered: 10-2003 |
It's happening because you are putting in a short code for "http://www." in the document, and then following it with the text "http://www.". So it is in there twice. Basically, you're trying to reverse engineer an existing push and modify it for your own purposes, without bothering to understand every byte that you are sending. (Sorry, I don't mean for this to sound hostile, I just believe that you should understand what every byte means when you are generating one of these messages.) Please refer to the WAP Service Indication Specification at the following link: http://www.openmobilealliance.org/tech/affiliates/wap/wapindex.html -- Kent Williams Now Wireless Support |