Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi every one,

I’m trying to develop an android application in which I need to store six bitmap images in a local database. I’m using java platform. Is it possible to store bitmap images simply using a java code? Otherwise can I use SQLite with java and if so what are the precautions I should take?

Thanks.
Posted

1 solution

You could use a fixed file and manage the content yourself, but it would probably be easier to use a database. See Using a Database With Your Android* App[^], Article 8 - Handling Input and Storage on Android[^] and Article 8 - Handling Input and Storage on Android[^] for some excellent samples of addressing your issue.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900