문제

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