array

  1. practicalsoft

    B4X FEED jPOI "setAutoFilter" and B4JPackager 11

    I can't solve the problem with B4JPackager 11 and POI "setAutoFilter" method. The code is quite simple and it works in debug and release mode and don't work in B4JPackager B4X: Dim SheetObj As JavaObject =sheet1 SheetObj.RunMethod("createFreezePane",Array(0,2))...
  2. practicalsoft

    B4X FEED Full Screen

    When using full screen mode with the following code in Activity_Create: B4X: Sub GetRealSize As LayoutValues Dim lv As LayoutValues Dim p As Phone If p.SdkVersion >= 17 Then Dim ctxt As JavaObject ctxt.InitializeContext Dim display As JavaObject =...
  3. practicalsoft

    B4X FEED FlexGrid Problem

    each line is duplicated, can you please advice what I have to do, I am using iSD_FlexGrid (Version: 0.01) code to add row: Private Sub B4XPage_Created (Root1 As B4XView) Root = Root1 'load the layout to Root Root.LoadLayout("pgBasket") fgBasket.ColsName=Array As...
  4. practicalsoft

    B4X FEED I want to change icon App from app..get error..

    hi all i want to change App from App ? i try use this setAlternateIconName but need add this B4X: #PlistExtra: <key>CFBundleIcons</key> #PlistExtra: <dict> #PlistExtra: <key>CFBundleAlternateIcons</key> #PlistExtra: <dict> #PlistExtra: <key>nmIcon1</key> #PlistExtra: <dict> #PlistExtra...
  5. practicalsoft

    B4X FEED Table view

    I am using the Table.bas module as per the example. Here is my Main routine: Main: public Sub GetMessagesSent DateTime.DateFormat = "dd-MMM-yy" Dim req As DBRequestManager = CreateRequest Dim cmd As DBcommand = CreateCommand("showsentmessages", Array(AndroidID)) Dim...
  6. practicalsoft

    B4X FEED [DBCommand] CreateCommand ...

    Module Class --- > ShowDialog(): Private Sub ShowDialog(Item As Map, RowId As Long, Action As Int) ... Dim params As List params.Initialize 'keys based on the template json file params.AddAll(Array As String(id, Item.Get("FirstName"), Item.Get("LastName")...
  7. practicalsoft

    B4X FEED Imageview.bitmap 2 Blob and vice versa

    I looked through the posts (for example SQL Tutorial) and even find only statements pointing to transfer a bitmap file into a byte array (Dim Buffer() As Byte = File.ReadBytes(File.DirAssets, "smiley.gif")). But this is not I am looking for. 1st I need an b4x/b4a example how to transfer layout...
  8. practicalsoft

    B4X FEED List to array

    Hello. on my app, i read a txt file, and i need to pass it in a http job with a api. i need to "convert" the list into array, and/or this formant: (A,B,C,D,etc) the http job string, will be: "https://example.com/api/folder/" & the content of the list as "Array" with value as (A,B,C,D,etc) &...
  9. practicalsoft

    B4X FEED How to set Android 11 transparent status bar?

    I am very sorry for this problem using Google Translate. The transparent status bar I set up with the following code has always worked well, but the following problems occur on Android 11. B4X: Dim jo As JavaObject Dim window As JavaObject = jo.InitializeContext.RunMethod("getWindow"...
  10. practicalsoft

    B4X FEED [Solved]Out of Memory?

    Sorry... the out of memory was not caused by the allocation, but because i did a mistake.... but my questions are still valid: How does B4A handle the memory consumption of arrays? I often ReDIM my main array inside a SUB. Until now I had no problems with this. B4X: sub Globals Private...
  11. A

    گرفتن مدت زمان یک ویدیو در b4a

    #تکه_کد برای گرفتن مدت زمان یک ویدیو میتونید از کد زیر استفاده کنید : `GetVideoDuration(File.Combine(Dir,Name))` ```Public Sub GetVideoDuration (path As String) As Long Try Dim mFile As JavaObject mFile.InitializeNewInstance("java.io.File",Array(path)) Dim inputStream As...
عقب
بالا