How to add C++ project in Android?

I want to make a massaging app for android. Networking part will be coded in c++ and GUI will be in android SDK. Here, networking part is completely different C++ project which I want to add with android SDK. How can I do it?