BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-30-2009, 09:15 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8120
PIN: N/A
Carrier: gmail
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
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, 09:25 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Oct 2006
Model: 7103
Carrier: Verizon
Posts: 259
Post Thanks: 0
Thanked 0 Times in 0 Posts
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, 12:43 PM   #3 (permalink)
Knows Where the Search Button Is
 
andreybutov's Avatar
 
Join Date: Dec 2006
Location: New York City
Model: Many
Carrier: Multiple
Posts: 21
Post Thanks: 0
Thanked 0 Times in 0 Posts
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, 02:19 PM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8120
PIN: N/A
Carrier: gmail
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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





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