PC Review


Reply
Thread Tools Rate Thread

ActiveSync, or write own provider?

 
 
Juan
Guest
Posts: n/a
 
      8th Mar 2004
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


 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGlldGVy?=
Guest
Posts: n/a
 
      8th Mar 2004
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
 
Reply With Quote
 
=?Utf-8?B?S3J6eXN6dG9mIEthem1pZXJjemFr?=
Guest
Posts: n/a
 
      8th Mar 2004
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
 
Reply With Quote
 
=?Utf-8?B?VmluY2UgQ2hpbg==?=
Guest
Posts: n/a
 
      8th Mar 2004
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Ãą



 
Reply With Quote
 
Juan
Guest
Posts: n/a
 
      8th Mar 2004
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


 
Reply With Quote
 
Alberto Silva - MVP
Guest
Posts: n/a
 
      8th Mar 2004
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

"Juan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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).



 
Reply With Quote
 
Juan
Guest
Posts: n/a
 
      9th Mar 2004
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
::
:: "Juan" <(E-Mail Removed)> wrote in message
:: news:(E-Mail Removed)...
::: 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).


 
Reply With Quote
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      10th Mar 2004
Juan,

You could write a desktop app using the Rapi class on www.opennetcf.org that
runs as a service.
--
Ginny Caughey
..Net Compact Framework MVP

"Juan" <(E-Mail Removed)> wrote in message
news:c2jv1b$1tk03v$(E-Mail Removed)...
> 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
> ::
> :: "Juan" <(E-Mail Removed)> wrote in message
> :: news:(E-Mail Removed)...
> ::: 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).
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Managed ActiveSync Service Provider khelb_007@hotmail.com.invalid Microsoft Dot NET Compact Framework 1 23rd Feb 2006 03:19 PM
ActiveSync provider Mike Microsoft Dot NET Compact Framework 11 18th Jan 2005 12:55 PM
ActiveSync service provider (Guid - Oid) Philippe Requilé Microsoft Dot NET Compact Framework 0 24th Mar 2004 10:33 AM
ActiveSync Service Provider Joe Audette Microsoft Dot NET Compact Framework 1 13th Nov 2003 08:37 PM
ActiveSync Provider Craig Microsoft Dot NET Compact Framework 1 25th Aug 2003 01:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:06 PM.