Tutorials & Examples

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

Share files between emulator and PC

The canonical way to share files between emulator and PC is using
adb utility from android-sdk, but is a command line utility and is a little bit hard to use, you have to use adb push and adb...
 

EXAMPLE - Drag a panel of buttons or EditText

Here is a simple example of how to support dragging a panel of buttons or other views like EditText around the screen.

I extracted the code from one of my apps and added detailed comments. It...
 

Attachments

  • PanelTouchDrag.zip
    7.3 KB · Views: 1,199
  • PanelTouchDrag.png
    PanelTouchDrag.png
    23.1 KB · Views: 1,592

listview reading second line

I dont know how to get the second line returned from a listview

help is appreciated

reading from the manual:

However you can change it to any object you like by using:
AddSingleLine2...
 

LeadBolt Tutorial

Hi Everyone,

Is there a LeadBolt tutorial?

I just signed up with them and have no idea on how to start and add it to my app.

Thanks.
 

Completely new to Visual Basic language - How should I proceed?

Hi guys. I'm thinking about stat coding for android using Basic4Android but I've never even saw a code in Visual Basic.

I do code in C/C++, PHP.

How should I proceed? Should I just dive in...
 

Problems With App Closing On Back Button Press? (Tutorial)

Ok so this was one of the first issues I ran into when first starting in B4A. I want to write this tutorial to help people out that might have the same issues as I did. So lets start.

Whenever...
 

Class example - Galaxy system emulation

This "galaxy" example simulates planets movements based on the gravity forces.

The purpose of this example is to demonstrate the usage of classes in a graphical program...
 

Attachments

  • Stars.zip
    8 KB · Views: 1,141

Creating and Using a Virtual SD Card - Tutorial

Creating and Using a Virtual SD Card - A Tutorial

Here is a tutorial for creating a virtual SD-Card, copying your SD-card files and reading them. It includes screen-shots of each stage and a...
 
Last edited:

GSMA Doc: Smarter Apps for Smarter Phones

Any threads just for newbies?

Just getting started with BA4 and am very confused. I don't understand many terms and terminology. Have next to no experience with Java though am reasonably proficient with Basic.

A friend sent...
 

Managing deployment of multiple applications on multiple devices with B4AServer

This is an example of how we can use B4AServer to manage the deployment and updates of multiple Android applications on multiple devices.

It works in the following way:
- The device...
 

OpenGL 1.7 RayPlane Intersection

So ive been messing round with OpenGL for a while now as discovered that OpenGL ES doesnt include a 'GluUnproject' function, which is rather pivotal for discovering world coordinates with Ray...
 

Absolute beginners guide to making a Net Server program

I am writing a manual for students using B4A and there seemed to be some people here wanting to connect their programs to a net server with SQL who have never done so before.

So hopefully some...
 

Attachments

  • CONNECT-TO-SERVER.zip
    9.8 KB · Views: 618
Last edited:

Developping using my old netbook

Hi guys,

I thought I wanted to share this with you. I found a perfect way to develop for my Android device.

I used my hardly used Toshiba netbook NB100 and made it dual boot: the second boot...
 

Intel Atom x86 emulator available

TextPaginator Problem

I am using the PageTurnView library & like it very much.

In my code I would like to destroy & create a TextPaginator object or at least clear the text buffer that was set within this object...
 

Programmatically Adding UI elements - for .Net users

Here's a little tutorial/sample project for users coming from .net

It shows how you can have one activity show lots of ui elements, some hidden, some not within the same activity...
 

Attachments

  • PanelExample.zip
    308.7 KB · Views: 678

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

Trial Tutorial

Hey everyone,

Here I will explain how you can make an evaluation/trial version of your app using an online database.
With this, the user will be able to open up the app x times. When 0 is...
 

Attachments

  • ServerPHP.zip
    739 bytes · Views: 738
Last edited:

Mobile Application Server - Open Source

I am posting this in this forum because I meant this for Android not PPC when I posted in the other forum.

-------------- Original Message --------------
Hello Everyone,

I have been working...
 
Top