Bruce Wilcox - Dec 17, 2015:
android and ios are the same idea. No library comes presupplied. You have to compile the sources of CS in the SRC directory. Mac people build their compile list based on the make file in src. Similarly for Android you’d have to do the same thing.
Ok, I made progress.
I managed to successfully call cs functions on android.
I call “InitSystem(0, NULL);” and I get the return code 0.
I call “PerformChat(“test123”, “”, “”,”“,output);” the first time I get the answer “No such bot.”
I would excpect that behaviour cause I don´t know how to add the file system to android yet.
Using windows this is clear to me, but there I know the working directory of my application.
So i know have two questions:
- How can I get the log output from Chatscript thats printed in the console window in windows?
- Where do I have to put the Chatscript Filesystem? What do I set the init arguments to then (char* unchangedPath, char* readablePath, char*
writeablePath, USERFILESYSTEM* userfile)?
If these questions are too specific, maybe someone can explain this file procedure a little bit more?
Thanks,
Tobi