Support Topics Documentation Slack YouTube Blog

How to build an android chat application ?

Does it work in any of these scenarios?


It doesnt work. You mentioned that Device ID is a randomly generated UUID however a real device serial number has the same number with the one that is been registered on the server by using Backendless.Messaging.registerDevice(…)


Does the device-to-device scenario work?


I ran the generated app on a device and emulator. Worked just fine for me. I could also set breakpoints in and see the messages arriving. See the screenshots below:</img></img>

Hello Mark,

I have the following issue:</img>

Do you have any ideas what might be the issue?


Moreover I have tried to do a basic message publishing but i have the following error message:

06-04 08:25:12.075 14628-14628/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.pushnotification, PID: 14628
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.pushnotification/com.example.pushnotification.MainActivity}: BackendlessException{ code: ‘Internal client exception’, message: ‘null’ }

hello i want chat to be implemented as a module in my app how do i iniate whats you costing and other stuffs ti integrate your chat module in my app

Hi, Shikhar.
There are monthly limits on messages. You’ll need to pay for exceeding these limits.
Here you can read more about limits and prices:

I am struggling to enable Google Cloud Messaging API for push notification? when i Click google Cloud Message it opens

On what page do you click it?

google console developer page, please have look on attach file.

Sir, I’m using code generator for Chat app, I’m having default channel exception.

Try the following URL:

The error says the channel name you’re using is either null or empty.

Thank you sir, I manage to enable API, so where do i get the channel name. please have look on my screenshot.

Make sure to pass the channel name into the API call.

Thanks a lot its working pretty fine now!!