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


Lot of 6 Vintage Apple Drawstring Bags For iPhone, Mac, Apple Watch, iPod picture

Lot of 6 Vintage Apple Drawstring Bags For iPhone, Mac, Apple Watch, iPod

$45.00



Vintage Apple Computer 4” Paper Cube Notepad Macintosh 80s 90s Office White picture

Vintage Apple Computer 4” Paper Cube Notepad Macintosh 80s 90s Office White

$39.95



Apple 1 Replica IC's: Vintage IC’s Many Types See List NOS 74XXX Types - Apple I picture

Apple 1 Replica IC's: Vintage IC’s Many Types See List NOS 74XXX Types - Apple I

$20.00



VINTAGE COLLECTIBLE IBM APPLE POWERPC MICROPROCESSOR CHIP 343S1174-03 picture

VINTAGE COLLECTIBLE IBM APPLE POWERPC MICROPROCESSOR CHIP 343S1174-03

$9.99



VINTAGE COLLECTIBLE / IBM / APPLE / POWERPC / MICROPROCESSOR CHIP / 90X8941 (JO) picture

VINTAGE COLLECTIBLE / IBM / APPLE / POWERPC / MICROPROCESSOR CHIP / 90X8941 (JO)

$9.99



VINTAGE 1994 Apple Black Toner Laser Writer Cartridge M 2473 G/A NEW SEALED picture

VINTAGE 1994 Apple Black Toner Laser Writer Cartridge M 2473 G/A NEW SEALED

$25.95







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