B4J Question Using MySql LOAD_FILE to insert Blob Image - Swissmade    May 22, 2014 Hi All,
Mysql has a nice function to load a file and insert this in a field in the table....SQLDB.ExecNonQuery(tmpSQL)
'
All Fields are inserted but not the Image.
:(:(:(:(... B4A Question Working with BLOBs and images - DonManfred (first post)    May 22, 2019 Try the forumsearch. I´m sure there are some examples as it was asked in the pask already. https://www.b4x.com/android/forum/pages/results/?query=insert+image+to+blob https://www.b4x.com/android/forum/pages/results/?query=sql+image+blob... B4A Tutorial ImageDownloader - The simple way to download images - Erel    Oct 10, 2021   (13 reactions)   tags: image simple to efficiently download images and show them in ImageViews. Example code: Sub Globals Dim... How to use? 1. In Activity_Resume you should create a Map with the ImageViews as keys and the links as values. Use CallSubDelayed to call ImageDownloader.Download. 2. In Activity_Pause you should use CallSub to call ImageDownloader.ActivityIsPaused. 3. That's it. http://www.basic4ppc.com...) - framework for images, videos and more Downloading images with HttpUtils2 is quite simple. However... B4A Question Imageview.bitmap 2 Blob and vice versa - Guenter Becker    Aug 11, 2020 layout imageview.bitmap -> byte array -> byte array insert into sqlite database blob field and
2nd the way back from the blob field -> byte array -> imageview.bitmap.
Can anyone help me...I looked through the posts (for example SQL Tutorial) and even find only statements pointing to... B4A Tutorial SQL tutorial - Erel    Oct 2, 2019   (18 reactions)   tags: sqliteimages, begin transaction, SQL ) InputStream1.Close Activity.SetBackgroundImage(Bitmap1) End Sub Using a Cursor.GetBlob we fetch...)) InsertBlob 'stores an image in the database. ReadBlob 'load the image from the database....gif") 'write the image to the database SQL1.ExecNonQuery2("INSERT INTO table2... TEXT, image BLOB)") End Sub The above code first deletes the two tables if they exist and then..., strings or arrays of bytes (blobs). Arrays are implicitly converted to lists so instead of creating... B4J Library [B4X] jRDC2 - B4J implementation of RDC (Remote Database Connector) - Erel    Sep 9, 2021   (38 reactions)   tags: RDC, jRDC2, conectate a un servidor, Remote Connector, DB Remote, Myapp (30) NOT NULL,\ image BLOB) sql.insert_animal=INSERT INTO animals VALUES (null, ?,?) Notes... utility methods in DBRequestManager: FileToBytes, ImageToBytes and BytesToImage. You can use them when working with blobs. - Extending jRDC2 to support B4R: https://www.b4x.com/android/forum/threads/rdc...260642577 RDC is a middleware server that makes it simple to safely connect clients and remote SQL... to the additional libraries folder. 2. Add a reference to this jar with: #AdditionalJar: mysql... B4A Library [B4X] BitmapCreator Effects - Erel    Apr 29, 2021   (31 reactions)   tags: image effect flip, BitmapCreator, Effect, B4X BitmapCreator Effects BitmapCreatorEffects class includes all kinds of very simple to use image effects. The class... then you should set the image when ScaleDown = False, with XUIViewsUtils.SetBitmapAndFill. v1.31... an image: Dim GreyImage As B4XBitmap = effects.GreyScale(ExistingBmp) 'Blur an image: Dim BlurImage As B4XBitmap = effects.Blur(ExistingBmp) 272558725 The attached examples demonstrate the various methods. Updates v1.40 - Adds support for B4XImageViews (XUI Views). - New ScaleDownImages... B4A Question How to add image to button with text ? - mr.gedo    May 14, 2020 Hello everyone how can i add image with text to the button like this ? 94046... B4A Code Snippet FontAwesome To Bitmap - Erel    Jun 2, 2020   (20 reactions)   tags: UI Unlike an older "TextToBitmap" sub that you can find in the forum, this code vertically centers the icon. It can also be used in B4J and B4i (only need to change the font line). Sub..., "Test", FontAwesomeToBitmap(Chr(0xF17B), 28), True) Activity.AddMenuItem3("Eye", "Test", FontAwesomeToBitmap(Chr(0xF06E), 28), True) End Sub Sub FontAwesomeToBitmap... As B4XBitmap = cvs1.CreateBitmap cvs1.Release Return b End Sub Depends on: XUI https://www... B4A Code Snippet [B4X] Use WebView to show large images - Erel    Sep 4, 2021   (19 reactions) Better to use: HugeImageView - show very large images Depends on: XUI and JavaObject. 'xui is a global XUI object. Private Sub ShowImage(WV As WebView, Dir As String, FileName As String) #if... WV.LoadHtml($"<img src="${xui.FileUri(Dir, FileName)}"/>"$) Else If Dir = File.DirAssets Then FileName = FileName.ToLowerCase If xui.IsB4A Or Dir = File... The inline java is required to start zoomed out. Don't miss the bottom of the code snippet. Scroll... Page: 1   2   3   4   5   6   7   |