PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Using mysql-connector-java.jar within a WD Mobile 18 android app.
Using mysql-connector-java.jar within a WD Mobile 18 android app.
Iniciado por Colin, 13,sep. 2013 06:58 - 4 respuestas
Miembro registrado
13 mensajes
Publicado el 13,septiembre 2013 - 06:58
Hi All,

I a writing an app that requires access to client/server database that will reside on the Android device.

Now HFCS won't run on Android :-(
However, MySql will, and I also need to access a remote MySql server, so can I use JDBC from my Windev Mobile 18 app?

If so, how do I include/reference the .jar file?

--
Colin
Publicado el 13,septiembre 2013 - 15:09
Hi Colin

I'm not sure why you are saying:
> Now HFCS won't run on Android :-(

Because in 18, it DOES run

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on http://www.fabriceharari.com
Miembro registrado
13 mensajes
Publicado el 13,septiembre 2013 - 16:27
The HFCS database server runs on Linux and Windows doesn't it?
I know I can write an Android app that can access a HFCS database, but can the HFCS database actually reside on my Android device?

--
Colin
Publicado el 13,septiembre 2013 - 16:53
Hi Colin

yes it can... If you look in the help, there are some restrictions
(minimum version of android), but it is possible with 18... Of course,
locally, it's more of a HF classic DB, but the structure is exactly the
same, there is just no server (and no need for one, as there is only ONE
user)



Best regards


--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International

Plus d'information sur http://fabriceharari.com


On 9/13/2013 8:27 AM, Colin wrote:
The HFCS database server runs on Linux and Windows doesn't it?
I know I can write an Android app that can access a HFCS database, but
can the HFCS database actually reside on my Android device?

--
Colin
Miembro registrado
13 mensajes
Publicado el 14,septiembre 2013 - 03:53
Hi Fabrice,

Thanks for your time and answers

I am developing an embedded app that using a true client server database will make my life much easier,as the database needs to be updated by several processes on the device, and also remotely.

I know that MySql can provide all the requirements as I have already written this app for Linux on ARM using Qt, but I want to rewrite it so we can use Andriod on the same hardware. Or if there was WinDev for Linux on ARM that would also help.

I thought the easiest solution would be to use the MySql connector, but I cannot see how to use this in my WLanguage app in WinDev Mobile.
I have been using WinDev and WinDev Mobile for about 6 weeks now, so still consider myself a newbie, so I may have missed how to do this in the documentation, but the WinDev way of doing it does not work for me in WM

Regards,

Colin

Fabrice Harari wrote:
Hi Colin

yes it can... If you look in the help, there are some restrictions
(minimum version of android), but it is possible with 18... Of course,
locally, it's more of a HF classic DB, but the structure is exactly the
same, there is just no server (and no need for one, as there is only ONE
user)



Best regards


--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International

Plus d'information sur http://fabriceharari.com


On 9/13/2013 8:27 AM, Colin wrote:
The HFCS database server runs on Linux and Windows doesn't it?
I know I can write an Android app that can access a HFCS database, but
can the HFCS database actually reside on my Android device?

--
Colin


--
Colin