A framework for developing android-phone-based UAV