BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-17-2008, 07:10 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Feb 2008
Model: 7200
PIN: N/A
Carrier: Airtel
Posts: 25
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default cant get PIMList size from batchOperation(PIMList pimlist)

Please Login to Remove!

Hi
i am using PIMListListener2 and implemented its method batchOperation(PIMList pim).

when I synch my device(8800)with desktop manager and add some contacts batchOperation method gets invoked.

when I try to get PIMList size in the same method using enumeration like
----------
Enumeration e = pim.items();
int count =0;
while(e.hasMoreElements())
{

count++;

}
-----------
synch process does not complete and last screen on my desktop saying "one moment please" keeps showing.

it it happening due to accessing PIMList?
how can i get size ?
If I print only name of the PIMList pim it works ok .
does anybody tried anything like this before ...
Offline  
Closed Thread


Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

VECTRON CRYSTAL OSCILLATOR 1MHz CO215DV-5B
$29.99
VECTRON CRYSTAL OSCILLATOR 1MHz CO215DV-5B pictureVINTAGE International Crystal C-12M Frequency Meter
$650.0
VINTAGE International Crystal C-12M Frequency Meter picture100Pcs Crystal Oscillator Dip 16 Mhz 16.000 Mhz Hc-49S Ic New H
$5.54
100Pcs Crystal Oscillator Dip 16 Mhz 16.000 Mhz Hc-49S Ic New H picture214450 Eurofase 12874-019 Fury 3-1/4-Inch Housing Trim Kit, Crystal...
$22.04
214450 Eurofase 12874-019 Fury 3-1/4-Inch Housing Trim Kit, Crystal... picture2000pcs RALTRON as-8.000-16-smd-tr SMT Microprocessor Crystal 17
$101.34
2000pcs RALTRON  as-8.000-16-smd-tr SMT Microprocessor Crystal  17 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.