Welcome to Nigel Whitfield's Code Info


This website is designed to accompany the magbook I've written about programming for Android, using Basic4Android. Here you'll find code snippets, complete versions of the apps created in the magazine, and lots more useful information.

The magazine is on sale on now, and is called Build Your Own Android App. UK readers should find it in newsagents, and it will be available on the MagBooks website or from Amazon .

The magazine covers everything from first steps to creating your own Android app, including planning, designing a screen layout, using libraries of code to enhance your app, and also sharing and distributing it, including selling it on the Play Store.

Type Attack is the name of the falling blocks app that we build in the magazine, and you can find it on the Play Store. The code for the app will be available to download here shortly, and you can see app credits here.

Most of the site has been split up according to the chapters of the printed magbook, to make it easier for readers to find information. Use the panel at the left to find your way around. There are still some tweaks to be made to the site, but I hope you'll find it a useful companion to the magbook.

Thanks to Motorola's UK PR team for the loan of the Moto X phone used to develop and test apps for this project, and to Erel at Anywhere Software for his support.

Please note that while I do my best to give support to readers, I can't guarantee an anwer to every email I receive, and I'm unable to give one on one support or assistance with your coding problems. If you do have questions about the magbook, the best place to ask will be in the B4A forums, where my user id is nwhitfield.

Android MagBook cover

Note: To work through the examples in the magazine, you will need Basic4Android, which runs under Windows. The first two chapters use examples that work entirely with the free trial version, and almost all the examples up to page 79 (in Chapter 3) can also be tried with the trial version, except where otherwise stated. The trial version will allow you to build some simple applications - as we show in Chapter 2 - for your own use, but not for distribution. To experiment further, or build applications to share with other people, you will need one of the licensed versions of B4A, which start at around £45.