| CODE |

Who hasn't built a fantastic mobile application only to run into some issues when deploying to a mobile web browser. Fortunately Facebook has developed and open sourced Ringmark (rng.io), a mobile browser test suite. Make sure to check out this great introductory blog post on Ringmark. We are excited at CloudSpokes to work with Facebook and Adobe to help make PhoneGap the first Ring 1 compliant browser. We will be launching a series of competitions around Ringmark and PhoneGap to contribute improvements back to the Apache Cordova project.
For this first challenge we want you to upgrade the Cordova source to pass the Device Orientation Event tests for both the DeviceMotionEvent and DeviceOrientationEvent.
The first step is to launch rng.io from PhoneGap on the device. You'll notice if you tap on Ring 1, the tests for Device Orientation Event will not pass. You will need to then update the code base to pass these tests. After you make your changes, make sure your solution passes Ring 1 tests for Device Orientation. Please see the attached screenshot in the Assets section.
- Provide a solution on iOS or Android (we will provide prizes to the best submission on each platform)
- Upgrade the Cordova source to pass the Device Orientation Event tests for both the DeviceMotionEvent and DeviceOrientationEvent.
- The specification for Device Orientation Event contains some additional info.
- Ringmark is completely open source and can be run locally. Get the source at https://github.com/facebook/rng.io.
Verify your submission passed the Device Orientation Event tests on rng.io. Provide a link to your GitHub fork of Cordova.
Your submission will be judged by a panel of peers based upon this criteria. If you would like to request an extension, please read Can challenge deadlines be extended for more time? on our FAQ. We do not want to grant extensions unless there is a valid reason.
We will be paying two sets of prizes for iOS and for Android. You are eligible to submit for both platforms.
9 members participating with 7 registered
Ended Aug 15, 2012 at 12:06 PM
Winner Announced on August 24, 2012
View the challenge results
Give us your feedback about this challenge.
Total: $3,000
1st $1,000 (IOS)
2nd $1,000 (Android)
3rd $500 (IOS)
4th $500 (Android)
Install the CloudSpokes Chrome Extension for quick and easy access to the latest CloudSpokes challenges, your payments, leaderboards and more!