b4a

  1. Android Question Module bluetooth problem

    i have this kind of problem with a bluetooth module: Start with this i wirte this Log: Connected, servizi: (ArrayList) [00001800-0000-1000-8000-00805f9b34fb, 00001801-0000-1000-8000-00805f9b34fb, 00005301-0000-0041-4c50-574953450000] DONE The service that i want is only Servizio id...
  2. Android Question Compiling B4A application for different mobile cpu architecture

    Hi, Recently i start learning android programming with B4A and now i am a beginner in android programming. My question is: How to compile B4A application for other mobile cpu architecture? For example : compiling B4a application for ARMv7-A or x86_64 mobile cpu architecture.
  3. Android Question Bluetooth search stops working after moving to b4xPage

    I used the example of chat bluetootch, when I moved the layout to separate panels the program stopped detecting and indexing bluetooth devices. The program code is the same as in the example. Private Sub B4XPage_Created (Root1 As B4XView) Root = Root1 Root.LoadLayout("MainPage")...
  4. C

    Android Question Issue with using FTPS on FTP library

    Hi, I've managed to get my app to connect to me NAS via Non-Secure FTP with no probs and upload / list files folder in the folder, however when I change it to FTPS it seems to connect ok (NAS Log show is connects successfully) however the List_Completed function always returns Success=False and...
  5. B4A Class App localization with Google Translator (Updated!)

    Name: TD_Localize Version: 2.6 updated 2024/04/21 Language: B4A Licence: Royalty Free to use for private and commercial projects for licenced B4X Members. Others please ask for licence. The attached example project includes the File TD_Localize.bas. Using this code module in your project it...
  6. Android Question Creating a fake Wi-Fi

    Hi Is it possible to make a fake Wi-Fi in Android?
  7. S

    Android Question Android 13 problem with app installation

    Ho to all. Sorry I'm a beginner. I have written an App with b4a to take photos, read qrcodes and send emails with success using a Xiaomi note 9. Now I have a new phone Oppo with color os and android 13, and the same app run perfectly. I try now to run some examples using USB but the phone stop...
  8. V

    Android Question How to code Linear Regression algorithm with TensorFlowLite in B4A?

    Hello everyone, I have added successfully all libraries to use TensorFlowLite in my project B4A: But I don't know how to start code with Linear Regression algorithm from this library. Can you help me to do this simple example? Thanks.
  9. B4A Library B4XDrawer Extension

    Name: TD_Drawer Version: 1 EarlyAccess Code: B4A TD_DrawerTree expands the possibilities of the B4XDrawer with the following functions: One single drawer , as a menu selection for all pages Display the menu as a tree structure. Design of the menu tree with the designer. Individual color...
  10. Android Question Addressing Firebase Messages to Particular Users

    It might be a simple question, but what is the best practice to send messages addressed only to a particular user? I've successfully tested delivery Firebase messages to my phone. I've made a test sending program in B4J and an app in B4A and they both work. But I couldn't find any information...
  11. H

    Italian Visualizzare mappe offline

    Buongiorno, avrei la necessità di realizzare una piccola app ,in B4A, che permetta di visualizzare delle mappe "tipo vista satellite di google", in maniera offline(non c'è campo nella zona di utulizzo) di inserire/visualizzare dei punti tramite coordinate GPS. Ho visto nel forum inglese che vi...
  12. G

    Android Question Printing on Thermal Printer (58mm)

    Hello Everyone. I am currently exploring the best way for printing on a thermal printer. I've been experimenting with "PrintHtml," but I've noticed that the print quality is not good. Could anyone offer any suggestions or recommendations for achieving higher quality prints on a thermal...
  13. G

    Android Question Intent Set & Add Flags

    Hello everyone. I want add these two lines in my code. lvIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); lvIntent.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); Is there anyway to do it? Thank you in advance.
  14. H

    Italian Quale libreria per le tabelle?

    Buongiorno, avrei la necessità di visualizzare dei dati in forma tablellare,(minimo di 3 colonne, massimo 7, impostabili dall'utente ). In media verrà popolata con un centinaio di righe, anche se l'utente potrebbe inserirne ben di più ( per ora il massimo consentito dovrebbe essere 5000). Non ho...
  15. A

    Android Question How to create and parse Tag, Length, Value (TLV) in .b4a and encode it in Base64

    Hello, I have this code in vb net Public Function encodeQrText(ByVal sallerName As String, ByVal sallerTRN As String, ByVal invoiceDateTime As String, ByVal totalWithVAT As String, ByVal VATTotal As String) As String Dim bytes As Byte() = Encoding.UTF8.GetBytes(sallerName)...
  16. H

    Italian Classi e proprietà

    Buonasera, ho qualche difficoltà a capire come si usano le proprietà e le classi in B4A, potete darmi qualche dritta? Nel manuale in pdf l'argomento è tratto poco. In VB.NET per esempio, ho una classe fatta così: Public Class Person Private _nome As String Public Property Nome As String...
  17. G

    B4J Question Save B4XTable data to a remote database?Thank you for your help

    Dim cmd1 As DBCommand = CreateCommand("select_insertnianduyusuan", params) 错误: 不兼容的类型: List<Object>无法转换为Object[] Private Sub ShowDialog(Item As Map, RowId As Long) Wait For (PrefDialog.ShowDialog(Item, "yes", "cancel")) Complete (Result As Int) If Result =...
  18. Android Question Android/data folder permission

    Accessing and copying files to the Android data folder is limited in Androids above 10, especially 13 and 14, but file managers such as Z Archiver can access the Android/data folder by obtaining a permission. I also want to copy a folder in B4A that contains several other folders and all files...
  19. P

    Color selector application using B4XSeekBars and B4XFloatTextFields (B4A and B4J versions)

    This application showcases the use of B4X views and the multi platform programming with the #If B4A and #If B4J directives. This is how it looks like (first on my laptop then on my smartphone): A short description is available in the attachment: color_selector.pdf You can find the source codes...
  20. N

    Android Question What is the correct way to use Http job?

    Hi, I've made an Application with B4A that connects to the server to download some information and some images. This is my code : Private Sub trylogin Dim JJ As HttpJob JJ.Initialize("", Me) 'name is empty as it is no longer needed ProgressDialogShow2("درحال برقراری ارتباط",False)...
Cookies are required to use this site. You must accept them to continue using the site. Learn more…