bjfhs Active Member Licensed User Longtime User Jun 18, 2019 #1 This code is broadcast video from service to client,it can work in B4J,I want to make it work with B4A,so I modify it for B4A,but it not only can't receive any image,but also doesn't get any error. The server is wrote by B4J,and client by B4A. Attachments img.zip img.zip 9.1 KB · Views: 396
This code is broadcast video from service to client,it can work in B4J,I want to make it work with B4A,so I modify it for B4A,but it not only can't receive any image,but also doesn't get any error. The server is wrote by B4J,and client by B4A.
Erel B4X founder Staff member Licensed User Longtime User Jun 18, 2019 #2 It is a mistake to implement the logic in inline Java. You should use B4X network features, send the images and show them. MQTT can be a good fit for this. Upvote 0
It is a mistake to implement the logic in inline Java. You should use B4X network features, send the images and show them. MQTT can be a good fit for this.
bjfhs Active Member Licensed User Longtime User Jun 18, 2019 #3 Erel said: It is a mistake to implement the logic in inline Java. Click to expand... I don't think so,when the server and client all write by B4J( Java inline),it work fine,when I fit client with B4A, it can't get anything from the server. I can't find where is mistake. Upvote 0
Erel said: It is a mistake to implement the logic in inline Java. Click to expand... I don't think so,when the server and client all write by B4J( Java inline),it work fine,when I fit client with B4A, it can't get anything from the server. I can't find where is mistake.
bjfhs Active Member Licensed User Longtime User Jun 25, 2019 #4 I want to rewrite it with B4A(NO JAVA in line),but I don't know how to do it,who can help me?Thank you for your any advice. Upvote 0
I want to rewrite it with B4A(NO JAVA in line),but I don't know how to do it,who can help me?Thank you for your any advice.
Erel B4X founder Staff member Licensed User Longtime User Jun 25, 2019 #5 bjfhs said: I want to rewrite it with B4A(NO JAVA in line),but I don't know how to do it,who can help me? Click to expand... Start with the networking tutorial: https://www.b4x.com/etp.html?vimeography_gallery=1&vimeography_video=256762156 As I previously wrote, it will be simpler to use MQTT. https://www.b4x.com/search?query=MQTT Upvote 0
bjfhs said: I want to rewrite it with B4A(NO JAVA in line),but I don't know how to do it,who can help me? Click to expand... Start with the networking tutorial: https://www.b4x.com/etp.html?vimeography_gallery=1&vimeography_video=256762156 As I previously wrote, it will be simpler to use MQTT. https://www.b4x.com/search?query=MQTT
bjfhs Active Member Licensed User Longtime User Jun 26, 2019 #6 Java inline can work fine,I have solved it(the event name must lower-case letters). Upvote 0
josejad Expert Licensed User Longtime User Jun 26, 2019 #7 I think it would be fine you change the thread title to something more descriptive, or the (solved) tag will not help too much. Last edited: Jun 26, 2019 Upvote 0
I think it would be fine you change the thread title to something more descriptive, or the (solved) tag will not help too much.