Hi !
I would like send data from mobile app (ionic) to my pc app (electron) by usb connect. I search since two days, but i don’t found …
Someone has an idea ?
Thanks
Hi !
I would like send data from mobile app (ionic) to my pc app (electron) by usb connect. I search since two days, but i don’t found …
Someone has an idea ?
Thanks
Uh, that seems like quite a hard problem. Many native apps can’t make this work.
What platforms are you targeting?
You looked through the Ionic Native plugins and general Cordova plugins?
Have you thought about alternative ways of submission?
I have seen apps that open a web server inside the app that is accessible by computer on the same network. A app on the computer could learn about the location and then automatically download the data.
Just to make sure: Just uploading the data to some server and downloading on the desktop is not an option?
Thanks for reply,
Sadly, the phone isn’t connect on the network, no one. So, the only method to communicate the data from mobile app to computer is usb. You see an other method ?
When i connect the phone by usb, either the phone push the data to electron app, either electron app get the data. Or both …
When the electron app get the data, it’s send this to api by the network.
Hi
bluetooth is an option to consider?
Tom
Sadly, bluetooth isn’t an option …
Hi,
quick search on cordova usb host does yield some projects, but I don’t have any experience working with them
http://www.plugreg.com/plugin/digitalsorcery/USBHostCordovaPlugin
And for these, you may need to do some development in native code both on PC and phone side.
So a great project which will contribute to the open source community!
Regards
Tom