Wednesday, January 23, 2013

Basic Android Programming

Up until I got an Android smartphone, there has not been a single programmable device that I've owned and not tried to write my own programs for it. However, programming for Android devices seemed to be fiendishly difficult, requiring a good knowledge of Java (which I haven't got) so I didn't attempt it. The other week I saw an article in a computer magazine that went through describing how to create programs using a tool called Basic4Android. It seemed similar enough to other development tools I have used such as Visual Basic, Delphi and Lazarus. So I thought I would download the trial version and have a play.

The Basic4Android development environment,
I soon discovered that the trial version is pretty limiting. It's enough to get a feel for the environment and the development process by creating "hello world" apps and suchlike, but in order to do anything interesting you need to use libraries and these are only accessible using the full paid-for version.

There are two full versions of Basic4Android you can buy: the Standard version which costs $49 and includes support and free upgrades for two months, and the Enterprise version which costs $99 and includes support and free upgrades for two years. As I'm not an Enterprise, only a dabbler (and a cheapskate one at that) I bought the Standard version. With hindsight that was not such a good idea, as I discovered after purchasing that only current paid-up users get access to the download links for additional libraries, even user-written ones, and access to the support forum. So after two months I'm on my own. A false economy, I think.

Sophisticated GPS apps can be developed
Basic4Android is a very powerful development tool and I don't think there is much you couldn't do with it if you're clever  enough. The language is object oriented like any modern Basic, and objects exist to let you access the internet, draw charts, access SQL databases and much more. You can access the Android device's GPS via a fully featured GPS library. There is even code to work with Google Maps. I have no intention of developing an Android version of APRSISCE (as if I could!) but Basic4Android looks powerful enough to make that possible.

So far I haven't learned much about Basic4Android programming that's worth sharing with people, but here are a few things I wish I had known prior to buying.

There is no need to pay the full prices I mentioned earlier. Once Google finds out you are interested in Basic4Android, ads to buy Basic4Android with 30% off will follow you around the web. To get the deal, click on one of them.

There are two options you can use to pay for Basic4Android, PayPal and Plimus. If you are in Europe then be sure to use the PayPal purchase buttons. If you use Plimus then you'll get stung for VAT which will bump up the price 20%.

Better still you can get Basic4Android Enterprise version with two years' updates and support at half price by using the coupon code dnxyif. Unfortunately this is only valid if you use the Plimus payment option so there is no avoiding VAT if you are in Europe. But even with VAT it's still the best deal I think. I hope that helps someone.

3 comments:

  1. Very interesting, Julian - thanks for the pointer. Having done some programming in the past and just having acquired a Nexus 7, I'm tempted.

    I see they offer a 30-day money-back guarantee. Would it be cheeky to invoke that and then re-buy the Enterprise version using the Pilmus half-price offer?

    ReplyDelete
  2. I don't know if you've had a look at phonegap: http://phonegap.com/

    It's a tool where you can write your code in html/css/javascript and convert it to an android app. If you've done much web development you might find it a good route. Phonegap also builds on other platforms than android.

    What's more it's open source (Apache Licence).

    73,
    Richard M0XAW

    ReplyDelete