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]...
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...
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...
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...
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...
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.
Original libarary: https://github.com/magiclen/MagicImage
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...
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...
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...
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...
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...
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...
Originally posted a B4J/inline Java version of this in the B4J Code Snippets (https://www.b4x.com/android/forum/threads/image-to-jpeg-byte-array-with-resize-quality-options.91746/). @Erel pointed out though that the XUI library had the functionality that I was doing with Java, so I decided to...
Due to @Erel's comment below, I've rewritten this in pure B4X basic. The new version should work with B4A, B4J and B4i. New version (that should be used) can be found here https://www.b4x.com/android/forum/threads/b4x-xui-image-to-jpeg-byte-array-with-resize-quality-options.91774/.
' Converts...
Hello,
I have a little problem, maybe who knows:
I have a tool in VB.NET that converts a string value to a base64 string.
VB.NET Code:
Dim byt As Byte() = Encoding.UTF8.GetBytes("Thomas")
Dim Base64
Base64= Convert.ToBase64String(byt)
The Base64 Value is: VGhvbWFz
Now I want to restore this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.