B4A Class [class][B4X] Google OAuth2 - Erel    Oct 29, 2025   (44 reactions)   tags: wait, Google Edit: The Android implementation will not work with Google services due to new restrictions. Use... such a way that the browser will redirect the response back to our app. GoogleOAuth2 class takes care... add both the client id and the client secret to the project (client secret is not required in... the path where the token will be stored. 3. Initialize GoogleOAuth2 with the required scopes (based... ParsePersonData(j.GetString) Else ToastMessageShow("Online data not available... B4A Library [class] FileProvider - share files - Erel    Aug 16, 2021   (47 reactions)   tags: B4A Class FileProvider, share email file, share, File provider, email, WP SHARE and implement it in a class. Starting from Android 7 (API 24) you cannot directly share file uris with other applications. You need to use FileProvider. The FileProvider class should work on all..."> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/provider_paths"/> </provider> ) CreateResource(xml, provider_paths, <files-path name="name" path="shared" /> ) files-path = File... B4A Question Classes are soon coming... - Erel    Jun 4, 2012   (2 reactions)   tags: Classes is not implemented for now. Maye in the future. Over time I expect classes to have a tremendous... of its own (not related to classes)... End Sub Private Sub Panel1_Touch (o As Object, ACTION As Int...Basic4android v2.00 will include support for classes. Classes are like templates which you can use... it easier to develop and maintain large projects using classes. Classes are also useful for creating reusable components. You can think of classes as structures defined with Type keyword which also... Tool B4Xgoodies: a maintained library/class/code module/... inventory (last updated 2026-04-04) - walt61    May 24, 2024   (21 reactions)   tags: Goodies worksheet provides a high-level explanation on what it does. The inventory contains the following..., snippets, code modules, classes, icons, and the ominous 'other') - Category.../s/3l09nngx9msi3ut/version.txt?dl=0 Last but perhaps not least: use worksheet 'My Projects' to... thread title' See post #25 for @inakigarm's B4J program if you prefer not to use Excel... B4A Library [Class] CameraEx - Extends the camera library functionality - Erel    Dec 29, 2021   (14 reactions)   tags: Camera, Class, CameraEx .120417/#content CameraEx class wraps the Camera object and using reflection and other code it extends its functionality. CameraEx class requires Android 2.3+ and depends on Camera library v2.20... will match the device orientation (all orientations are supported) Gives access to Camera.Parameters native class (flashmode, picture size, effects and other settings) Includes methods to convert preview images to JPEG and to save the taken pictures. It should be simple to add more methods to this class... B4A Code Snippet Get the path to media files returned from ContentChooser - Erel    Jul 24, 2022   (9 reactions)   tags: Adjuntar un File It is a mistake to try to get a file path from the returned resource. It will not work in most cases, and even if you will be able to get the path, you will not be able to access it. You can use File... files SubName: GetPathFromContentResult Description: Content providers such as the media gallery... to copy the media to a new location. With the following code you can find the actual file path (if... GetPathFromContentResult(UriString As String) As String If UriString.StartsWith("/") Then Return UriString... B4i Library [class]GoogleMapsExtra - Erel    Nov 5, 2025   (6 reactions)   tags: b4i This class extends GoogleMaps library. Currently it supports: - AddCircle - Adds a circle at a give point. - AddGroundOverlay - Adds an image at the given bounds. - ZoomToPoints - SetSelectedMarker - SetMarkerRotation - SetGroundAnchor - sets the marker anchor. - AddPolygon Example: gextra.Initialize(gmap) Dim ne, sw As LatLng ne.Initialize(20, 20) sw.Initialize(00, 00) Dim bounds As Object = gextra.CreateBounds(ne, sw) gextra.AddGroundOverlay(bounds, LoadBitmap(File.DirAssets, "up76... B4A Class [B4X] PDF Generator - B4X Cross Platform - Class 100% B4X Code - spsp    Jan 3, 2024   (56 reactions) Hi, This class cPDF.bas (version 0.6 - 2024-01-03) generate PDF File with limited fonctionnalities (but enough for me) Add pages with different paper size (use constants or custom size) PDF standards font (Courier, Helvetica, Times, Symbol and Zapfdingbats), style (Normal, Bold, Italic, Underline and StrikeThrough), encoding cp1252 draw text : single line of text at position x, y draw text flow with explicit and automatic CR at current x,y position with alignment (left, center, right, justify... B4A Library [Class] Flexible Table - klaus    May 22, 2025   (51 reactions)   tags: B4A UI, Klaus, Tree, table view sort, Table View, tabla class. The table class is a flexible UI component that enable scrollable table like UI... rows old thread with details : http://www.b4x.com/forum/additional-libraries-classes-official-updates/19254-class-tableview-supports-tables-any-size.html#post110901 The class depend on following... version --> 1.44 Class Other complementary routines: Load data with the Remote Database Connector... see post 182. The routine hasn't been added into the Class for the reasons explained in post 183... Games [XUI2D] Mouse following a path - Erel    Nov 1, 2018   (8 reactions) . How to use a MotorJoint to make a body follow a path of points. The difficult part was to make..., BrushBackwards, True, 0)) BC.AsyncDraw methods do not draw anything. They return a DrawingTask....MainBC is cleared every cycle so you need to draw everything every tick. Drawing paths asynchronously requires careful handling. You shouldn't modify the path object while it is being drawn. You should use a "copy on write" implementation: PathMainBCBackwards = PathMainBCBackwards... Page: 1   2   3   4   5   6   7   |