Best Mobile CF App for Better Autonomy Management?

I am creating a mobile application in VB.NET (compact framework), and I am wondering what is the best way to approach potential offline interactions on the device. In fact, the devices have cellular and 802.11, but can remain offline (where there is poor reception, etc.). The driver scans the boxes when they leave their truck, and I want to update the new location - immediately, if there is a network signal, or queued if it is disconnected and processed later. This made me think about how to handle autonomy altogether.

  • I can cache as much data on the device as I can, so I use it if it is disabled - in fact, will each device have a copy of the (corresponding) production data on it? Or is it better to disable certain functions when it is turned off to avoid synchronization headaches later? I know this is a rather specific question, which depends on my application, but I am curious to see if others have taken this path.
  • I myself create an application so that it acts as if it is always offline, sending everything to a local queue belonging to the local class (mostly abstracting from the online / offline), and then offer the server class as possible? What about data retrieval - how can it be processed in semi-live mode?
  • Or do I need the application to try to send requests to the server directly, in real time, and process it if it requests a failure? I see a potential problem when the user is waiting for a timeout, but is this the most reliable way to do this?

I'm not looking for a specific solution, but really just stories about how developers achieve this with the simplest user interface, with reference to a practical guide, or something, or something like that. Thanks for your pointers to this!

+3
source share
3 answers

, "" , . , SQL Server SQL CE , . . . store forward .

, , - WCF, . MSMQ .

, , , "", , . - , ? , ? , , GSM/GPRS ( ), , 802.11. , , , , , .

, , , , , , , .

, - , , .

+2

, " " CF? . , Exchange SOAP- .

0

- , . -, , , , , , , . , , .

0

Source: https://habr.com/ru/post/1698556/


All Articles