android

  1. M

    Android Question Use Android tablet with /dev/ttyS0 serial port

    Hi everyone, I have a project to do that involves using an Android Tablet. This tablet has several ports and one of these (/dev/ttyS0) is used by a MIFARE UART card reader (called ICM523). Here on the forum I'm not able to find the correct way to interact with a hardware serial port in order...
  2. denis li

    Android Question how to get incoming call state to my SIM when I am on the voip call

    I have app which is supporting the voip call. when I am on the voip call, if I get SIM call and accept it, I am going to hold the voip call. I am using TelephonyManager and PhoneStateListener to get the incoming call state. When there is no active voip call, I can get the incoming call...
  3. M

    Android Question [B4X] CustomListView Reorder items by dragging

    Hi everyone, I'm doing some researches, is there any way to reorder a CLV item by dragging and dropping it in a new location? A bit like in the following image Thanks in advance.
  4. F

    Android Question Select and Move in the UI

    Is there a way to move like a Button-UITextEntry just by click on it? I did this by a setting the Width/Height and its Location when Adding the View but instead, i just want to create a Button with a static Width/Height in the View but when i click on it, DRAG this object around the view Any...
  5. M

    Bug? [B4A] Intent Based Camera stops working in certain conditions šŸ¤Æ

    Hi everyone, I'm using this method by @Erel to take a picture from Android in my app released months ago. Since some days, some customers told me that the "take picture" button is not working anymore, randomly. After some investigation in my code, I could not find the problem... the only thing...
  6. 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...
  7. 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.
  8. Peter Simpson

    B4A Library Honeywell N660x Android powered 1D/2D laser barcode scanner library

    Hello All, Here is a library that I wrapped for generic Android 1D/2D laser barcode scanners. You don't need a library to use a generic Android 1D/2D hardware laser barcode scanners. To receive barcode data you can use an Intent via a Receiver Module without the need for a library, but there...
  9. S

    Android Question B4A Question , Font Scaling Problem (Any Device)

    Hello To Active Forum Members I've Recently installed B4A To Develop an app Which i succeed thanks to forum and tutorials. Now im In Realese phase and i'm having a problem with scaling - I used Blue Stacks Emulator To develop my App ( No Bridge ) and every things works fine. - But When i use...
  10. Flavio SOuza

    Android Question Compiling Resources Error

    Hello everybody, I am unable to compile the project. The project suddenly stopped compiling, could anyone help me? Code error: -------- B4A Version: 12.50 Parsing code. (0.05s) Java Version: 8 Building folders structure. (0.03s) Compiling code. (0.14s) Compiling layouts code...
  11. H

    Android Question Android ends service!

    I'm just writing to try to understand when a service running in the foreground is disabled by the Android system. I developed an alarm app and after choosing the text and time data for the alarms, I close the app and only its service is running in the foreground, sometimes it works for a day...
  12. lussaz91

    Android Question How to unsubscribe from all topics in Android usign firebase?

    I saw this useful thread about how to implement push notifications by Erel: https://www.b4x.com/android/forum/threads/b4x-firebase-push-notifications-2023.148715/ Now I'd just like to know how if there's a method to unsubscribe from all topics or at least one topic in an android App. And maybe...
  13. M

    Android Question How to send multiple integer variables from udp socket

    hi everyone i wanna to send array of integer from udp socket but i can how do it! hoever im trying to do this but it dose not work well here my sample code: Private Sub Label1_Click Dim hum=200,temp=320 As Int Dim int() As Int = Array As Int(temp,hum) Dim byte() As Byte =...
  14. A

    Android Question Is it worth learning B4A?

    Expert opinions often appear on the Internet that smartphones may become a thing of the past in the coming years, that they will be replaced by other gadgets. Is it worth it to seriously study programming for Android (iOS) in this case? How much longer can smartphones (and tablets) last?
  15. Q

    Android Question B4XPages

    I need multipage layout, so I have a look into B4XPages. What I cannot grasp is how I create many pages in Designer? If I have create each and every label and button programmatically would it be by far easier to make them visible or not visible? Thanks Serg
  16. Q

    Android Question How to find and change WiFi access point for Android?

    Hi All, first post here so please bear with me. Sorry if it been discussed, but I spend few hours to search without any success. So if it been discussed before simply show me corresponding thread. In environment where I work we have big warehouse with many access points. When one move inside...
  17. CorryWestSide

    Android Question Android sdk problem?

    Why my application run successfully on Android 8 but with Android >= 9 crash? in particular, it crashes when trying to create the com.appname folder and its related files including a database that is needed for the app to function Sub CreoDB() If sql.IsInitialized Then sql.Close...
  18. K

    Android Question android-30 not found

    Hello everyone. I had some problems running my code (Maven artifact not found: androidx.core/core-ktx) so i followed the advises given here. Now i have this message: There is no android-30 in platforms (only 28 and 33). I uninstalled and reinstalled B4A. I deleted and redownloaded everything...
  19. S

    Android Question Newland N910 + N910 Base

    Hi experts, Does anyone here have experience working with Newland based POS devices. Currently building android app to connect to N910 Base via Bluetooth and I'm able start a connection but when I try to send data to it, it does not show up on my laptop. For your information N910 also have a...
  20. A

    Android Question Error trying to publish app on Google Play Store to tests - google pixel emulator and googlequicksearchbox error

    I'm trying to publish an app in google play store and have this error: Exception Process: com.google.android.googlequicksearchbox:search, PID: 12192 java.util.NoSuchElementException: No value present at j$.util.Optional.get (Optional.java:148) at...
Top