You can use B4X push server instead of the desktop tool. As it is written in B4J you can customize it as needed.
Sorry, I always have worked with B4a and I do not kow how to use B4J, but it is not the problem because I want to learn.
In this way, I have installed the application + java + ... but I can not understand the code.
I have removed all the things that are in relation with IOS because my app is only for android.
But I do not know how I can connect with my table of the database of mysql and make my query to see if I have to send an notification to some device.
In addition, I have compiled this app in my mobile phone, but I have a question.... In order to that, My usuers have to install two applications for receiving notifications (my game (B4A) and this server application (B4J) ? and... in the config.txt file of the folder "b4x push server\B4X-PushServer\PushServer\Objects", I only change the AndroidApiKey parametre. It is ok?
Please, I need help. I have read a lot of pages about it, but I do not have the necessary resources to solve it. The majority of my game is done (in 7 months), but If I can not do it, all my work will be thrown in the trash.
Can you send me a simple example about it?. I think that may be is not very dificult for you, but it is impossible for me.
It is very simple:
I have a table called notification in mysql with a field (username).
I only want that when a registrer will be inserted into this table, the user which matches the username receives an notification or message.(I do not how to make it, it is the real problem.)
After that, In my code of B4A my application makes an connection and reads the rest of fields of serveral tables (It is done).
The method of Android push notification (GCM) works very well with my app but, I need to send the messages automatically based in my table of mysl, so, I can not use the desktop tool to send it.
This is the part of the code that I believe I have to use:
Please, Erel and friends. Help me. Thanks for your attention.