Android Question about online database


Active Member
Licensed User
Hi all

I have an registration system for customer names and their phones, the system consists of two applications, first one for the user and the second for the admin.
user begins and send his phone number to the online database (mysql database connected through php)
admin application must verify this number by an sms.
what is the best way for the admin application to reply at once to the user when he send his number ? may I use a timer and search for the new fields every 10 seconds for example ?

thanks in advance

Alexander Stolte

Licensed User
I do that with Firebase Cloud Messaging. My MySQL Server has a trigger and if he insert his number then you can send this via FCM and if this message receive then you can notify the user that the verification was successful.
Upvote 0