質問

this is nanopb website https://code.google.com/p/nanopb/

i dont know nanopb it can be used on android and iOS?

thanks

Best Wish

役に立ちましたか?

解決

You can use C language code in android and iOS. In android NDK is provided for native libraries.

他のヒント

Yes, it is possible.

However, if your main application is in Java, it is probably not very pleasant to use a Protocol Buffers library through NDK. It will require a lot of boilerplate code in marshalling the messages back and forth.

I would suggest using the Google's own Java protobuf library, in its "nano" configuration mode.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top