Android Example Responsive Chat Example

Discussion in 'Tutorials & Examples' started by Douglas Farias, Oct 31, 2019.

  1. Douglas Farias

    Douglas Farias Expert Licensed User

    Hi All.
    I made this example for a chatbot app here on brasil and now i want to share it here.



    chatclv.jpg

    This example use xCLV and IME lib (Already in B4A).
    The messages fit both vertically and horizontally, making them fully responsive.

    Note: The text field expands according to the text size.
    Note2: When you are typing text the sound icon changes to the send icon, as in whatsapp.

    You can download it here....

    Download Here

    Thanks!
     
  2. mcqueccu

    mcqueccu Active Member Licensed User

    Wow, it seems Christmas has started early this year :D
    Thank you
     
  3. AnandGupta

    AnandGupta Active Member Licensed User

    Thanks for sharing.
    This will help me in learning how Messing app like Whatsapp works :)

    Regards,

    Anand
     
    Douglas Farias likes this.
  4. LucaMs

    LucaMs Expert Licensed User

    You had to publish this a few months ago, before I did it myself for my apps, I would have avoided working on it :mad::mad::mad:

    :D
     
    aidymp and Douglas Farias like this.
  5. Brandsum

    Brandsum Well-Known Member Licensed User

    I think it's a template not the full app. Is it?
     
    Douglas Farias likes this.
  6. DonManfred

    DonManfred Expert Licensed User

    yes. Unfortunately using spanish comments/variables... Unlikely for me to use it. I do not speak spanish/portuguese.
     
    Douglas Farias likes this.
  7. Douglas Farias

    Douglas Farias Expert Licensed User

    Hi.

    I'm very bad at English, I've had problems here on the forum using words that seemed correct to me and to others seemed offensive.

    I work in Brazil, this example was already ready and posted on my site, as I have no time, could not translate to another language.

    But there are many Brazilians who understand Portuguese and English here in the forum, maybe someone with a good heart can do the translation work of this example, it would be great.

    Have a nice day :)
     
    Johan Hormaza, LucaMs and DonManfred like this.
  8. DonManfred

    DonManfred Expert Licensed User

    No problem for me at all :)

    I just don´t like to use Code where i do not understand the comments or variablenames. Same applies to chinese or any other language i do not speak. :D
     
    Douglas Farias likes this.
  9. DonManfred

    DonManfred Expert Licensed User

    Anyway; thank you for sharing! It will be helpful to some people i guess ;-)
     
    Douglas Farias likes this.
  10. moster67

    moster67 Expert Licensed User

    After all, it is the code that is important. The comments or any doubts about the variable names can be easily looked up using Google Translate.
    Thank you @Douglas Farias
     
  11. AnandGupta

    AnandGupta Active Member Licensed User

    Agree fully.
    For beginners like me, these selfless contribution from members are invaluable. They have and are helping us a lot to learn B4A and also Java.

    To check, I translated "chat.b4a" file from Portuguese to English and Google did a very good job in translating variable names and comments. So I see there is no problem in it.

    In another forum, we do not have separate language threads, but we seek and give solution in our own language along with English translation text. So language is no barrier in today's world.

    2019-11-01_153956.png

    Regards,

    Anand
     
  12. Indic Software

    Indic Software Member Licensed User

    Please use DeepLearning to translating your messages in English and visa versa.

    https://www.deepl.com/translator
     
  13. Rusty

    Rusty Well-Known Member Licensed User

    AnaAndGupta, any chance you can post your English version?
    Thanks :)
     
  14. AnandGupta

    AnandGupta Active Member Licensed User

    100% chance :)

    It is work of Douglas and I just did google translation. Here it is attached "chat_en.b4a". See the comparison image below for an idea.

    2019-11-06_230820.png

    Please note that we can not just use the translated version in b4a as all variable, class, library names are translated and will give error. Best is to read the English version to understand the concept and change the string constant one by one in the original and check. I follow this step.

    Regards,

    Anand
     

    Attached Files:

    Douglas Farias and LucaMs like this.
  15. Rusty

    Rusty Well-Known Member Licensed User

    Thanks!
    It has a lot of translation errors, but the English names are usable for the most part.
    I appreciate your help!
    Rusty
     
    Douglas Farias likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice