Get Android Studio db Data

Asked 2 years ago, Updated 2 years ago, 70 views

Obtain x, y, and z values with 6-axis sensors (acceleration and gyro sensors).

The x, y, and z values of the sensor have been received by the mobile application using Bluetooth.

The Android studio created a DB using SQLite.

The data of the sensor obtained using Bluetooth was stored in DB.

After that, I want to check on the screen to see if the data is stored properly in the DB.

I couldn't check the db file in the data folder because the access was denied even though I used adb.

I also tried to extract the db file to drive C, but it was rejected...

How do I import a db file created with SQLite??

android-studio database

2022-09-22 20:35

1 Answers

It's easy to see with Android Device Monitor.

You must run the emulator or device before running Android Device Monitor.

From the top menu, Tool -> Android -> Android Device Monitor -> File Explorer -> data/data/package name/databases.


2022-09-22 20:35

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.