UPS-CS240-F12 / augmented-reality

A repo for the augmented reality team.
2 stars 0 forks source link

JSONObject and the jni #5

Open matthewcburke opened 11 years ago

matthewcburke commented 11 years ago

An idea on how to handle information from the JSONObject and pass it to the native code:

This idea is modeled after the way that the Image Targets sample passes texture objects around. What do you think? Might this work?

matthewcburke commented 11 years ago

Alternately, it looks like there are good JSON parsers for C++ (e.g. http://jsoncpp.sourceforge.net/). So we could just pass the string and do the parsing in the native code.