java

  1. J

    Android Question Help with keys management

    Hi, Does anyone know how to deal with the Fire tv keys on a webapp that uses webview to navigate through a webpage with touchable images and buttons? The problem is that when dealing with the Activity_KeyPress() to handle the back button and go back or exit the application: Sub...
  2. Carlos marin

    Android Question Library creation error, Context.getApplicationContext() error

    Hello friends, I would like you to help me with my concerns, I am new to this topic of creating libraries so I try to understand but in the following I have not found a solution. I am creating a wrapper of an SDK, in the first part I must initialize it and get the ok or the error of said...
  3. Carlos marin

    Zendesk SDK iOS and Android wrapper

    Hi, I'm looking for someone who can help me with the Zendesk SDK wrapper, both for iOS and Android, with all its services: SUPPORT SDK Zendesk Guide ANSWER BOT SDK CHAT SDK V2 TALK SDK The SDK link is as follows: https://developer.zendesk.com/documentation/classic-web-widget-sdks/ You can...
  4. H

    B4J Code Snippet Splitter with Fixed Pane

    The Java splitter has the nasty tendency of resizing both panels when the form or splitter parent is resized. I think it is a better behaviour when we have one fixed panel and one flexible panel, so when you resize the form, one panel keeps its size and only the other one changes. Fighting this...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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.
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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 =...
  19. 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...
  20. 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...
Top