TypeDeclares a structure.Can only be used inside sub Globals or sub Process_Globals. Syntax: Type type-name (field1, field2, ...) Fields include name and type. Example: Type MyType (Name As String, Items(10) As Int) Dim a, b As MyType a.Initialize a.Items(2) = 123 Other [new feature] b4xlib - a new type of library - Erel    Nov 2, 2020   (68 reactions)   tags: b4xlib;libraries, b4x library, Erel compiled. Starting with B4A (8.80), B4i (v5.50), B4J (v7.00) and B4R (v3.50), a new type of libraries is available - b4x libraries. A b4x library is a simple zip file with: - Code modules. All types... B4A Library MPAndroidCharts - Various type of graphs / charts (Latest library V1.22 in post #1) - Johan Schoeman    Aug 5, 2020   (49 reactions)   tags: B4A Charts, chart graph, graficas Edit 6 Sep 2015: Post #3 adds Single Vertical Bar Charts and update for Pie Charts Edit 8 Sep 2015 Post #6 update for Single Vertical Bar Charts Edit 11 Sep 2015 Post #7 adds Single Line Charts Edit 12 Sep 2015 Post #8 update for Single Line Charts Edit 12 Sep 2015 Post #9 adds Single Horizontal Bar Charts Edit 12 Sep 2015 Post #11 adds Radar Charts Edit 13 Sep 2015 Post #12 update for Single Line... B4J Question [B4X] How to get a GUIDType Simple Type / GUID - imbault    Jan 10, 2018 Hi to all, I'm tryig to get this pattern : The GUIDType simple type is a string that is restricted by the following pattern: \{{8}-{4}-{4}-{4}-{12}\} I tried this code, which gives an error : java.lang.RuntimeException: Method: UUID not found in: java.util.UUID Dim jo As JavaObject Return jo.InitializeStatic("java.util.UUID").RunMethod("UUID", Null) Any clue, please... Wish Initialize variable, types, list, etc. by the key word "new" - Alexander Stolte    Dec 4, 2019 Hey, i'm working with Visual Studio every day and there is a Feature to Initialize all with the keyword "new" for example: Dim str as new string Dim mytype as new nicetype You could initialize lists for example in the Process_Globals already at the declaration. Would that be possible someday?... B4A Code Snippet [B4X] Get mime type by extension - Alexander Stolte    Sep 6, 2023   (11 reactions) If something is missing, I will gladly add the function. Log(GetMimeTypeByExtension("jpg")) Public Sub GetMimeTypeByExtension(Extension As String) As String Extension = Extension.Replace(".","").ToLowerCase Select Extension Case "jpg","png","gif","bmp","ico","svg","webp"... mime type") Return "" End Select... B4A Tutorial [B4X] Public variables, custom types, ... - LucaMs    Dec 19, 2023   (4 reactions) associate comments with the elements of a custom type. Also for this reason, it is preferable to create... reason, it is preferable to create classes rather than custom types. The comments are useful to... B4A Question How to check type of views are there in the activity? In the example,he knows that he has what type of views are. - Theera    Dec 28, 2023 refer to this I have test the example StateManager in B4A. I think it is useful for multi platforms B4A,B4J,and B4i. unfortunately,I'm not good at coding. how to convert it to be B4xlib file. Who could help me to do that? Best Regards, Theera... B4A Code Snippet Get data type from 1D string array - RB Smissaert    Dec 19, 2022 GetColumnDataType(arrString() As String) As String Dim i As Int Dim r As Int Dim... Dim iCommaPos As Int Dim strDataType As String bHasNumber = False iDotPos = -1... strDataType = "T" 'provisional value... strDataType = "T" Then Return "T" Else Return "N... Bug? Missing some class types when right-clicking in Modules tab - Sandman    Mar 19, 2021   (1 reaction) In menu: 110023 In the Modules tab: 110022 (The same is true for B4i, haven't checked B4J.)... B4A Question Set FontAwesome & Material Icons TypeFace in code - klaus    Feb 7, 2017   (1 reaction) What is the best method to set the FontAwesome & Material Icons TypeFaces to a view added in the code? Currently I added the MaterialIcons.ttf file to the Assets folder and created a new TypeFace: Private MyTypeface as Typeface MyTypeface = Typeface.LoadFromAssets("B4X_MaterialIcons.ttf") Label1.Text = Chr(0xE149)... Page: 1   2   3   4   5   6   7   |