sasllc
asked on
How to get date and time for mobile devices?
Our customers use Motorola 9090 scanners. For years their scanners' internal date and time would automatically be updated every time they docked the scanner and connected via Activesync, as long as they had a partnership established. But now many are using Win 7, where Activesync is no longer allowed, and to my knowledge, Windows Mobile Device Center does not offer this nice feature that Activesync provided.
In addition, many customers are doing their data transfers wirelessly now, connected to their PC or small network, meaning that they never have reason to dock the scanner anyway.
So now I'm wondering if there is a way, via our vb app, or some other way, to access the current date and time so I can update the scanner's clock. When the scanners do wireless transfers, they are connecting to a computer in the office, and also can connect to websites, making me wonder if there is some way to get current date and time.
Any ideas on how this can be done? TIA
In addition, many customers are doing their data transfers wirelessly now, connected to their PC or small network, meaning that they never have reason to dock the scanner anyway.
So now I'm wondering if there is a way, via our vb app, or some other way, to access the current date and time so I can update the scanner's clock. When the scanners do wireless transfers, they are connecting to a computer in the office, and also can connect to websites, making me wonder if there is some way to get current date and time.
Any ideas on how this can be done? TIA
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No but you can make a web service that requests the time from the Server.
Server: Hosts the webservice method called GetServerTime() basically it returns the DateTime.Now() value.
Client aka the device makes the call GetServerTime() and uses the data.
Server: Hosts the webservice method called GetServerTime() basically it returns the DateTime.Now() value.
Client aka the device makes the call GetServerTime() and uses the data.
ASKER
Unfortunately, I am not at all familiar with doing a web service call like this, so I wouldn't know how or where to begin. If there is a good, preferably simple example you can send or point me to, that would be very helpful.
ASKER
If so, this would be an easy solution for me, since our scanner app is already set up to wirelessly read files from the PC or server.