Android Question Update files included in App

Discussion in 'Android Questions' started by carloz, Sep 7, 2015.

  1. carloz

    carloz Member Licensed User

    Hello All,

    Another query !!

    I have a app which includes a sqlite database & some file(xls,mp4,txt,pdf) etc in file.dirassets.
    The app needs to sync data from the server once a month... which would have newer files added by admin.
    How can i now add the new files in the app? since the file.dirassets is read-only..

    any other way of approaching this?

    regards
    carloz
     
  2. HotShoe

    HotShoe Well-Known Member Licensed User

    You can copy the files to DirInternal. It is protected and is read write. Be sure to change all of your read routines to the new path instead of DirAssets. You can also use DirDefaultExternal, but it is not protected from people snooping around.

    --- Jem
     
    DonManfred likes this.
  3. carloz

    carloz Member Licensed User

    Thnx jem..
    Was just trying out default external...I'll change to dirinternal..

    Regards
    Carloz
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice