Use accelerometer in Simulator
2 posters
Use accelerometer in Simulator
I've been using this for awhile - works frakin' awesome; just drop the two files into your project and compile / install the app on your device. Launch the app, turn on network and control your Sim app's accelerometer via your device.
http://code.google.com/p/accelerometer-simulator/wiki/Home
:-)
http://code.google.com/p/accelerometer-simulator/wiki/Home
:-)
cybergreg- Posts : 21
Join date : 2009-07-21
Location : SoCal, USA
Re: Use accelerometer in Simulator
Dude... i think you miss understand the concept of tutorial13_1 & 13_2 its exactly the same thing... simply drop a .cc and .h into your app initialize and voila
No need to go for something else... SIO2 got it all working out of the box... and all events are dispatch through the network the SIO2 way and is also the approach that I use to work with SIO2 on windows, so basically its universal, using pure TCP/IP... why complicating your life with other 3rd party library
Cheers,
No need to go for something else... SIO2 got it all working out of the box... and all events are dispatch through the network the SIO2 way and is also the approach that I use to work with SIO2 on windows, so basically its universal, using pure TCP/IP... why complicating your life with other 3rd party library
Cheers,
Re: Use accelerometer in Simulator
Sorry - my bad - haven't gotten that far yet
Edit: Okay I looked over both tutorials and while this functionality seems very powerful I think you missed the point and functionality of the one I listed.
To use in your app: You also only drop in a .m and .h file and include it where you use the accelerometer. The benefit is it overrides the UIAccelerometer class ONLY when you compile for the Simulator. When you compile for your device it does nothing.
Example: Game that uses accelerometer running in Simulator w/this code will receive actual accelerometer input from the device you are running AccSim on.
I apologize if it's just my ignorance of SIO2 but neither 13_1 or 13_2 did this for me when I tested them.
PS Thanks for your effort in ALL of this. The tutorials are great and so far the SDK looks very impressive.
Edit: Okay I looked over both tutorials and while this functionality seems very powerful I think you missed the point and functionality of the one I listed.
To use in your app: You also only drop in a .m and .h file and include it where you use the accelerometer. The benefit is it overrides the UIAccelerometer class ONLY when you compile for the Simulator. When you compile for your device it does nothing.
Example: Game that uses accelerometer running in Simulator w/this code will receive actual accelerometer input from the device you are running AccSim on.
I apologize if it's just my ignorance of SIO2 but neither 13_1 or 13_2 did this for me when I tested them.
PS Thanks for your effort in ALL of this. The tutorials are great and so far the SDK looks very impressive.
cybergreg- Posts : 21
Join date : 2009-07-21
Location : SoCal, USA
Similar topics
» Accelerometer Example
» Accelerometer measurements
» accelerometer helping tool
» accelerometer (How can I make them work just the oposite?)
» iPhone Simulator performance
» Accelerometer measurements
» accelerometer helping tool
» accelerometer (How can I make them work just the oposite?)
» iPhone Simulator performance
Permissions in this forum:
You cannot reply to topics in this forum