Skip to content

yasutakatou/andoukie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Andoukie (doukie client for Android)

doukie client for Android. (what is doukie? here.)

demo

andoukie

solution

AirDrop is very useful file transfer method.
But, It's not what I'd expect opened economy method.
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!).

features

  • read QR Code to syncing (no input operation)
  • gauge and switch easily operation
  • file exists check (use md5 hash)

installation

manually install

git clone https://github.com/yasutakatou/andoukie
cd andoukie
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.)

uninstall

use app uninstall method on Android.

method of operation

  • 1st

1

run doukie 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.

2

① 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.

② gauge of sync interval

this gauge is interval of file syncing.
example (60), is sync every 60 seconds.
(0) is not syncing.

③ status column

This place display sync status or another message.

problem

  • 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 get error on https mode?

this problem depend used plugin.
https://github.com/aporat/cordova-plugin-fetch
this plugin is not support https.
but, i don't know another plugin on working.

  • 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..

  • where save synced files?

Internal Storage
- Android
- data
- com.cordova.andoukie
- files

  • why static save location?

As I wrote earlier. cordova plugin not work.
example) https://github.com/ourcodeworld/cordova-ourcodeworld-filebrowser
and I don't know how for implementetion.
If you teach to me this implement, I would coding.

FYI (many thanks!)

LICENSE

Apache License, Version 2.0