android - Is there a way i can get a sharedpreference name? -


let's created shared preference.

sp = this.getsharedpreferences("name",mode_private);

if i'm in activity, there way can find name of sp , set string?

you can access sharedpreferences same method have used. use public static varibale hold name in class.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -