I am building an app that requires realtime data generated on an Android to be available to an application running on a PC. I suspect that network calls to a web service would be too slow. What other protocols/technologies exist? Bluetooth? Is there a good API for communicating over the USB connection? (Although it would be nice not to have to do that.)
Share
Dunno about bluetooth, I’d try to use the network somehow.
The fastest, realtime way over a network would be to use ‘Socket Programming’ (peer-to-peer) between your android and a PC. Networks are plenty fast. People play real-time first person shooters against eachother this way. I doubt you’d have more data to transfer than that.
If you don’t need realtime perhaps you can utilize a web service.