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





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