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

20 - Fairchild 2N3054 transistor NOS
$20.0
20 - Fairchild 2N3054 transistor NOS pictureRCA WT-501A TRANSISTOR TESTER
$14.88
RCA WT-501A TRANSISTOR TESTER picture10pcs Aluminum Heat Sink TO-220 Transistor Heatsink Heat Sink M3 Screw Hole Tool
$0.99
10pcs Aluminum Heat Sink TO-220 Transistor Heatsink Heat Sink M3 Screw Hole Tool picture2 Vintage 2N 2079 Germanium PNP Transistors 80V 15A
$19.95
2 Vintage 2N 2079 Germanium PNP Transistors 80V 15A pictureToshiba 2SC3885A NPN Transistors lot of 17 NOS 3885 C3885A TO-3P
$5.45
Toshiba 2SC3885A NPN Transistors lot of 17 NOS 3885 C3885A TO-3P picture






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