Making a chat app

you need a Text block like 'contains any '.

Do you have a list of forking swear words ?

1 Like

No, The user enters anything wants in a text box

Thanks, But where is the 'contains any' block?
i can't find it in texts!
and i want to report user for example i use contains any block
and say when SendBTN click if textbox1 text = **** then set label 1 text to you reported
and for example the user says * * * * then the report alert didn't show to user

image

Click on the drop arrow in the contains block for options.

http://ai2.appinventor.mit.edu/reference/blocks/text.html#containsany

In the text rawer
Make sure to set toolkit to default in the project properties

Taifun

This link might help you make your list of 'swear words' to check for
https://www.reddit.com/r/Discord_Bots/comments/l7z4kd/complete_list_dictionary_of_cuss_words_and_all/?rdt=57859

Hello again
Im workng on a chat app
I don't want to send message i want to upload and download files.
how can i ?

how do you do that? with clouddb? firebase?

to send a file, you can convert the file to base64, and send the base64 string.
or upload the file to a cloud server, and send only send the file path.

im using cloud DB

You can upload a binary image file to cloudDB, but you must use a full path and a separate tag for each file.

Hi
how to send images,videos and voices for chatting app?

cloudDB can save image/video/audio.
First cloudDB.StoreValue(imageName, imagePath), then in DataChanged event, send the imageName to other person. The other person can use GetValue to retrieve this image.

Thanks a lot!
and is there something else to send message with them? not a listview i want my messenger to send messages like this:
Screenshot_15-1-2025_1493_www.google.com

You can use the CompCreator extension to dynamically generate whatever layout you require

Thanks a lot
is there anyway to see status of that user im chatting with
i mean online and offline of status
and set an image profile how it can be?

Yes, you could do all of that with your online database.

I have made an example here, you may want to have a look:

thank you @Kevinkun
but can i ask how did you create a chat app without a listview can you show me your blocks?

Just check the link in my last post.
Using Compcreator you can create any layout you want.