Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 5 Jahren, 3 Monaten
Letzter Beitrag:
vor 5 Jahren, 3 Monaten
Beteiligte Autoren:
ICI, Arie, Fabrice Harari

Questions about Windev Mobile (Please help)

Startbeitrag von ICI am 13.05.2013 20:35

Regards to all !

Last days I try to ask some questions about WindevMobile but did not get any answer.
I have few questions:
1. Is WM really usable product to access database from mobile devices ?
2. Does anybody already make application to work on PPC device and use data from HFDatabaseServer and print on POS or any other printer connected to PC with windows XP/7 operating system.
3. What is procedure to connect PPC on PC network and print on network printer. How to get network printer to print on it. Where to send PCL or TXT file.
4. Do I need some special program to be installed on PPC to acces shared resources?
5. What is "The Best" (already tested and work) devices ....

Please, if there is someone, tell me few words about that !



most of the time, if you need to access a DB on PC from a mobile hardware, you will use a webservice to do so... it may be a webservice developed in windev or a simple awp page developed in webdev.

Now, if you already have a webservice in place to access data, then printing on the same PC (or any PC of the network is only a question of adding this function to the webservice).

Best regards

von Fabrice Harari - am 13.05.2013 20:58
you can access hfcs from a PPC, but you have to be always connected.

My experience (with POS...) is that this is really hard. Mobile devices are used outside to order drinks and so on. Wifi is not always guaranteed 100% on these locations. Or you need to spend some money on range extenders and other pro-stuff.

We use an offline model. A socket-server is listening on a pc (mostly also a POS system).
Mobile devices use socktet read and write to interact with this small server.
Every data action is done through this server.

Products, tables, employees etc are read once when starting the app (or when the user requests to do so).
Orders (food,drinks) are collected offline on the terminal. And send to the server as a whole. So the communication between client and server is short.
Same thing when doing payments on the device. Or moving orders from one table to another. And all other POS-functionality you can think off.

Printing? Same thing. You cannot get access to POS printer direclty from a PPC.
So our device sends a "print order xxx" command to the server. And then the server (WD app) takes care of everything. Using the standard Windows printers on the system.

It took quite some time to get things done. But is working for sure.

von Arie - am 13.05.2013 21:04
Hi and thanks

I am make connection over Wi-Fi to HFServer, and change connection and can make transfer of necesary data on PPC or read data directly from PC, but only connected over IP, Connection to NetMachineName() is not possible without VPN connection, I think.

Arie, do you mean to send some file in some directory on PC and with timed (ex: every 3 sec) procedure wait for that file and perform actions when that file arive into directory ?

Webservice is apstract to me and I don't know how to do that and how to make that.
So traditional way is my way.

Please, If you has some more suggestions and other stuff, don't wait. Please, write it. I have to make this stuff to works, but this is first time I try to do that.

von ICI - am 14.05.2013 06:16
Arie, do you mean to send some file in some directory on PC and with timed (ex: every 3 sec) procedure wait for that file and perform actions when that file arive into directory ?

No I do not use this method. This is more like a pc-kind-of-solution. Using a shared drive from a mobile is not the right way in my opinion.

If it is just about data-access AND you have a good wifi available, I would connect to HFCS directly, if the the intermediate-layer option is too difficult at the moment for you.

But that's definitely the way to go. Maybe you can first have a look at the WD-socket example. It having a client and server part, both running on a PC. So no mobile involved.

von Arie - am 14.05.2013 18:32
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.