Tutorials & Examples

Android development starts here. Please do not post questions in this sub-forum.

Select,Upload,Display,Delete image from Server

Hello everyone,

First of all, I want thank Erel, DonManfred and KMatle because a lot of the codes for them.

In this example (Select an image from gallery and display it, Resize the image, Save...
 

Attachments

  • php_Files.zip
    2.3 KB · Views: 1,148
  • MyImage.png
    MyImage.png
    56.2 KB · Views: 4,474
  • Screenshot_2017-12-19-13-57-22.jpg
    Screenshot_2017-12-19-13-57-22.jpg
    406.4 KB · Views: 3,713
  • complete.zip
    94 KB · Views: 1,317
Last edited:

How to create more Instances of the same AVD Emulator

Maybe this info can be useful to someone.
Normally from B4A AVD Manager it's not possible to start more instances of the same AVD normally.
We get a Warning that executing many times the same...
 

Tutorial Android and Raspberry Debian in BT

Hi all. In this example we have Raspberry Pi Rasbian and Android App ( communicate via BlueTooth ).

Through Android we give the command to access and turn off/on the LED, and from the Raspberry...
 

[B4X] Localizator with CSV files

For the first time I try to make my apps multilingual and found this very useful helper. But I prefer to use CSV files (not excel) for the translations. So I combined it with this...
 

Attachments

  • B4XLocalizatorCSVTool.zip
    11.6 KB · Views: 508
Last edited:

Audios for WhatsApp (CLV with 2 columns)

Hi all.
I've been looking at my old sources and found this example, and now I'm going to share it with you.

this example size is 14mb+ because have 200+ audios example.
The example use CLV with 2...
 
Last edited:

B4A and PHP REST

Thanks @Erel for free version that I plan to buy but donate instead.

I'll share my B4A knowledge in Thailand, your great product must popular, later.

PHP is well known for web developer...
 
Last edited:

? Part 1 Basics - Creating long lists using xCustomListView with Lazy Loading - Newer developers

Hello All
After thinking about it yesterday and having a quick chat with Erel, I decided that my previous long list examples were not basic enough for newer B4X developers, so I put together a...
 
Last edited:

? A simple XUI app transfer from B4A to B4J in under 11 minutes

Hello all,
Here is a quick video to show how simple it can be to transfer your B4A projects to B4J when using XUI. It's been on my mind all days now, so I thought I would give it a go and also...
 

USB Cable Connection fo Xiaomi Cell phone

For anyone who has problems connecting b4a to Xiaomi mobile phones, I make the link available where I found the Google usb driver to connect xiaomi mobile phones to b4a via usb. Download the...
 

B4A Change Log (versions history)

Last edited:

Check your app presence on Google Play

Your app has been removed on Google Play.
Sample code for those who have previously installed the application not to use it again.

B4X:
Sub Globals
    Dim job1 As HttpJob
    Dim xui as XUI
End...
 
Last edited:

FCM Push-Messages: Foreground/Background/Data/Notification

Last edited:

[B4X] Cross platform chat layout example


Example of implementing a chat layout.
It is based on xCustomListView. The text is created with a hidden BBCodeView (BCTextEngine) and the bubble is drawn with BitmapCreator...
 

Attachments

  • Chat.zip
    259.1 KB · Views: 2,121

[B4X] B4A, B4i, B4J and B4r API documentation - B4X Object Browser

API documentation - B4a, B4i, B4J and B4R (i.e. B4X) Object Browser (which also includes Code Snippet Management)

Hi everyone,

As you may or may not be aware, I have embarked on a...
 

Attachments

  • upload_2014-12-11_22-32-46.png
    upload_2014-12-11_22-32-46.png
    106.1 KB · Views: 2,721
Last edited:

[B4X] B4X Programming Technics + Track Changes Tool

Hi every one and season's greetings,

(11-1-2020) New version of the tool with timestamp and "Transfered <Checkbox>"


When I program I am used to keep notes in my code to know...
 

Attachments

  • B4XProgTechs.zip
    3.8 KB · Views: 509
Last edited:

How open camera and choose imagen file from gallery of device

In this example i can take a photo or choose an image from gallery and put it in ImageView
 

Attachments

  • CameraAndImages.zip
    11.9 KB · Views: 903

[B4X] OkHttpUtils2 / iHttpUtils2 and accept all option

Note that OkHttpUtils2, jOkHttpUtils2 and iHttpUtils2 are actually the exact same b4x library.
jOkHttpUtils2_NONUI was required as a special version for non-ui B4J apps. It is no longer required...
 
Last edited:

Hugo - ESP8266 4-button WiFi remote

Not exactly a tutorial or Android-only, but a hint to the community for those who like playing with home automation stuff, and possibly for others as well. I happened across this very nice device...
 

[B4X] Paralells Desktop 15 Windows 10 B4A,B4I,B4J and B4R looks blurry (Fix)

Hello,

i have searched for a long time for a fix for this, every time i have B4A on my second monitor on my mac, then the text was blurry and this was no fun to work with...

Now i have a fix for...
 

[B4X] Drawing with BitmapCreator

BitmapCreator (BC) continues to evolve. Version 4.5 update is a large update with several new drawing features.

Background

At its core BC holds an array of bytes that represent an image...
 
Last edited:
Top