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..

Program ab issue
 
 
  [ # 16 ]
∞Pla•Net - Mar 31, 2014:

I downloaded and setup the ADT Bundle from:

http://developer.android.com/sdk/installing/bundle.html

And, on the site it claims…

That’s it! The IDE is already loaded with the Android Developer Tools plugin and the SDK is ready to go.

However, their own demo project loaded in the IDE is not ready to go, since it fails with error:

Your project contains error(s), please fix them before running your application.

Funny, they try to blame my project in the error! 

I don’t even have a project, yet.

So, their error should put the blame on them:

Our own demo project contains error(s), that we didn’t fix, so our demo failed.

 

I try to clean the project whenever eclipse “goes full retard”. Most of the time it solves the problem.

 

 
  [ # 17 ]

Yes If we want to build android app based on client server architecture then we can use program-o as server. But for that we need some sort of php knowledge. I think using program-o to build android app is good Idea.

 

 
  [ # 18 ]

Except that Program O is not a “server”, but an “interface”. You need to have a web server to make Program O work. Most Android devices don’t have a built-in web server, as well as a MySQL server, on each and every Android device you want to put Program O on. This is not only beyond the skills and abilities of the average Android user, it’s also highly impractical. Now if you were to install Program O on a remote web server through a hosting provider (such as GoDaddy - tell them I sent you wink ), then you can have your Android app point to that Program O install and it would work just fine, but to put it directly on an Android device would just be too difficult to justify.

 

 
  [ # 19 ]

Oh I am sorry Dave Morton, For My miss interpretation. I means what you say at last to host program-o some where on remote web-server(I will definitely tell to godaddy about you;-) )and point that android app to program o. I am trying to do that what you have said. I have hosted program-o on localhost. Now I am trying to point my android app to program-o. Here I am thinking to create one php page at server side who receive user input as - say variable , bot id , conv_id. but now I am looking for what to do after receiving this three parameter and how to get response of bot from server.

 

 
  [ # 20 ]

Well, for that you’re in luck. There are three example interfaces for Program O that 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 your Android app would be the JSON example, and you don’t actually need to use that example directly, really. 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)

An optional input is name, which can be used or not, as you desire.

I can certainly provide support here at chatbots.org, but you might find it more useful (and sometimes faster) to use the support forums at http://www.program-o.com/forum/ - In addition to my input, you may also receive helpful replies from Liz Perreau, who wrote the original script, plus there are a lot of questions there that already have answers, and you may find what you’re looking for with just a little bit of searching. smile

 

 
  [ # 21 ]

Thnx Dave Morton, I am following what you have said.

 

 < 1 2
2 of 2
 
  login or register to react