site  contact  subhomenews

FireMonkey links

August 28, 2015 — BarryK
FireMonkey is the UI framework used in Appmethod, also in other app-creation tools from Embarcadero.

The official docs are here:

Here are other sites:

Some of those sites look as though they are "backed" by Embarcadero. Some look very dated.
They also are mostly Delphi and Object Pascal centric (Delphi is another app creation tool from Embarcadero, with a very long history).

Tags: general

C++ textbook

August 28, 2015 — BarryK
I borrowed a couple of C++ books from my local library, however, as I am "really getting into it", decided to buy one.

A book that looks really good is "C++ Primer Plus", 6th Edition, 1200 pages. has it for US$30, but that is the original printing in 2011. Apparently, there was a reprint in 2012 with typos and other errors fixed, still the 6th Edition.
It costs, I think, about US$17 to post to Australia.

So, hunting for the 2012 reprint, I found it selling cheaply here in Australia, for AU$48 (+ $3 Express Post):

That would be one of the cheap reprints in Asia.

The one published by Pearson in the USA is selling here for considerably more (hmm, and it is only the 2011 edition):

I have ordered the book from Bookware.


Convert Object Pascal to C++

August 26, 2015 — BarryK
I worked through this example app that uses a SQLite database:

Some of the code is obscure, however, I do hope to eventually grasp what is going on.

I have made some mods to the example, one of which is to have a 'blob' datatype in one column of the database.
But then, I did not know how to convert text into blob format for storing in the database. Then found this:

FMX is an ancronym for Firemonkey, the UI framework used by Appmethod. is a very interesting site, lots of examples, but it shows the Delphi heritage and most code is in Object Pascal.

The blob-read-write code is also in Object Pascal, however I found a converter:

...downloading it now. It's a Windows executable.


SQLite and Android NDK

August 26, 2015 — BarryK
I would like to learn how to do stuff with the Android Native Development Kit (NDK). This is what Appmethod makes use of to bypass using Java.

This looks like a nice way to start learning:

Some convenient build scripts have been posted:

There is a special version of SQLIte, named SEE, that supports encryption of the database:

...SEE is not free though. Can't find a price anywhere.


Appmethod looking good

August 24, 2015 — BarryK
I posted recently about Appmethod:

I am getting stuck into learning how to use it. Reckon it will take several months before I can rate myself as a competent app developer.

I want to use Sqlite for an app that I plan to develop, and checked out some requirements that I need. Sqlite supports searching of binary blobs in fields, one tick. Appmethod supports encryption of Sqlite database files, another tick.

Appmethod supports coding in Object Pascal or C++, and I will go with the latter. I only understand basic C coding, so right now getting stuck into learning C++.

My laptop still has the original Windows 7 Home Premium. Did an update, but I'm not going to update to Windows 10, not for awhile anyway.
Haven't used Windows for ages, and it is ok, except rather puzzling all the hard drive activity. I am doing nothing, no applications running, and the hard drive activity light keeps flashing on, never stops -- what on earth is Windows doing?!!!

Anyway, lots of fun!


Remix mini countdown

August 20, 2015 — BarryK
1,379,888 US Dollars raised, and nine days to go:

It will be interesting to see if there is a rush of pledges in the last few days.

Tags: general

Appmethod app development

August 20, 2015 — BarryK
I have been checking out app-creation tools for awhile, as I have for quite some time been thinking of moving away from OS development into app development -- perhaps creating a "killer app".

I posted about some dev tools here: particular, I like Smartface. Very simple to use, supports Android and iOS targets. Its main big feature is can develop for iOS without needing a Mac.
Coding is in Javascript, with the limitations that go with that, such as needing a runtime interpreter and having fairly sandboxed functionality (cannot use Smartface to create some types of hardware apps, such as a battery status monitor).

I had a very brief look at WINDEV Mobile. Really put off by their advertising -- unprofessional, even a bit sleazy.

Right now I am evaluating Appmethod, and I am liking it. Here is the site:

Fascinating -- the company is Embarcadero, and they purchased Borland many years ago. Ah Borland, I have fond memories of their products. Loved their Turbo Assembler. Borland has been off my radar since the 90s, well, it is very pleasant to see C++Builder etc still going strong:

Appmethod is Embarcadero's latest creation. I am running it right now, and have my phone plugged in via USB cable, with a simple app created by Appmethod running on it.

I was most intrigued to learn that Appmethod apps are compiled down to the machine code. None of that Java bytecode stuff. Coding is in Object Pascal or C++, and in the case of Android, a .so shared library has to be created -- in other words, Android is designed for apps written in Java, and a little bit of trickiness is required to run a real compiled app.

But of course, compiled means speed.

Installing Appmethod, I discovered it is wise to let the installer also install the Android SDK and NDK. Although Appmethod can use them if pre-installed, I found this difficult to setup, so did a complete reinstall and just accepted the defaults.

Appmethod runs on Windows 7 or later. App can be created for Android, iOS, Windows and Mac.

This is one sophisticated product! Huge learning curve, but it will do everything a developer would want.

Appmethod has Firemonkey UI, so the one UI can be created for multiple targets. So, the native Android UI functions are not being used, however Appmethod does seem to do a good job of setting the look-and-feel to match the target platform.

Now to price... the first 30 days are free, after that, Appmethod will only create Android apps, and only using C++.
That is a very good deal, and I congratulate Embarcadero for being so generous. It appears the free version is mostly uncrippled.

Down the track though, if I decided to use this product, I would probably want to create my apps to run on multiple platforms (no Linux unfortunately), so would go for purchasing:

...35 US Dollars per month, so that becomes 420 Dollars per year. Actually, quite reasonable, compared with the others out there.


Remix mini-PC board demo

August 15, 2015 — BarryK
The Remix mini PC Kickstarter project is on-track for release in October.

It is nice to see that they have got a working board. This link has a short video showing the board in action, playing a game and using a game-console:

I previously posted about Remix mini PC here:

Tags: general