All Projects → amitshekhariitbhu → Flatbuffer

amitshekhariitbhu / Flatbuffer

Licence: apache-2.0
FlatBuffer : Android Sample Application

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Flatbuffer

compare-utils
Compares of Java Collections and Objects (of different classes) made easy
Stars: ✭ 15 (-97.55%)
Mutual labels:  comparison
catch-lest-other-comparison
Tabularised feature comparison between Catch, doctest and lest C++ test frameworks
Stars: ✭ 20 (-96.73%)
Mutual labels:  comparison
Cfviz
Visualizes user data from codeforces.com using the official API
Stars: ✭ 472 (-22.88%)
Mutual labels:  comparison
starter
Create vertical search web application in minutes with generator (based on ItemsAPI)
Stars: ✭ 21 (-96.57%)
Mutual labels:  comparison
pybraincompare
brain image comparison and visualization methods for python!
Stars: ✭ 16 (-97.39%)
Mutual labels:  comparison
case-insensitive
Case insensitive string comparison
Stars: ✭ 24 (-96.08%)
Mutual labels:  comparison
pdb-benchmarks
Benchmarking common tasks on proteins in various languages and packages
Stars: ✭ 33 (-94.61%)
Mutual labels:  comparison
Ashot
WebDriver Screenshot utility. Take screenshots, crop, prettify, compare
Stars: ✭ 507 (-17.16%)
Mutual labels:  comparison
Multi-Face-Comparison
This repo is meant for backend API for face comparision and computer vision. It is built on python flask framework
Stars: ✭ 20 (-96.73%)
Mutual labels:  comparison
Comparers
The last comparison library you'll ever need!
Stars: ✭ 319 (-47.88%)
Mutual labels:  comparison
bundler-comparison
Comparison of web resource bundlers. 📦
Stars: ✭ 21 (-96.57%)
Mutual labels:  comparison
javascript-serialization-benchmark
Comparison and benchmark of JavaScript serialization libraries (Protocol Buffer, Avro, BSON, etc.)
Stars: ✭ 54 (-91.18%)
Mutual labels:  comparison
Semver
Semantic version parsing and comparison.
Stars: ✭ 283 (-53.76%)
Mutual labels:  comparison
front-end-visual-comparison-tool
🔮🔬Front-End testing tool which can be used to create a side by side visual comparison between your live site and local site.
Stars: ✭ 16 (-97.39%)
Mutual labels:  comparison
Swapview Rosetta
Print swap usage per process. Implemented in various programming languages
Stars: ✭ 474 (-22.55%)
Mutual labels:  comparison
mrivis
medical image visualization library and development toolkit
Stars: ✭ 19 (-96.9%)
Mutual labels:  comparison
HashCompare
Compare various different Hashing Algorithms
Stars: ✭ 18 (-97.06%)
Mutual labels:  comparison
Semver
Work with Semantic Versions in Go
Stars: ✭ 608 (-0.65%)
Mutual labels:  comparison
Japicmp
Comparison of two versions of a jar archive
Stars: ✭ 490 (-19.93%)
Mutual labels:  comparison
Rust Os Comparison
A comparison of operating systems written in Rust
Stars: ✭ 292 (-52.29%)
Mutual labels:  comparison

FlatBuffer Android Sample Application

This app shows how fast flat buffer works when we compare it with json.

FlatBuffers Vs JSON

Mindorks Mindorks Community Android Arsenal License

FlatBuffer is too much faster than JSON.

Check out Mindorks awesome open source projects here

Try Fast Android Networking Library for easy and fast networking

Another awesome library for debugging databases and shared preferences.

Know more about FlatBuffers (Why use FlatBuffers?)

Why use FlatBuffers

How to start with flatBuffers

$ git clone https://github.com/google/flatbuffers.git
$ cd flatbuffers
  • Run the command on the basis of your platform
$ cmake -G "Unix Makefiles"
$ cmake -G "Visual Studio 10"
$ cmake -G "Xcode"
  • now build for your platform as usual. This should result in a flatc executable
  • Now create your schema file with extension .fbs. Guide to write a schema can be found here.And also have your sample json file.
$ ./flatc -j -b schema.fbs sample.json
  • This will create few java file and one bin file. Java files are like model(POJO for flatBuffer) of your json.Place the java files in your application package and bin file in raw folder(bin file is only for testing as it is converted to byte that is to be passed to flatbuffer for testing).
  • Now we have to get flatbuffer jar file.
$ cd flatbuffers
$ cd java
$ mvn install
// This will download all the dependencies.
$ cd target
  • Here you will get the flatbuffers-java-1.3.0-SNAPSHOT.jar file that you have to put it in your libs folder of android project.
  • For rest you can see my sample project.

Major steps:

  • Prepare your schema.fbs.
  • Have a sample json.
  • Build flatBuffer google project to generate your java files to be used in main application.
  • Generate java files.

Find this project useful ? ❤️

  • Support it by clicking the ⭐️ button on the upper right of this page. ✌️

GitHub stars GitHub forks GitHub followers
Twitter Follow

Contact - Let's become friend

License

   Copyright (C) 2016 Amit Shekhar

   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

       http://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.
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].