dbTalk Databases Forums  

Synchronizing via ActiveSync

sybase.public.sqlanywhere.mobilink sybase.public.sqlanywhere.mobilink


Discuss Synchronizing via ActiveSync in the sybase.public.sqlanywhere.mobilink forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Rolf Knaden
 
Posts: n/a

Default Synchronizing via ActiveSync - 02-15-2006 , 02:44 AM






Hello.
My application is built in Pocketbuilder 2.0.3 using an ul-database.
I would like to synchronize it via ActiveSync.
Is there any example of what I have to do in my application, in activesync,
on the server?
Thanks.

--
Rolf Knaden
conject GmbH, c/o Business-Contor Philosophenweg 31-33, 47051 Duisburg

Fon: +49 (0203) 9414.138
Fax: +49 (0203) 9414.555
Rolf.Knaden (AT) conject (DOT) com

www.conject.com

konsequent conject.



Reply With Quote
  #2  
Old   
Reg Domaratzki \(iAnywhere Solutions\)
 
Posts: n/a

Default Re: Synchronizing via ActiveSync - 02-16-2006 , 08:31 AM






I'm confused about what you mean when you ask what you need to do in
activsync on the server. Once the stream is passed to the activesync
provider on the desktop from the device, it then passes it on to the
MobiLink Server using TCP/IP or HTTP[s]. You shouldn't need to do anything
"special" at the consolidated if you're using ActiveSync at the remote.

--
Reg Domaratzki, Sybase iAnywhere Solutions
Sybase Certified Professional - Sybase ASA Developer Version 8
Please reply only to the newsgroup

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs : http://downloads.sybase.com/swd/base.do
-> Choose SQL Anywhere Studio
-> Set filter to "Display ALL platforms IN ALL MONTHS"


"Rolf Knaden" <rolf.knaden (AT) conject (DOT) com> wrote

Quote:
Hello.
My application is built in Pocketbuilder 2.0.3 using an ul-database.
I would like to synchronize it via ActiveSync.
Is there any example of what I have to do in my application, in
activesync,
on the server?
Thanks.

--
Rolf Knaden
conject GmbH, c/o Business-Contor Philosophenweg 31-33, 47051 Duisburg

Fon: +49 (0203) 9414.138
Fax: +49 (0203) 9414.555
Rolf.Knaden (AT) conject (DOT) com

www.conject.com

konsequent conject.





Reply With Quote
  #3  
Old   
David Fishburn
 
Posts: n/a

Default Re: Synchronizing via ActiveSync - 02-16-2006 , 09:20 AM



"Rolf Knaden" <rolf.knaden (AT) conject (DOT) com> wrote in
news:43f2daad$1@forums-2-dub of sybase.public.sqlanywhere.mobilink:

RK> My application is built in Pocketbuilder 2.0.3 using an ul-database.
RK> I would like to synchronize it via ActiveSync.
RK> Is there any example of what I have to do in my application, in
RK> activesync, on the server?

Please ALWAYS include version and MORE importantly BUILD number
with EACH post (dbeng9 -v).

There are a few references in the 902 Help file for this:

MobiLink Clients
UltraLite Clients
Synchronizing UltraLite databases on Windows CE
Registering applications for use with ActiveSync

UltraLite C/C++ User's Guide
Developing UltraLite Applications for Windows CE
Synchronization on Windows CE
Adding ActiveSync synchronization to your application

I suspect the first one might be closer to what you are looking for.

Then again a different approach (you can post to
sybase.public.pocketpowerbuilder) would be to tie this into PB. Let PB
be told the application is ActiveSyncing and let your PB code initiate
the sync. Not sure if that would work, but you can ask on the
PocketBuilder forum.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng9 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/swx/sdmain.stm

Developer Community / Whitepapers
http://www.ianywhere.com/developer

CaseXpress - to report bugs
http://casexpress.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #4  
Old   
Rolf Knaden
 
Posts: n/a

Default Re: Synchronizing via ActiveSync - 02-17-2006 , 07:07 AM



My product version shows "9.0.1 (1922)".

My Problem is, up to now I don't have very little knowlegde concerning
synchronisation matters.
My Application already existed and uses a ul-database, which is not
synchronized up to now.
Now I want to synchronize it!
I read the 901 help and succeeded in registrating a service in activesync,
which is acitvated each time, I connect my PPC.
The properties are:
name: Inventar
Class Name: Dialog (???)
File Location: \Programme\Conject\Inventar\bsypdaobj.exe
Arguments: <empty>
But nothing happens. I don't know, what I have to do further on and whether
those things, I did, are right. From the help I don't understand, whether I
have to code something in my PPC-application or elsewhere.
So, if someone had an example, that would be very helpfull.

"David Fishburn" <fishburn_spam (AT) off (DOT) ianywhere.com> schrieb im Newsbeitrag
news:Xns976C5E27F13F4fishburnsybasecom (AT) 127 (DOT) 0.0.1...
Quote:
"Rolf Knaden" <rolf.knaden (AT) conject (DOT) com> wrote in
news:43f2daad$1@forums-2-dub of sybase.public.sqlanywhere.mobilink:

RK> My application is built in Pocketbuilder 2.0.3 using an ul-database.
RK> I would like to synchronize it via ActiveSync.
RK> Is there any example of what I have to do in my application, in
RK> activesync, on the server?

Please ALWAYS include version and MORE importantly BUILD number
with EACH post (dbeng9 -v).

There are a few references in the 902 Help file for this:

MobiLink Clients
UltraLite Clients
Synchronizing UltraLite databases on Windows CE
Registering applications for use with ActiveSync

UltraLite C/C++ User's Guide
Developing UltraLite Applications for Windows CE
Synchronization on Windows CE
Adding ActiveSync synchronization to your application

I suspect the first one might be closer to what you are looking for.

Then again a different approach (you can post to
sybase.public.pocketpowerbuilder) would be to tie this into PB. Let PB
be told the application is ActiveSyncing and let your PB code initiate
the sync. Not sure if that would work, but you can ask on the
PocketBuilder forum.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng9 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/swx/sdmain.stm

Developer Community / Whitepapers
http://www.ianywhere.com/developer

CaseXpress - to report bugs
http://casexpress.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList




Reply With Quote
  #5  
Old   
David Fishburn
 
Posts: n/a

Default Re: Synchronizing via ActiveSync - 02-21-2006 , 02:07 PM



"Rolf Knaden" <rolf.knaden (AT) conject (DOT) com> wrote in
news:43f5bb74$1@forums-2-dub of sybase.public.sqlanywhere.mobilink:


Sorry, I haven't made it back to this thread.
Have you gotten any further?
If so, what do you have so far.

--
David Fishburn
Certified ASA Developer Version 8
iAnywhere Solutions - Sybase
Professional Services
Please only post to the newsgroup
Please ALWAYS include version and MORE importantly BUILD number with
EACH post (dbeng9 -v).

EBFs and Maintenance Releases
http://downloads.sybase.com/swx/sdmain.stm

Developer Community / Whitepapers
http://www.ianywhere.com/developer

CaseXpress - to report bugs
http://casexpress.sybase.com

CodeXchange - Free samples
http://ianywhere.codexchange.sybase....ctDocumentList


Reply With Quote
  #6  
Old   
Shuchit
 
Posts: n/a

Default Re: Synchronizing via ActiveSync - 02-24-2006 , 11:09 PM



"Rolf Knaden" <rolf.knaden (AT) conject (DOT) com> wrote in news:43f5bb74$1@forums-2-
dub:

RK> My product version shows "9.0.1 (1922)".
RK>
RK> My Problem is, up to now I don't have very little knowlegde concerning
RK> synchronisation matters.
RK> My Application already existed and uses a ul-database, which is not
RK> synchronized up to now.
RK> Now I want to synchronize it!
RK> I read the 901 help and succeeded in registrating a service in
activesync,
RK> which is acitvated each time, I connect my PPC.
RK> The properties are:
RK> name: Inventar
RK> Class Name: Dialog (???)
RK> File Location: \Programme\Conject\Inventar\bsypdaobj.exe
RK> Arguments: <empty>
RK> But nothing happens. I don't know, what I have to do further on and
whether
RK> those things, I did, are right. From the help I don't understand,
whether I
RK> have to code something in my PPC-application or elsewhere.
RK> So, if someone had an example, that would be very helpfull.


Hi Rolf,

I am not very familiar with Pocketbuilder, I have an example written in
MFC that I could make available if that would help.

In brief, in order to use the Activesync provider for MobiLink your
application needs to have a custom "window class" and needs to trap a
custom "window message". When ActiveSync begins synchronizing and it
launches the provider for MobiLink, the provider will send a specific
window message to your application. It looks for you application using
the window class and will launch your application if it does not find
it. Your application needs to trap the window message and initiate
MobiLink synchronization. During this synchronization the
synchronization protocol (or stream type) needs to be set to "ActiveSync"
rather than tcp or http.

I have no idea how to accomplish the above in PocketBuilder so I am
cross-posting to the appropriate group.


PS: sorry for the delay in responding but I am on vacation right now.

Shuchit Velkar
Professional Services
iAnywhere Solutions


Reply With Quote
  #7  
Old   
Reed Shilts [Sybase]
 
Posts: n/a

Default Re: Synchronizing via ActiveSync - 02-27-2006 , 10:34 AM



PocketBuilder has all the window message trapping built into
an object that we provide.
Using MobiLink in PocketBuilder is much much easier than
in MFC.

For this customer to synchronize his data, I'd recommend running
through the PocketBuilder synchronization tutorial (one hour max)
and they would see the technique.
I'm sure there is just one step missing and the tutorial will
illuminate that.

HTH,
Reed Shilts
PocketBuilder Development Manager
<Standard-Disclaimers-Apply/>

On 24 Feb 2006 21:09:49 -0800, Shuchit <me (AT) privacy (DOT) net> wrote:

Quote:
"Rolf Knaden" <rolf.knaden (AT) conject (DOT) com> wrote in news:43f5bb74$1@forums-2-
dub:

RK> My product version shows "9.0.1 (1922)".
RK
RK> My Problem is, up to now I don't have very little knowlegde concerning
RK> synchronisation matters.
RK> My Application already existed and uses a ul-database, which is not
RK> synchronized up to now.
RK> Now I want to synchronize it!
RK> I read the 901 help and succeeded in registrating a service in
activesync,
RK> which is acitvated each time, I connect my PPC.
RK> The properties are:
RK> name: Inventar
RK> Class Name: Dialog (???)
RK> File Location: \Programme\Conject\Inventar\bsypdaobj.exe
RK> Arguments: <empty
RK> But nothing happens. I don't know, what I have to do further on and
whether
RK> those things, I did, are right. From the help I don't understand,
whether I
RK> have to code something in my PPC-application or elsewhere.
RK> So, if someone had an example, that would be very helpfull.


Hi Rolf,

I am not very familiar with Pocketbuilder, I have an example written in
MFC that I could make available if that would help.

In brief, in order to use the Activesync provider for MobiLink your
application needs to have a custom "window class" and needs to trap a
custom "window message". When ActiveSync begins synchronizing and it
launches the provider for MobiLink, the provider will send a specific
window message to your application. It looks for you application using
the window class and will launch your application if it does not find
it. Your application needs to trap the window message and initiate
MobiLink synchronization. During this synchronization the
synchronization protocol (or stream type) needs to be set to "ActiveSync"
rather than tcp or http.

I have no idea how to accomplish the above in PocketBuilder so I am
cross-posting to the appropriate group.


PS: sorry for the delay in responding but I am on vacation right now.

Shuchit Velkar
Professional Services
iAnywhere Solutions


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.