android

  1. Egepa

    Android Question Android InputStream does not work when re-openned

    Hello everyone, I am experiencing a similar bug to this post https://www.b4x.com/android/forum/threads/do-i-always-have-to-reconnect-my-usb-accessory-before-opening-it.30222/, when i try to call InputStream.close() on my apps onDestroy() it does throw "read interrupted" exception fine. However...
  2. M

    Android Question how to set automatic widget android in home screen

    hi my app is have a widget for make my app live for get and send gps location services i want after run my app if widget is no active in home screen is automaticly added this in there
  3. walterf25

    Self Contained AR Glasses (Snapchat new Release)

    Hi all, just wanted to share this real quick, I am finally able to publicly speak about what I have been working on for the past 2 years at Snapchat Inc. These new AR Glasses are now officially released. The reason I am posting this is to give everyone a small peek into what the future of AR...
  4. mikhatri

    Android Question Why my App ask for installation when i test in debug mode ?

    Hello Everyone, How are you all ? I'm facing a bit of trouble. Every time I create a new project in B4A and run it for the first time in debug, or when I make changes to the design and run it in debug mode, my app always asks for installation on the connected Android phone. I've noticed that...
  5. K

    Android Question AndroidManifest.xml content to ManifestEditor

    Good day! I am struggling with a problem concerning my POS application integration with the VIVA softPOS application. The documentation on developer.viva.com give us: Intent payIntent = new Intent(Intent.ACTION_VIEW, Uri.parse( "vivapayclient://pay/v1"...
  6. EstasPerplejo

    Android Question B4x Webview: Handling href and mailto links

    Hi folks. I've been working on a new project (B4x / V12.80 - Web-Browser) for quite some time now. Now, as my work is progressing I noticed that the webview control can't seem to handle links like downloads (href) or mailto events. Clicking on these links will result in no action whatsoever...
  7. Luna9412

    Android Question Screen Orientation

    Hello, I'm having problems with the orientation of my app, I'm trying to set the main layout in PORTRAIT and the second Layout in Landscape but it's only posible if the phone has the orientation activated, I want to.... force the app to change to Landscape... I tried using...
  8. CorryWestSide

    Android Question How to sign an XML in B4A?

    hi, the question is very easy, i make a function for build a xml structure so i put it in a file and save it like xml. Easy, the problem is that i have to sign this file for send it to Italian Tax Agency and i have with me only a x509Certificate. On Internet i found that with only that i can...
  9. R

    Android Question Looking into Samsung Health SDK

    Does anyone knows or have an example on reading the Samsung Health? I am looking to read and display the information on my android phone. Thanks in advance for any ideas, suggestions and examples (if possible).
  10. M

    Android Question Programmatically Exit from Screensaver/Somnambulator

    Hi everyone, Some time ago I posted this question on how to start programmatically the Screensaver from my Application. Is there a way to do the opposite? I wish to exit from the screensaver to show up my Application again (I will do it in the event that fires when new data arrives from the...
  11. N

    Android Question Service Only App

    Hi, I am trying to find a way to build a service only app. I remember years ago using B4A (when you still needed to pay for it), where you could build a service only app. I can't seem to work out how to do it in the current version, and I can't seem to find any forum posts either. Any help...
  12. M

    Android Question [XUI Views] user_interaction Java event not firing while using B4XInputTemplate

    Hi everyone, my app has a timeout timer that is resetted every time that the user interacts with the application interface. Thanks to this method However I just implemented a B4XDialog with B4XInputTemplate and I noticed that when the keyboard is used in Text Mode the "user_interaction" event...
  13. M

    Android Question Start Screensaver programmatically

    Hi everyone, I’m developing an app that will run on a panel tablet (kiosk). This tablet has the screensaver function in system settings (colors or clock) with a button to start it. From settings seems that the screensaver can start ONLY if the tablet is charging… but since it is a tablet panel...
  14. A

    Android Question Web View - need webview die continue

    I have a web vision, I get out of the application and, when the loaded page passes 20 minutes, the page does not continue, the page stops!
  15. M

    Android Question [B4X Pages] How to restart an Application after a Crash

    Hi everyone, I've to develop a Kiosk Mode Application (for a panel pc/tablet)... I'm concerned about what happens if the app crashes... Is there any robust way to restart the application in case it crashes? Thanks in advance
  16. 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...
  17. 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...
  18. 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.
  19. 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...
  20. 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...
Top