BlackBerryForums.com : Your Number One BlackBerry Community
     

»Sponsored Links


BlackBerryApps.com Best Sellers



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

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.
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
penguin3107 Offline
BlackBerry Mensa
 
penguin3107's Avatar
 
Posts: 8,792
Join Date: Jan 2005
Model: 9700
Carrier: ATT
Default 10-07-2009, 02:42 PM

Nope.


BCSA
BES 5.0 MR3 :-: Exchange 2007 SP1
http://port3101.org
   
Reply With Quote
  (#3 (permalink)) Old
newbie_of_bb Offline
Knows Where the Search Button Is
 
Posts: 20
Join Date: Oct 2009
Model: 8520
PIN: N/A
Carrier: Etisalat
Default 10-07-2009, 02:44 PM

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.
   
Reply With Quote
  (#4 (permalink)) Old
penguin3107 Offline
BlackBerry Mensa
 
penguin3107's Avatar
 
Posts: 8,792
Join Date: Jan 2005
Model: 9700
Carrier: ATT
Default 10-07-2009, 02:49 PM

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 MR3 :-: Exchange 2007 SP1
http://port3101.org
   
Reply With Quote
  (#5 (permalink)) Old
newbie_of_bb Offline
Knows Where the Search Button Is
 
Posts: 20
Join Date: Oct 2009
Model: 8520
PIN: N/A
Carrier: Etisalat
Default 10-07-2009, 02:59 PM

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.
   
Reply With Quote
  (#6 (permalink)) Old
newbie_of_bb Offline
Knows Where the Search Button Is
 
Posts: 20
Join Date: Oct 2009
Model: 8520
PIN: N/A
Carrier: Etisalat
Default 10-08-2009, 06:11 PM

Hi penguin3107,

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

Regards.
   
Reply With Quote
  (#7 (permalink)) Old
NJBlackBerry Offline
Retired BlackBerryForums.com Moderator
 
NJBlackBerry's Avatar
 
Posts: 20,743
Join Date: Aug 2004
Model: 9700
Carrier: T-Mobile
Default 10-08-2009, 06:16 PM

Did you? Did it work?
   
Reply With Quote
  (#8 (permalink)) Old
penguin3107 Offline
BlackBerry Mensa
 
penguin3107's Avatar
 
Posts: 8,792
Join Date: Jan 2005
Model: 9700
Carrier: ATT
Default 10-08-2009, 09:43 PM

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 MR3 :-: Exchange 2007 SP1
http://port3101.org
   
Reply With Quote
  (#9 (permalink)) Old
newbie_of_bb Offline
Knows Where the Search Button Is
 
Posts: 20
Join Date: Oct 2009
Model: 8520
PIN: N/A
Carrier: Etisalat
Default 10-08-2009, 10:06 PM

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.
   
Reply With Quote
  (#10 (permalink)) Old
newbie_of_bb Offline
Knows Where the Search Button Is
 
Posts: 20
Join Date: Oct 2009
Model: 8520
PIN: N/A
Carrier: Etisalat
Default 10-09-2009, 02:31 AM

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.
   
Reply With Quote
  (#11 (permalink)) Old
penguin3107 Offline
BlackBerry Mensa
 
penguin3107's Avatar
 
Posts: 8,792
Join Date: Jan 2005
Model: 9700
Carrier: ATT
Default 10-09-2009, 07:35 AM

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 MR3 :-: Exchange 2007 SP1
http://port3101.org
   
Reply With Quote
Reply


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-2009 BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.