forum

Home / DeveloperSection / Forums / How to work with sqlite in android studio in real device

How to work with sqlite in android studio in real device

now about216412-Jul-2017
Hi I have some problems in creating the sqlite database in android.

Everything is ok on the emulator, I can create the database. But it doesn't work on the actually machine. When I tried to debug the application on my phone, it just failed to create the database.

So can anyone tell my what happened? Is there any special permission I need to add in the Manifest file? I've tried ACCESS_CHECKIN_PROPERTIES or WRITE_EXTERNAL_STORAGE, but still cannot get the database.

By the way, is the custom database can only be stored in the sd card but the root directory?

Thank you very much!!

Updated on 12-Jul-2017

Can you answer this question?


Answer

0 Answers

Liked By