convert

  1. 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...
  2. 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 (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...
  3. OliverA

    B4J Code Snippet Image to JPEG byte array with resize/quality options

    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...
  4. H

    Android Question Convert Base64 String (VB.NET) to B4A Restore.

    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...
  5. Sandman

    Games Pixelator - turn any image into fancy pixel-art

    Hi all, I know some people in the forum have mentioned that it's very difficult to produce art for games. I just found this app (not made with B4X), and thought that it might help somebody. Pixelator http://pixelatorapp.com/ Examples:
  6. rleiman

    Android Question Converting integer values to ticks long value

    Hi Everyone, If I have 3 separate integer values representing a time such like: Dim intHours As Int = 10 Dim intMinutes As Int = 30 Dim IntSeconds As Int = 0 for the actual time of 10:30:00, can you tell me how to convert those 3 integers into a ticks long value so I can pass it to...
Top