cancel
Showing results for 
Search instead for 
Did you mean: 

Generic Sync - data transfered format (xml, comma-separated)

Former Member
0 Kudos

Hello gurus,

I have been reading about how to improve the generic sync performance in my handheld application and according to the next thread, , it is possible using comma-separated rather than XML as data transfered format.

Alexander Ilg said "you can use XML because you can put whatever String you want into the GenericSync container. But I think your solution with String values is better, as XML parsing is in general slow on PDAs."

Anyone of you know where and how can I specify the data transfered format?

Some details about my application

I´m using AWT as UI in my PDA application

I´m using Generic Synchronization

My MI version is 7.00 SP14

The response time on my pc is 10 seconds while on my PDA is 30 seconds.

We are using Windows Mobile 5.0

Our mobile device is a Intermec CN3 device

I really appreciate any help

Edited by: Gerardo Silva on Jun 3, 2010 7:52 PM

Edited by: Gerardo Silva on Jun 3, 2010 7:55 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I think I misunderstood Alexander's comment. So far, I realized the data transfered format does not depend on any special configuration rather It depends on how you assing the information on the outbound container.

For example in the next code, the variable PARAMETER_VALUE can be assigned with a "XML Format String" or with "comma-separated format String"

OutboundContainer out = outfactory.createOutboundContainer(...);
out.addItem(PARAMETER_NAME,PARAMETER_VALUE));

According to some threads the comma separated format is recommended for PDAs because the parsing it´s quicker.

Best Regards