Tutorials & Examples

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

New B4A book: Android App Development for Electronics Designers

https://www.elektor.com/android-app...s-designers?___store=default&___from_store=nl

SS-2018-10-04_08.00.28.jpg
...
 
Last edited:

Similar to FloatLabeledEditText

Someone asked me to do something like FloatLabeledEditText.

I made this example. It is not identical, but it is a track or a point of partenzs for those who want to create a similar one
 

Attachments

  • LabelExtended.zip
    9.4 KB · Views: 1,014

Creating custom Text Selection actions with ACTION_PROCESS_TEXT

Android 6.0 Marshmallow introduced a new floating text selection toolbar, which brings the standard text selection actions, like cut, copy, and pastes, closer to the text you’ve selected...
 

Attachments

  • ACTION_PROCESS_TEXT.zip
    9.1 KB · Views: 828

Cards list with CustomListView

Screenshot_20171228-125445.png


This example uses xCustomListView to implement a list of cards.

As the items layout is created with the designer, it is simple to implement any layout you like. You can also combine...
 

Attachments

  • CardsList.zip
    114.4 KB · Views: 4,674
Last edited:

[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...
 

Adaptive Icons

Last edited:

B4A Book English Edition Updated to Version 8.80

B4A-324x400.jpg

I am happy to announce that the English version of the B4A tutorial and reference book "Rapid Android App Development using BASIC" by Wyken...
 

[B4X] B4XTable - Multiple rows selection

Edit: Don't use this code. Use B4XTableSelections class instead:
This...
 
Last edited:

Prevent accidental clicks

I had issues when i did an animation like clicking on a button and shrink it that if you click twice on it it will perform 2 times or more the animation you want to do or if you start a task that...
 

Immersive Mode with Notch area support

Attachments

  • ImmersiveMode_With_Notch_Area_Support.zip
    9.5 KB · Views: 1,099
Last edited:

Changing the theme at runtime

Using the hooks feature it is possible to change the Activity theme at runtime.

The theme is set before the activity is actually shown. This means that in order to change the theme we need to...
 

Attachments

  • ThemeChange.zip
    8.5 KB · Views: 1,954
Last edited:

FirebaseAdMob and User Consent

Last edited:

JumpingSmiley - GameView example III

Attachments

  • JumpingSmiley.zip
    27.7 KB · Views: 1,857
Last edited:

Simple Photogallery using a Scollview

hi,

this is a simple example that shows how you can use a scrollview and create a photo gallery.

(source code is included)

have fun :)
 

Attachments

  • ScrollView - B4A.zip
    49.9 KB · Views: 677
  • Screenshot_20181228-154021.jpg
    Screenshot_20181228-154021.jpg
    132 KB · Views: 915

Walkie Talkie - Audio streaming over Wifi or Bluetooth

This example implements a simple "walkie talkie".

270px-Wikipedia_images_011.jpg

(src: wikipedia)...
 

Attachments

  • Walkie-Talkie.zip
    10.7 KB · Views: 11,580

B4A Book Updated to Version 8.30

Last edited:

Material Design 2 - Using the AppCompat library

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

In the first Material Design tutorial we created a simple app with Material Design for Android 5.0 (Lollipop) devices. But what about...
 

Attachments

  • AppCompatExample1_2.0.zip
    8.1 KB · Views: 2,760
  • AppCompatExample2_2_0.zip
    8.3 KB · Views: 3,258
Last edited:

[B4X] Working with GoogleTasks using REST

GoogleTasks are a Task list (ToDo List, Shopping List, whateveryouwant list)

In this small Tutorial i want to share my findings while i played around with GoogleTasks. In fact i´m not...
 
Last edited:

Book for programming Pi, Arduino and more applications with B4A

Hi all,

I see a very nice book for programming PI, Arduino and more with B4A

I hope somebody like this...
 

No-IP Android client - Access your device over the internet

SS-2013-02-21_16.08.18.png


The following solution allows you to access your Android device over the internet. The device must be connected to a...
 

Attachments

  • DynamicIp.bas
    2 KB · Views: 3,185
Top