My first Android app |
Because NGR and WAB only cover the UK, my app will not be very useful if you are outside of Great Britain. Indeed the app will probably blow up if you try it outside the UK as I haven't included any test that the user is within these sceptred isles.
I'd rather not say how long the app took me to complete, but it was far longer than expected given that I had already written code to convert from lat/long to grid locator in VOAProp. That code was in Pascal, and the trouble was caused by the fact that Basic4Android does not have equivalent functions to those in Pascal, or even Visual Basic, so I could not just do a copy and paste. In the end I found a conversion routine written in C++ and converted that to B4A's dialect of Basic. From there on it was easy, as there is a user-written library in B4A to handle conversions to/from National Grid references, upon which the WAB programme is based.
If I don't try something else I might have a go at displaying a Google Map centred on my location, as one of the examples that come with B4A does just that.
I don't plan on publishing any of the apps I create in Google Market (or Google Play as I think they now call it). I am doing this just for fun. Think of this as the programming equivalent of those radio projects knocked together on a breadboard or built Manhattan style, with no expectation that they will get put into a nice box.
If there is any interest I will make available the B4A project files as a zip file so that folks can play with them, hack them about or use them as a starting point for something better.
1 comment:
As a person useless at anything to do with software I am VERY impressed Julian.
Now, your next task please is a WSPR terminal for an Android device, then an equivalent to Spectran.
Then I can buy an Android device and do away with a PC.
:-)
Post a Comment