fork from ryulib4android