Tutorials & Examples

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

Using CustomBuildAction to deploy to multiple devices at once

This tutorial will demonstrate how you can use CustomBuildAction attribute to deploy to multiple connected devices at once.

The "additional" devices should be connected in USB debug mode. This...
 
Last edited:

Android messages - Cool new feature for SMSing from everywhere

Hi everyone,

I do not know if this is a suitable tutorial for this forum but I just found out and I am absolutely thrilled with it. There is a way to send SMSs from your mobile phone even from...
 
Last edited:

Creating a simple Kotlin wrapper library

The purpose of this tutorial is to show a way of compiling Kotlin into your developed library as a “fat” JAR (a JAR file containing all necessary dependencies and classes bundled in).

Compared to...
 
Last edited:

Wrapping a small and easy 3rd party library with java - Part II

Started here i released a tutorial about wrapping a library for b4a.
Basically this is the same here but i´ve caputed the hole process :D

Have fun (or be bored watching it). Hope it helps a...
 

GUI SDK Manager for newer versions of Android tools

Attachments

  • B4A-SdkManager-Source.zip
    63.3 KB · Views: 5,650
Last edited:

Please join Facebook group

[B4X] [BitmapCreator] Maximizing Performance with BC

1. This tutorial is about BitmapCreator v3.5+.
2. It is relevant for B4A, B4i and B4J.
3. The features discussed are only needed when making hundreds or more drawings per second.

Drawing...
 
Last edited:

Change color of Android ProgressBar

Automatic Foreground Mode

This is a new feature added in B4A v8.0.

Starting from Android 8.0, services cannot be simply started while the app is in the background or not running at all. Background means that there isn't...
 
Last edited:

[B4X] [XUI] Msgbox

XUI library v1.4 adds support for asynchronous msgbox dialogs.

The API is simple:

SS-2017-10-19_15.27.39.png


B4X:
xui.MsgboxAsync("Hello", "World")...
 

Searching the nearest Coordinate in a Database

today i was in the requrement to write a search-routine in Database.
given was a table with lat an lon values. Goal was to find the nearest Entry.

Tablename: nw05
Fields: gidx (index), glat...
 

B4A connected to Memu

B4A Bridge connect to MEMU? Yes, you can.
Follow all instruction from this video:
I tested and work!!! (see images attached)

Thanks for TechAndMore (YouTube)
 

Attachments

  • B4A2MemuDisconnected.png
    B4A2MemuDisconnected.png
    79.1 KB · Views: 1,081
  • B4A2MemuConnected.png
    B4A2MemuConnected.png
    75.7 KB · Views: 1,073

For beginners: How to communicate with a server using httputils2 (Part 2: MySql)

Small update: I use Download2 instead of Poststring now. It handles some things for us like removing illegal space, etc. Otherwise some examples wont work as decribed.


Part 1...
 
Last edited:

[B4X] Create and use SQlite databases with "DB Browser"

I often use Sqlite for my apps and I came across "DB Browser". It's a free tool to browse and edit SQlite databases and tables. Download it from here: http://sqlitebrowser.org/ For B4J apps...
 

[B4X] Tip: Always set FTP.PassiveMode to True

I've just wasted an hour trying to understand why a desktop program that I'm using for many months failed to upload a file to a FTP server.
I realized that the only thing that was recently changed...
 
Last edited:

Android FTP tutorial

Last edited:

How to determine needed permissions from JavaObject code

Now and then there are JavaObject code snippets posted in the forum. Usually there are permissions required listed together with the code, but not always. Which could be because none are needed...
 

USB K8055 VM110

used library: ByteConverter 1.10, Core 8.0, RandomAccessFile 2.32, Reflexion 2.4 , USB 0.98
digital input only for this demo
k8055n.png
 

Attachments

  • USB K8055 VM110.zip
    193.3 KB · Views: 437

Dropbox SDK - get informed about changes in the used Dropbox

Related Libraries:
B4A Dropbox SDK V2
B4J Dropbox SDK V2

You need to know/remember the dropboxId of the account you are actually using/requesting. And the latest cursor.
Use...
 
Last edited:

TabHost tutorial

Last edited:
Top