Tutorials & Examples

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

Using RSA in B4A to communicate with PHP/OpenSSL

As you might know, I do a lot of apps which communicate with my Apache servers via httputils and php. For a longer time I was missing some strong encryption. I knew that there was agrahams...
 

Attachments

  • RSAExample.zip
    9.4 KB · Views: 983
Last edited:

[B4X] [XUI] CustomListView - lazy loading / virtualization

xCustomListView v1.50 adds an important new event named VisibleRangeChanged. This event is fired whenever the visible range of items changes.

We can use this event to defer the items creation...
 
Last edited:

New B4A book: Android App Development for Electronics Designers

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: 827

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: 642

Cards list with CustomListView



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,277
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:

Image upload with PHP and PostMultipart

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple image upload example with postmulipart and PHP.

Download Here 700kb
 

B4A Book English Edition Updated to Version 8.80


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: 851
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,650
Last edited:

FirebaseAdMob and User Consent

Last edited:

Onkyo TX-NR676 Receiver controlled over IP Address

I want to control my Onkyo TX-NR676 Receiver from my Music Program (Turn On, Set Volume, Set Listening mode, etc) so I created this little test program to figure out what I needed to do.

In case...
 

Attachments

  • Screenshot_20190119-145837.png
    18.5 KB · Views: 537
  • Onkyo-TX-NR676.zip
    26.3 KB · Views: 438

Convertir Numeros a Letras

B4A Convertidor de Numeros a Letras
 

Attachments

  • ConvLetras2.Zip
    425.1 KB · Views: 562

JumpingSmiley - GameView example III

Attachments

  • JumpingSmiley.zip
    27.7 KB · Views: 1,614
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: 558
  • Screenshot_20181228-154021.jpg
    132 KB · Views: 748

Walkie Talkie - Audio streaming over Wifi or Bluetooth

This example implements a simple "walkie talkie".


(src: wikipedia)...
 

Attachments

  • Walkie-Talkie.zip
    10.7 KB · Views: 11,174
Cookies are required to use this site. You must accept them to continue using the site. Learn more…