Tutorials & Examples

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

B4XPages vs Activities, Bluetooth Example

In the thread BT Pages Example, a new version of the BT example was created using Pages. Since I'm just looking at Pages for the first time, I popped the new and old versions into a code...
 

Attachments

  • BT_Activities_vs_Pages.zip
    32.3 KB · Views: 381

[B4X] Text, Strings and Parsers

This guide is relevant for B4A, B4i and B4J.

There are all kinds of tools and libraries available for the different text based formats. The purpose of this guide is to organize the available...
 
Last edited:

Creating a build number for your project's compilation

It has been discussed in other places on wish lists etc that each time we compile our projects under B4A that it would nice to have a BUILD number increment by 1.

Using the CustomBuildAction...
 
Last edited:

OAuth - How to roll your own (easy).

Hello,

I have seen a few unanswered OAuth questions here and since making an app for an existing site almost always needs OAuth, I decided to check out what was available.

Whilst the...
 

Where to get help on sending SMS or eMail

Where in the forum should I look for help on how to send a SMS message or a eMail from a smartphone. I am sure there must be documentation on how but I have not found it.
 

receive/send SMS while my phone is off

Hi experts,

This looks silly question but is it possible that I can receive/send a SMS while my phone is off using a program on a computer? And if it is possible what program or how to create a...
 

Android Drawables Demo

I wasn't sure were to put this, its simply a dev tool I built to view all the available drawables, as defined at http://androiddrawables.com/.

I built this small tool for myself, but...
 

Attachments

  • generate drawables code (Excel 97-2003).zip
    144.3 KB · Views: 337
  • AndroidDrawablesViewer_V2.zip
    36.8 KB · Views: 372
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: 422
Last edited:

Creating a Library with Simple Library Compiler (SLC)

This is for people like me - B4A libraries for Dummies 101 (via SLC). I will attempt to explain it the best I can (there is nothing in this library that one can't do via B4A code. This is purely a...
 

Attachments

  • JHSMATH.zip
    7 KB · Views: 853
  • Screen Shot Second Library.png
    Screen Shot Second Library.png
    15.2 KB · Views: 1,221
  • src.zip
    3.8 KB · Views: 792
  • src (2).zip
    4.5 KB · Views: 775
  • Help.png
    Help.png
    79.8 KB · Views: 1,143
Last edited:

send and receive messages between two devices or Device and PC using bluetooth

1. Looking for application sample b4A to send and receive text messages (chat system) over blue tooth between two mobiles

2. Looking for application sample b4A to receive messages and reply over...
 

Self sms Verification

This simple example illustrate how to verify user phone number using self sms.
The example send sms from user phone to his/her phone.
No need for extra external third parities sms gateway.

FAST...
 

Attachments

  • self_sms_verification.zip
    10.9 KB · Views: 496

Important note about B4XPages projects

I know it is simple info for experts, but it is critical point for who want to start using B4XPages projects:- B4XPages project is for cross-platform development, that is mean when created; all...
 

B4A BLE Example with Write

I have created an app to read and write to BLE devices. This is an extension of BLE_Examples.

In this example the scan lists all devices found. You connect to a device by selecting it in the...
 

Attachments

  • BLE.zip
    11.5 KB · Views: 1,177

[B4X] [Visual Designer] Spreading Controls

Question: How can I build a layout with X controls spread horizontally or vertically?

Answer: You can use the designer script for this. As the designer script engine (currently) doesn't support...
 

Attachments

  • 1.zip
    9.5 KB · Views: 677

ColorPickerDialog setcolor by default

hello and happy new year !
when I open a ColorPickerDialog I always black as default color is it be possible to put another color, I would like to colors.blue for example, or any other color it...
 

New online AI Regex Generator!

Check this out!

sheetai.app which helps use ai in google sheets, just ask it and done!

Quick Demo:



Tutorial:

 
Last edited:

LayoutView: Automatic translation of layout views

Introduction

Internationalizing your app is nowadays the #1 task. Localized content if always preferred. LayoutView makes translating your layout views automatic and...
 
Last edited:

[B4X] SwiftButton - Adding Click/LongClick event

The next code add the funcionality in b4x to capture the click & longClick using Touch, in case of b4j add the option to fire the longClick using the Right Mouse Click or the secondary mouse...
 

[B4X] AS WheelPicker PlusMinus Example

IMG_4683.jpg

This is an example project to demonstrate what is possible with the beautiful ASWheel. From version 2.0 it is possible per function animated (also possible without animations)...
 

Attachments

  • AS WheelPicker PlusMinus Example.zip
    180.2 KB · Views: 341
Last edited:

Notify Builder example

Hi everybody,
I have a minimal code example. I use this code to ask for GPS activation. I was not able to find a working example of NotifyBuilder so I wrote for myself
So here it is!

Mauro
 

Attachments

  • notifybuilder.zip
    11.6 KB · Views: 871
Top