realm Android


Example

Copy the database from the emulator/phone to view it. It can be done by using ADB:

adb pull /data/data/<packagename>/files/

That command will pull all Realm files created by Realm.getInstance(getContext()) or Realm.getInstance(new RealmConfiguration.Builder(context).build()). The default database file is called default.realm.

Note that this will only work on a emulator or rooted device.