GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - objectbox/objectbox-examples: Examples for ObjectBox Android/Java, the super-fast database

BranchesTags
Open more actions menu

Latest commit

 

History

521 Commits
521 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
.gitlab/merge_request_templates
.gitlab/merge_request_templates
 
 
android-app-arch
android-app-arch
 
 
android-app-daocompat
android-app-daocompat
 
 
android-app-kotlin
android-app-kotlin
 
 
android-app-multimodule
android-app-multimodule
 
 
android-app-multiprocess
android-app-multiprocess
 
 
android-app-relations
android-app-relations
 
 
android-app
android-app
 
 
gradle
gradle
 
 
java-main-maven
java-main-maven
 
 
java-main-vector-search
java-main-vector-search
 
 
java-main
java-main
 
 
java-performance
java-performance
 
 
kotlin-main
kotlin-main
 
 
scripts
scripts
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build-desktop-only.sh
build-desktop-only.sh
 
 
build.gradle.kts
build.gradle.kts
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

ObjectBox Java SDK examples

Examples of JVM and Android applications written in Java and Kotlin using the Java SDK for ObjectBox, the superfast object-oriented database.

For examples in other languages, see the GitHub repository for that language.

JVM

  • java-main: a note-taking command-line application that shows how to define the data model, create a store and put and get data.
  • java-main-maven: the same app, but using a Maven project.
  • kotlin-main: the same app, but written in Kotlin.

Android

  • android-app-kotlin: a note-taking app that shows how to define the data model, indexes and relations, create a store, put and get data, use Admin UI and create unit tests.
  • android-app: a more basic variant of the above written in Java.
  • android-app-relations: shows how to use all types of available relations.
  • android-app-arch: shows how to use ObjectBoxLiveData with ViewModel and ObjectBoxDataSource with the Paging library.
  • android-app-multimodule: shows how to use a separate database in each feature module.
  • android-app-multiprocess: shows how to use ObjectBox from a different process.

Vector Search

  • java-main-vector-search: a cities and coordinates command-line application that shows how to do on-device ANN vector search.

Sync

See the dedicated Sync examples repository.

Other examples

  • android-app-daocompat: shows how to use the DAOcompat compatibility layer to help migrate from greenDAO.
  • java-performance: a command-line application that runs performance tests with ObjectBox.

MyObjectBox missing? Build the project!

If the MyObjectBox class can not be found, make sure to build the project first. This and other ObjectBox related classes are generated when building the project.

Issues and feedback

If you are looking for help with how to use ObjectBox see our documentation.

If you found an issue or have feedback about these examples feel free to submit an issue in the Java SDK repository.

Links

ObjectBox Documentation

ObjectBox Features

ObjectBox Java SDK repository

License

Copyright 2017-2026 ObjectBox Ltd. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Examples for ObjectBox Android/Java, the super-fast database

objectbox.io

Topics

androiddatabaseexamplesjavakotlin

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

409 stars

Watchers

18 watching

Forks

96 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.