ilan Expert Licensed User Longtime User Jul 27, 2016 #1 Is it possible to send from my app a notification to a b4j program? (And show it as a msgbox?) If yes how could something like this be archived? Thanx, ilan
Is it possible to send from my app a notification to a b4j program? (And show it as a msgbox?) If yes how could something like this be archived? Thanx, ilan
Erel B4X founder Staff member Licensed User Longtime User Jul 27, 2016 #2 Not with Firebase. Firebase uses GCM (Android) and APN (iOS) to send the notifications. Upvote 0
ilan Expert Licensed User Longtime User Jul 27, 2016 #3 Erel said: Not with Firebase. Firebase uses GCM (Android) and APN (iOS) to send the notifications. Click to expand... Ok thanx, and what would you use for such a task? Edit: i would like to use my RPi2 as a server where 1 phone send a string to it and the RPi2 sends that string to another phone. Like this i could make simple multiplayer games that runs over the net. The RPi2 will send the string via firebase my problem is only how to recive the string from phone app to RP2?? I was thinking of using mysql and php. So phone upload the string to mysql db and RP2 download it from that db and send to 2nd phone but i think it would be to slow... Last edited: Jul 27, 2016 Upvote 0
Erel said: Not with Firebase. Firebase uses GCM (Android) and APN (iOS) to send the notifications. Click to expand... Ok thanx, and what would you use for such a task? Edit: i would like to use my RPi2 as a server where 1 phone send a string to it and the RPi2 sends that string to another phone. Like this i could make simple multiplayer games that runs over the net. The RPi2 will send the string via firebase my problem is only how to recive the string from phone app to RP2?? I was thinking of using mysql and php. So phone upload the string to mysql db and RP2 download it from that db and send to 2nd phone but i think it would be to slow...
Erel B4X founder Staff member Licensed User Longtime User Jul 27, 2016 #4 Make your RPI accessible over the internet with dynamic ip service and then use WebSockets to communicate with the phones. https://www.b4x.com/android/forum/t...r-b4j-server-over-the-internet.37201/#content Upvote 0
Make your RPI accessible over the internet with dynamic ip service and then use WebSockets to communicate with the phones. https://www.b4x.com/android/forum/t...r-b4j-server-over-the-internet.37201/#content
ilan Expert Licensed User Longtime User Jul 27, 2016 #5 Erel said: Make your RPI accessible over the internet with dynamic ip service and then use WebSockets to communicate with the phones. https://www.b4x.com/android/forum/t...r-b4j-server-over-the-internet.37201/#content Click to expand... Thank you this is awesome. I will take a look at it. Upvote 0
Erel said: Make your RPI accessible over the internet with dynamic ip service and then use WebSockets to communicate with the phones. https://www.b4x.com/android/forum/t...r-b4j-server-over-the-internet.37201/#content Click to expand... Thank you this is awesome. I will take a look at it.