Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Is there a C# library somewhere to read the gyroscope and/or accelerometer from an iPhone or iPad connected to a Windows7 PC via bluetooth? I mean, is this sort of thing even possible?

I've looked at things like MobileDevice.dll, Manzana, and SharePodLib, but at the least those seem to get file data only. Can the orientation data be read somehow (other than with ObjectiveC, Unity, etc.)?
Posted
Comments
Sergey Alexandrovich Kryukov 28-Nov-13 3:26am    
Are you using Mono? You could P/Invoke the native library.
—SA
NeithWZ 28-Nov-13 3:32am    
No I'm not. I can find stuff for application programming on iPhone, but this isn't an iPhone application...it's a x64 PC application. I just want to be able to talk to the iPhone
Sergey Alexandrovich Kryukov 28-Nov-13 3:53am    
Wait a second. What is your way of using C# for iPod then?
—SA
NeithWZ 28-Nov-13 3:57am    
Well, I was hoping to connect the iPhone to the PC via bluetooth, as the question says.
Sergey Alexandrovich Kryukov 28-Nov-13 4:01am    
C# on what platform? Ah, I think I see, on Windows 7. Well, what's on the iPhone/iPad side? Java socket, server (listening) side, I would guess? It's awkward to connect raw sockets on different platforms/languages, but quite possible, you just need identical data at the level of streams, could also be XML...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900