Page 1 of 1

Recompile my Harbour BCC program to android

PostPosted: Fri Jan 10, 2020 6:20 pm
by byron.hopp
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,

Re: Recompile my Harbour BCC program to android

PostPosted: Sat Jan 11, 2020 8:11 am
by Antonio Linares
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

Re: Recompile my Harbour BCC program to android

PostPosted: Tue Jan 14, 2020 1:12 am
by byron.hopp
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,

Re: Recompile my Harbour BCC program to android

PostPosted: Tue Jan 14, 2020 3:27 am
by Antonio Linares
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.