Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

realm-browser

> DevOps
Open source

Android Database Browser for realm-java

99 stars0 likes1 views
WebsiteGitHub

About

Android Database Browser for realm-java

Description

This library project provides a convenient way for Android developers to see the contents of their Realm database files on the device.

It's a fork of dmytrodanylyk/realm-browser which was originally created by Danylyk Dmytro but sadly discontinued.

| | --- | --- | --- | |

Integration

Releases: - Develop branch (Snapshots):

The project is available via JitPack.io.

  1. Add the JitPack repository to your build file
allprojects {
        repositories {
        ...
        maven { url "https://jitpack.io" }
        }
    }
}
  1. Add the dependency
dependencies {
    debugCompile 'com.github.jonasrottmann.realm-browser:realm-browser:0.0.14'
    testCompile 'com.github.jonasrottmann.realm-browser:realm-browser-no-op:0.0.14'
    releaseCompile 'com.github.jonasrottmann.realm-browser:realm-browser-no-op:0.0.14'
}

The no-op version of Realm Browser has empty functions which do nothing. It is not necessary to include this, but you may if you do not want to access Realm Browser in release mode. If you want to use a build of the newest development use compile "com.github.jonasrottmann.realm-browser:realm-browser:develop-SNAPSHOT" instead.

  1. Exclude support libraries (maybe optional): Realm Browser depends on Android support libraries, so you might want to exclude them from your project if they conflict with the ones you include:
depedencies {
    debugCompile ('com.github.jonasrottmann.realm-browser:realm-browser:0.0.14') {
        exclude group: 'com.android.support';
    }
}
  1. Add ProGuard rules (optional): Use these if you enable minification for debug builds or want to use Realm Browser in release builds.
# Realm Browser
-keep class de.jonasrottmann.realmbrowser.* { *; }
-keep class android.support.v7.widget.SearchView { *; }
-keep class android.support.v7.view.** { *; }

Usage

If you want to see all your database files:

RealmBrowser.startRealmFilesActivity(context);

If you want to see all the tables in a database call:

RealmBrowser.startRealmModelsActivity(context, realmConfiguration);

To display a notification from which the Realm Browser can be started:

RealmBrowser.showRealmFilesNotification(context);
RealmBrowser.showRealmModelsNotification(context, realmConfiguration);

There are also App Shortcuts available for devices running Android 7.1 or newer:

RealmBrowser.addFilesShortcut(context);
RealmBrowser.addModelsShortcut(context, realmConfiguration)

For a full working example check out the sample app.

TODO

What's on the roadmap...

  • Tests
  • Be able to edit/create objects
  • Bidirectional scrolling in the browser window
  • Clean up
  • Nice architecture
  • Live reload the browser if updates happen in the background
  • Javadoc

Other browsers

If you're looking for a Realm browser for your iOS Swift projects check out bearjaw/RBSRealmBrowser

License

…

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaandroid-libraryjitpackrealmrealm-browser

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理