I have a base64 encoded string and inserting it in a hashmap but the value stored in the hashmap is just 10% of the base64 string. While debugging, I can confirm that the string has the entire value. Only when I 'put' the string in the hashmap it stores only 10% of it.
Hashmap<String, String> hashmap = new Hashmap<>();
String base64 = bitmapToString(mBitmap); // function is working properly and Im getting the entire string.
hashmap.put("image", base64); // Storing just 1005 characters for every image
Is there any limit to hashmap values? Its always storing strings not more than 1005 characters. FYI this code is used in an IntentService