Hi,
Working on a nice little personal gaming project using both B4A and B4J. Successfully talking to various Androids using Google Cloud Messaging via a command line and/or via JShell using the b4a_gcm.jar (ref: https://www.b4x.com/android/forum/t...otification-gcm-framework-and-tutorial.19226/)
I've a monitoring B4J running locally with a live GUI and acting accordingly on what various devices send data back to an online MySQL database via Php.
Wondering if there is a more efficient way to embed using the b4a_gcm.jar instead of using the following when requried (as suggested in https://www.b4x.com/android/forum/threads/jshell-library.34661/#content)
Note: B4i once this stage running fluently
Working on a nice little personal gaming project using both B4A and B4J. Successfully talking to various Androids using Google Cloud Messaging via a command line and/or via JShell using the b4a_gcm.jar (ref: https://www.b4x.com/android/forum/t...otification-gcm-framework-and-tutorial.19226/)
I've a monitoring B4J running locally with a live GUI and acting accordingly on what various devices send data back to an online MySQL database via Php.
Wondering if there is a more efficient way to embed using the b4a_gcm.jar instead of using the following when requried (as suggested in https://www.b4x.com/android/forum/threads/jshell-library.34661/#content)
shl.Initialize("shl", "java", Array As String("-cp", "b4a_gcm.jar", "anywheresoftware.b4a.c2dm.C2DM", "send", "registered-device", "data"))
shl.WorkingDirectory = "current directory for b4a_gcm.jar"
shl.Run(10000)
Any suggestions/voices of experience/options/caveats appreciated. I will pour more water about this 'little' project as it grows but so far, looking too good.shl.WorkingDirectory = "current directory for b4a_gcm.jar"
shl.Run(10000)
Note: B4i once this stage running fluently