added TransferSErvice to AndroidManifest and CustomApp

Rearranged control codes in PacketFormat to be included in packetLength
fixed bugs with new transfer code