title: Android android.credentials.UNLOCK Initializing keystore without password
body: <p>Having a random key to encrypt local credentials through AES, I'm following the below tutorial to try to store <em>securely</em> that key and then be able to decrypt later on:</p>
  
  <p><a href="http://nelenkov.blogspot.jp/2012/05/storing-application-secrets-in-androids.html" rel="nofollow">nelenkov.blogspot.co.uk storing applicationsecrets in androids</a></p>
  
  <p>This tutorial explains how access to the system <strong>keystore</strong> and store your passwords in it. </p>
  
  <p>The issue I'm facing it's focused in the call to <strong>UNLOCK</strong> (<em>android.credentials.UNLOCK</em>) the KeyStore. Devices (at the moment with API below 14) that don't have KeyStore initialized, they are showing a dialog requesting a 8 digits password.  </p>
  
  <p>The tutorial works fine however showing this dialog even do being only once, it's going to bother most of the users. </p>
  
  <p>are there any way to skip this dialog? </p>
  
  <p>I would be even happier if someone described a better way to keep locally a Key. </p>