Usb Serial for android library making Api Frame Xbee

hi everybody im asking if somebody try do write an api frame with this library

im reading data right now but i cant write the api frame, i have made the api frame structure but when i write the data im not recieving nothing