CopyFolder [B4X]
A recursive sub that copies a complete folder.
@Erel · 2019-01-10
MQTT SSL and Self Signed Certificates [B4X]
There are two client libraries: jMQTT for B4A and B4J and iMQTT for B4i. Both libraries support SSL connections. You just need to change the URI scheme to ssl:// instead of tcp://
@Erel · 2019-01-01
ProtoType PlanetsGravity
ProtoType PlanetsGravity
@Gunther · 2018-12-28
Working with GoogleTasks using REST [B4X]
GoogleTasks are a Task list (ToDo List, Shopping List, whateveryouwant list)
@DonManfred · 2018-12-26
Cross platform tips [XUI2D]
XUI2D allows us to develop games that run on B4A, B4J and B4i. This tutorial will explain the recommended way to organize your projects.
@Erel · 2018-12-19
MouseJoint Example
Here is a "MouseJoint"-Example. You can click on the body anywhere and you can move the body around with the mouse. The MouseJoint is done by creation of a temporary body which will be used for the anchor point of the revjoint. After releasing the mouse button the joint and the body are destroyed. So, it not breaks the physics of the touched body that much (e.g. the box spins further).
@Gunther · 2018-12-10
CloudKVS Update for Delete [B4X]
I updated the CloudKVS Class file, as well as the Server to handle full user deletes as well as a Remove function in case a Put Null doesn''t work in your particular situation.
@techknight · 2018-12-06
Inverted Pendulum in one wheel and PID Controller
Here a version on the Inverted Pendulum with a single wheeled pendulum. In order to keep the pendulum free of any forces expect gravitation for movement a Motor Joint is used this time. The PID Contoller Class is modified so the one can choose between two methods of PID calculations (setting in the global constant)
@Gunther · 2018-12-02
Inverted Pendulum on Cart and PIDController Class
This litte App is showing the Inverted Pendulum on a cart which is actuated by motors on the wheels. The pendulum is freely jointed. The controlling process behind is done by a PID Controller Class. One instance is controlling the Angle of the Pendulum, the other the position of the cart. With the settings in the Initialization Procedure you may have influences to the dampening of the disturbances or it swings up ;o)
@Gunther · 2018-11-30
Space Shooter [XUI2D]
Space Shooter [XUI2D]
@Erel · 2018-11-22
AnimatedArrow - focus the user attention [B4X] [XUI]
AnimatedArrow - focus the user attention [B4X] [XUI]
@Erel · 2018-11-21
Free sound effects for games and apps.
If you need some sound effects for your games and apps then check out this site. : http://diforb.com
@Eme Fibonacci · 2018-11-13
Graveyard Keeper: How the graphics effects are made
Graveyard Keeper: How the graphics effects are made
@Sandman · 2018-11-07
Creating cross platform games [B4X] [BitmapCreator]
BitmapCreator is a relatively new cross-platform class for low level drawings. The drawing performance when used correctly is good and it can serve as the basis for 2d games.
@Erel · 2018-11-07
XUI2D Angry Birds Example
XUI2D Angry Birds Example
@Erel · 2018-11-06
Mouse following a path [XUI2D]
This example shows two things: 1. How to use a MotorJoint to make a body follow a path of points. The difficult part was to make the body turn through the shortest direction. A useful FindAngleToTarget sub is included in the example. 2. How to use the new async drawing features added in BitmapCreator v4.5. These features are very important as they allow us to make drawings directly to X2.MainBC. X2.MainBC is the BitmapCreator that all the bodies are drawn to (by default).
@Erel · 2018-11-01
BitmapCreator drawing methods [XUI2D]
BitmapCreator v4.30 was released: https://www.b4x.com/android/forum/threads/b4x-xui2d-box2d-game-engine.95208 This version adds several new drawing methods: DrawLine, DrawRect and DrawCircle.
@Erel · 2018-11-01
xOCR Class [B4X]
This Class (for B4J and B4A) uses the ocr.space service to convert scans or (smartphone) images of text documents into editable files by using Optical Character Recognition (OCR) technologies. It uses state-of-the-art modern OCR software. The awesome recognition quality is comparable to commercial OCR SDK software (e. g. Abbyy). You can extract the raw text and get the coordinates of the bounding boxes and the lines for each word if you like.
@Blueforcer · 2018-10-31
ImageSlider [B4X] [XUI]
ImageSlider custom view is compatible with B4A, B4i and B4J.
@Erel · 2018-10-29
Clipper FoxPro Xbase++ Functions [B4X]
When I started again developing in B4A, I looked around my developed desktop applications to make something similar, as I will know what the result should be. I choose my small attendance program written Xbase++ (similar to Clipper/FoxPro). It is a very simple coded, with saving the current date and time, for selected person, in DBF file, sending email with current month records and also sending SMS using SMS server url of company. While making/converting the codes, I stuck at many places but each time I managed to solve it by just searching our Forum. I sincerely thank all our members for providing solutions for trivial to complex problems. As I progressed, I found that it would be easier for me to cut and paste most codes from Xbase++ to B4A, with minimum changes if I can have the similar functions in B4A. I made some functions as I needed. I intend to increase it as I develop more. I have attached the text file of the same.
@AnandGupta · 2018-10-23
Testing template [B4X]
There are many times when I try to decide which is the best method to do something and I found myself regularly rewriting tests.
@stevel05 · 2018-10-21
JumpTest Physics [XUI2D]
I was playing around with jumping of characters of the examples. I want to create a better feeling/looking jump physics instead of giving the character just an impuls and wait what will happen. I splitted the inair part in two sections and modified the body gravity in the parts: 1) movement up 2) movement down In addition I put in the possiblility to give the character a higher jump if a long press is done 3) movement up is haveing two body gravity values
@Gunther · 2018-10-18
B4x-Template
With this application B4x template can be managed and used.
@Filippo · 2018-10-18
xCustomListView Pull To Refresh [B4X]
You can use this code to add a pull to refresh feature to the standard xCustomListView. The code should be added to the activity.
@Erel · 2018-10-16
Floating Bodies Simulation [XUI2D]
This is a small and nice example of simulating bodies thrown into water. It is inspired by this tutorial: http://www.iforce2d.net/b2dtut/buoyancy The implementation is different.
@Erel · 2018-10-15
BitmapCreator vs. CompressedBC [XUI2D]
There are two types in BitmapCreator library that are used by XUI2D: BitmapCreator and CompressedBC (Compressed Bitmap Creator). In many cases you do not need to deal with any of them as they are created and used internally by the XUI2D framework. If you want to do custom drawings then you do need to understand how to use them.
@Erel · 2018-10-14
ViewPos [XUI] [source code]
A code module (also compiled as library), compatible with B4A, B4J and B4I, with few methods about views'' position.
@LucaMs · 2018-10-10
YouTube V3 [Class B4X ]
With this class compatible for B4X (B4A, B4i, B4J? I haven''t tried) you can read and import all the information coming from youtube into your application. Etag, Title, Description, PublisheAt, Urlpicture, categoryId, channelTitle, Definition, dimension, PrivacyStatus, dislikeCount, likeCount, viewCount, CommentCount, Duration. Note Duration return example: PT15M33S this is 15 minutes and 33 seconds. And more.... this version is very fast look movie in youtube.
@MarcoRome · 2018-10-05
AES Encryption (lessons learned & best practice) [B4x]
AES Encryption (lessons learned & best practice) [B4x]
@KMatle · 2018-10-04
Single Screen Tile Map Example / Hello World With Background [XUI2D]
This example shows how to use X2TileMap to create a single screen game with tiles based background. This means that the background is never scrolled. To avoid drawing issues we want that the size of each tile will be a whole number and that each tile will be square shaped.
@Erel · 2018-09-27