November 06, 2007 Use your phone via browser Posted by Jukka Eklund at 04:14 PM | Categories: Tips and tricks

Here is a cool and yet practical application for a web server (like ours) running on the phone. With Contacts Browser Plugin you can make a call by simple clicking on a phone number in a web page. You can also add the number into your contacts or send a SMS to a number. All this without needing to touch the phone!


Installation instructions are here. There is a number of pre-requisites for getting this up and running, but those shouldn't be too hard. If you have any troubles let me know!

I thought this is a neat thing that might also start to ring some bells for certain people. How about making some widgets that interact with the phone? Or a Facebook application? Since we are busy making the backend and overall system stable and usable, why don't you do it? Or tell about your idea here, maybe someone else (including us) can do it. If your idea cannot be realized because of limitations in our system, then we definitely want to hear about it!

And by the way: we just published a book that might help you get started, go and grab it here.

Bonus links:
Developer start page in Forum Nokia, everything to get you started developing.
Developer discussion board, the experts will get you an answer if ýou run into technical problems.

-Jukka


Permalink |

Comments

You know I am a fan of the web browser...

But my heart is breaking when you suggest calling a number from a website with a PC when I cannot do that from the browser in S60.

I think what you are offering is really nice and useful. I just wish we could do that from the phone's browser too...

Posted by: Aron | November 6, 2007 10:06 PM

Great idea!

Posted by: Martin | November 6, 2007 11:00 PM

@Aron, that's right this case is only Firefox. Byt hey, once the widgets come to S60 then somebody can make this as a widget!

Posted by: Jukka Eklund | November 7, 2007 10:47 AM

The way I would do this is using bluetooth from the PC side and J2ME midlet on the S60 side.

Midlet should use BT Push to launch and then use PIM, WMA or platform request functionality to do the real stuff.

Should be much cleaner solution unless you really want to use web server in your phone :)

Posted by: Anssi Lehtinen | November 7, 2007 12:18 PM

Damn. Forgot that you cannot use BT from the PC browser so it would require small PC side web server to forward the requests from the browser to the phone using BT.

Posted by: Anssi Lehtinen | November 7, 2007 12:22 PM

@Aron: afaik it IS possible to make a phone call from within your S60 browser. That's what tel:// and wtai:// schemas are for. And that support has been available for ages.

Posted by: Tote | November 7, 2007 12:42 PM

@Tote, thanks for pointing that out I completely forgot. Shouldn't have happened since I was doing WAP stuff years ago..

@Anssi: Yes technically web server is not the easiest way, but like you pointed out quite a lot of hassle to get this BT thing working too. We are building a universal solution that can be used this way too. I don't think there is anything "un-clean" in a web server running in your phone, it's way of the future.

Posted by: Jukka Eklund | November 7, 2007 04:18 PM

I think that the separate gateway needed to access the phone by HTTP makes it a bit 'un-clean' solution, and I would prefer a local one in my PC at least in this use case.

I also forgot that there is HTTP push in J2ME but dynamic IP addresses really make it hard to utilize, unless of course if the HTTP traffic comes from the phone itself.

Would not a software that routes HTTP traffic from your PC to your phone over BT be something that would support your mobile web server too?

Then I could write my midlet :)

Posted by: Anssi Lehtinen | November 7, 2007 05:02 PM

I'm too excited already... Please contact PC suite team and beg them to implement it.

Posted by: Anssi Lehtinen | November 7, 2007 05:12 PM

Why would anybody leave home without his/her cellphone?

Posted by: MC | November 7, 2007 07:17 PM

@MC: Why indeed, but if she/he does that we have a good set of features to use the phone even if it was left home.

Posted by: Jukka Eklund | November 8, 2007 11:36 AM

Hello Tote and Jukka!

Do you mean that your plug in only works with telephone numbers which are coded in the web page as Tote explained? Or is it more intelligent and recognizes phone numbers automatically?

Are you saying that if a phone number is indicated in a way that the S60 browser can interpret it as a phone number, I can call that?

Can you give a link I could try?

My point was that if you support recognition of phone numbers on a PC browser the browser team should probably get the code from you and support the same thing in the S60 browser.

Thanks and Regards!
Aron

Posted by: Aron | November 10, 2007 07:56 PM

@Aron: What I said was that S60 Browser had supported the afore-mentioned schemes from the very beginnings. I can't remember the exact details, but something like tel://+123456789 should work. Go and try it out.

And wtai:// scheme also worked, however, it's a bit more tricky to use. As described here (http://www.wapforum.org/what/technical/wtai-30-apr-98.pdf), it can be used as follows: wtai://wp/mc; 5554367 (wp denotes "public WTAI" and mc is short for "make call"). Please note that this scheme is more specific to WAP browsers than web browsers.

Cheers

Posted by: Tote | November 12, 2007 03:09 AM

Thanks Tote. Those tel and wtai links don't seem to work in S60 browser (anymore?).

Posted by: Jukka Eklund | November 12, 2007 11:07 AM

Well, tel: scheme worked for me ... though it's worth noting that I didn't include double slash from the url. Example:
tel:+123456789

Tote

Posted by: Tote | November 12, 2007 05:23 PM

Hello,
thanks for the clarifications! Dialing from the browser would be really nice.

So how about you giving the code of your fancy number recognition code to the web browser team, so they could do this also in s60...?
Thanks and regards!
Aron

Posted by: Aron | November 14, 2007 12:02 AM

@Aron, I'm sure S60 browser folks are aware of those codes and they are doing what they can and is necessary.

Posted by: Jukka Eklund | November 14, 2007 09:48 AM

Hi guys,

To be honest, I don't understand what you're talking about. I've tried out tel: scheme above with the built-in browser and it worked. What's the problem?

Tote

Posted by: Tote | November 14, 2007 11:47 AM

@Tote: Which device and SW do you use? For me that that tel: doesn't say anything..

Posted by: Jukka Eklund | November 14, 2007 04:58 PM

I used my N95 and beamed a test html to it: I opened it with Messaging application, which in turn called the built-in Browser to handle this file. With success. It even recognized that the number existed in Contacts and displayed the name instead of the #.

Test html:


<html>
<head>
<title>Tel scheme trial</title>
</head>
<body>
Check these links out:
<ul>
<li>
<a href="tel://+36203262384">tel://+36203262384</a>
</li>
<li>
<a href="tel:+36203262384">tel:+36203262384</a>
</li>
<ul>
</body>
</html>

Tote

Posted by: Tote | November 14, 2007 05:26 PM

Very interesting!

- Jukka, are you able to dial the number Tote put in the forum from your PC plugin?

-Can you please put a working example page in your blog Tote, so we could try that directly from the S60 browser?

Thanks and regards!
Aron

Posted by: Aron | November 15, 2007 12:37 AM

Well, I wouldn't like to put the same code to my blog, because that's for not that purpose. However, I can put exactly the same code here so that you can try it from a real web page. In fact, that's what I'm gonna do: you'll find the above HTML code right below. Please note that from the two links only the second one is supposed to work (i.e. tel: and NOT tel://).

Check these links out:

Posted by: Tote | November 15, 2007 02:13 PM

Well, I wouldn't like to put the same code to my blog, because that's for not that purpose. However, I can put exactly the same code here so that you can try it from a real web page. In fact, that's what I'm gonna do: you'll find the above HTML code right below. Please note that from the two links only the second one is supposed to work (i.e. tel: and NOT tel://).

Check these links out:

Posted by: Tote | November 15, 2007 02:41 PM

@Aron: Yes this one works with the plugin: tel:+123456789. There is nothing special about the way plugin recognises numbers, it will just treat any row of numers as a phone number, similar to what S60 Browser does. I guess tel-prefix is a "standard", also the S60 browser recognises that.

Posted by: Jukka Eklund | November 15, 2007 04:24 PM

Hello and Thank You both!

the second method works on my E-70.

This is really fun!

I hope one day we can dial selected numbers even if they are not standard number definition. In the mean time I have realized that if we could save web pages even to text files, we could open them with note pad - and use the number recognition module in there...

or the browser team could implement the note pads number recognition.

a tip: try to copy the text from the text input field on this page to notes. Quite funny thing happens... Showing the common background...

Thanks and regards!
Aron

Posted by: Aron | November 15, 2007 10:55 PM


Post a comment







«Back to previous page