Tutorials & Examples

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

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

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:

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:

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

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

Add shortcuts to your Android application

Attachments

  • Shortcut.zip
    9.5 KB · Views: 1,938
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,983

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,321
  • AddBorder.zip
    8.8 KB · Views: 1,488
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...
 

Adaptive Icons

Last edited:

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: 439
  • upload_2015-9-1_1-43-32.png
    upload_2015-9-1_1-43-32.png
    205.6 KB · Views: 411
  • upload_2015-9-1_1-44-8.png
    upload_2015-9-1_1-44-8.png
    103.2 KB · Views: 398
  • lm SetLayouts Gen.zip
    15 KB · Views: 555
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: 596

ActionBar / Sliding Pages tutorial

Attachments

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

Action List module - Creating a custom view

Attachments

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

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

Accessing remote DBs with B4A using HttpUtils2, Classic ASP, IIS 5.1 and MSAccess

Note: the attached project contains CLASSIC asp scripts and NOT asp.net scripts.


I have a propriatary PC app that uses MSAccess.
The author is good enough to leave the MSAccess .mdb tables...
 

Attachments

  • HttpUtils2withASPandMSAccess.zip
    24.9 KB · Views: 1,216
Last edited:

Access any database or system with B4AServer

Users who are not familiar with B4AServer project should start with this tutorial.

It is sometimes much easier to access data from a desktop than to access the data directly from the...
 
Top