All Projects → jonasrottmann → Realm Browser

jonasrottmann / Realm Browser

Licence: other
Android Database Browser for realm-java

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Realm Browser

yaspeller-ci
Fast spelling check for Travis CI
Stars: ✭ 60 (-40.59%)
Mutual labels:  travis-ci, travis
todo-list
TodoList using Ionic2/3 & Firebase: * PWA * SSO Google plus. * Share list via QRcode. * Upload image from Camera or Storage. * Speech Recognition.
Stars: ✭ 18 (-82.18%)
Mutual labels:  travis-ci, travis
googletest-ci
Continuous integration (CI) + Google Test (gtest) + CMake example boilerplate demo
Stars: ✭ 14 (-86.14%)
Mutual labels:  travis-ci, travis
sbt-travisci
An sbt plugin to integrate with Travis CI
Stars: ✭ 44 (-56.44%)
Mutual labels:  travis-ci, travis
Cargo Make
Rust task runner and build tool.
Stars: ✭ 895 (+786.14%)
Mutual labels:  travis-ci, travis
react-testing-mocha-chai-enzyme
A solid test setup for React components with Mocha, Chai, Sinon, Enzyme in a Webpack/Babel application.
Stars: ✭ 48 (-52.48%)
Mutual labels:  travis-ci, travis
react-multi-context
Manage multiple React 16 contexts with a single component.
Stars: ✭ 19 (-81.19%)
Mutual labels:  travis-ci, travis
vagrant-travisci-libvrt
Example project showing how to run Vagrant on TravisCI using libvrt & KVM
Stars: ✭ 25 (-75.25%)
Mutual labels:  travis-ci, travis
Use React Router
React Hook for pub-sub behavior using React Router.
Stars: ✭ 575 (+469.31%)
Mutual labels:  travis-ci, travis
Fetch Suspense
A React hook compatible with React 16.6's Suspense component.
Stars: ✭ 479 (+374.26%)
Mutual labels:  travis-ci, travis
plugin.video.sendtokodi
📺 plays various stream sites on kodi using youtube-dl
Stars: ✭ 86 (-14.85%)
Mutual labels:  travis-ci, travis
Quicksort Js
An implementation of Quicksort in JavaScript/TypeScript.
Stars: ✭ 60 (-40.59%)
Mutual labels:  travis-ci, travis
fetch-action-creator
Fetches using standardized, four-part asynchronous actions for redux-thunk.
Stars: ✭ 28 (-72.28%)
Mutual labels:  travis-ci, travis
badge-matrix
More advanced badges for projects using Travis or Sauce Labs
Stars: ✭ 77 (-23.76%)
Mutual labels:  travis-ci, travis
travis-deploy-once
🚫Test multiple node versions on Travis. Deploy once. If all of them pass.
Stars: ✭ 34 (-66.34%)
Mutual labels:  travis-ci, travis
Clean Marvel Kotlin
This repository contains a detailed sample app that implements Clean architecture and MVP in Kotlin using RxJava2, Retrofit
Stars: ✭ 27 (-73.27%)
Mutual labels:  travis-ci, realm
Reactn
React, but with built-in global state management.
Stars: ✭ 1,906 (+1787.13%)
Mutual labels:  travis-ci, travis
Travis cpp tutorial
Tutorial how to use Travis CI with C++
Stars: ✭ 178 (+76.24%)
Mutual labels:  travis-ci, travis
react-innertext
Returns the innerText of a React JSX object.
Stars: ✭ 37 (-63.37%)
Mutual labels:  travis-ci, travis
Condition Travis
🚫 semantic-release plugin to check Travis CI environment before publishing.
Stars: ✭ 9 (-91.09%)
Mutual labels:  travis-ci, travis

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 codecov

Releases: Build Status - Develop branch (Snapshots): Build Status

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

The MIT License (MIT)

Original Work: Copyright (c) 2015 Danylyk Dmytro

Modified Work: Copyright (c) 2015 Rottmann, Jonas

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].