BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-30-2009, 08:15 AM   #1
abhiyenta
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8120
PIN: N/A
Carrier: gmail
Posts: 18
Default How to use ArrayList,List,File...etc in Blackberry

Please Login to Remove!

hi...i m developing a blackberry application where i want to use a dynamic array type of think....instead of creating a dynamic array i tried to use ArrayList,List
or some other classes in java Collection API.....but during compilation of program it is showing " File not found error........means blackberry is not detacting ArrayList or List classes .............how can i use these classes...........do i have to import any .jar file(if then where to get this jar files) ....or is there any Api like ArrayList /List in rim api.......
Offline  
Old 03-30-2009, 08:25 AM   #2
bemshaswing
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Default

you can only use collection types or other classes found within the blackberry's java class reference. this is for OS version 4.2

there are other types of collection classes available there, hashtable, vectors, etc


Quote:
Originally Posted by abhiyenta View Post
hi...i m developing a blackberry application where i want to use a dynamic array type of think....instead of creating a dynamic array i tried to use ArrayList,List
or some other classes in java Collection API.....but during compilation of program it is showing " File not found error........means blackberry is not detacting ArrayList or List classes .............how can i use these classes...........do i have to import any .jar file(if then where to get this jar files) ....or is there any Api like ArrayList /List in rim api.......
Offline  
Old 03-30-2009, 11:43 AM   #3
andreybutov
Knows Where the Search Button Is
 
andreybutov's Avatar
 
Join Date: Dec 2006
Location: New York City
Model: Many
Carrier: Multiple
Posts: 21
Default

Use BigVector -- it's the more reliable of the available collection classes, and should suit your needs. Prior to building our in-house proprietary collection classes, we used BigVector almost exclusively.
__________________
Antair BlackBerry Software
A spam filter for a cleaner inbox, a call screener to block calls, and more great BlackBerry tools.
www.antair.com
Offline  
Old 03-30-2009, 01:19 PM   #4
abhiyenta
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8120
PIN: N/A
Carrier: gmail
Posts: 18
Default

thank you guys.............i used vector ....it is wrking
thanks again
Offline  
Closed 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

Forum Jump


MSA ALTAIR 4XR 10178557 Detector Multi Gas Meter (LEL, O2, CO, H2S) picture

MSA ALTAIR 4XR 10178557 Detector Multi Gas Meter (LEL, O2, CO, H2S)

$790.00



UNTESTED MSA Model Altair 5X PID Bluetooth Multigas Gas Detector Monitor picture

UNTESTED MSA Model Altair 5X PID Bluetooth Multigas Gas Detector Monitor

$499.99



MSA ALTAIR 4XR picture

MSA ALTAIR 4XR

$700.00



MSA Altair 5X Gas Detector Meter *Recently Calibrated and 30 Day Warranty* picture

MSA Altair 5X Gas Detector Meter *Recently Calibrated and 30 Day Warranty*

$795.00



MSA 10042621 Altair 5X Sampling Probe Straight Air-Line 1' Color Black (E2) picture

MSA 10042621 Altair 5X Sampling Probe Straight Air-Line 1' Color Black (E2)

$295.00



MSA Altair 5X Gas Detector Industrial Kit  10116926 - LEL, O2, CO, H2S picture

MSA Altair 5X Gas Detector Industrial Kit 10116926 - LEL, O2, CO, H2S

$1899.00







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