Developers Harness New Accelerometer and Gyroscope Support in Mobile Safari
As you may know, all iOS devices have accelerometer sensors (plus magnetometer and gyroscope on some devices). However, as web developers, we didnt have access to such sensors until now. Safari now supports the DeviceOrientation API (W3C draft). Looking at the available objects, it seems that all the API is fully supported (including ondeviceorientation and ondevicemotion events). . .
Firtman coded a quick demo (functional on iOS 4.2 devices only) of the new capabilities, allowing users to roll a ball around the browser window using accelerometer input.With the new support not being broadly advertised by Apple, it has taken a little while for developers to create truly functional implementations of the features. But as noted by The Next Web, Occipital, the company behind the popular 360 Panorama photo application, has now harnessed the features to provide immersive viewing of panorama photographs.

As an example of the feature in action, this link to a panorama utilizes traditional click-and-drag panorama navigation when accessed through a desktop or notebook browser, but on an iOS 4.2 device users can pan around the photograph simply by moving their device to mimic experiencing the scene as if they were there.
After you capture a panorama with the 360 Panorama app, one can upload the picture, getting the URL to view the experience in Safari Mobile. In essence, the raw jpeg image files are hosted on either TwitPic or yFrog after a user uploads a panorama through 360 Panorama.
After launching the URL in Safari Mobile, one will see "Gyro ON" and simply by moving your phone in any direction, you can have a complete panoramic experience using the photo you've captured. Moreover, experiences can be viewed on TwitPic, or the location of the experience using Apple's "Maps" app.
Top Rated Comments
(View all)Nice seeing Apple keeping up with HTML5. ...
Yes, it's nice seeing apple keep up with the technology that they keep shoving down everyone's throats.
Nice seeing Apple keeping up with HTML5. I'm sure they are trying to avoid having people develop HTML5 games outside their AppStore, but I'm sure that would only apply to the simplest of games.
I really don't think they care if you build a game outside of the app store, if they did they wouldn't be supporting these features.
Gyro support has been slow on the uptake in the app store, but I've been enjoying it recently in Real Racing (it really improved their 'we rotate the screen to keep the road horizontal' effect) and Rage, and now this. It provides a very impressive response.
Nice! Love the pushing of the envelope in HTML5 for mobile browsers. 360 Panorama does a great job implementing this, so it's not just bells and whistles. Unfortunately, the mobile demo that Firtman posted does not work for me. I have an iPhone 4 with iOS 4.2.1. Anyone else get this to work? The ball just stays in the corner.
I can only get the ball to go back and forth on the top of the screen. ??? Seems to be buggy. :)
UPDATE: I hit the reload button and it works good now.... try reloading the page.
I wish there was a way for these types of motion detected things to work so that you don't have to lay the phone flat to go up and down. It would seem like you should be able to point the screen right at your face and that would be the 0.0 point instead of flat on it's back. Make sense?
I really don't think they care if you build a game outside of the app store, if they did they wouldn't be supporting these features.
Agreed.
The main reason? There's no good way for anyone to sell an online game to users. They'd have to be free ad-supported games.
So if they're free games, Apple probably doesn't care if you want to put it on the web instead of their store. It's the paid games that they get a cut from.
I suppose the one loss is they couldn't get iAds put in that game, but I suspect we'll soon see iAds grow outside of iOS so that'll take care of that problem.
[ Read All Comments ]

As noted by ifoAppleStore, Apple is continuing its trickle of retail store openings this week with a new location opening on Friday, May 25 in Paris. The new Les Quatre Temps store will be...
TiVo owners can control their devices via an iOS app on the iPhone and iPad, but -- for the moment -- can only watch shows on their television.
But that's all going to change in a few months....
Binary Nights has dropped the price of its file-transfer app ForkLift to $0.99, down from $29.99, for a limited time.
ForkLift is a well-reviewed file management app that offers FTP, SFTP,...
Our sister-site TouchArcade notes that Chillingo's excellent physics puzzler Feed Me Oil is free today for both the iPhone and iPad. It's normally $0.99 for iPhone and $1.99 for iPad....