Skip to content

Share c++ files between different projects (Android, UNIX, ...)

Notifications You must be signed in to change notification settings

palmsnipe/cppsharing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPP SHARING

This is a test project to share c++ code between different targets, and how to implement the functions, with the wrappers if necessary (JNI for android).

  • in C++ with the term command line project
  • in Java with the android project

The different functions use the STL library.

TODO

  • Write a tutorial
  • Add iOS, WP
  • Add more functions
    • complex objects (get and send)
    • numbers

Functions

Get a string

Shared file :

std::string		helloworld();

Android :

String			helloworld();

Get a list of string

Shared file :

std::vector<std::string>	getDays();

Android :

ArrayList<String>			getDays();

Tutorials

Android

Android studio 1.4 with gradle experimental 0.4.0

// TODO

Resources

About

Share c++ files between different projects (Android, UNIX, ...)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published