b4a

  1. N

    Android Question MPEG file to Bytes

    Hello, I need to convert MPEG file to Bytes in order to send it in UDP packets. How can I correctly transform the file to Bytes? Thank you, Nataly
  2. B

    Android Question Stable service

    I want to write a chat program without using Firebase (because I like being independent and I also want to improve my programming skills by doing so) So this program should work in the background and receive messages from others and create a notification. I know this is very easy with Firebase...
  3. Valentino.b

    Android Question Forward a call on Android (B4A)

    Hi all I would like to create an APP to forward an incoming call. F.e., after working-hours, if the call coming from a specific number or a list of numbers or a prefix, then I need to forward the call to another number. Dim PE As PhoneEvents Sub PE_PhoneStateChanged (State As String...
  4. B

    Android Question Connect two phones via IP without remote server

    Hi, I want to exchange information between two phones remotely without a server and using ip. Is it possible and how? Please attach a source. Thanks🙏
  5. XToolsGroup

    Android Example [UI] [B4A] Online Course App UI Example + Source Code

    Hello Community! This is the second UI Example by XTools Group and more examples are on the way :) You can find our first UI Example Here : [UI] [B4A] Camping App UI Example + Source Code In this example we've used CustomListView & XUI Views Librarys. And the Bottom Navigation is coded "Simply"...
  6. Batman_

    Android Question [Solved] JRDC2 and SQL Server: B4A client issue or SQL server or firewall?

    I am going through the tutorial from this post: https://www.b4x.com/android/forum/threads/tutorial-of-connecting-android-to-ms-sql-server-using-jrdc2.114856/ From the tutorial I have managed to start the webserver and can confirm the connection to the SQL server database is working. I get the...
  7. A

    学习b4x 可能 遇到 的 困难 ,和 b4a 的 优势

    使用 b4a , 因为 很多 语法 接近 vb ,绕过 了 繁琐 和 不熟悉 的java ,所以 ,可以 较快速 地 写 出 一些 工程 , 因为 业务 代码 大多 可以 用 vb 写出 ,而且 b4a 深绿色 的 ide 界面 也 让 人 喜欢 , 简洁 的 界面 也 让 人 喜欢 , 但是 ,要 想 让 工程 的 功能增强 和 多一些 ,可能 就 困难 了 ,因为 ,它 不仅 要 用 vb ,还有 不少 涉及 java 和 安卓 的 东西 , 遇见 这些 问题 ,去 国内 的 qq 群 ,基本 也 是 说不清 ,不少 关于 b4a 的 群 里 很少 谈 b4a ,乱糟糟 在...
  8. A

    关于b4a ,b4x 的 许多 不解

    用了 一段 时间 b4a 了 , 也 写 了 几个 工程 , 但是 , 因为 英文 水平 一般 ,及 对 java 的 不 了解 , 现在 对 B4A仍 有 很多 迷惑 和 不清楚 的 地方 , 现举 出 几处 ,望 能 得到 论坛 中 朋友 的 解答 , 我 写 的 几个 工程 ,都 是 b4a , 不涉及 b4i 等 , 感觉 说明书 里 说 的 ,要想 让 苹果系统 和 安卓 都能 用 ,就得 写 b4x 工程 , b4a 工程 是 不能 被 苹果 手机 用 的 ,我 这个 理解 对吗 ? 论坛 里 贴 出 的 许多 代码 ,【其 左上角 都 标注 着 b4x 这个...
  9. R

    Android Question Apps do not run under Android 11

    Dear all, I think I'm quite a good programmer but I have no idea which effects a change of OS has to my apps. The apps are written in B4A but since Android 11 they don't want to work. I've tried a mass of analysis, checks, changes ... What am I doing wrong? Who can help? Thanks in advance...
  10. developer_soft

    Android Question Development of b4a and b4j

    The question that has been on my mind is whether Earl Uzil developed b4a and b4i with b4j? 😂😂 If so, what is b4j developed with?🤣 Didn't the server write the same site with b4j?😍😅 Really, why is the b4a tag not so popular in StackOver Flow and it can not be used in posts?🙂
  11. XToolsGroup

    Android Example [UI] [B4A] Camping App UI Example + Source Code

    Hello Community! This is the first UI Example by XTools Group and more examples are on the way :) In this example we've used CustomListView & XUI Views Librarys and implement a self-made Bottom Navigation(Not the best way). And don't forget to check out the Designer Visuals along with the code...
  12. Mikhail ivan

    Android Question It won't allow me to load a second listview

    #Region Activity Attributes #FullScreen: True #IncludeTitle: False #End Region Sub Process_Globals End Sub Sub Globals ' Elelemntos que se cargan al cargar el diseño Dim ListView1 As ListView Dim Cont As Int = 0 Private ContRegCliente As Label Private...
  13. Shimoruki

    Android Question Downsampling image due to lack of memory.

    Hello I have been getting this error when I go to another module. It repeats multiple times even having numbers beside them. Which ends up closing my my application during debug mode. The attachments below show when the errors occur.
  14. A

    Android Question [Solved]Serial Async Buffersize

    Hi all, Is there a way to increase the buffer size to more than 100? or Is there a way to know the total received bytes (to know when to store it in a temp buffer)? I came across Streamtotal and Streamreceived but they give a 0 value when reading these in "astream_NewData". This is probably...
  15. A

    Android Question Problem sending text to server in trage sdk higher than 26

    Hi, when I put the trage sdk from the manifest to more than 26, I can not send anything to the server via httpjob with the poststring. I also added the following code to the manifest but it did not work: SetApplicationAttribute(android:usesCleartextTraffic, "true") What is the solution to this...
  16. A

    Android Question How To get the IP adress of a connected device to the hotspot

    Hello All, to solve a problem that a B4A app can not make a connection with a ESP8266 device in AP mode through a Wifi and at the same time, post this data to the internet throuugh the mobile connection, I had the idea to connect the ESP8266 to the hotspot and hopefully, the app can in this...
  17. A

    Android Question connect to mobile connection for HTTPJob while connected to ESP8266

    I replied to an exisiting thread but knowing this forum, it is better to start a new thread. I have an ESP8266 connected to the Wifi port of the telephone. This ESP8266 does not have an internet connection... (we are in the field with the application). The android app is gathering information...
  18. G

    Android Question [Solved] Webview local html + css + js + images

    What I am trying to achieve: - download a zip file from a known URL - that zip file contains a html file + js + css + images (all files in the same folder) - I will then unzip the archive in : rp.GetSafeDirDefaultExternal("MYPAGE") or File.DirInternal - then I would like to open/show that...
  19. 2SucresCelestin

    Android Question B4A - (Beginner) Can't run beacuse of an unknown error

    Just installed B4A as it's shown on the official website and i still can't build & run an example project (Hello world). I installed the app on my cellphone too and successfully connected to it, installed B4A Designer as the firt app asked to. I'm getting this error, sorry it's in French. But...
  20. A

    Android Question [Solved]Order Poststring

    Hello, I am looping a posstring to put info in a online db. I got it to work finally but I can not seem to put it in the correct order in the db, which is actually important to me that it gets a correct ascending ID... The data is in a kvs and is in a correct order. I had to put dim job2 and...
Top