How can I store my credentials in the APK and protect them? I do not want anyone accessing my FTP server.
The stated problem cannot be resolved.
It doesn't matter how smart your obfuscation technique is, if you hide the fixed credentials in an APK file, then someone who analyzes your application will find them.
If you take only one thing from this answer, let it be with a single static password for your server, this is very problematic , since you can never change the password server because you broke all the applications. It will be a matter of time before your password becomes public, and there is nothing you can do about it.
.
, , . - Google+ Facebook Connect .
, , , ( ), - Google, push-, , KeyChain, , , . - APK , . , , .
, , , SSL- . , -.