Just a quick post for everyone who’s lucky enough to be using T-Mobile on their iPhone in the US. It’s possible to get a data plan for your iPhone at only $9.99. It’s edge only, but that doesn’t matter because T-Mobile’s 3G network is incompatible with the iPhone’s 3G radio.
Here it is:
- Log into your account at tmobile.com. Change your device to be a silver (the pink one won’t work!) Motorola RAZR.
- As of this writing, there’s a bug in the site that prevents you from seeing the correct data plans for your newly selected device, so log out of the site, then log back in again. Now fFind your way to the page that lists the possible services you can add on to your plan, and you should now be able to select a $9.99/month web plan ($20 gets you unlimited texting as well). Select it.
- In your iPhone go to
Settings->General->Network->Cellular Data Network and for the APN use
internet2.voicestream.com. Leave the username and password blank.
You might need to wait up to 24 hours for the service to be activated. Just keep restarting your phone periodically and check to see if it starts working.
I just setup my iPhone so I can control it remotely and ultimately perform video captures of my activity on it. It’s a quick and painless process, and here’s a step by step for those interested:
- Jailbreak your iPhone/iPod Touch There are various tutorials around that take you through the jailbreaking process. Just make sure to use the latest version of the jailbreaking tools and install Cydia if you’re prompted.
- Launch Cydia and install Veency If this is your first time opening up Cydia, you’ll be prompted about what mode you want the program to run in; select ‘User’. Next click on the
Sections tab at the bottom, select the
Networking section and scroll down until you see
Veency. Select it and press Install.
- Download and install a VNC client If you’re on OS X, you can download Chicken of the VNC. On Windows, you can use Tight VNC.
- Find your iPhone’s IP address On your phone go to
Settings->Wi-Fi then click the blue disclosure button for the network you’re logged into. Take note of your iPhone’s IP address, because we’ll need it later. Mine is
- Launch VNC and connect to your iPhone Make sure your iPhone is unlocked and logged into your Wi-Fi network. Launch Chicken of the VNC (or Tight VNC) from your desktop, type in your iPhone’s IP address for the
Host, and leave the
Display at 0, then hit Connect. You should see a prompt on your iPhone asking you to accept or reject the connection.
Go ahead and accept.
- Control the iPhone You can control the iPhone with left-mouse clicks and the keyboard. You can simulate a press of the ‘Home’ button with a right-mouse click, and you can simulate the ‘Sleep/Power’ button with a middle-mouse click.
- Capture the iPhone screen I like to use Screenflow on my Mac to capture screencasts. I’m not up to date on the best screen capturing software for Windows, but I’m sure there are plenty of options out there.
A couple caveats: The frame rate’s not that great, which produces some artifacts during animations, and any app that uses OpenGL doesn’t work at all.
I recently discovered the beauty of mod_python and python server pages (psp), and I’ve been slowly replacing the php code on my server as I make changes. One thing that took me awhile to figure out was how to get the user-agent of the requesting client. In the hopes of helping others in the same boat, here’s the line of code:
<%= req.headers_in['User-Agent'] %>
As you can see all the request’s header information is in the