Tutorials & Examples

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

[Root] Using ADB over WIFI : B4A Bridge alternative

Hello all ,

Main advantage for this method over B4a Bridge is that it fixed issue I faced after updating my Huawei Honor 6 to Android 5.1.1 and B4A IDE stopped getting logs from Bridge .After...
 

One App - Two Activities (or more) - Two launcher icons

For my latest wear app i needed two different launcher icons, each one starting one different activity of the same app. It's really easy to accomplish, it only needs to edit the manifest file...
 

Android Compatibility Definition Guide in pdf

Really don't know where to post this. Thought this may be a good place.

Anyway, I found this Android Compatibility Definition Guide in pdf-format which could be handy. Of course, you can find...
 

Service Modules

This is an old tutorial. Most of the information here is no longer correct.



Basic4android v1.2 adds support for Service modules.
Service modules play an important role in...
 
Last edited:

Creating a Wear device avd / emulator

So, Google released the new Android Wear platform and obviously we all want to try it out. I have been very lucky and have managed to get my hands on a real device. A Samsung Gear Live to be...
 
Last edited:

CallSubDelayed - Avoid Black Screen

This has plagued me for months... (drove me nuts!)

I would try to insert a record in a table within an activity (using CallSubDelayed2) - then start another activity and presented with a Black...
 

Noobs Guide to Using AppCompat

I found myself increasingly frustrated by my attempts to use the all the amazing AppCompat libraries and tutorials only to end up with reams of Java errors.
So to help those who might have/be...
 
Last edited:

LayoutView: Automatic translation of layout views

Introduction

Internationalizing your app is nowadays the #1 task. Localized content if always preferred. LayoutView makes translating your layout views automatic and...
 
Last edited:

Designer Scripts Tutorial

Background

One of the most common issues that Android developers face is the need to adopt the user interface to devices with different screen sizes.
As described in the visual designer...
 
Last edited:

Share My Experience With B4A-Full Source "Youtube Download"

p/s: i have uploaded patch file audio.xml

you must replace this file to your core library folder
(Exam: C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries)

Thank @Erel and...
 

Attachments

  • youtubedownload-tob4a.zip
    239.2 KB · Views: 1,285
  • Full-Liibrary.zip
    503.5 KB · Views: 1,599
  • Audio.zip
    4.8 KB · Views: 812
Last edited:

MySQL: Backup/Recover Databases

So you have some nice MySQL databases but what about backups? Copying the db files is a very bad idea and will lead into corruption. Here's a small script (copy it to a Windows batch file =...
 

B4A Book – Paperback and Free ebook Upgrade Available

A new edition of B4A by Wyken Seagrave has just been released. It covers Version 5.02 and has many improvements over the previous edition.

It is available in 3 electronic versions: PDF, MOBI (for...
 
Last edited:

Userid/pw/Encryption: Best practice

I see a lot of code where user id's, passwords or other critical Information is stored inside the code. Problem here is that the code can be decompiled very easy and someone can extract the...
 
Last edited:

Simple Push Framework

Attachments

  • PushDevice.zip
    8.6 KB · Views: 3,103
  • PushDesktop.zip
    6.3 KB · Views: 2,798
Last edited:

Android Dropbox / OAuth Tutorial

Attachments

  • Dropbox.zip
    12.6 KB · Views: 2,485
Last edited:

Creating a simple C/C++ based B4A library with NLG

With this video I intend to show how simple it is to create a native based B4A lib, using my Native Library Generator.
For that purpose, I'll be writing and testing my code in Visual...
 
Last edited:

Getting help for Object and methods

The IDE Intellisense is wonderful for actually writing code but for browsing the available objects to see what is on offer it is a bit tedious so this afternoon I have knocked up this pretty awful...
 

Attachments

  • B4AHelp1.7.zip
    55.6 KB · Views: 447
Last edited:

Google SignIn Using WebView

I was in need of google sign in using PlayServices but cant find any wrapper for that in b4a,Then i found this solution.

Purpose of the Sign in app is to fetch details about the google account...
 

Attachments

  • googleSignin.zip
    441.1 KB · Views: 594

Xtraviews: MovieView Tutorial

Introduction

This is a DesignerCustomView control which is based on the native android movie view and will allow you to display animated gifs (transparent ones as well)...
 

MOBAC supports MapsForge for offline tiles

Top