Re: Mobile information transfer options
- From: "neilhza" <humby@xxxxxxxxx>
- Date: 1 Nov 2006 03:47:19 -0800
Hi Peter
Thanks for your suggestion. I did test accessing the desktop over HTTP
from the PDA, which if it worked I would have just developed web
services to transfer the data. Problem is the browser on the PDA isn't
able to browse to the desktop, I'm guessing there's a configuration
error stopping all of this and that is why the sqlconnection object
cannot see the desktop's database. Do you know what I need to do to
enable TCP/IP connections between the PDA and the desktop it is plugged
into? I assumed ActiveSync set this up to access the mobile device
through windows explorer, but it doesn't appear to be the case.
Peter wrote:
This is probably complete overkill for you, but you could use an Httpclient
and POST the XML file across to a custom Handler in IIS. You can trigger the
POST action when the device is cradled and do what you want in the handler
with the XML.
Of course, you need IIS for this and your client may not want that...
Cheers,
Peter
"neilhza" wrote:
Hi
My client requires a simple data transfer utility to synchronise data
for a custom c# app between his windows mobile 5.0 pda and a xp pro
server. I cannot use the sql mobile synchronisation as the cost of
licensing sql 2005 enterprise edition is not feasible for this project.
I have also not been able to get it working on a duplicate of their
environment (xp pro server, no domain).
I'm new to mobile development but not c# windows and web dev. Can
anyone advise me on my options to develop a c# utility to automatically
transfer xml data files between the mobile device and the server it is
connected to via usb?
I really didn't think it would be this hard but I cannot find anything
yet to help me. I have tried using the server explorer to create
database connections and then create datasources (from the Data menu)
on the mobile app, this works in design time as I can preview the data,
but as soon as I run it in the emulator or real mobile 5.0 pda it
throws an empty SQLException (message is also "SQLException"). Can
anyone point me in the right direction to find a way to write this
automation myself?
.
- Follow-Ups:
- Re: Mobile information transfer options
- From: Peter
- Re: Mobile information transfer options
- References:
- Mobile information transfer options
- From: neilhza
- Mobile information transfer options
- Prev by Date: Re: importing data into a sqlce20 database
- Next by Date: Re: Detecting if device conected is WM 5 or 2003
- Previous by thread: Mobile information transfer options
- Next by thread: Re: Mobile information transfer options
- Index(es):
Relevant Pages
|