PDA

View Full Version : Ext.ux.touch.AccelerometerTabs



VinylFox
2 Dec 2010, 8:17 PM
Here is yet another fun way to flip through tabs, first there was my Swipe Tabs (http://www.sencha.com/forum/showthread.php?115070-Ext.ux.touch.SwipeTabs) but that got boring, so now I present to you Accelerometer Tabs. This plugin lets the user flick the device to the left or right to flip through tabs.

https://github.com/VinylFox/Ext.ux.touch.AccelerometerTabs

This is mostly for fun, however I do love the idea, so please feel free to fork this project on Github and help out.

Keep in mind that the device needs to have a gyroscope AND support the 'devicemotion' event to work. This means that iPhone 3G* devices will not work, since they do not have a gyroscope, even though they support the 'devicemotion' event.

mitchellsimoens
3 Dec 2010, 5:41 AM
You mean I have to download it myself to look at it? :(( :D

gkatz
5 Jan 2011, 4:05 AM
i cant seem to get this plugin to work with a simple example. I am using iphone 3GS with IOS 4.2.1...
any suggestions? tried to shake it many times but nothing happened... maybe I am shaking it wrong? :)

VinylFox
7 Jan 2011, 7:11 AM
Did you read the first post in this thread?


...iPhone 3G* devices will not work, since they do not have a gyroscope...