Code example for AutoCompleteTextView

Methods: getText

     * Generate the password base on the label and master password. 
    private void generatePassword(){ 
      String label = mLabelText.getText().toString();
      String password = mMasterPasswordText.getText().toString();
      PasswordGenerator generator = new PasswordGenerator(label,password);
      mPasswordText = generator.generate();
     * Update the SQLite database with the label the user just used. 
     * @param label - A string that represents the label. 
    private void updateDb(String label){
      label = label.toLowerCase();
Stop searching for code, let great code find you!  Add Codota to your java IDE