Archive | Mobile RSS for this section

iPhone Accelerometer Code

As I mentioned in the comments over here, getting UIKit to give your app Accelerometer data is pretty straightforward. Here’s my sample code that combines the accelerometer howto from the standard iphone hello world app and Erica’s slider howto.

Note: Kroo from IRC warns that this technique will only work if the app is launched from launcher or the springboard.

Also: Drunknbass found that you may have to restart springboard before it will work.

And: Check out Erling’s code if you want a faster sample rate.

Open more than 8 Safari windows on your iPhone

Just noticed this trick by accident!

Safari on the iPhone normally limits you to 8 windows. This limit is not enforced if you open a url from another app when Safari is not running in the background.

Steps:

1. Open 8 windows.

2. Hold the square button until Safari disappears (10 seconds). This shuts down the Safari process.

3. Go to Weather and press the Y! icon in the lower left. This will open a new Safari window even if you are over the limit.

Repeat steps 2 and 3 as often as you like to create more windows.

Stuck it on Digg.

iPhone Dev

I’ve been playing around with the iPhone toolchain. The first project I’m working on is something I need (an Exchange client), but I’d like to make something fun afterwards. For inspiration, I’ve been looking at the old Nokia Concept Videos.

iPhone

I stood in line and bought an iphone on day one.

I love it.

Here are the changes I would like:

1. Exchange Push email and calendar sync.

2. A2DP stereo Bluetooth.

3. “Open link in new window” function in Safari.

4. Bluetooth watch accessory supporting media controls, alarm/appointment info, callerid.

5. Widget API (offline startup,storage)

6. Cut, copy, paste, undo.

7. Buy music and video from the phone.

8. Wifi sync (especially podcasts).

9. Save youtube videos for offline viewing.

10. Custom ring tones.

The iPhone Screen

This article discusses the iPhone’s screen and how it may be more expensive to make than originally estimated.