Since the original question was motivated by the limited amount of internal device storage....

... using a SQLite database wouldn't help, since databases are stored in internal memory, and although it's possible to put databases on the memory card, it seems failure-prone.

So, using regular image files on the memory card / "external storage", perhaps indexed as necessary in a database, is what I'd recommend.

-- K

On 03/09/2012 05:52 PM, Guilherme Utrabo wrote:
Knutsford,
I'm not sure, but I think you should store it directly on SD and save the references to these files. Even on larger databases in Oracle and SQL Server people still use this pratice to not overload the database. Only make sure you're checking the file existence before using it. On SD the file can be deleted out of your application.
Regards,
Guilherme
On 9 March 2012 10:45, Knutsford Software <i...@knutsford-software.co.uk <mailto:i...@knutsford-software.co.uk>> wrote:

    Depends on the size of your images and how you're using them.
     Back it up, tell us what the problem you're trying to solve is
    and why you're looking at your current approach and then people
    can chip in.





    I was just a general question about what do people do if they want
    to write an App that needs lot of images or some other data as you
    only have limited capacity on a phone. How much would you think
    would be reasonable to store in an sqlite database before it would
    cause a problem? I don't have anything particular in mind
-- You received this message because you are subscribed to the Google
    Groups "Android Developers" group.
    To post to this group, send email to
    android-developers@googlegroups.com
    <mailto:android-developers@googlegroups.com>
    To unsubscribe from this group, send email to
    android-developers+unsubscr...@googlegroups.com
    <mailto:android-developers%2bunsubscr...@googlegroups.com>
    For more options, visit this group at
    http://groups.google.com/group/android-developers?hl=en


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to