Hi All,
I am super new to B4J and I would like to create a simple test app to read inputs and set outputs from/to the raspberry via an Android App running on a phone. I have read many forums and threads but I am more and more confused. What is the "cleanest" architecture? I was thinking to: develop with B4J an app running on Raspberry to handle the Low level I/O interface and the communication layer with the Android app. The I/O portion does not seem too complicated (didn't try yet..just a feeling) but I am confused about the communication layer. Should that be a web server responding to web clients (the android app) or should I go for a MQTT broker running on the raspberry responding to MQTT clients call from the Android App (coded with B4A) running on the phone?
Can someone provide some guidance? THANKS!!!!!
pierluigi
I am super new to B4J and I would like to create a simple test app to read inputs and set outputs from/to the raspberry via an Android App running on a phone. I have read many forums and threads but I am more and more confused. What is the "cleanest" architecture? I was thinking to: develop with B4J an app running on Raspberry to handle the Low level I/O interface and the communication layer with the Android app. The I/O portion does not seem too complicated (didn't try yet..just a feeling) but I am confused about the communication layer. Should that be a web server responding to web clients (the android app) or should I go for a MQTT broker running on the raspberry responding to MQTT clients call from the Android App (coded with B4A) running on the phone?
Can someone provide some guidance? THANKS!!!!!
pierluigi