Users Pricing

forum

Home Forums How to work with sqlite in android studio in real device – MindStick

How to work with sqlite in android studio in real device

now about 2721 12 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!!

0 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md