Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
12
Erster Beitrag:
vor 4 Monaten
Letzter Beitrag:
vor 3 Monaten, 3 Wochen
Beteiligte Autoren:
André Labuschagné, kingdr, steve erts, DW

WD21 - Java App For Mac

Startbeitrag von André Labuschagné am 14.08.2017 18:53

Hi All

I am experimenting with a Java app for the Mac. What would the equivalent of FDataDirUser be?

Cheers
André

Antworten:

Andre

you can info(fDataDir()) and it should be like
"/Users/theUserName/" and you can run terminal with $pwd, will list it out.

HTH

King

von kingdr - am 14.08.2017 19:57
Whooze, thought you'd windHQ on but Terminal is the way to find your data path instead.

You need to know unix bash command indeed when using Terminal in iMac.

HTH

King

von kingdr - am 14.08.2017 20:16
Thanks - that does not seem to be supported - going to try fCurrentDir instead.

André

von André Labuschagné - am 15.08.2017 00:29
Andre

Java has limited support as I said you'd install wineHQ per iMac w/s and
just loadup any wd*I.dll/64/32-bit and EXE will work with functions like windows
but NOT JAVA.S'

von kingdr - am 15.08.2017 04:29
Hi King

I am not with you - are you suggesting:

[1] This Java thing with not run at all on a Mac?

[2] You are suggesting clients install an emulator and run the app in that?

Cheers
André

von André Labuschagné - am 15.08.2017 09:35
Java is ok in iMac but it seems itz convenient to run native wdApp
under wineHQ as I dun need to consider functions like java not
supporting. Itz up to you and my main use is to compile IOS
apps fm wm22.

HTH

ps you hv to test wd App on iMac completely before
deploying to yr clients and itz not perfect at all.

King

von kingdr - am 15.08.2017 12:04
Hello André,

If you are going to go through the pain of making a Java app why just not learn and build a Webdev app then you are platform independent. You will only need to do updates at 1 point instead of every machine.

Dennis W

von DW - am 15.08.2017 12:37
Hi King

This has been taken from another app written for WD - I have just changed the target. There were obviously a few things I have had to change. I might have lost one or two functions as well. At this stage not critical and there seem to be workarounds. It is a very simple app.

Will try and get it onto the Mac and test every function before deploying. If it fails the test I will scrap it.

A windows app will not do as the end users will not run an emulator nor a vm - they will want to download and install and run.

We write many iOS apps for iPhones and iPads with WM. But this thing must run on a Mac.

Cheers
André

von André Labuschagné - am 15.08.2017 19:36
Hi Dennis

This cannot be a Web App. it must be running constantly, or at least as long as the user wants it to, while they continue on with other work. It monitors a web service and alerts the user to new information. There must be no user intervention for the alerts. The same app is working perfectly on iOS, Android and Windows. I just need it running on the Mac as well. Hence the test.

Cheers
André

von André Labuschagné - am 15.08.2017 19:40
Quote
André Labuschagné
Hi Dennis

This cannot be a Web App. it must be running constantly, or at least as long as the user wants it to, while they continue on with other work. It monitors a web service and alerts the user to new information. There must be no user intervention for the alerts. The same app is working perfectly on iOS, Android and Windows. I just need it running on the Mac as well. Hence the test.

Cheers
André


We deploy our Windev App to Mac using RemoteAPP, The app must run on a windows server but it's transparent to end user.

von steve erts - am 15.08.2017 21:31
Hi Steve

Remote app will not do for this. We use TSPlus for power users needing to use desktop apps - uses html5 and can be delivered onto any device with a web browser. But it suffers from the exact same problems that remote apps and remote desktop does as they all use the same set of APIs and separate instances have to run. It is not scalable and has security issues. But is has its place.

This app is not for power users - think a banking app, or whats app, or snap chat or messenger or any other communication type of app. The end user can be anyone from a sophisticated computer literate human being to a baboon in Kruger National Park in South Africa. Installation and usage has to be ubiquitous. We have no idea who the end user is going to be and we never have any contact with them.

Cheers
André

von André Labuschagné - am 16.08.2017 20:38
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.