B4J Tutorial AsyncStreamsObject - Send and receive objects over the network - Erel    Aug 10, 2016   (8 reactions)   tags: Network For new projects it is recommended to use B4XSerializator instead of this solution. http://www.b4x.com/basic4android/images/SS-2013-11-14_13.26.52.png AsyncStreamsObject allows you to send and receive objects instead of bytes. You can read more about it here: http://www.b4x.com/android/forum/threads/asyncstreamsobject-send-and-receive-objects-instead-of-bytes.30543/ This example connects to t... B4A Tutorial [B4X] Network + AsyncStreams + B4XSerializator - Erel    Jun 30, 2020   (27 reactions)   tags: transfer, B4XSerializator, Erel, Network Better implementation, based on B4XPages: https://www.b4x.com/android/forum/threads/b4x-b4xpages-network-asyncstreams-b4xserializator.119011/#content New video tutorial: 256762156 https://www.b4x.com/basic4android/images/SS-2016-10-19_15.32.02.jpg https://www.b4x.com/basic4android/images/SS... This is a simple and important example. It demonstrates several good practices related to network communication. 1. The network related code is in the Starter service. The network state is also stored in... B4A Tutorial B4A-Bridge over wifi without a local network - Erel    Jun 15, 2015   (9 reactions)   tags: B4A-Bridge no net Starting from B4A v5.0, B4A-Bridge over Bluetooth is no longer available. You can use B4A-Bridge over wifi or USB debug mode to connect the IDE to a device. By creating a mobile hotspot you can easily connect to a device with B4A-Bridge even if there is no local network. The steps are: 1. Start.... It will show a message saying: "Not connected to wireless network". Ignore it. 4. Set... will use the device mobile network provider to connect to the internet. This may result in large bandwidth... B4A Tutorial [B4X] [B4XPages] Network + AsyncStreams + B4XSerializator - Erel    Jun 30, 2020   (27 reactions) https://www.b4x.com/basic4android/images/java_USPawWZPiX.png 95652 https://www.b4x.com/basic4android/images/B4i_nUuTQqGuEH.png Cross platform version, based on B4XPages, of the network example: https://www.b4x.com/android/forum/threads/b4x-network-asyncstreams-b4xserializator.72149/#content It is so much simpler to use B4XPages that it feels like cheating :) All of the code is shared. The layouts were copy-pasted.... B4R Tutorial Ethernet / Network Tutorial - Erel    Apr 12, 2016   (5 reactions) the network.
We can assign a static address to the board or ask the network DHCP service to assign...
Log("Error connecting to network.")
Return
End If
MacAddress is a 6 bytes... B4A Code Snippet Workaround the NetworkOnMainThread exception - Erel    Sep 16, 2014   (23 reactions) Android 4+ doesn't allow applications to make network calls on the main thread. There is a good reason for this restriction as such calls cause the UI to freeze and after 5 second Android will show the "Application not responding" dialog. Proper libraries take care of handling network calls with background threads. If you encounter a library that doesn't do it then you have two...: NetworkOnMainThreadException, strict mode... B4A Tutorial Android Network Tutorial - Erel    Feb 5, 2016   (2 reactions) This is an old tutorial. All new implementations of network solutions should be based on AsyncStreams.
The Network library allows you to communicate over TCP/IP with other computers or devices... B4A Tutorial AdMob mediation with Meta - Facebook and 20+ other networks (not tested) - Pendrush    Jan 17, 2023   (5 reactions) This tutorial assumes that you already have FirebaseAdMob2 implemented in your app. Implementation... this tutorial: https://developers.google.com/admob/android/mediation/meta Download addition libraries...: AudienceNetwork.aar Add in app manifest: AddApplicationText(<activity android:name="com.facebook.ads.AudienceNetworkActivity" android:configChanges...:name="com.facebook.ads.AudienceNetworkContentProvider" android:authorities... B4J Code Snippet Bind Jetty to desired network interface + get network interfaces - Damjan    Jan 5, 2022 Hi, Is there any way to make Jetty to use only WIFI interface or only ethernet interface? Example: if I disconnect ethernet, and start Jetty, it will take IP from WiFi, but if I start it when both interfaces are up and connected it will use ethernet as default. So, how can I give him the instructions which interface he should use. Thanks!... B4A Code Snippet DIY NTP Network Atomic Clock Time - emexes    Feb 25, 2024   (3 reactions) I just ported some NTP stuff from an old program. Querying an NTP server is surprisingly easy: just send it a 48 byte UDP packet with the first byte = 27 and the rest of them 0. The NTP server should return your 48 byte packet updated with the last 16 bytes set to two 64-bit timestamps, being when it (i) received your request and (ii) soon-after sent its response. My code "returns" 4 ... Page: 1   2   3   4   5   6   7   |