Tutorials & Examples

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

Barcode Scanning Observations

I have done some extensive barcode testing the last few days using a device with an 8 megapixel camera. I would like to share my obervations and hope many of you can debate, corroborate or add to...
 

Fading label effect, SetColorAnimated < Android 3 devices

Attachments

  • SC20121114-113536.png
    SC20121114-113536.png
    27.7 KB · Views: 1,693
  • fading colors.zip
    6.9 KB · Views: 837
Last edited:

Jar of Beans - new FAST android-emulator

Simple Tab Example

Hi

I have just purchased Basic4Android and I am having difficulty getting started with it. I need to create an app with 3 tabs on top with each of the container having a webview, which should...
 

The SMB library uses a Java structure

I'm getting no where trying to use the SMB library.
Specifically I need to read a text file, but the DownloadFile2 function uses a Java InputStream structure, and I'm not familiar with Java or...
 

Clipboard

Trying to find a way to copy barcode scanner example barcode into Android ClipBoard.
Not having very much luck finding a Basic example.


Embarassing it took me a long time to find this.
And I'm...
 
Last edited:

How to setup a android tablet with no wifi or bluetooth with layout designer

How to setup a android tablet with no wifi or bluetooth with layout designer
I f you tablet is out of range of Wifi (and has no bluetooth), but you have a windows computer that is in range...
 

Custom "push" notifications (server included)

[Reworked] Custom "push" notifications (server included)

So I have come up with a better(?) way of doing push notifications.

This time I will provide a usable server executable.
Download the...
 
Last edited:

Posting a byte array to a web service - vb.net example

Hi All,

I've just had a fun time trying to get a webservice to receive a byte array converted from an XML file with data to upload. I'd always used parameters for web service stuff and never...
 
Last edited:

Making money with apps

Hello everyone,

I'm Yang from sellAring ad network, very happy to be here at Basic4Android.
SellAring is a mobile advertising network that delivers innovative ad solutions to the market. We...
 
Last edited:

How to connect to your Arduino using B4A

I recently purchased an Arduino USBDroid. The spiel told me I could connect it to my Android phone, but that was about it! I eventually worked it out after a week or so, and a bit of luck :) and...
 

Attachments

  • Connecting your Arduino board to an Android Phone.zip
    258.8 KB · Views: 1,581

Better Sliding Panels with Transparent Top

First off, Erel is the man!

Attached is my result from below:

I researched through the forums and found that people were looking for a way to catch swipe events, without passing them down to...
 

Attachments

  • BetterSlidingPanelsWithTop.zip
    17.4 KB · Views: 1,027

How do they ... ? #4 (FR)

Here's a link to my new tutorial (in french):
Comment font-ils ? #4

The translation by Google Translate in english is horrible. The translation by Bing Translator is much better.
 

Fastest method to code/compile as a Linux user.

I found that B4A runs really well in VirtualBox (on a Linux host). Also, I downloaded an Ice Cream Sandwich iso file (generic_x86-20120909.iso) which can run in VB too. This is much faster than...
 

Create XML and Send to WCF Rest Service

Hello,

here is a small example how to make a xml and send it to a server which is hosting a wcf rest service.
Maybe it helps someone to start a bit faster with it...

Here a little...
 

Attachments

  • XmlBuilder.bas
    5.7 KB · Views: 572

XmlSax - Exposing the Parser at work

XmlSax - Exposing the Parser at work

I wanted to understand how the XmlSax worked so as to fully understand how to write the code to access the different elements.

Found an example on...
 

Attachments

  • MyXmlTest.zip
    6.6 KB · Views: 494
  • xml2_ide.png
    xml2_ide.png
    95 KB · Views: 487

Altering existing design.

How do you make changes to the basic layout (design) of a program? I opened the following sample file: DataBaseProgSample1.5.b4a I wanted to change the sizes of the edit fields, but when I...
 

A tilt shift Effect

A Tilt Shift effect for Basic4Android! Because of the pictures, the project is to big to attach to this forum but you can download it from my blog...
 

Help, access to localhost from buildroid virtual device

sorry, I don't see "not post questions in this sub-forum." please any admin can delete this?
 
Last edited:

B4A Article in Nuts and Volts Magazine

There is a nice "Getting Started" article in the August Nuts and Volts magazine:

Fred Eady, "Putting Basic4Android in the Driver's Seat", Nuts and Volts, August, 2012 (pp 68-73)

Baxter
 
Top