I am using BigINT in MySQL and I want to retrieve it in android using Shared Preferences so how to do it? -




i using mobile number in big int mysql , want retrieve in shared preferences there no datatype big int in editor.

you can this

public static void loadi() {     = new biginteger(prefs.getstring("i", "0")); }  public static void savei() {     sharedpreferences.editor editor = prefs.edit();     editor.putstring("i", i.tostring());     editor.apply(); } 




wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -