Can I create SQlite Database at user defined path?


Last Updated:

  1. ajitandroid26

    ajitandroid26 Member This Topic's Starter

    Joined:
    Aug 25, 2010
    Messages:
    9
    Likes Received:
    0
    Hi All,
    I want to create a database under memory card or in other place not in the default place i.e(/dada/dada/my package name/databases/).

    Is it possible?If possible then how ?

    Please guide me...


    Thanks & Regards,
    Ajit
     

    Advertisement
  2. IanGClifton

    IanGClifton Well-Known Member

    Joined:
    Feb 7, 2010
    Messages:
    111
    Likes Received:
    19
    Have you tried SQLiteDatabase.openOrCreateDatabase(String path, SQLiteDatabase.CursorFactory factory)?
     

Share This Page

Loading...