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

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -