• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Interactive Chat with choices [Android Studio]

Emma_bk

Lurker
Good morning,

As said in the title, I'm working on making a little interactive chat.

I've been working on Android studio for a couple of days now and I'm starting to get the hang of it -or at least the basics. But after making the design of the app and my different Activities (Menu, List, ...) I realised that I was simply stuck with the chat story thing.

To be honest I can't imagine how to make the chat. Should I use à ListView ? Is a RecyclerView useful in my case? If so how to make the bubble appear one by one (with a choice timing -like 2 seconds between each bubble)? How do I stock the strings that will appear in each bubble?

I kind of guess that for the user to make a choice I have to make a button at the bottom of the Layout and then use a pop-up, but is that the best way to do it ?

The only tutorials I've found are about making a chat like WhatsApp, and things that require Firebase, and it's a little bit confusing. Do I have to use Firebase, even if the chat is just displaying a scripted text and does not need anyone else than the player?

I'm sorry if it's a little bit confusing, I have many questions and I really have no idea how to proceed, but if you want a clear idea of what I want to make it's something similar to the Hooked app or the Yarn app.

Thank you in advance for your help!

PS: If there's any mistake or misphrase I apologise, English isn't my native language ^^
 
Good morning,

As said in the title, I'm working on making a little interactive chat.

I've been working on Android studio for a couple of days now and I'm starting to get the hang of it -or at least the basics. But after making the design of the app and my different Activities (Menu, List, ...) I realised that I was simply stuck with the chat story thing.

To be honest I can't imagine how to make the chat. Should I use à ListView ? Is a RecyclerView useful in my case? If so how to make the bubble appear one by one (with a choice timing -like 2 seconds between each bubble)? How do I stock the strings that will appear in each bubble?

I kind of guess that for the user to make a choice I have to make a button at the bottom of the Layout and then use a pop-up, but is that the best way to do it ?

The only tutorials I've found are about making a chat like WhatsApp, and things that require Firebase, and it's a little bit confusing. Do I have to use Firebase, even if the chat is just displaying a scripted text and does not need anyone else than the player?

I'm sorry if it's a little bit confusing, I have many questions and I really have no idea how to proceed, but if you want a clear idea of what I want to make it's something similar to the Hooked app or the Yarn app.

Thank you in advance for your help!

PS: If there's any mistake or misphrase I apologise, English isn't my native language ^^

Well, first of all, to make it easier on yourself don't try to do everything yourself from scratch. I googled this library now which seems like it could be useful for you. It has a sample app in there so you can see how it's setup. If you don't like it there are probably a few others that might suit you better.

You don't need Firebase or any networking if it's only going to be chat with a bot, so you don't have to worry about that.
 
Thanks a lot for you answer, I'm going to check this library further, but it already seems like it's going to help me !

Thanks again !
 
Back
Top Bottom