Harbour on Android

Issues and Discussions related to Harbour

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Harbour on Android

Post by Roberto Lopez »

Has anyone successfully created a Harbour app for Android?

I want to start experimenting with it and any information could help.

TIA.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Harbour on Android

Post by danielmaximiliano »

Hola Roberto :
hace un tiempo Esgici publico este link del amigo Giovanni

http://www.elektrosoft.it/tutorials/har ... indows.asp
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Harbour on Android

Post by Javier Tovar »

Gracias DanielMeximiliano, en verdad se ve interesante la información del Link.
leere un poco al respecto! :D

Saludos
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Harbour on Android

Post by Roberto Lopez »

Thanks to all for the info.

I'll start with Harbour console and then explore options for GUI.

I'm playing with an interesting toy for android ('RFO BASIC') that uses HTML files as GUI. This is an interesting idea and is implemented in an extremely easy way. If some like that could be done for Harbour, could be a nice solution.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Harbour on Android

Post by danielmaximiliano »

Hola Roberto :

me olvide ponerte este link

FiveDroid : Android GUI support for Harbour

https://code.google.com/p/fivedroid/

https://code.google.com/p/fivedroid/w/list
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Harbour on Android

Post by Rathinagiri »

RFO Basic is a nice language to approach Android. I had used it before.

The problem is HTML forms designed using RFO are not rendered same in different devices. Some of the controls are overlapped. :(
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Harbour on Android

Post by Roberto Lopez »

Rathinagiri wrote:RFO Basic is a nice language to approach Android. I had used it before.

The problem is HTML forms designed using RFO are not rendered same in different devices. Some of the controls are overlapped. :(
Theoretically, you could use any standard HTML file. Even one using jQuery Mobile. JQM should work well in any device and/or screen orientation.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Harbour on Android

Post by Roberto Lopez »

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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
serge_girard
Posts: 3166
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Harbour on Android

Post by serge_girard »

Roberto,

I'm very interested in this issue but I know nothing about it, so I can't help you!

Greetings, Serge
There's nothing you can do that can't be done...
Post Reply