B4A Question Geometrical functions - Erel (first post)    
Apr 7, 2020https://www.b4x.com/android/forum/threads/useful-formulas.78449/#post-498431
Found it with: https://www.b4x.com/android/forum/pages/results/?query=inside+polyon...
B4A Question Parse KML Polygones, Save, check if inside? - roumei (first post)    
Nov 23, 2020   
(2 reactions)I use this code to check whether a point is inside a polyon:
Type ePoint(X As Double, Y As Double)
Public Sub IsPointInPolygon(polygon() As ePoint, X As Double, Y As Double) As Boolean
Dim result As Boolean = False
Dim j As Int = polygon.length - 1
For i = 0 To polygon.length - 1
If polygon(i).Y < Y And polygon(j).Y >= Y Or polygon(j).Y < Y And polygon(i).Y >= Y...
j = i
Next
Return result
End Sub
Taken from here: c# - Is point inside polygon...
B4A Library [B4X] BBListItem - BCTextEngine inside CLV - Erel    
May 27, 2021   
(16 reactions)BBCodeView is a scrollable view by itself. Trying to put it inside a CLV will cause all kinds of problems.
BBListItem is a modified version of BBCodeView, which is built for being contained in a CLV.
Among other things, it only draws the currently visible text.
It was written originally for the Pleroma client: https://www.b4x.com/android/forum/threads/124214/#content
Its performance is very good... as the user scrolls the list.
The class is included inside the B4XPages project.
114097
Note...
B4J Question (Solved) Calculate CustomListView height inside the PreferencesDialog - aeric    
Sep 8, 2021How to calculate the CustomListView height inside the PreferencesDialog?
I need to set the height so it is just nice not to be scrollable by mouse....
B4A Class [B4X] GPSPolyMap - check if GPS location is inside a polygon - Biswajit    
May 11, 2020   
(19 reactions)With this class, you can check if the GPS location coordinate is inside a polygon.
You can use this class to check whether the user is inside a building, shopping mall or any custom shape.
This class is only for B4A and B4I.
Here is how can you get the coordinates of an establishment (school, office, shopping mall or your own house):
Open google map.
Search for the establishment in which... GPS1_LocationChanged (Location1 As Location)
Log(gpm.isInside(Location1.Latitude,Location1...
B4A Question How to add multiple of "Horizontal CustomListView" inside "Vertical CustomListView" ? - Adamdam    
Nov 3, 2022Dear all,
Greetings,
How to add multiple of "Horizontal CustomListView" inside "Vertical CustomListView" ?
i.e each "Horizontal CustomListView" seam as raw inside "Vertical CustomListView".
Thanks on advance.
Regards...
Java Question Embedding resources inside the Jar file - Erel    
Jun 20, 2012   
(1 reaction)Starting from Basic4android v2.00 it is possible to embed resource files inside the library jar. During compilation the resource files will be copied to the APK file automatically.
Note that you cannot use the standard Android resources mechanism. Android SDK currently doesn't support it. This means that XML layouts cannot be added this way.
The first step is to add the resource file to the Eclipse project under the Package node (the image name is droid.png):
http://www.b4x.com...
B4A Code Snippet ZoomViewPager: Multi-ScaleImageView inside ASViewPager (B4A) - GeoT    
Jul 28, 2026   
(6 reactions)📌 Goal & Architecture Overview
This implementation demonstrates how to host multiple hardware-accelerated ScaleImageView instances inside an ASViewPager dynamic gallery.
172633 172634 172641
ScaleImageView library by agraham: A specialized image view designed to display high....PAN_LIMIT_INSIDE
siv.DoubleTapZoomDuration = 250
siv.Orientation = siv....
Notes:
We need to put these sample images into Assets, inside the project's Files folder
Assisted...
B4i Question NavigationBar inside TabBarController - narek adonts    
Feb 14, 2015Hi, I would like to use a navigation bar inside a specific page to be able to show other pages which are not stored inside TabBarController (like a lot of apps are doing like WhatsApp, Viber,... )
Please advise the solution.
Narek...
B4A Question ? ?? ?? Distributing B4A and B4J inside the organization - Erel    
May 20, 2020   
(22 reactions)B4X tools don't really need to be installed. It is quite simple to copy the tools from one computer to many others.
This tutorial explains how to clone B4A and B4J after it is installed on a single computer.
B4J
Install B4J as explained here: https://www.b4x.com/b4j.html
Use OpenJDK.
Install it to C:\B4X\B4J
Run B4J and configure the paths under Tools - Configure Paths.
Either leave the &qu...
Page: 1  
2  
3  
4  
5  
6  
7