Is there any way to keep information safe in an Android apk?
<p>AFAIK Android decompilation allows one to extract every bit of information from an apk.
How can I store information like ftp passwords or other confidential strings in Java or any other XML file? Is there any way other than calling a service?</p>

<p>EDIT Problem:</p>

<pre><code>String uname = "mks";
    String part1="pass";
    String part2="my";
    String part3="word";
</code></pre>

<p>As per David answer i obfuscating a string but after dcompilation i able to see my password</p>

<pre><code> String[] arrayOfString = new String[2]; arrayOfString[0] = "mks"; arrayOfString[1] = ("my" + "pass" + "word");
</code></pre>
