1. asales

    Android Tutorial Convert a big Activity project to B4XPages

    For years is scare me to convert a big project from Activities to B4XPages, mainly because the app is only for Android (and I don't have plans to IOS or desktop), but in several issues the answer from Erel is "switch to B4XPages". The other problem is because I have many apps in the Play Store...
  2. Guenter Becker

    B4A Class Convert DateTime, Graphic, Boolean, Units

    Version: 1.1/2023 The Module contains functions to convert formats or units to be needed in the daily life of software development as followes: Convert Date or Time Values into B4x-Ticks or ISO8601 Format. Convert Boolean True/False into Integer 1/0 and reverse. Convert Decimal Point from...
  3. R

    Android Question Converting object to string

    I can do this with something like this: Sub CStr(oVal As String) As String Return oVal End Sub [\CODE] This is fine if oVal has a string assigned to it, eg: oVal = "abc" However, this won't work if oVal has nil assigned to it, so for example: [CODE] Dim o As Object Log(CStr(o)) [\CODE]...
  4. BugNot

    Android Question Convert C or C++ to b4a

    Hello, Could someone help me convert a C or C++ code to B4A? Thanks
  5. M

    iOS Question Convert String representing bytes in actual bytes

    Hi everyone... i've this string 0x33303a43363a46373a30303a39353a3641 that represents some bytes.. how can i transform it in actual bytes? i tried with for loops, byteconverter, arrays etc... nothing works like I need...
  6. R

    Convert largish project from B4A to B4i

    Have a medical database app, based on a local SQLite database, written in B4A that I would like converted to B4i. I have no experience at all in B4i, so would like to get this done commercially. Is anybody in this forum interested in this? It is a largish project, having about 50000 lines of...
  7. Guenter Becker

    Android Question Image to/from CVS File

    Hello, I have 3 table columns named "ColA", ColB" and "ColC" where ColC is type BLOB and I like to store and read images in/from it. For a solution I like to export these table columns to a CVS File or import the CVS file values to the table columns. I know how to convert the image to a byte...
  8. P

    B4A Library PndFFmpegKit - FFmpeg Library

    FFmpegKit is a wrapper library that allows you to easily run FFmpeg/FFprobe commands in applications. It provides additional features on top of FFmpeg to enable platform specific resources, control how commands are executed and how the results are handled. Original library...
  9. A

    Android Question Convert a Class to a Library

    Hi all, I wrote a class and want to convert it to a library and use methods and processes that exist in. is there any way? i saw the tutorial of compiling project as a library an did it. but when i want to declare a variable of it , the IDE doesnt show anything.
  10. P

    B4J Library jMagicImage - Read exif and metadata data, convert, compress image, also some basic image filters

    Original libarary: jMagicImage is a B4j (wrapper) library for image processing. It can support many formats of images in Java programs and provide common functions to make adjustments to the image. After you finish adjusting your images, you can export...
  11. P

    B4A Library Convert/Compress Image - WebP, JPG, PNG

    Convert/Compress Image between different formats WebP, JPG, PNG.
  12. C

    Android Question Clarion date conversion

    Hi! I'm trying to convert a date from Clarion format (80328 02/12/2020) to a date in b4a. It's a kind of julian date, any ideas? Thanks in advance!
  13. sadeq.hitex

    Tool Hitex xHelper - Android package converter

    Hitex xHelper is a free simple tool to automatically convert old support to new androidx packages. you can convert and save easily by drag your xml or java files into the text area and drop it. for example if you type old support recyclerview package and click Convert To X , it changes to new...
  14. Marcos Alves

    Android Question B4X and Compatibility

    Hello all, I noticed that in visual designer we have the option to add the views in the activities and B4XView, but I confess that for me it's not clear yet if I'll have advantages when translating a B4A app to B4i using that kind of approach... for example, I tried to reference the padding...
  15. Mashiane

    B4J Library SQLite 2 JavaScript / JSON

    Ola I needed to embed a sqlite db as part of a web app i'm working on, but as JavaScript / JSON. This app helps with converting your sqlite db to javascript. This is useful when one wants to use the data for READ ONLY purposes, my case in point. 1. Add the database that you want to be...
  16. Alexander Stolte

    Android Code Snippet [B4X] convert seconds to ticks

    Sub convert_seconds2Ticks(seconds As Long) As Long seconds = seconds * DateTime.TicksPerSecond 'convert seconds to ticks! Return seconds End Sub
  17. E

    Bug? Error parsing string "-0" to float

    This code (2 lines of diagnosis hacks + 1 original problem line): Dim TempString As String = lblReading.Text Log("len = " & TempString.Length & ", str = [" & TempString & "] isnum = " & IsNumber(TempString)) Dim CurrentReading As Float = TempString '''lblReading.Text is producing...
  18. A

    Android Question Converting project from B4A V1.8 to V8.5

    I have corrected the errors in my friends project and it now compiles without errors but presume updating his project which was V1.8 to latest may be the reason when using the Bridge tool app (I installed latest version) it fails to install with the helpful error ”Application not Installed”. I...
  19. makis_best

    Other [Solved] Convert ticks to date

    Hi I read some dates from SQL Server.... and I save them to my SQLite database. The dates stored like that: /Date(1498856400000)/. Every record has a value like that. It is a correct format? I need to change it some how? After that I try to convert that value in my SQLite query but no luck...
  20. OliverA

    Android Code Snippet [B4X][XUI] Image to JPEG byte array with resize/quality options

    Originally posted a B4J/inline Java version of this in the B4J Code Snippets ( @Erel pointed out though that the XUI library had the functionality that I was doing with Java, so I decided to...