I've posted the following message in Harbour Users Group too:
Hi All,
I'm experimenting with Harbour on Android thanks to the Giovanni Di Maria tutorial.
Its plain and easy to make it work. The problem is the lack of a GUI (I'm looking for an alternative to QT).
There is a nice app for Android called 'RFO BASIC'. It can handle GUI via HTML.
The approach is very simple:
1. Invoke Android web browser, showing an HTML file with our user interface.
2. Wait for an event comming from browser using a loop.
3. Whenn the event arrives, process the message (being the most relevant, pressing the 'submit' button in the HTML form.
The RFO Basic code looks like this:
Code: Select all
html.open
html.load.url "file:///sdcard/rfo-basic/data/myform.html"
do
html.get.datalink data$
until data$ <> ""
data$ = mid$(data$,5)
print "Form data: "+data$
So, theoretically, we only need few new harbour functions to achieve this (equivalent to html.open, html.load and html.get.datalink in RFO BASIC).
So, the problem is how to interface our Harbour application with Android API. There is any information, documentation or examples about this topic?
TIA.