KeyLimeTie Blog

Build an iPhone friendly webpage

By Brian Pautsch – 7/14/2007. Posted to Applications.

I just got the new iPhone and it's amazing. What you see it doing in the commercials is accurate...and it does a lot more! So right away, I want to know how to implement my own software. Maybe start developing some 3rd party applications. I researched a little and found out no iPhone Software Development Kit (SDK) is available. It seems like Apple is instead telling people to develop applications as webpages. But then you cannot actually interact with the iPhone...and you cannot access the iPhone database (Contacts, Favorites, etc.).

I searched a bit more and found the following sample webpage released by Apple:
http://developer.apple.com/samplecode/Puzzler/

View webpage with your iPhone:
http://www.iarchitect.net/Uploads/126/index.html

Note: When trying to view the webpage in a standard browser (IE, Firefox), it doesn't display much. The weird thing is that if you click "Print Preview", you'll see the game.

Description
"Puzzler" is a fun and interactive game that illustrates the use of web standards and JavaScript for the iPhone. This application makes advanced usage of mouse-handlers for user-input.

To play the game simply double-click or double-tap on any set of 2 or more balls of the same color that are touching. The balls will disappear and any balls above or to the left of the balls you just eliminated will shift into new positions. The goal is to clear all the balls from the screen.

Screenshots
Click any image to see a larger version

 
Navigate to iArchitect.net
 
Click into this Blog
 
Start Game
 
 
Tap circles with finger
 
All cleared. You win!

Comments

On 7/15/2007 Brian Pautsch said:
If you're somewhere that has wireless high speed internet, then Yes. For example, when I started the iPhone up the first time, it found my wireless at home and asked for the password. I typed it in and the iPhone used my high speed internet for everything...very fast. I then went to a friends house and it was pretty slow over the phone connection.

On 7/15/2007 Bill G said:
Is the Internet really as fast as the commercial?

On 7/15/2007 Todd said:
I want one!

Leave a Comment

Name:
Email:
URL:
Comment:
Security Code:
Type Security Code:

Photos on Flickr

More Photos »

Search Blog


Archives