Results 1 to 2 of 2
  1. Thread Author  Thread Author    #1  

    Question Best Practice Images - Preloaded

    I am developing an app that I wish to have pre-loaded with product images.

    Currently, I am accessing them from the resources folder 'drawable'.

    However, I also want the user to be able to add to list of products later by retrieving product information and products from a web server.

    I can't access the resources folder at run time to save the images, so I need to have a single place to store them and retrieve them later.

    I have tried saving to the application directory, but am not having much success.

    Could some advice on the best practice in this situation. I believe that storing images in the database is not considered good practice.


  2. Thread Author  Thread Author    #2  

    Default Re: Best Practice Images - Preloaded

    For the moment I have decided to store these images in the Assets directory and copy them to the application directory when the application is first installed.

    Then for any subsequent images that are saved at runtime, they can be saved to the same application directory.

    Still would be interested in hearing from anyone about this approach and/or any best practice patterns for this scenario.



Similar Threads

  1. Best Vehicle dock for the Moto X?
    By jdevenberg in forum Moto X
    Replies: 30
    Last Post: 01-05-2014, 07:58 PM
  2. Best Case for Nexus 5?
    By dirtyjudo in forum Google Nexus 5
    Replies: 6
    Last Post: 12-13-2013, 10:58 AM
  3. Optical Image Stabilization Question.
    By greydarrah in forum Google Nexus 5
    Replies: 1
    Last Post: 12-12-2013, 03:45 PM
  4. Best Camera app for Nexus 4, asking for a friend
    By Ray Sivley in forum Android Applications
    Replies: 0
    Last Post: 12-11-2013, 08:18 PM
  5. Email Image size HELP
    By JRod7722 in forum Google Nexus 5
    Replies: 5
    Last Post: 12-11-2013, 02:26 PM

Posting Permissions