BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-21-2008, 03:25 PM   #1 (permalink)
New Member
 
Join Date: Nov 2008
Model: 8830
PIN: N/A
Carrier: verizon wireless
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default trying to use smsdemo and missing java.net

Please Login to Remove!

java newbie here. I'm using the RIM 4.2.1 JDE and trying to build the smsdemo included in the samples. It imports the java.net package, but the net_rim_api.jar does not have the java.net package. Any ideas how to get it and add it?

Thanks!

Neil

Last edited by neil1967 : 11-21-2008 at 03:29 PM. Reason: found something new about the issue
Offline  
Old 11-24-2008, 04:47 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

just looked at SmsDemo.java and could not find any line importing java.net.*

Code:
import net.rim.device.api.ui.*;
import net.rim.device.api.ui.component.*;
import net.rim.device.api.ui.container.*;
import net.rim.device.api.io.*;
import net.rim.device.api.system.*;
import com.rim.samples.device.resource.*;
import net.rim.device.api.i18n.*;
import javax.microedition.io.*;
import java.util.*;
import java.io.*;
import javax.wireless.messaging.*;
__________________
Blessed is the end user who expects nothing, for he/she will not be disappointed. (Franklin's Rule)
Offline  
Old 11-28-2008, 01:37 PM   #3 (permalink)
New Member
 
Join Date: Nov 2008
Model: 8830
PIN: N/A
Carrier: verizon wireless
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ahh, did I mention being a java/BB newbie. I was trying to use the SMSServer.java. Thanks!
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

(1PCS) FDP8440 MOSFET N-CH 40V 100A TO-220 8440
$6.57
(1PCS) FDP8440 MOSFET N-CH 40V 100A TO-220 8440 picture(1PCS) 1N1183A DIODE STD REC 50V 40A DO-5 1N1183
$10.88
(1PCS) 1N1183A DIODE STD REC 50V 40A DO-5 1N1183 picture(3) J201 JFET TRANSISTORS
$7.25
(3) J201 JFET TRANSISTORS picture(1PCS) FDA24N50 MOSFET N-CH 500V 24A TO-3PN 24N50
$5.12
(1PCS) FDA24N50 MOSFET N-CH 500V 24A TO-3PN 24N50 pictureuxcell® 2N3904 Through Hole Three Pins NPN Transistors 20 Pcs
$6.43
uxcell® 2N3904 Through Hole Three Pins NPN Transistors 20 Pcs picture






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