dotMobimobiThinkingmobiForgeready.mobiDeviceAtlasfind.mobiMowser
Switch to our mobile site

Posted by otavio.ramos 6 weeks ago

pic

Joined: 19 weeks ago

Posts: 3

[offline]

Hi,

I'm trying to put a link in a web page to send a sms, here what I've done:

<a href="sms:?body=hello world">Send sms</a>

This link works great in a w810. When I click it, it opens the sms window with "hello world" written, and I can type the number to send. Also works in some nokia devices

But when I try to put a link in the body, link http://myserver.com/mail or http://myserver/User?uid=10

it doesn't have the expected results, the first link only shows "mail" and the second just "User"

In nokia devices it shows the wholle link.

When I use http://myserver.com it shows ok, in all devices.

the problem is only when it has a " / " in the link.

any solution to that?

does that occurs in new sony-ericsson devices?

thanks

Posted by atrasatti 6 weeks ago

pic

Joined:
2 years ago

Posts:
235

[offline]

Did you try encoding all characters such as "/" and "?" ?. If the browser supports it, it should do the trick.

On the other hand, if a users sends an sms to another user with a URL, nothing assures you that the recipient's device will support clicking on a text URL in an sms message. The proper technology for this would be a wappush, but you should send it from your server and covering the costs.

Andrea Trasatti
DeviceAtlas, mobile device intelligence

Posted by otavio.ramos 4 weeks ago

pic

Joined:
19 weeks ago

Posts:
3

[offline]

thanks for reply.

how could that be done?

Posted by atrasatti 4 weeks ago

pic

Joined:
2 years ago

Posts:
235

[offline]

otavio.ramos wrote:

how could that be done?

Depending on the programming language you use, there should be a function to do it automatically for you. Anyway I found a wikipedia page that should help you, see Percent-encoding

Andrea Trasatti
DeviceAtlas, mobile device intelligence

Posted by otavio.ramos 4 weeks ago

pic

Joined:
19 weeks ago

Posts:
3

[offline]

that was it!!! worked!! I used the % characters and it's working good.

really really really thank you.

hope I can return the favor one day.

best regards

otavio ramos

Posted by atrasatti 3 weeks ago

pic

Joined:
2 years ago

Posts:
235

[offline]

Glad to head it Otavio.

Stay on the forums, ask more questions if you have, and even better answer other user questions and you will certainly have more than one chance to return the favour.

Andrea Trasatti
DeviceAtlas, mobile device intelligence