BlackBerry Forums Support Community               

View Poll Results: how to import package java.net in blackberry Jde?
possible 1 100.00%
impossible 0 0%
additinal installation 0 0%
no additional installation 0 0%
Multiple Choice Poll. Voters: 1. You may not vote on this poll

Closed Thread
 
LinkBack Thread Tools
Old 11-13-2008, 01:33 AM   #1 (permalink)
New Member
 
Join Date: Oct 2008
Model: 9000
PIN: N/A
Carrier: AT &T
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default import java.net

Please Login to Remove!

Hello all,
I want to use the class "UrlConnection" in my code(JDE 4.6.0)


For that I want to import package java.net.
Can anybody please explain me how to import this package in Blackberry Jde 4.6.0.
Using that class I want to do http post a file.
Offline  
Old 11-13-2008, 02:10 PM   #2 (permalink)
CrackBerry Addict
 
Join Date: May 2005
Location: Golden, CO US
Model: 9700
Carrier: ATT
Posts: 684
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Why can't you just use HttpConnection? There's an example of a POST in the javadocs.
Offline  
Old 11-14-2008, 03:51 AM   #3 (permalink)
New Member
 
Join Date: Oct 2008
Model: 9000
PIN: N/A
Carrier: AT &T
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes it works with HttpConnection.
Thanks!


Quote:
Originally Posted by RemyJ View Post
Why can't you just use HttpConnection? There's an example of a POST in the javadocs.
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

(J06) NEW Genuine OEM Dell 5313118052F0 Generic M-M 6ft Audio Cable Assembly
$25.0
(J06) NEW Genuine OEM Dell 5313118052F0 Generic M-M 6ft Audio Cable Assembly pictureOEM NEW Dell Vostro 430 Desktop Motherboard System Board MS-7466 54KM3 054KM3
$64.95
OEM NEW Dell Vostro 430 Desktop Motherboard System Board MS-7466 54KM3 054KM3 pictureDell Inspiron 15R-5521 3521 OEM Genuine Battery MR90Y 65Wh 11.1v
$5.94
Dell Inspiron 15R-5521 3521 OEM Genuine Battery MR90Y 65Wh 11.1v pictureDELL 725-10284 / 331-2839 / W5RPF Lamp manufactured by DELL
$256.91
DELL 725-10284 / 331-2839 / W5RPF Lamp manufactured by DELL pictureGenuine OEM Dell RF223 High Yield Toner Cartridge CN-0RF223 5,000 18115dn NIB
$25.0
Genuine OEM Dell RF223 High Yield Toner Cartridge CN-0RF223 5,000 18115dn NIB picture






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