iOS Tutorials

Loading B4i on Mac with Parallels and Windows 7

Thought I'd share this sequence of tasks on how to set up B4i from scratch - hope it helps anybody just starting.

1. Windows

1.1 Create a Keys Folder e.g. C:\Users\User1\Documents\B4i\Keys

1.2...
 

B4i Change Log (versions history)

Last edited:

Designer Script & AutoScale tutorial

Designer script feature allows you to write simple scripts that manage the user interface in the visual designer.

The main advantage of the scripts over the program code is that you can see the...
 

[Objective C] Writing libraries for B4i

B4i libraries are written in Objective C. You need to use a Mac with Xcode and you need to know Objective C.
From my experience it is more difficult to write B4i libraries compared to B4A / B4J...
 

Attachments

  • Libraries.zip
    101.8 KB · Views: 1,089
  • B4Ih2xml.jar
    98.2 KB · Views: 764
Last edited:

DropboxSync Tutorial

Dropbox has dropped support for this API. It doesn't work anymore.

The iDropboxSync library allows you to use Dropbox Sync service to manage an app specific folder inside the user Dropbox...
 

Attachments

  • DropboxSync.zip
    52.2 KB · Views: 619
Last edited:

GoogleMaps Tutorial

The iGoogleMaps library allows you to show a map inside your app:

SS-2014-11-17_09.18.50.png


It is similar to B4A GoogleMaps library.

1. In order...
 
Last edited:

B4X Help Viewer

Attached you find a B4x Help Viewer.
The original program was written by Andrew Graham (agraham) for B4A with Basic4PPC desktop.
Andrew is no more active in the forum and some time ago I...
 

Attachments

  • B4xHelpV3_0.zip
    211.1 KB · Views: 2,421
  • B4XHelpV3_1.zip
    209.3 KB · Views: 1,842
  • B4XHelpV3_4.zip
    223.8 KB · Views: 78
Last edited:

Tutorial for PC

hello,
Is there a tutorial that explains step by step how to install B4i on a PC. Should we install Java and what libraries to install (because it requires the path). And after?
Thank you
 

Some findings about graphics and pixels

I begun 'learning' graphics in B4i, and found some differences between B4a and B4i based on an iPhone 6:

- There are no 'dip' values in B4i (perhaps not yet ?)

- On my iPhone 6...
 

Attachments

  • Drawing.zip
    2.7 KB · Views: 537
Last edited:

[example] Coordinates Calculator source code

Attachments

  • Coordinates.zip
    55.5 KB · Views: 1,733

Scheduling local notifications

There are two ways for your app to notify the user while the app is in the background: push notifications and local (or scheduled) notifications.

This tutorial explains how to create local...
 

Attachments

  • LocalNotifications.zip
    2.6 KB · Views: 1,260
Last edited:

Custom Fonts

In order to add custom font files to your application you need to follow these instructions:
1. Add the font file to the "special" folder: <project>\Files\Special
2. Add the #AppFont attribute for...
 

Attachments

  • CustomFonts.zip
    54.9 KB · Views: 1,270

Local Mac Builder Installation

Edit: Apple Configurator 2 must be used when using a local Mac:
iOS compilation...
 
Last edited:

Animations

It is very simple to add nice animation effects to your layout. Animations are important. It makes it easier for the user to track the layout changes.

By default, when a layout is loaded (or...
 

Attachments

  • Animations.zip
    3 KB · Views: 970

Bouncing smilay - Drawing with Canvas

A Canvas object allows you to draw over a view.

Canvas.Initialize expects a single parameter which is the target view.

You can then use the different drawing methods to draw over the view...
 

Attachments

  • Smiley.zip
    4.7 KB · Views: 1,059

Location & GPS

The iLocation library allows you to get the current known location and to monitor location updates. You can also monitor the device heading direction.

As the location is considered a private...
 

Attachments

  • LocationExample.zip
    3.5 KB · Views: 2,308
Last edited:

iMedia library - Camera and VideoView

VideoView is an object that makes it quite simple to play local or remote videos.

The most important thing to remember about VideoView is that the object itself is not a View (unlike in...
 

Attachments

  • CameraExample.zip
    3 KB · Views: 950
Last edited:

Files and Folders

In iOS each application can only access its own private folders. There is no shared location such as File.DirRootExternal in Android.

iOS file system is case sensitive.

There are several...
 

Attachments

  • iTunesFileSharing.zip
    4.3 KB · Views: 954
Last edited:

Mails and SMS messages

MailComposer and MessageComposer types from the iPhone library allow the user to send mails and SMS messages from your app. The users will see a pre-filled form which they can modify and send...
 

Attachments

  • Composers.zip
    1.5 KB · Views: 1,258

Visual Designer

Top