android - How i can store my password in Titanium? -


how can store password (string) in titanium application? titanium have analog android secret key, example?

(i need android)

thanks!

ios (and mac) has mechanism storing passwords , things securely called keychain. titanium, there module supports api called securely.

once have securely installed, simple matter save password @ point:

var securely = require('bencoding.securely');  //you can provide optional identifier, if none provided securely uses bundle id // wraps keychain functions var secureproperties = securely.createproperties({     identifier:"foo",     accessgroup:"bar" });  // add properties secureproperties.setstring('password', the_password_var); // var mypassword = secureproperties.getstring("password"); 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

IIS->Tomcat Redirect: multiple worker with default -