|
Home > Archive > SQL Anywhere Mobile > February 2006 > Synchronizing via ActiveSync
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Synchronizing via ActiveSync
|
|
| Rolf Knaden 2006-02-15, 3:24 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@conject.com
www.conject.com
konsequent conject.
| |
| Reg Domaratzki \(iAnywhere Solutions\) 2006-02-16, 9:24 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@conject.com> wrote in message
news:43f2daad$1@foru
ms-2-dub...
> 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@conject.com
>
> www.conject.com
>
> konsequent conject.
>
>
| |
| David Fishburn 2006-02-16, 9:24 am |
| "Rolf Knaden" <rolf.knaden@conject.com> wrote in
news:43f2daad$1@foru
ms-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
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]
| |
| Rolf Knaden 2006-02-17, 7:26 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\I
nventar\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@off.ianywhere.com> schrieb im Newsbeitrag
news:Xns976C5E27F13F
4fishburnsybasecom@1
27.0.0.1...
> "Rolf Knaden" <rolf.knaden@conject.com> wrote in
> news:43f2daad$1@foru
ms-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
> [url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]
>
| |
| David Fishburn 2006-02-21, 1:23 pm |
| "Rolf Knaden" <rolf.knaden@conject.com> wrote in
news:43f5bb74$1@foru
ms-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
[url]http://ianywhere.codexchange.sybase.com/servlets/ ProjectDocumentList[
/url]
| |
| Shuchit 2006-02-25, 9:50 am |
| "Rolf Knaden" <rolf.knaden@conject.com> wrote in news:43f5bb74$1@foru
ms-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\I
nventar\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
| |
| Reed Shilts [Sybase] 2006-02-28, 8:34 pm |
| 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@privacy.net> wrote:
>"Rolf Knaden" <rolf.knaden@conject.com> wrote in news:43f5bb74$1@foru
ms-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\I
nventar\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
|
|
|
|
|