code transfer to nativeDroid