Tutorials & Examples

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

MapsDecodePolyline

Hello!

As already told in another thread, i'm working on a navigation app using Google Maps API in combination with Google Directions http-requests for routing.

The http-Requests looks as...
 

ContactSearcher - Combines ContactsUtils with SearchView

This example uses SearchView to allow the user to search for any contact. The user can enter a substring of the contact name or one of his phone numbers.

This is a modified version of SearchView...
 

Attachments

  • ContactSearcher.zip
    11.1 KB · Views: 3,066

How to write a tasker plugin

RSAndEngine Tutorial

logo.png

(Image belongs to Nicolas Gramlich)


It's almost here!
AndEngine for Basic4Android.
...
 
Last edited:

[Newbie sample] Simple Timer Up & Down, Counter Up & Down.

This is only a simple example for newbie to learn Wheel algorithm.
For fully blown of wheels, see ClsWheel v 1.4 by Klaus.
There is no intention to make it an advance Stopwatch & Timer!
Advance...
 

Attachments

  • TimerCounter.png
    TimerCounter.png
    27.5 KB · Views: 1,036
  • TimerCounter.zip
    49.9 KB · Views: 1,031
  • TimerCounterTD.zip
    50.1 KB · Views: 938
Last edited:

ImageDownloader - The simple way to download images

Attachments

  • ImageDownloader.zip
    8.1 KB · Views: 7,144
Last edited:

Your own content - chooser

Hi!

some days ago i shared my ahaShareLibrary and if you like to do your own library with your own code, this small tutorial may help you..

The project need following:
o) Reflection
o)...
 

Attachments

  • shareExample.zip
    44.8 KB · Views: 526

.Net FileTransfer - Implement AsyncStreams Prefix mode

Attachments

  • FileTransfer-Desktop.zip
    81.2 KB · Views: 4,500

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: 10,963

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

AsyncStreamsObject - Send and receive objects instead of bytes

AsyncStreamsObject is a small framework built over AsyncStreams.

Instead of sending and receiving bytes, AsyncStreamsObject allows you to send and receive objects. This makes it much...
 

Attachments

  • AsyncStreamsObject.zip
    10.5 KB · Views: 3,990
Last edited:

FileTransfer - Send and receive files with AsyncStreams

Last edited:

B4AServer tutorial

I have recently 'discovered' both Android and Basic4Android. I am really enjoying the experience.

The documentation for B4AServer is in a number of forum threads. I have summarised these...
 

Android Wifi-Direct Tutorial

Android 4+ devices support Wifi Direct (Wifi P2p). Wifi Direct allows you to connect two devices over wireless without an access point. It is similar to Bluetooth with a much extended range and...
 

Attachments

  • WifiDirectExample.zip
    8.7 KB · Views: 16,780

Design News B4A Online Class

Online classes featuring B4A-based Android Accessory, Bluetooth and TCP/IP applications will be offered by Design News beginning June 24, 2013. The 5-day run of classes will be presented by EDTP...
 

[video] Common mistakes

A video demonstrating several common programming mistakes:


 
Last edited:

Download huge files with HttpUtils2

Attachments

  • LargeFileDownload.zip
    11.5 KB · Views: 2,645
Last edited:

Google Elevation API Service Code

Hi,

Further to a post I made in another thread. Below is a service code that can be called to get the elevation data from the google API.

B4X:
#Region  Service Attributes 
   #StartAtBoot...
 

Android In-App Billing v3 Tutorial

Last edited:

OUYA-specific tweaks

Your apps will run on OUYA just fine, normally.

It has no sensors. This includes microphone (so no voice recognition), gyroscope, compass, accelerometers, orientation, light. It has nada. It...
 
Top