Android Question Chat/messaging app, library?

Niek Wegman

New Member
Licensed User
Hi there, i'm fairly new to b4a but i've had some experience with visual studio/visual basic before.

I've built an app in which people can register an account and log in, all data is stored in a database running on my web server, the database stores someone's user id and for every person it also stores a list of other people's user id's that they've "connected to"/"added" (for instance, in user1's row in the database, it has it's user id, password, some other info, and "connections" column, which stores his "connections": "user2, user5, user13").

I want to have an activity in my app where the user sees a list of these people and when they click on a specific one of them, it opens a chat with that person. I have literally no clue where to start or how to do this, is this even possible? Is there an example of someone who has already made a whatsapp-like app?

Thanks!
 

MarkusR

Well-Known Member
Licensed User
Longtime User
Upvote 0

npsonic

Active Member
Licensed User
First and most important thing is not to store plain text password. Do not do that.

If I understand correctly you have build app that allows user to register and nothing else? If so best place to start is stop for now and begin to design what kind of architecture you want for you messaging app. There is multiple ways and all of them have there own cons and pros.

There is MQTT, but I would recommend Firebase. MQTT is fast to get working, but who would want that. Of course you will do what is harder and more reliable way to create instant messaging app. With Firebase you can build basically everything what Whatsapp has.

You may also want to keep your own server and you most likely will need it when you add more functions for your app such as contact finder, chat group finder, and so on.
For the server check MongoDB, dynamic schema design is basically must have when you are developing app that will get more functionality over time.

For the actual android app you will get fast start by using ChatMessageView library.
 
Upvote 0

captaincringe

New Member
I think I have a thread on this. May be you will get what you want from this one.
https://www.b4x.com/android/forum/threads/lib-chargeable-ultimatelistview.22736/#post-131817
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…