PDA

View Full Version : Touch Framework, gyroscope and gps....



gianniinguscio
24 Jan 2011, 12:36 AM
I'd like to develop an our application with your fantastic Sencha Touch 1.0 for navigation with Ipad...I'd like to know if the Touch framework can capture Ipad information like gyroscope, gps, and so on... Thanks a lot

AndreaCammarata
24 Jan 2011, 2:05 AM
Hi / Ciao Gianni.
Actually you can't access gyroscope with Sencha Touch only, but if you use PhoneGap to wrap your Sencha application you will be able to capture gyroscope and accelerometer events.
About gps: you can't really access to gps data, but you can know your position thanks to GeoLocation.

Hope this helps.

mitchellsimoens
24 Jan 2011, 8:21 AM
The browser has access to the Gyroscope so you don't need PhoneGap. Sencha Touch doesn't have a utility for the gyroscope but it can be done. Google "get gyroscope ios browser"