How do you know the way to SqlLite the Android database?



  • How do you know where SqlLite is?



    1. Let's get the google straight.

    https://www.google.ru/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=android%20get%20path%20to%20database

    1. Got it. https://stackoverflow.com/a/29862723/3212712 :

      context.getDatabasePath(YourDbName).getAbsolutePath();
      

    Method

    Context.getDatabasePath(String YourDbName)

    Returns to the standard storage site of the OBD application, the coy looks like:

    //data/data/<Your-Application-Package-Name>/databases/<your-database-name>
    

    AS♪ On the emulsion, you can get to the file ♪ DeviceMonitor - Category File exprorer

    введите сюда описание изображения

    введите сюда описание изображения




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2