I used to same the firstName
in the SharedPreferences
like this:
private String filename = "mySharedString";
private SharedPreferences someData;
someData = getSharedPreferences(filename, 0);
Editor editor = someData.edit();
editor.putString("firstName", phoneNumber);
someData.getString("firstName", "NULL");
It works good. Now I want to save the base 64
of an image that could be 4 MB
Can SharedPreferences
be able to save base 64? or that size is large for it ?