java

  1. Vinians2006

    Android Question [SOLVED] Error when loading Layout

    Hello my friends, sudenly I started to get an error when entering the scanning sctivity the message is in the image, the error is in Java line. Since its is on a Java line I cant debug! The image bellow, shows the error: More information about the error: This occurs even before I load the...
  2. abilio486software

    Java Question Dificult using an external .aar library

    Hello, I'm trying to integrate a MyPOS terminal payment SDK without success. At this moment I'm getting a compile error when include the .aar library: "Generating R file. Error C:\Android\tools\..\extras\b4a_local\unpacked-slavesdk-release-63698443706298\res\values\values.xml:137: error...
  3. Ariyan Ahmadpour

    Android Question compile with java 8

    hi friends how can we compile b4a project with java 8? Android Studio gradle code : compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }
  4. Alejandro Moyano

    Java Question I can't access an wrapper object from B4J

    Hi, im alex, im building an CRUD code generator and i need beautify the ugly generated code then i trying to wraps the library JTidy, but when i run it on b4j crashes. My knowledge of java is pretty basic, mostly remounts time ago at university, as my main languages are PL/SQL, VB.Net and...
  5. M

    Android Question Error when compiling generated java code

    Hello everyone, I'm having a issue when I try compile and run my program. He was working before some changes, but I can't find the problem and don't find any similar thread here. Apparently the function is receiving more arguments than should receive, but I don't know why either how fix it. Here...
  6. peacemaker

    Android Question SDK wrapping full algorithm

    HI, All Who knows the complete algorithm of the Java SDK wrapping for B4A, excepting the base main Don's post ? Including the requirements to B4A classes... And .aar files... For example, i was trying to hope to be able to make some Java SDK working in B4A, i could do: 1) Eclipse installation...
  7. Marcos Alves

    Android Question Java Code Error

    Hello, I'm trying to compile an app with the code: #If Java public static String toHtml(TextView sourceText) { String returnString = Html.toHtml(sourceText); return returnString; } public static TextView fromHtml(String htmlString) {...
  8. L

    Spanish Problema al finalizar un comando en consola de linux(raspberry)

    Hola, estoy desarrollando una interfaz para comunicarme desde un celular a una raspberry mediante wifi, hasta ahora me descargue los ejemplos de simplechat, el problema es que quiero ejecutar un comando en la consola de linux, en realidad si se ejecuta (video) pero ya luego el programa de b4j se...
  9. L

    Spanish Problema al ejecutar un comando en consola de linux(raspberry)

    Hola, estoy desarrollando una interfaz para comunicarme desde un celular a una raspberry mediante wifi, hasta ahora me descargue los ejemplos de simplechat, el problema es que quiero ejecutar un comando en la consola de linux, en realidad si se ejecuta (video) pero ya luego el programa de b4j se...
  10. Flavio SOuza

    Android Question convert code java to b4a

    Hello friends. I have the following code in java, I wanted to know how it would look and how to use it in b4a. Thank you very much in advance
  11. Pedro Caldeira

    B4J Question new Application

    Hello folks, I am going to write a new application and want your opinions as to the best way to approach this. Its going to be Linux App, probably to run in an Raspberry PI, or small pc. desired Features: connection to External GPS for better accurary display of own coordinates on some kind of...
  12. J

    B4J Question B4J on Raspberry Pi With Java 11

    Hi - Trying to get this working as per Erel's Tutorial post. Must be missing something - suggestions would be very welcome Looking at the Java 11 download it says it includes JavaFX When I start the bridge I get the messages as per the tutorial except after JavaFX modules: (I don't get any...
  13. peacemaker

    Wish Just ideas for wrappers

    HI, All Just list of the views that may be wrapped for B4A, if any Java programmer is interested and can: 1) https://github.com/DingMouRen/LayoutManagerGroup 2) https://github.com/CleverPumpkin/CrunchyCalendar 3) https://github.com/saket/InboxRecyclerView 4)...
  14. SJQ

    Android Question 3D Gaming Toolkit

    Hello All, following on from all the great work on the new 2D gaming libraries Erel has been working on would any of you guys have any idea how to integrate the AGK Toolkit. AGK is itself a 3D/2D Gaming Toolkit that uses Code blocks as an IDE and doesn't have its own IDE, its a great 3D & 2D...
  15. C

    Android Question Convert android studio project to b4a

    Is it possible to convert an android studio project to b4a?
  16. MarkusR

    Future of Oracle / Java

    i goto this text here after i setup this jdk: https://www.java.com/en/download/release_notice.jsp does that mean that companys must pay for using java in future?
  17. K

    Android Question error with customlistview

    java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1176092 bytes I got this is error on customlistview add and there are only 515 records to load Error log :: java.lang.RuntimeException: android.os.TransactionTooLargeException: data parcel size 1176092 bytes...
  18. 52manhua

    Java Question How To Initialize B4A Map in Java

    I take it for granted, but it doesn't seem to work. package com.example; import anywheresoftware.b4a.BA; import anywheresoftware.b4a.BA.*; import anywheresoftware.b4a.objects.collections.Map; @Version(1.0f) //@Permissions(values={"android.permission.INTERNET"}) @ShortName("FirstLib")...
  19. walterf25

    Java Question Returning Value on BA.RaiseEvent method

    Hi All, i'm trying to wrap a library and on one of the listeners for one of the properties i have the need to return an integer value, I was wondering if this is possible with any of the BA.RaiseEvent methods, if not is there any other way to accomplish this. Below is the java portion of the...
  20. analizer3816

    Android Question cannot get data in List & Map from java library

    I can't get size or data in list and map from java lib [I need java lib + b4a and use list in map , map in map, map in list or list in list] please suggest me for fixed this problem thanks this is my test lib java library code: ackage testlib; import anywheresoftware.b4a.BA; import...
Top