doukie2 client for Android. (what is doukie2? here.)
this repository is not compatible previous version.
If you use to this repository, you can't use previous version.
Android client can't use previous, too.
- recursive folder copy.
- save options to file when exit.
- sync progress is display.
- HTTPS support.
AirDrop, Nearby Share is very useful file transfer method.
But, It's not what I'd expect opened economy method.
Only use between Android.
or on not supported computers, is require support by official or OSS comunity effort.
We know universal protocol, is HTTP.
I think to want implement easy file transfer method by HTTP.
and, I realize file transfer on multi platform (include Smart phone!).
- read QR Code to syncing (no input operation)
- gauge and switch easily operation
- file exists check (use md5 hash)
- recursive folder copy.
- save options to file when exit.
- sync progress is display.
- HTTPS support.
manually install
git clone https://github.com/yasutakatou/andoukie2
cd andoukie2
cordova platform add android
cordova build android
(displaying place of adb file.)
adb install (place of adb file.)
or download binary from release page.
save binary file, and adb install.
adb install (place of adb file.)
use app uninstall method on Android.
- 1st
run doukie2 on you want to sync device.
after running, enter key or space key on terminal console.
QR Code displaying.
run this app on Android, and read to QR Code.
- 2nd
operating on Android touch pannel.
① gauge of sync interval
this gauge is interval of file syncing.
example (60), is sync every 60 seconds.
(0) is not syncing.
② QR Scan
QR Code reading again.
③ Save as
reset save folder.
④ not delete mode
default this switch is off.
If some file exists Android, but not exists server, that file delete on .
when turn on this switch to not delete.
⑤ Exit
Exit and save config file. If you run again this tool, tool read that file, set options.
note) config file place.
Internal Storage
- Android - data - com.cordova.andoukie2 - files - config
⑥ status column
This place display sync status or another message.
- fail to large file download!
this tools download little by little implement,
therefore The short sync cycle interrupt download session at larger file.
So,you operate "gauge of sync" longer.
- why Android can't use server and auto sync mode?
this application builed by Apache Cordova.
Cordova plugins are very instability.
I can't work to want any features.
(I feel about 50% not work. because depend old Android API.)
By the next try to build Android application, I consider another framework, react native, Flutter..
-
gauge for sync duration
https://github.com/andrepxx/pure-knob -
save blog data to binary file
https://ourcodeworld.com/articles/read/230/how-to-save-a-pdf-from-a-base64-string-on-the-device-with-cordova -
file remove
https://stackoverflow.com/questions/33752990/cordova-remove-file -
get file list
https://gist.github.com/bcabanes/14e6d3221b841bfdf27b
Apache License, Version 2.0