android/ios lib, demo sample code