I’m creating a chat bot with Alice, I’m copying her files to android/data/com.mypackage.app.
I am using the following code to access this path.
File path = getExternalFilesDir("");
MagicStrings.root_path = String.valueOf(path);
AIMLProcessor.extension = new PCAIMLProcessorExtension();
mBot = new Bot("Alice", MagicStrings.root_path, "chat");
mChat = new Chat(mBot);
After compiling the app and sending the message, this is my feedback.
This message only appears when the bot doesn’t work