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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -