dilakalam / program-ab

Automatically exported from code.google.com/p/program-ab
0 stars 0 forks source link

Doesn't work on android #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

I follow the steps as said in program-ab.I had also place aiml bot file in 
android project and also provide path name for the aiml file.

1. Dx bad class file error
2. DX 41 warning

android app should be run on android device.but found dx warning

I am developing android app using eclipse using android sdk on windows 7.

If anyone had tried to develop android app using program-ab so please help me 
regarding this.

Original issue reported on code.google.com by vijay.s....@gmail.com on 27 Mar 2014 at 4:42

GoogleCodeExporter commented 8 years ago
how did you link your app with program ab? Specifically how did you solve the 
"cannot recognize 'org.alicebot.ab.Bot' referenced in the method... issue?

Original comment by ishworis...@gmail.com on 27 Mar 2014 at 3:04

GoogleCodeExporter commented 8 years ago
Hi Ishworis, I solve DX 41 warning. By installing apache maven plugin in 
eclipse. After that I found "cannot recognize 'org.alicebot.ab.Bot' referenced 
in the method..." error.

-I had created libs folder in android project
-paste ab.jar in libs folder
-then added jar file to build path.

Before compiling project Eclipse does't shows any error but during compiling it 
shows"cannot recognize 'org.alicebot.ab.Bot' referenced in the method..." error.
Have you fix it and have you run android app successfully?

Original comment by vijay.s....@gmail.com on 27 Mar 2014 at 5:04

GoogleCodeExporter commented 8 years ago
There was already a libs folder in my project. I have already tried what you 
wrote up there, but it is still not working for me. It shows the same error.

Original comment by ishworis...@gmail.com on 27 Mar 2014 at 10:12

GoogleCodeExporter commented 8 years ago
I have same problem. So what do you think about to solve this error? I am 
searching on google for this error.

Original comment by vijay.s....@gmail.com on 28 Mar 2014 at 4:14

GoogleCodeExporter commented 8 years ago
I don't know man, maybe there is something we are not doing right. Have you 
asked about this in forums? 

Original comment by ishworis...@gmail.com on 30 Mar 2014 at 3:02

GoogleCodeExporter commented 8 years ago
I had tried to ask in chatbot.org but there is I need to register account on 
site.But registration process on this site not working so I am looking for 
another right forum. 

Original comment by vijay.s....@gmail.com on 31 Mar 2014 at 5:55

GoogleCodeExporter commented 8 years ago
There's an alternative for that. You can mail them and they will create one for 
you. I asked them but currently there are no solutions. If I find one I'll 
comment here. In the meantime you also keep searching.

Original comment by ishworis...@gmail.com on 1 Apr 2014 at 5:28

GoogleCodeExporter commented 8 years ago
Thank you Ishworis, I get my account on chatbot.org. Are you familiar with php. 
If yes then I think I have idea to build android chat app.

Original comment by vijay.s....@gmail.com on 2 Apr 2014 at 2:26

GoogleCodeExporter commented 8 years ago
I trying to use program o. Currently, I am trying to connect the app with my 
local server using JSON, but I'm not too familiar so I am facing some problems. 
Are you familiar with JSON Parsing.

Original comment by ishworis...@gmail.com on 2 Apr 2014 at 4:50

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi Ishwor,
As what I get information for program-o I am sharing with you,
There are three example interfaces for Program O all are located in the 
“gui” folder, each using a different method for accessing the chatbot. 
These methods are HTML (the default), XML and JSON (located in gui/jquery). The 
best one to use with Android app would be the JSON example, and we don’t 
actually need to use that example directly. The “gateway” for Program is 
the file conversation_start.php, located in the chatbot folder. it takes either 
GET or POST methods, and requires the following variables:

convo_id (identifies the user)
bot_id (selects the chatbot to use - defaults to 1 for a single chatbot)
format (either html, xml or json)
say (this is the input that the chatbot will respond to)

Original comment by vijay.s....@gmail.com on 2 Apr 2014 at 6:40

GoogleCodeExporter commented 8 years ago
This much I have understood, I am having trouble parsing the json. If you are 
able to do it please share it.

From now on we can mail each other, so please mail me in my email address, this 
thread is getting too crowded with our comments.

Original comment by ishworis...@gmail.com on 2 Apr 2014 at 9:30