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


Schneider Electric Energy Server EBX510 Server For Energy Management- picture

Schneider Electric Energy Server EBX510 Server For Energy Management-

$4350.00



FANUC Server Driver A06B-6077-H111 picture

FANUC Server Driver A06B-6077-H111

$2158.86



FANUC Server Driver A06B-6117-H211 picture

FANUC Server Driver A06B-6117-H211

$3993.99



USA Windows VPS Server / RDP Server / VPS Hosting 12GB RAM 400GB HDD 12 Month picture

USA Windows VPS Server / RDP Server / VPS Hosting 12GB RAM 400GB HDD 12 Month

$335.00



Server SE-SS 07020 Server Express Single Drop-In - NEW - COMPLETE - Genuine OEM picture

Server SE-SS 07020 Server Express Single Drop-In - NEW - COMPLETE - Genuine OEM

$180.00



Intel S2600CP2 Server Board DBS2600CP2 with cables, FW CD docs picture

Intel S2600CP2 Server Board DBS2600CP2 with cables, FW CD docs

$224.00







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