java

  1. Z

    Bug? Connect to server with protocole UDP

    Hello, when I call my server with my library, it works only in Debug mode but crashes in Release mode. And i added permission in manifest: AddPermission(android.permission.INTERNET) The problem is on all my phones, they are with the following android version: 8.0, 9.0 and 11.0. It’s a huawei...
  2. Sagenut

    What about JAVA JDK?

    I am posting this in Chit Chat on purpose just to make it a nice talking, but to help me clarify some aspects. We know that B4X can use: Oracle Java JDK 8 OpenJDK 11 OpenJDK 14 (even if this one does not appear to be pushed too much, I think because it's not an LTS version as 11) By many time...
  3. DylanTre

    Java Question Setup environment to extend B4A libraries

    Hi everyone, I'm actually attempting to extend BLE2Peripheral lib of B4A. I Started by forking the github repo here: https://github.com/AnywhereSoftware/B4A and imported the project in eclipse Neon. I downloaded the Android SDK from his update site but it looks like that's not enough to satisfy...
  4. cjpryor

    B4J Question Help building a jar file to call from B4J

    So, I have built a jar file named PrintPageReportWrapper.jar that I can execute from a command line with java -jar PrintPageReportWrapper.jar. Unfortunately, I have never had to go beyond this point in my java development other than deploying the jar file to desktop computers. I am now trying...
  5. cjpryor

    B4J Question Library Error when deployed but not in B4J Development Environment

    I wrote an enhancement to my reporting using DynamicJasper. I built a limited java wrapper specific to my purposes and deployed it to B4J as a library using the B4J_LibraryCompiler.exe. I have done this before with Jasper Reports which has been successfully deployed to Windows, Mac, and Linux...
  6. U

    Android Question String Values Going Empty! Web Service(SOAP)

    Hello there, I am connecting to web service with SOAP using KSOAP2 library. I'm currently having a problem that I can't get out of for the user login section. When I send data via **** POST, it returns "successful" as 'result'. However, when I test the web service with SOAP, the email or...
  7. Michael2150

    Java Question Wrapping Genius Scan SDK

    Hi so this is my first attempt at making a library for B4a, and a big attempt it is. I have a project that requires the Genius Scan SDK. So after a few days of research I've gone through most of the tutorials on the forum about how to make your own B4a library, and they are all great, but I...
  8. Z

    Android Example Use MediaStore to play and export Ringtones. Demo, lib and Java source code.

    The media provider provides an indexed collection of common media types, such as Audio, Video, and Images, from any attached storage devices. Root permission is not required.
  9. AbdurRahman

    Android Question how to solve java.exe high memory usage problem ?

    Hi guys, Thanks for being a part of b4x community, Before, I wanna share my pc details: - RAM: 4gb - OS: windows 10 x86 - Processor: x64 based - Type: Laptop Please see images: The strange thing for me is that its -Xmx is 2048m. Whereas, my environment variable named _JAVA_OPTIONS is...
  10. B

    B4J Question Trying to write some b4j code to connect to the Oracle Cloud

    Hi, Oracle has a tool, called RightNow. It provides resources for running queries and generating reports for remote databases. I'm looking at some Java code, as well as the Getting Started section in the...
  11. naldoxable

    Bug? [SOLVED] Received fatal alert: protocol_version

    Dear @Erel, I'm experiencing issues using my app with jOkHttpUtils2 outside B4J if I build the standalone package. I have already read other posts in this forum but I'm not sure how to proceed. I'm using the last version of B4J with openJDK 11 as written in the installation guide. I'm using...
  12. rleiman

    Android Question [SOLVED] - Google Play reports crashes but the app works fine for me and others

    Greetings, Google Play is reporting that my radio streaming app is crashing with the same error across multiple devices including the same phone brand that I'm using. What has me confused is it doesn't crash on my phone and I had the app running during the day and also over night. Seems like it...
  13. MitchBu

    Bug? Why is my app crashing in 10.2

    My app is working just fine in B4A 10, but in 10.2, I get the java error below. I am not versed enough in the Java errors to find out what may be going on. Is there any way to know where I should look in my B4A code ? java.lang.NoClassDefFoundError: Failed resolution of...
  14. A

    Android Question makeClipRevealAnimation

    Hello, I want to use an animation between activities, using makeClipRevealAnimation. Unfortunately, Java and Android libs are real bullshit and totally beyond understanding... All I succeed to do is Dim jo As JavaObject jo.InitializeContext Dim ao As JavaObject =...
  15. carlos7000

    Spanish Ejecutar aplicación .JAR

    Hola a todos. Como mi computador estaba molestado lo borré, formatee e instale todo de nuevo. Para instalar b4J descargue jdk-11.0.1 (https://b4xfiles-4c17.kxcdn.com/jdk-11.0.1.zip) y lo descomprimí en C:\jdk-11.0.1\ Luego ejecute el instalador de B4J y configure las rutas. La ruta de...
  16. S

    Android Question private key algorithm is not compatible

    Hi A few days ago I asked Google Play to reset the b4a sign key I made the sign key with this guide: keytool -genkeypair -alias b4a-keyalg RSA -keysize 2048 -validity 9125 -keystore b4a.keystore keytool -export -rfc -alias b4a-file upload_certificate.pem -keystore b4a.keystore If I compile...
  17. Ferdari

    Android Question (SOLVED)error: cannot find symbol: Inline Java Code

    Hi everyone, im integrating Huawei services like this: as there is no library i tried with Inline Java code: Integrated the JARS: 'Huawei #AdditionalJar: huawei/hianalytics-4.0.1.300.jar #AdditionalJar: huawei/hmssdk-opendevice-4.0.1.300.jar #AdditionalJar...
  18. Sandman

    Android Question Should I prefer Oracle Java 8 or OpenJDK 11 for B4A development?

    I'm considering re-installing my development machine from scratch, and took a look at the installation instructions for B4A. I saw that I can choose from two different Java versions: Oracle Java 8 or OpenJDK 11. I just wondered if there are any benefits to pick one over the other?
  19. NGUYEN TUAN ANH

    I Need to Create a Wrapper from Java Library Code

    Hi, everybody I need to create a B4A library from Java Lib This is the library code: https://github.com/OneStopTransport/api-ntrip-java-client The job budget is US$ 50 and the expected delivery time is 4-7 days after the start - wait for proposals. Please help me, i am just a poor scientist...
  20. M

    Convert a Java (Android Studio) App into an Android Service

    I need an Android Studio Service written (actually just converted) to do a very simple task. I have an Android Demo App (written in Java in Android Studio by the supplier) to demonstrate that their bitmap converter library we bought actually works. The library is there and it does work in App...
Top