thaliproject / thali

Our root repository for all of our projects
MIT License
86 stars 13 forks source link

Thali example - copy apk + data to peer(s) #279

Open BobAchgill opened 7 years ago

BobAchgill commented 7 years ago

I have a need to add such subject functionality to my Cordova HTML apks that serve literacy development in developing countries. The typical literacy app includes a directory of media files (1.5GB) stored on the extSD. It would be nice if your team could put up such an example thali project that performs this function that i could learn from how to add such function to these free literacy apps. Is Thali far enough along to do this? I.e. discover peers and invite (BLE) then wifi direct over apk and supporting media files??

yaronyg commented 7 years ago

Right now we don't support using wifi direct because of issues with its permission dialogs. At some point we would love to add support for something like https://developer.android.com/preview/features/wifi-aware.html but we don't currently have support for it. So instead we use Bluetooth which is both unreliable and slow. :(

I really want to have some demo apps but right now the only thing we really have is https://github.com/thaliproject/ThaliTestApp. It's not great but we are a bit resource constrained at the moment.