ActiveSync, or write own provider?

J

Juan

Hi everyone,

I am about to develop my first app for PocketPC. Basically, what I need to
do is to connect to a PC and retreive a file (which can be a text file, a
database, or an XML file, we still haven´t decided).

My question is... is ActiveSync accessible through an object model? Is it
versatile enough (for example, can I tell ActiveSync to retreive only
certain files depending on the PocketPC device that is connecting)? Is it
better (or even possible) to write my own Sync app?

Thanks, from Spain

Juan Magaña
 
G

Guest

Hi Juan

I'm facing the same problem (see post: copy a file from pc to pocketpc (pocketpc initiated!) from March, 4th). I didn't get an answer yet unfortunatelly

Pieter
 
G

Guest

Hi!

You can use RAPI (Remote API) to do that. If you need help in that, just send me a message ;

Kind regard
Krzysztof Kazmierczak
 
G

Guest

Hi Juan

If your requirement is to only retrieve one or two files then why not just use the inbuilt file synchronisation provided in ActiveSync. This obviously would involve the user creating a partnership and putting the files in the synchronised folder and after synchronisation these files would appear in the handheld's sync'd folder.

This is the solution we've chosen for its simplicity using XML files as the datasource, also we did not want to have to develop an app for the desktop too. On the handheld we programmatically take the files from the handheld's sync'd folder to a temp folder where we update the files. Once our processing has finished we copy the file over the original which then gets synchronised back to the desktop via ActiveSync

Just an idea I thought may be of use to you

Regard

Vince Chi
http://www.netxposure.ne



----- Juan wrote: ----

Hi everyone

I am about to develop my first app for PocketPC. Basically, what I need t
do is to connect to a PC and retreive a file (which can be a text file,
database, or an XML file, we still haven´t decided)

My question is... is ActiveSync accessible through an object model? Is i
versatile enough (for example, can I tell ActiveSync to retreive onl
certain files depending on the PocketPC device that is connecting)? Is i
better (or even possible) to write my own Sync app

Thanks, from Spai

Juan Magañ
 
J

Juan

Hi Vince,

that`s exactly what I intend to do, but I thought I would need to somehow
customise the way ActiveSync works, but as you say it´s probably the way to
go: to use the ActiveSync capabilities to sync either a .txt or .xml file or
the Import/Export database. We will need the info from a SAP database, so it
depends (I don´t know yet) on how SAP gives us the data. The format does not
matter much to me really, my main concern was how to sync, and I think your
approach suits me pretty well.

Thanks, from Spain
Vince Chin wrote:
:: Hi Juan,
::
:: If your requirement is to only retrieve one or two files then why
:: not just use the inbuilt file synchronisation provided in
:: ActiveSync. This obviously would involve the user creating a
:: partnership and putting the files in the synchronised folder and
:: after synchronisation these files would appear in the handheld's
:: sync'd folder.
::
:: This is the solution we've chosen for its simplicity using XML files
:: as the datasource, also we did not want to have to develop an app
:: for the desktop too. On the handheld we programmatically take the
:: files from the handheld's sync'd folder to a temp folder where we
:: update the files. Once our processing has finished we copy the file
:: over the original which then gets synchronised back to the desktop
:: via ActiveSync.
::
:: Just an idea I thought may be of use to you.
::
:: Regards
::
:: Vince Chin
:: http://www.netxposure.net
::
::
::
::
::
:: ----- Juan wrote: -----
::
:: Hi everyone,
::
:: I am about to develop my first app for PocketPC. Basically,
:: what I need to do is to connect to a PC and retreive a file
:: (which can be a text file, a database, or an XML file, we still
:: haven´t decided).
::
:: My question is... is ActiveSync accessible through an object
:: model? Is it versatile enough (for example, can I tell
:: ActiveSync to retreive only certain files depending on the
:: PocketPC device that is connecting)? Is it better (or even
:: possible) to write my own Sync app?
::
:: Thanks, from Spain
::
:: Juan Magaña
 
A

Alberto Silva - MVP

Hola,
Since ActiveSync allow TCP/IP communications on serial & USB connections, I
would write an ASP, ASP.net or a sebservice application that would be called
from the PDA when needed.

Un saludo,
Alberto Silva, desde Portugal :)
 
J

Juan

That`s what I´d like, but it has to be a local application that sincronises
every night....

Alberto Silva - MVP wrote:
:: Hola,
:: Since ActiveSync allow TCP/IP communications on serial & USB
:: connections, I would write an ASP, ASP.net or a sebservice
:: application that would be called from the PDA when needed.
::
:: Un saludo,
:: Alberto Silva, desde Portugal :)
::
:: ::: Hi everyone,
:::
::: I am about to develop my first app for PocketPC. Basically, what I
::: need to do is to connect to a PC and retreive a file (which can be
::: a text file, a database, or an XML file, we still haven´t decided).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top