BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-07-2009, 02:12 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2009
Model: 8520
PIN: N/A
Carrier: Etisalat
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Local Host File on 8520

Please Login to Remove!

Hello,

Is there a way to define the local host file on Blackberry OS 4.6

For example, a file with the following format

80.90.100.101 www.aaa.com redirect
45.33.12.34 www.bb.com

And a request to the URLs will get resolved through the local host file rather than the ISP DNS Server.

Thanks

Last edited by newbie_of_bb : 10-07-2009 at 02:14 PM.
Offline  
Old 10-07-2009, 02:42 PM   #2 (permalink)
BlackBerry God
 
penguin3107's Avatar
 
Join Date: Jan 2005
Model: iOS 5
Carrier: VZW
Posts: 11,701
Post Thanks: 1
Thanked 237 Times in 219 Posts
Default

Nope.
__________________
BCSA
BES 5.0.3 MR4 :-: Exchange 2007 SP3 RU3
http://port3101.org
Offline  
Old 10-07-2009, 02:44 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2009
Model: 8520
PIN: N/A
Carrier: Etisalat
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Not even with a java piece of code on blackberry.

I remember seeing a java code snippet on the net to configure proxy for internet requests. Currently, Blackberry OS does not allow configuring internet proxy.

Local host file seems to be quite basic functionality.

Thanks.
Offline  
Old 10-07-2009, 02:49 PM   #4 (permalink)
BlackBerry God
 
penguin3107's Avatar
 
Join Date: Jan 2005
Model: iOS 5
Carrier: VZW
Posts: 11,701
Post Thanks: 1
Thanked 237 Times in 219 Posts
Default

You can proxy through BES. That's the only way I know how to do it.
I know nothing of java code snippets for altering the networking configuration on the handheld directly.
__________________
BCSA
BES 5.0.3 MR4 :-: Exchange 2007 SP3 RU3
http://port3101.org
Offline  
Old 10-07-2009, 02:59 PM   #5 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2009
Model: 8520
PIN: N/A
Carrier: Etisalat
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please go through the below link. It shows how to use proxy for internet requests from blackberry device.

Re: Wi-fi over proxy server - Java Development - BlackBerry Support Community Forums

Regards.
Offline  
Old 10-08-2009, 06:11 PM   #6 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2009
Model: 8520
PIN: N/A
Carrier: Etisalat
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi penguin3107,

Did you get a chance to try this piece of code.

Regards.
Offline  
Old 10-08-2009, 06:16 PM   #7 (permalink)
Grumpy Moderator
 
NJBlackBerry's Avatar
 
Join Date: Aug 2004
Location: Somewhere in the swamps of Jersey
Model: iPh6
Carrier: AT&T
Posts: 27,824
Post Thanks: 33
Thanked 442 Times in 382 Posts
Default

Did you? Did it work?
Offline  
Old 10-08-2009, 09:43 PM   #8 (permalink)
BlackBerry God
 
penguin3107's Avatar
 
Join Date: Jan 2005
Model: iOS 5
Carrier: VZW
Posts: 11,701
Post Thanks: 1
Thanked 237 Times in 219 Posts
Default

Quote:
Originally Posted by newbie_of_bb View Post
Hi penguin3107,

Did you get a chance to try this piece of code.

Regards.
Huh? No. Why would I?
You're the one looking for a solution, not me.
__________________
BCSA
BES 5.0.3 MR4 :-: Exchange 2007 SP3 RU3
http://port3101.org
Offline  
Old 10-08-2009, 10:06 PM   #9 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2009
Model: 8520
PIN: N/A
Carrier: Etisalat
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi NJBlackBerry/penguin3107,

I am kind a new to BB and Java Programming. I managed to find the relevant code on the net but I am not aware of how to build and deploy the code on my BB unit and therefore test it.


Since penguin3107 thought it wasn't possible to configure the proxy on BB so I assumed he would try it out upon knowing that it is somewhat possible with java developed code posted on the link to Blackberry support community given earlier.

Thanks anyways.

Last edited by newbie_of_bb : 10-08-2009 at 10:10 PM.
Offline  
Old 10-09-2009, 02:31 AM   #10 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2009
Model: 8520
PIN: N/A
Carrier: Etisalat
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

Going back to the actual question related to local host file, is it possible to configure it via the BES as there is no such option on blackberry OS itself.

Thanks.
Offline  
Old 10-09-2009, 07:35 AM   #11 (permalink)
BlackBerry God
 
penguin3107's Avatar
 
Join Date: Jan 2005
Model: iOS 5
Carrier: VZW
Posts: 11,701
Post Thanks: 1
Thanked 237 Times in 219 Posts
Default

Quote:
Originally Posted by newbie_of_bb View Post
Hello,

Going back to the actual question related to local host file, is it possible to configure it via the BES as there is no such option on blackberry OS itself.

Thanks.
Yes, there is.
You can configure a hosts file or DNS on your BES (or wherever your MDS-CS instance is) and then force all handheld web browsing to use MDS.
The handheld will essentially use the hosts file from the BES.
__________________
BCSA
BES 5.0.3 MR4 :-: Exchange 2007 SP3 RU3
http://port3101.org
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.