1. Download our Official Android App: Forums for Android!

Apps Can I create SQlite Database at user defined path?

Discussion in 'Android Development' started by ajitandroid26, Sep 2, 2010.

  1. ajitandroid26

    ajitandroid26 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    Aug 25, 2010

    Aug 25, 2010
    9
    0
    5
    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
    Rank:
    None
    Points:
    58
    Posts:
    111
    Joined:
    Feb 7, 2010

    Have you tried SQLiteDatabase.openOrCreateDatabase(String path, SQLiteDatabase.CursorFactory factory)?
     

Share This Page

Loading...