Reputation: 51
I want to transfer data bi-directionally over USB between an Android tablet and a Google Glass. Is this possible?, If YES then please provide me some example.
Thanks.
Upvotes: 0
Views: 304
Reputation: 8338
There are ways to do this for debugging purposes. But this is for debugging purposes only (as Erstwhilelll said) - it is not something that you could use for an actual app in practice, especially connected to a tablet.
So for what you're asking, the answer is no.
There are other methods of communicating between the tablet and the Glass. The easiest of the possibilities is sending data over bluetooth. For this, see this StackOverflow response. You can find the code for Bluetooth data transfer here: https://github.com/NathanielWaggoner/GoogleGlassBlutooth
Upvotes: 0
Reputation: 4843
You may use the Android Debug Bridge (ADB) for many things. Consider using that.
If you are asking about some sort of "normal" process to use with a Glass GDK app to use the USB cable then do NOT do this. You should only consider using USB for development and debugging.
Upvotes: 1