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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-28-2008, 10:02 AM   #1 (permalink)
New Member
 
Join Date: Sep 2008
Posts: 1
ochrons is on a distinguished road
Default Accelerometer in the simulator

Hi,

As we have all noticed, the iPhone simulator environment doesn't provide accelerometer services. I don't know about you, but atleast for me it's quite annoying to always use the device for debugging applications that use the accelerometer. It would be so much faster using the simulator.

So, I created this application for iPhone that takes the accelerometer data on the device and sends it over UDP to other apps. Then a small library is attached to the application that you wish to debug on the simulator, receiving that data and simulating UIAccelerometer behaviour. No change to your source code required (besides one #import statement).

You can also use it for other purposes, such as controlling other applications by writing a small receiver application that converts accelerometer data to other commands.

It's open source at accelerometer-simulator - Google Code but as it is my first iPhone (and OSX) application, please excuse the poor design
ochrons is offline   Reply With Quote
Old 09-28-2008, 10:22 AM   #2 (permalink)
Registered Member
 
Join Date: Sep 2008
Posts: 288
Kenrik is on a distinguished road
Default

that's pretty dam cool.. I can imagine using the iphone the same way you use your Wii controller to play a game on your mac.. Hmmm
Kenrik is offline   Reply With Quote
Old 05-07-2009, 01:14 AM   #3 (permalink)
New Member
 
Join Date: May 2009
Posts: 1
zotya is on a distinguished road
Default iPhoneAccelerometerSimulator

Hi,

I also made an accelerometer simulator, what doesn't need any iphone/ipod to be connected to the computer.

You can download it and the entire description here.

Cheers
zotya is offline   Reply With Quote
Old 05-07-2009, 04:20 AM   #4 (permalink)
Registered Member
iPhone Dev SDK Supporter
 
Join Date: Mar 2009
Posts: 292
odysseus31173 is on a distinguished road
Default

Agreed, that is rather neat
odysseus31173 is offline   Reply With Quote
Reply

Bookmarks

Tags
accelerometer, udp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 351
13 members and 338 guests
akacaj, c2matrix, cgokey, esoteric, GHuebner, givensur, HemiMG, Mirotion22, mjnafjke, Pudding, SLIC, Sonuye857, Techgirl-52
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,652
Threads: 94,115
Posts: 402,887
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Sonuye857
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:17 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0