Tutorials & Examples

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

Jar of Beans - new FAST android-emulator

[B4X] Erel Teaches Programming - video tutorials

ETP is a series of video tutorials about B4X. The purpose is to allow developers with any programming experience, including no experience, to learn how to program with B4X.

The videos are...
 
Last edited:

Material Design 1 - Basics

Note: You should use B4A 6.0 or above for this tutorial.

Android 5.0 (also called "Lollipop") introduced a new design for apps called "Material Design".

With this tutorial series I will...
 

Attachments

  • SimpleMaterialExample2_0.zip
    8 KB · Views: 2,028
Last edited:

Android home screen widgets tutorial - part II

Please start with the first part of this tutorial if you haven't read it before.
In this part we will build a "quote of the day" widget...
 

Attachments

  • Quotes.zip
    12.3 KB · Views: 3,259
Last edited:

GameView - Create 2D Android games - Part II

Attachments

  • Asteroids.zip
    253.3 KB · Views: 4,042
Last edited:

Android Http Multipart requests

Attachments

  • MultipartPost.bas
    2 KB · Views: 2,074
Last edited:

Change color of Android ProgressBar

[TUTORIAL] Inter-app Communication with Intents

DISCLAIMER:
This tutorial is written without testing code. There may be bugs, but try to understand the process, not copy the code.


An intent is a way for different applications...
 

AsyncStreamsObject - Send and receive objects instead of bytes

AsyncStreamsObject is a small framework built over AsyncStreams.

Instead of sending and receiving bytes, AsyncStreamsObject allows you to send and receive objects. This makes it much...
 

Attachments

  • AsyncStreamsObject.zip
    10.5 KB · Views: 4,008
Last edited:

[B4X] Localizator - Localize your B4X applications

Localizator is a cross platform solution for strings localization.

The strings are defined in an Excel workbook.

SS-2016-07-07_17.00.16.png


They...
 

Attachments

  • B4J_LocalizatorExample.zip
    5.7 KB · Views: 1,413
  • ExcelWorkbook.zip
    7.1 KB · Views: 1,818
  • B4i_LocalizatorExample.zip
    6.1 KB · Views: 1,110
  • Localizator.bas
    4.4 KB · Views: 1,811
  • B4A_LocalizatorExample.zip
    11.6 KB · Views: 1,351
  • B4J_LocalizatorConverterSource.zip
    10 KB · Views: 587
Last edited:

ImageView - Circular, Hexagonal, Triangular, Bubble, Star Imageviews (with inline Java code)

Parrots.png
See attached project with inline Java code to create round imageviews. You only need library JavaObject V2.01 to be enabled.
 

Attachments

  • RoundBitmap.zip
    57.1 KB · Views: 2,320
Last edited:

Arduino ADK Introduction

Introduction

This is one of a series of tutorials about using the Arduino Mega ADK microcontroller with Android devices

There already exists a Basic4android library for the IOIO...
 
Last edited:

Custom Expandable ListView

This code is an example of creating an expandable listview using a scrollview.
The layout of each item in the list is created in code and is customizable on a per item basis.
The example is...
 

Attachments

  • expandablelv.png
    expandablelv.png
    8.5 KB · Views: 21,048
  • ExpandableListView.zip
    10.3 KB · Views: 4,968

B4X Ui/Ux 👨‍🎓👩‍🏫

Ui max_co

Hello friends
👨‍💻👩‍💻
We are here to show the world the power and beauty of B4X-built apps

New post

17-Drawer Ui (Figma)...
 

Attachments

  • ddfs.jpg
    ddfs.jpg
    218.1 KB · Views: 530
Last edited:

MJPEG / CCTV Server

Attachments

  • MJPEG_CCTV.zip
    12.6 KB · Views: 3,062
Last edited:

List with two columns and a checkbox

Hello,

I have a TabHost which holds 4 tabs.
I want to have a list with two columns and a checkbox for each line in the list on the forth tab of the TabHost.

How can I do it? In case it's...
 

Android shake event with PhoneSensors

Using the phone accelerometer it is possible to handle shake events.
The problem is of course to decide if the stream of values represents a shake.

The Shake code module finds shake patterns and...
 

Attachments

  • Shake.zip
    27.9 KB · Views: 3,327

FloatLabeledEditText (ViewsEx)

upload_2016-2-28_15-46-20.png


FloatLabeledEditText is an improved EditText where the hint moves to the top instead of disappearing when there is text in the field.

With the floating hint you no longer need to add...
 

Device Owner / TaskLock / Kiosk apps 2017

SS-2017-07-18_13.19.46.png


Starting from Android 5 (API 21) there is better support for kiosk applications.
Kiosk applications = applications that...
 

Attachments

  • Kiosk.zip
    8.6 KB · Views: 2,390

User's Guide

Last edited:
Top