Skip to content

mayyar/custom-chatbot-w-DF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 28, 2019
5ce68bf · Aug 28, 2019

History

23 Commits
Jul 15, 2019
Aug 28, 2019
Jul 12, 2019
Jul 12, 2019
Jul 24, 2019
Jul 17, 2019
Aug 6, 2019
Jul 12, 2019
Jul 12, 2019
Jul 12, 2019
Jul 12, 2019

Repository files navigation

Custom Chatroom with Google-Dialogflow

Introduction

This project is based on Google Dialogflow to create an Artificial Intelligence Helper in Android App. That is, it is not built on any platform recommended by Dialogflow.

Requirement

  • Google Dialogflow
  • Android Studio

Procedure

  1. Create a project on Google Dialogflow
  2. Customize your own ChatRoom in Android Studio
  3. Connection between API.api and your chatroom interface.
    • Input: User
    • Output: Bot
  4. Use your own data to have different application

Problem Solving

  • Q: Text response can not add hyperlink
    • A: Use Linkify and remember to add android:autoLink in layout attribute (or html tag)
  • Q: How to customize picture reponse?
    • A: Use SpannableStringBuilder to add Imagespan into Textview

Contact

Feel free to contact me if there's any problem.

Links

Reference from Android Developer Guide , including Dialogflow

Releases

No releases published

Packages

No packages published

Languages