title: Integrate AIML files in android studio
body: <p>I'm trying to make a chatbot using android studio but i can't find a way to connect it to the AIML files correctly here is the code i tried </p>
  
  <pre><code>String request = s;
              String response = chatSession.multisentenceRespond(request);
              while (response.contains("&amp;lt;")) response = response.replace("&amp;lt;","&lt;");
              while (response.contains("&amp;gt;")) response = response.replace("&amp;gt;","&gt;");
              if(response.equals("Too much recursion in AIML"))
                  return  "";
              else
                  return response;
  </code></pre>