JSON image to sqlite Android programming -
I'm new to Android programming and I want to ask about JSON / sqlite. I already parse the JSON text and store it in the esclipse and then display the data in a list view in my app. However, I did not parse the images in my JSON file (first started with the easy part). Now I have to parsing the image and I have seen through many websites, but still it is confused about doing this. In the following link I have seen how they parsing the image, but they are caching the images, while I have to store the data in DB. The link contains ImageLoader.java, MemoryCache.java, FileCachee.java and Utils.java; These sections confuse me even more, do I need all of these for images? Will someone tell me what steps should I follow?
Thank you in advance
To read in a single image, all of you do not require. You only have to read an array of bytes (the contents of the file) and convert it to bitmap objects. Is it useful for everyone to catch a lot of images at a time - to make sure that you do not use too much memory (memorycat), request them more than once from the network (file chess), and all those Manage (ImageLoader). So if you want to download many useful images to its single overkill for a single
Comments
Post a Comment