AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Android Chat bot using Program-AB
 
 
  [ # 16 ]

Ok, great, Bradley. smile I’ll have to dig out my tablet when that’s ready. wink

 

 
  [ # 17 ]

Hi,

I’ve been working on upgrading my Android app to AIML 2.0 so Program AB seemed the logical route of action.

Since it seems to be something people are fairly interested in I was considering creating a library using Program AB, that would allow people who develop for the Android platform to easily create a personal assistant, Voice recognition and TTS included.

I was just curious if anyone would be interested in such a thing.

 

 
  [ # 18 ]

Hi Sara,
I am also working on Program AB and I implement it successfully on my device, may be this will helpful to you.
Here I give you step vise instruction to create simple chat bot application with program AB.
• Creating bot on local machine
1. Download program AB from https://drive.google.com/file/d/0B5AG2LEv3EnHTExPWVB5SVlQREE/edit?pli=1
2.  Create your bot named “mybot” into folder named “bots”. (To know about bot directory structure and how to create bot read https://code.google.com/p/program-ab/wiki/RunningAB )
3. Now edit run.bat file and change property “bot=****” to “bot=mybot”
4. Open run.bat file and check that your bot working properly or not. If it working properly then write “wq” in chat mode. It will quit and create AIMLIF file. Which is latter used by Android application.
• Creating Android application
1. Copy folder created in above steps “mybot” to the “asset” folder of your project, and don’t forget to copy Ab.jar file “lib” folder.
2. Write program which copy all files present in asset folder in to device’s external storage. Path should be “Any_Folder_Name/bots/mybot” (This is required because Program AB prefer to look in “bots” folder for yout bot. Any_Folder_Name work as a working directory for Program AB.
3. Start chatting with your bot!!! ENJOY!!!
Please remember some points…
1. If you make changes to the aiml file then delete “Any_Folder_Name” created by previous application.
2. If you change aiml files and it will reply “I have no answer for that” then create bots again on local machine
3. Never try to update AIML and AIMLIF file at a time.
4. Run your application on real device, in built emulator may have different file structure.

 

 
  [ # 19 ]

Thanks Darshit, I’m interested in this too. I’m trying to run program AB on Android.

 

 
  [ # 20 ]

Ya That’s great!! If you need any help, feel free to contact me.

 

 
  [ # 21 ]

Hi Darshit,

Your kind download contained all the jar files needed to compile. I’m going to try and make an Android app with eclipse. Are you using eclipse or netbeans? Or just the command line tools?

 

 
  [ # 22 ]
Joseph Hopkins - Jan 27, 2015:

Hi,

I’ve been working on upgrading my Android app to AIML 2.0 so Program AB seemed the logical route of action.

Since it seems to be something people are fairly interested in I was considering creating a library using Program AB, that would allow people who develop for the Android platform to easily create a personal assistant, Voice recognition and TTS included.

I was just curious if anyone would be interested in such a thing.

Hi Joseph,

I am interested in such a thing. I am new to Android programming, your library would be a welcome thing.

Robby.

 

 

 
  [ # 23 ]
Robby Garner - Feb 15, 2015:

Hi Darshit,

Your kind download contained all the jar files needed to compile. I’m going to try and make an Android app with eclipse. Are you using eclipse or netbeans? Or just the command line tools?

Yes, I am using eclipse. I create bot using command line tools and then use created file in eclipse.

 

 
  [ # 24 ]

Hi Darshit Patoliya

I cloned this https://github.com/Hariofspades/ChatBot  and it work fine but it didn’t process the <oob> tags and html tags. What additional functions do i need to add in order to make it work.Could you please take a check at this and if you know something ,please tell me how to do.

Thankyou so much!!

 

 < 1 2
2 of 2
 
  login or register to react