All Projects → julienr → protobuf-android

julienr / protobuf-android

Licence: other
Google protocol buffer "port" for android

Programming Languages

C++
36643 projects - #6 most used programming language

This repository has moved

This repository is unmaintained and contains a port of protobuf 2. For protobuf 3, see

https://github.com/Dimon4eg/protobuf-android

Google protobuf for Android NDK

This builds a static library to use protobuf with C++ on android.

This is based on protobuf-2.6.1 and it boils down to :

  • Copying the minimal set of .cc files to build the library (without tests)
  • Write a config.h and Android.mk that work on android

The example directory contains an example protobuf that can be compiled & linked by NDK to check that the linker has all the dependencies:

cd example

./build.sh

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].