Thursday, January 31, 2013

My Phone Has a SIP Dialer

Traditional phones pass conversations over the Public Services Telephone Netwok (PSTN).

Anyone who's ever used Skype knows, though, that you can also transmit calls over computer lines. Voice gets digitized, passed as packets over IP networks to someone else's computer, and then decoded into sound on the other end.  This is Voice Over IP: VOIP.

Actually, it's more than just voice, of course. Skype also does video, but folks still call it VOIP.

Skype uses proprietary protocols for this, but there are international-standard protocols, too.  The most common buzz-TLA I hear in this arena is SIP, the Session Initiation Protocol.  People talk about "SIP calls," but SIP is actually just the protocol used to set up the calls. The calls themselves exchange RTP (Realtime Transfer Protocol) packets, which move the audio and video packets back and forth once the connection's established.


My Phone Can Read and Write RFID Tags

Radio-Frequency Identification (RFID)  is a special case of NFC.  The tags themselves are passive devices. Beaming energy at them in the right way turns them into little transponders that use the energy to transmit back information that's been stored in them.  It's technology that's used in everything from tags to track wayward secondary-school students, to the transponders you clip on your visor that governments use to bill you for travelling on toll roads.

NFC grew out of RFID, so Android devices that can talk to one another over NFC can also read RFID tags. You can download apps from the Google Play Store that'll do that.

What would you pay? But wait. There's more.  You can also download apps that will write RFID tags. Over beer, a week ago, Kevin Fenzi told me he'd done it.

"Where do you buy tags?" I asked him.

"Oh, pretty much anyplace. Amazon, for example. But wait, I probably even have one in my backpack."

Sure enough. And they're little, re-writeable stickers. Whuf.

In short order, I downloaded the right apps, and wrote one that said, "Launch Waze."  (Waze is a navigation app that Ryan Fortman and Patrick McCarron convinced me to install, that helps me avoid traffic jams.).

After I wrote it, I  rubbed it against the back of my phone, and -- Boom! -- there's Waze. Since it's a sticker, I could stick it on the dashboard or the steering wheel of my old Volvo, and launch Waze without having to navigate through menus while driving.

I can also put other things on the same tag. For example, I could turn off wireless, which I'm not going to receive in my car anyway.

Other tags, stuck up in appropriate places, could trigger other custom environments. Next morning, I showed it to Steve Cutbirth, our support/customer-service honcho, and he got so excited that he took me over to show his team. They started talking about putting stickers on airplanes that would let service techs download custom diagnostics.

One of the team, Rob Lane, said he already has a Samsung Galaxy on order, which will let him do things like that. I look forward to getting together when it arrives so we can trade tips.

Meanwhile, I ordered a batch of tags from Amazon.

I Try Tethering

I've seen people offer up their wireless phones as hotspots -- portable wireless access points (WAPs) -- when no other WAP was working.  It's slower than a normal, coffeeshop or home WAP since it just runs at phone-network speeds, but slow is a lot better than nothing.

The phone works as as a wireless router, provides DHCP addresses to other computers that connect to it , and shuttles traffic to the rest of the internet through the phone network.

Thinking, "I really ought to try that," I hunted through the Settings menus, and found (More... -> Tethering & portable hotspot) a place where I could turn on tethering.

I did it, had Kristina connect her Kindle Fireto my phone, and ... Presto!  It worked.  She could browse the web.

From now one, if I can get a cell signal, I can use my cell phone as a router and connect laptops or tablets the web.

What is "Near-Field Communications"?

I'm told that there are commercials on TV touting Near-Field Communications (NFC): you just hold Android phones back-to-back  and they exchange information.

I'd read about it, but never tried it. I woke up a week ago, thought, "I have a Nexus 7 tablet and a Nexus 4 phone. That should work, right?"

I brought up Google Maps on the phone, held it back-to-back to the tablet and, after a little fumbling, the same map appeared on the tablet.  All this before I got out of bed.

What's going on?

NFC, Bluetooth, Wireless, GPS, and the cell phone itself, are all radio communication. Each of these has a little radio receiver/transmitter in the device that transmits info. Different radios have different ranges, transmission rates, and so on.

Wikipedia offers lots of technical details.

Each one helps me slough wires.  Wireless keeps me from needing an ethernet cable. Bluetooth is shorter range, and keeps me from needing wires to your headphone, my mouse, and so on. NFC is very, very short range, but lets me swap information even if I don't have a wireless network with a router available. If I'm in my car, driving, I can hand my phone to my girlfriend and she can suck information off it onto her tablet.

Going one level deeper, the Nexus boxes are actually using Android Beam, which uses NFC but is actually mostly Bluetooth. The two boxes first exchange enough NFC info to set up a Bluetooth connection, and then pass information back-and-forth with Bluetooth, which is harder to set up, but higher bandwidth.

I Root My Phone and Tablet

Ah, heck.

It's been a month since I posted anything.  I've done things, but haven't said how. I wrote posts, but I can't find 'em.  I'll put up placeholders.

One thing I did was to root my phone and tablet. It was fun. The phone's unlocked to start out with, which means I'm not risking the half-million dollar fine that the Obama administration threatens for rooting a smartphone by myself.

"Freedom? That is Yang worship word!"

Even with that step done, that's just the carrier-lock gone, but not changed to provide root access. Somewhere, I have files describing the process. Ah well.

Now, when my phone and tablet come up, they displays a little "unlocked" padlock icon at the botom as they're booting.  Awesome.