Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-17-2009, 04:45 PM   #7 (permalink)
paulperry
Registered Member
 
Join Date: Oct 2008
Posts: 37
paulperry is on a distinguished road
Default

Great tutorial, many thanks. Nicely focused on the subject.

Forgive a possibly stupid question, as i am no expert in physics.

If I want to just respond to the user "shaking" the iPhone, say for dice, or like the iPod Nano does for switching to another random song, should I just check for a large difference (the delta) in the x, y, or z values ? Therefore, I should keep track of the previous values and then just check for a delta. Would there be an appropriate to check for, or maybe I should just test out different deltas and see how they work.

Many Thanks.
__________________
My Apps: Word Zapper / MyThoughts+ / MyThoughts / Nothing / Chicks Only
paulperry is offline   Reply With Quote
 

» Advertisements
» Online Users: 440
21 members and 419 guests
ArthurOff, baja_yu, BdR, BumChinBooth, cgokey, chiataytuday, dansparrow, Duncan C, falco1973, GraffitiCircus, ioani, kukenwa, mistergreen2011, n00b, nyoe, rraagg, teebee74, TheStalker, TheTakeOver, WeaselPig, xerohuang
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,634
Threads: 94,093
Posts: 402,792
Top Poster: BrianSlick (7,990)
Welcome to our newest member, nyoe
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:48 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.