Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Developer's Forum

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-20-2009, 10:29 PM
jeff.parent's Avatar
CrackBerry Abuser
Device Model: 8310 (Curve)
Carrier: AT&T/Cingular
PIN: 209b3a24
 
Join Date: Feb 2009
Location: Ames, IA
Posts: 166
Default Missing classes

So I'm a long time developer, but new to Java. I'm going through some examples and I've found that many of the basic classes are missing.

java.util.List
java.net.*

There are many more but am I missing something here? Is there some package that I should be using instead of java.* for some of these classes? Since theres very few good "How To" 's for programing the BB, I'm kind of at a loss, I guess I'll just have to start creating my own classes.
__________________
BlackBerry Addict in Iowa
PIN: 209B3A24
www.twitter.com/jeffparent
Reply With Quote
  #2  
Old 04-21-2009, 12:49 AM
CrackBerry Abuser
Device Model: 9000 (Bold)
Carrier: Vodafone
 
Join Date: Oct 2008
Posts: 489
Default

The BB JVM does not implement all of Java (naturally). You will need to adapt by looking at the API javadoc and subclassing/using what is provided to you (eg, you can make a List from a Vector, which is provided).
Reply With Quote
  #3  
Old 04-21-2009, 10:31 AM
jeff.parent's Avatar
CrackBerry Abuser
Device Model: 8310 (Curve)
Carrier: AT&T/Cingular
PIN: 209b3a24
 
Join Date: Feb 2009
Location: Ames, IA
Posts: 166
Default

The only problem that I'm really having is that (for this project) I wanted to use someone else's API (Google's Picasa API) which of course uses some of these classes that are not available. Without them, I either have to a) not use the API, b) change the API to use something else. Both of which I'm fine with, but it just makes me a little sad that I have to do one or the other.
__________________
BlackBerry Addict in Iowa
PIN: 209B3A24
www.twitter.com/jeffparent
Reply With Quote
  #4  
Old 04-21-2009, 06:00 PM
CrackBerry Abuser
Device Model: 9000 (Bold)
Carrier: Vodafone
 
Join Date: Oct 2008
Posts: 489
Default

or, c) implement those parts of the API that are missing, perhaps.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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



 
 Site Support | Accessory Order Support | App Store Support | Advertise | Newsletter | About Us

Creating smartphone communities
Android Central - Android reviews, news and forums Crackberry - Blackberry news, reviews and community TiPb - iPhone news, accessory reviews & forums
Pre Central - Palm Pre Review, News and Community Treo Central - Treo & Centro News and Forums WMExperts - Windows Mobile Reviews & News

The names RIM and BlackBerry are registered Trademarks of Research in Motion Limited.
CrackBerry.com is in No Way Affiliated with Research in Motion Limited.
Copyright ©2007-2009 Smartphone Experts. Terms and Conditions. Privacy Policy. All rights reserved.