android

  1. PracticalBot

    B4X FEED ListenableFuture is defined multiple times

    I am trying to compile one of the old projects but I am getting the following error: B4X: B4A Version: 12.20 Parsing code. (0.71s) Java Version: 11 Building folders structure. (0.31s) Compiling code. (0.42s) Compiling layouts code. (0.03s) Organizing libraries. (0.00s)...
  2. PracticalBot

    B4X FEED WhatsApp msg not sending

    Hi, I am trying to send a pdf in files folder thru WhatsApp as below but it shows "No app can perform this action" . In starter I have only declared Dim Provider as FileProvider In Manifest B4X: AddApplicationText( <provider android:name="android.support.v4.content.FileProvider"...
  3. practicalsoft

    B4X FEED Working with files in Android 11+

    As part of our app, we save log files (.txt) to the device, which the user later retrieves with the File Manager ("My Files"). We are using RuntimePermissions.GetSafeDirDefaultExternal(""). Since Android 11, the location which this references (under Android/data) is no longer accessible to the...
  4. practicalsoft

    B4X FEED EscPosPrinter and Android 11

    Hello All, My App prints (EscPOS Bluetooth printer) without errors or issues in Android 8 thru 10, but in Android 11 (Samsung Tab Active3) it can't print the whole ticket It always stop half way, even with resets between the prints, and after it misprints, I cannot print anything else. I have to...
  5. practicalsoft

    B4X FEED No pdf viewer found in some users' phones

    In an app, I'm searching if at least one pdf viewer is installed, in order to open pdf files there. In order to do that I use: B4X: Dim INTENT1 As Intent INTENT1.Initialize(INTENT1.ACTION_VIEW,pdfFileName) INTENT1.SetType("application/pdf") INTENT1.Flags=1...
  6. practicalsoft

    B4X FEED Sharing a link via NFC, cross-platform

    I may well have missed exactly how to do this, and it feels like it should be easy, but I just can't make it happen... I want to be able to generate a URL in an Android app, and share that via NFC with both Android and iPhone - the link will be to a payment gateway, so it would be great if...
  7. practicalsoft

    B4X FEED aPOI - A wrapper for jPOI for Android - reading and writing XLS, XLSX on Android 5+

    This is a wrap for this Github project which is itself a wrap for jPOI. Reading and Writing XLSX on Android 5 Reading and Writing XLSX and XLS on Android 5 with Apache POI It was quite a challenging task to use Apache POI on android with Dalvik VM. It is much easier to use Apache POI on...
  8. practicalsoft

    B4X FEED A simple text terminal for Arduino (CH340 chip) running on Android? How?

    Hello everyone! I'm trying to write a program for B4A (android 7..10) which should be a text terminal and a basic editor window for an Arduino nano program. The Arduino nano has Tiny Basic installed which communicates with an external terminal or programming via plain text. It uses a serial...
  9. practicalsoft

    B4X FEED Convert to B4A

    Help to transform this Java Class to B4A Thanks ? ? ? Java: import android.R.integer; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable.Creator; import java.nio.charset.Charset; import java.util.Arrays; public final class TransactionIn implements Parcelable {...
  10. practicalsoft

    B4X FEED ResumableSub, custom type return and obfuscation

    I have a resumable sub, akin to: B4X: Public Sub DeviceGetStatus As ResumableSub Dim Result as MyCustomType ' .... more code Log("Device status request complete.") Return Result End Sub In another block, I call it with: B4X: Wait For (DeviceGetStatus) Complete(Status As...
  11. practicalsoft

    B4X FEED Workaround the NetworkOnMainThread exception

    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...
  12. abass

    نحوه تشخیص فایل کامبینیشین متناسب با گوشی

    ✅ نحوه تشخیص فایل کامبینیشین متناسب با گوشی ? فایل combination یا factory binary فایل برای ترمیم سریال یا برداشتن قفل frp یا سامسونگ اکانت و ... استفاده می شود . برای تشخیص فایل combination مناسب مطابق ورژن گوشی طبق جدولهای زیر عمل کنید COMBINATION_OXA_FA60_J710FXXU3AQF2 OXA=CSC build...
  13. practicalsoft

    B4X FEED Updated targetSDK, now have permissions issue

    I had to fix a small bug in my app, so I thought while I do it I'll update the targetSDK from 22 to 29, as Google requested. Compiled, worked fine. Then I remember I had not updated my SDM in a while, so did so, and recompiled with android-29 instead of android-25. App crashes on launch...
  14. practicalsoft

    B4X FEED Open failed: ENOENT (No such file or directory)

    Hi! Changing Manisfest <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/> to <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="29"/> causes error once I install app on my device. An Error has ocurred in sub:main_writeini (Java line.......) FileNotFoundExeption Open...
  15. practicalsoft

    B4X FEED inline java and javaobject

    Hello everyone, i am having a problem with inline java and javaobject. I have a co-developer who knows how to code in java, my problem is i don't know how to pass the code to b4a. i can't get the return value of the java code. below is the inline java code: B4X: #if java import...
  16. practicalsoft

    B4X FEED [B4A] Come avviare in automatico app su Android 10

    Ho un'app con un service che riceve notifiche fcm (l'esempio istituzionale che si trova cercando PUSH sul sito b4X) e reagisce in funzione del messaggio ricevuto Esempio Firebase Cloud Messaging Provata su Android 6, sul 7, sul 9, parte correttamente all'avvio del sistema operativo senza fare...
  17. practicalsoft

    B4X FEED Error uploading APK to google console

    I use rp.GetSafeDirDefaultExternal and file.DirRootExternal. My manifest B4X: AddManifestText( <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"/>) AddManifestText( <uses-sdk android:minSdkVersion="19"...
  18. practicalsoft

    B4X FEED Broken link (sort of) in targetSdkVersion / minSdkVersion tutorial

    In this tutorial Android Tutorial - android.jar / targetSdkVersion / minSdkVersion Instructions for targetSdkVersion 28 were added to first post: - 28 - Foreground services require a new non-dangerous permission. It is added automatically if using B4A v9+. - 28 - The old http SDK is not...
  19. practicalsoft

    B4X FEED Problem With Webview And Backbutton

    Hello i am newbie ;) this week installed b4a and starting . I added Webview then when i click on Back button get exit from application i tested this code's Android Question - Back button in a Webview I think I have shot myself in the knee with this one. If I have a webview, load an URL then...
  20. practicalsoft

    B4X FEED AnimatedCounter1 in android 10 no Animated

    I update my android phone to android 10 the XUI Viewer AnimatedCounter run but no Animated XUI Viewer 2.35 to 2.4, in android 10 also no Animated ادامه مطلب...
عقب
بالا