FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveLinux / FiveDroid (Android) Recompile my Harbour BCC program to android
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Recompile my Harbour BCC program to android
Posted: Fri Jan 10, 2020 06:20 PM

Are we there yet. Can I take my current harbour application (small 565 lines of code), and recompile to android?
Seems mobile handhelds are not longer supported by Microsoft, Surface and Surface Go is but not handhelds with built in scanners, or gun style.

Thanks,

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Recompile my Harbour BCC program to android
Posted: Sat Jan 11, 2020 08:11 AM

Byron,

> Can I take my current harbour application (small 565 lines of code), and recompile to android?

Yes.

Simply install Termux, git clone the Harbour repo from it, build it and build your app :-)

Really easy

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Re: Recompile my Harbour BCC program to android
Posted: Tue Jan 14, 2020 01:12 AM

Antonio,

I may not be right there with you yet. Do I install "Termux" on a PC and convert the exe, or do I install the "Termux" on the Android. I watched a couple of videos on Termux to try to understand. Does Termux read the source code or the the binary? My app has "CreateObject('MSXML2.XmlHttp')" does it figure this out, or just get it close.

Thanks,

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Recompile my Harbour BCC program to android
Posted: Tue Jan 14, 2020 03:27 AM

Byron,

You install Termux on the Android device.

Termux is a "linux" style console where you use git clone to download Harbour from its repo, then you build it and finally build your app from your PRGs.

Regarding CreateObject('MSXML2.XmlHttp'), thats a Windows feature that it is not available on Linux neither on Android.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion