Tutorials & Examples

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

Accessing third party Jar with #Additionaljar and JavaObject - Picasso

The #AdditionalJar module attribute (introduced in B4A v3.80) allows us to reference external jars.
With the help of JavaObject it is now possible to integrate third party jars without a wrapper...
 

Action List module - Creating a custom view

Attachments

  • ActionList.zip
    13 KB · Views: 1,822
Last edited:

ActionBar / Sliding Pages tutorial

Attachments

  • ActionBar.zip
    14.1 KB · Views: 7,255
Last edited:

Activity Translation

Hey All

I have been looking around here for some kind of Modul/Lib for translation of an activity.

So I made this Modul to ease the pain.

This Modul translate your hole activity with...
 

Attachments

  • translate.zip
    7.3 KB · Views: 586

Adapt your layouts using SetLayout

Attachments

  • upload_2015-9-1_1-32-15.png
    upload_2015-9-1_1-32-15.png
    28.7 KB · Views: 431
  • upload_2015-9-1_1-43-32.png
    upload_2015-9-1_1-43-32.png
    205.6 KB · Views: 402
  • upload_2015-9-1_1-44-8.png
    upload_2015-9-1_1-44-8.png
    103.2 KB · Views: 389
  • lm SetLayouts Gen.zip
    15 KB · Views: 548
Last edited:

Adaptive Icons

Last edited:

Add a Change log as well as Build number to projects

A few weeks ago I posted a thread on a build number implementation for your project in this thread...
 

Add border to Views and change Checkbox graphic

Here are a couple of routines that may come in handy.

The first adds a background to a view which can have a fill color, rounded corners and a border color. This is useful for picking out views...
 

Attachments

  • screenshot.png
    screenshot.png
    25 KB · Views: 3,306
  • AddBorder.zip
    8.8 KB · Views: 1,478
Last edited:

Add Charts With Google Charts Service

The attached project is a port of this example: [Server] Google Charts service to Basic4android.
A similar example with more charts is available here...
 

Attachments

  • GoogleCharts.zip
    8.1 KB · Views: 1,975

Add shortcuts to your Android application

Attachments

  • Shortcut.zip
    9.5 KB · Views: 1,920
Last edited:

Add text to image and save it ("water mark")

Hi all.
I found this example in some old folders on my pc and decided to share here.
it is a simple example of how add a text into a bitmap and later save it as image file.

www.jpg
...
 

Adding an animated gif to your app

Ya can do it like this.

Add a webview to your design, lets call it WebView1

make a file initially called whatever, banner1.txt in the Files folder of your project open it in notepad and write...
 
Last edited:

Adding Background or image file top activity

Hello,
I am new to this forum, I have just installed the IDE.
Congratulations on the ease of use! Having messed around with WinDev for a while, which costs a fortune compared to B4A I am...
 

Adding Tripod Mode to your DJI Mobile app

Adding Tripod Mode to your DJI Mobile app



Tripod mode for DJI drones, limits the speed of your drone to around 2 mph. So you're less
likely to hit something, when your in confined spaces, or...
 
Last edited:

ADeveloper - B4A tutorials

follow us in social networks please 🙏 :

insta.png youtube.png


I started a channel in youtube for B4A. Erel made some other tutorials which you can find...
 
Last edited:

AdMob Mediation (with InMobi)

AdMob supports ads mediation. This means that the ad can come from different ad networks and not just from Google AdMob network.

It can improve the fill rate and the revenue earned.

upload_2016-9-26_16-13-44.png
...
 

Admob Mediation With Chartboost

Hello,

as @sorex requested, this is a short tutorial for mediation with admob for chartboost.

1) Register with chartboost. Add your app. Navigate to campaigns / Publishing . Click...
 
Last edited:

Admob Mediation With Facebook

Hello,

This is the first time I am preparing a tutorial for this great community so please excuse me for any mistakes or weak explanations. Methods of some of the implementation may not be %100...
 

AdMob mediation with Meta - Facebook and 20+ other networks (not tested)

This tutorial assumes that you already have FirebaseAdMob2 implemented in your app.

Implementation is tested in native Android app, not in B4A. You can test it if you want.

You need to...
 
Last edited:

AES128/Rijndael cipher implementation animation

Hi everyone,

in the following link you can find an animation about how the AES128/Rijndael cipher is implemented. As you will see, it is a mix of shifting/mixing/substituting (simple or by matrix...
 
Last edited:
Top