Android :: Use Proxy Through Router

Oct 4, 2010

I'm having with the wi-fi on android. As many of us know, android has no native support for proxies, unfortunately my school's network uses a proxy server to access the internet. I have a wireless router connected to the network so i can have wireless on my laptop and such. What I was wondering was, can I use the router to allow my android phone to access the internet as well? I reckon it's just a matter of forwarding the right ports to the phone but I'm not sure which ports are in use. I'm using a htc desire and a d-link dir-600 router.

Android :: use proxy through router


Android :: How To Set HTTP Proxy In Programmatic Way?

Sep 2, 2010

I'm looking for a programmatic way to set-up http proxy settings for android handsets. I've tried using android.provider.Settings.System.putString() to set System.HTTP_PROXY, but my call fails (I'm using a 2.2 emulator image at the moment). My code looks like:
if (System.putString(getContentResolver(), System.HTTP_PROXY, "10.10.2.1:8080")) {
tv.append("put for HTTP_PROXY succeeded. ");
} else { tv.append("put for HTTP_PROXY failed. "); }

I've also added to my android manifest:
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
Although it's not clear from the docs which permission, if any, is required.

I'm familiar with this SO thread, but the technique there requires manual adb commands, which require the SDK tools and (possibly) a rooted phone. Is there a way to accomplish this? Ideally, I'd like away to set an http proxy that will be used for both data and WiFi connections.

View 1 Replies View Related

Android :: HTTP Proxy For Emulator On 1.6 R1 SDK?

Oct 22, 2009

I am developing applications for Android in a company where the Internet is accessable via a proxy server only. I found out that the emulator of the 1.5 R3 SDK works well with the option -http-proxy, but the emulator of the 1.6 R1 SDK does not. Is this a bug in the 1.6 R1 SDK? And if so, is there a chance this gets fixed in - let's say - 1.6 R2? Or am I just doing something wrong, though providing the same options for the 2 different emulator versions?

View 9 Replies View Related

Android :: How To Set HTTP Proxy On Emulator?

Jan 12, 2010

I'm developing android application in my university that must use the internet through proxy server. In Android SDK 1.5 I use parameter - http-proxy when starting emulator and it working. But since Android SDK 1.6 until now (2.1) this approach is not working.

View 4 Replies View Related

Android :: Proxy SDK 1.5 R1 - Socket Time Out

Aug 10, 2009

With this SDK version I can use my emulator using a proxy server. There is three solutions: - add values in system table - configure -http-proxy in eclipse run menu - configure APN on emulator to set the proxy. When I use Android browser, it's really slow but it's working. If I try to to a post from my application, I take an ANR and some minutes later a socket time out.

View 2 Replies View Related

Android :: Cannot Set Proxy After Downloading SDK Tools

Nov 3, 2009

I downloaded Android SDK Tools, and when I use the tools to download other packages, there is no way to set proxy. How can I download via proxy? thanks!

View 4 Replies View Related

HTC Desire :: Any Way To Get Proxy Support In Android 2.2?

Jul 17, 2010

I know that android 2.2 also does not support proxy and its really a great problem for people like me who study in schools. I heard that there are custom roms that support proxies (cyanogen rom). There is no proper information on this. I just want to know how good it is for HTC desire.

View 4 Replies View Related

Android :: Setup Emulator Proxy Settings

Oct 15, 2009

I want to to use the browser inside the Android Emulator, and i want to use the proxy settings on my machine, how can i setup this.

Reading the very good manuals of android, they tell me i should start android using the following command

emulator -avd myavd -http-proxy http://168.192.1.2:3300

But still am not able to use the emulator browser. am using the IPAddress for my proxy server.

View 2 Replies View Related

Android :: Application Internet Access Behind Proxy

Sep 28, 2010

I have an android application(Android 2.2) accessing internet behind proxy. I have tried setting an APN with proxy host & port and it works fine in emulator browser. But the application fails to connect to internet. I have also tried command line option of -http-proxy, it doesn't work.

View 3 Replies View Related

Android :: HTTP Connection Failed Via Proxy

Apr 26, 2009

I have set up proxy in the sdk emulaotor and can access internet via the proxy in the browser. but this does not work for my http connection application, it gives "Unknown host exception" i have used -dns-server option when launch the app.

View 2 Replies View Related

Android :: How To Set HTTP Proxy In Real Device?

Jul 6, 2009

I had tried to use the sqlite3 to add a proxy information in the com.android.providers.settings/databases/settings.db, but I still couldn't access the Internet through browser on a real device. I had also tried to use the ProxySetting ap to set proxy. It couldn't work either. Is there any idea to set the http proxy on a real device?

View 2 Replies View Related

Android :: How To Trace Localhost Proxy Connection?

Jun 16, 2010

I'm currently trying to debug an issue with my application and I wanted to see if my internal proxy is sending the data in the proper order. Is there any way to essentially sniff my proxy pipe?

View 3 Replies View Related

Android :: Programmatically Set A Proxy Server In Droid App?

Nov 24, 2010

Is there a way to programmatically set a proxy server in my Android App?
I'm writing an Android App that uses some WebViews. Is there a way to set a proxy server for all network connections in my app, i.e. all content that is shown in the WebViews should be routed through the proxy?
All other Apps on the device should not be affected by this proxy settings.

View 1 Replies View Related

Android :: Install SDK Behind Authenticated Proxy / Get This To Work?

Jan 12, 2010

I'm unable to configure the Android SDK and AVD Manager to acquire packages from behind an authenticated proxy server. I've filled out the proxy fields in the Settings area, but am never ask my username or password. I tried the <username>:<password>@proxyurl method, which doesn't work either.

How can I get this to work?

View 2 Replies View Related

Android :: Setup A Proxy In Droid Phones?

Jan 6, 2010

Am really wondering how to set a proxy server in android phone like [tattoo]
in order to gain access in some private networks

View 2 Replies View Related

Android :: Access Internet In Application Being Behind Proxy

May 17, 2010

I am trying to connect to internet through android emulator being behind proxy. I am using Android 1.6 SDK. I set my proxy details going to Home Screen->Menu Key->Settings-

>Wireless controls->Mobile networks->Access Point Names

View 3 Replies View Related

Android :: Proxy Related Code Changes Needed In Applications

Sep 29, 2010

We recently came to know that a lot of Mobile Carries in Asia/India have proxy enabled to get Internet access via mobile. It turns out our App does not work when the phone has internet via proxy setup (APN). Does the APP need to handle proxy individually?

View 4 Replies View Related

Android :: Java.net.SocketException - Operation Timed Out - Not Behind Proxy

Feb 25, 2009

I'm developing an app which needs to connect to the internet, but when i send a request using DefaultHtpClient.execute() method it takes 2-3 minutes and then the stacktrace says java.net.SocketException:operation timed out............

View 8 Replies View Related

Android :: Http Proxy Settings Not Working In Emulator 2.1

Feb 19, 2010

I am trying to configure http_proxy settings for Internet access from Android emulator (behind a proxy). I tried following options:

1. -http-proxy option using emulator command.

2. setting http_proxy environment and then launching the emulator.

3. Settings proxy using APN settings (Telkilla) (this worked till Android 1.6 version)

4. adding an entry in settings. CODE:.........

I also checked -debug-proxy log messages and it showed below messages

CODE:..............

How can we access Internet from emulator (behind a proxy).

View 11 Replies View Related

Android :: How To Develop Browser By Creating A Proxy Server?

Aug 31, 2010

I'm new to android, n is planning 2 develop a web browser on android os as my final year project....Well my question is can i develop a browser by just creating a proxy server as i being a student cant go for developing a whole server on Internet.

View 2 Replies View Related

Android :: Http Proxy And Chunked Encoding With Emulator

Mar 24, 2009

I am having a specific problem that is preventing me using the android SDK from work. We are using a MS Proxy here that all internet traffic has to go through. The problem seems to be when the emulator is trying to access a site that uses 'Transfer-Encoding: chunked' If I attempt to download www.nds.com (no chunked encoding) into the browser, it works fine. However if I try to go to www.google.com (uses chunked encoding), the browser fails with the message: can't determine content length, and client wants to keep connection opened My feeling (and I'm no expert in this area) is that the underlying code managing the communication through the proxy is not dealing with the null terminator on the chunk encoded response when the connection to the proxy is being kept open? Does anyone have any experience in this area? Is the source to the emulator available so I can try and understand what is going on here?

View 8 Replies View Related

Android :: Proxy Server Don't Allow To Import Google Maps

Oct 11, 2010

I have done all the necessary settings of proxy in my emulator using comand line as well as Graphical from the emulator's mobile settings. By doing this internet browsing is running in my emulator, but when i run my project to import google maps in my application, Only grid shown having no maps on it. I think proxy server donn't let it to download maps from the site.

View 1 Replies View Related

Android :: Setting Up A Proxy Server For Droid Emulator?

Oct 14, 2009

I want to start Android Emulator with internet support but am unable to use the brower on the emulator, it seems like it is not connected. This is the command am using to start the emulator

emulator -avd myavd -http-proxy http://168.192.10.1:3100

Please note am using an IPAddress instead of machine name on my proxy server name. Is this possible with the emulator?

Or what am i doing wrong? Am using Android SDK 1.6

View 2 Replies View Related

Android :: Proxy Support Not Working In Droid 1.6 Emulator / Way To Fix

Sep 17, 2009

After upgrading to SDK 1.6 the emulator seems to be unable the Internet through a proxy (-http-proxy option). The same is working in SDK 1.5R3.

Can anyone confirm? Did I miss something?

View 2 Replies View Related

Android : Enforce Webkit To Use System APN Proxy In Droid?

May 25, 2010

I'm trying to force Webkit to use proxy definde in APN.

My proxy configuration:

APN: wap
PROXY: 192.168.6.102
PORT: 8080
USER: wap
PASSWORD: wap`

Currently all connections made by Webkit are blocked on firewall. Is there way to use proxy from phone profile?

View 1 Replies View Related

General :: How To Make Android Apps To Use HTTP Proxy

Nov 30, 2011

When I connect to the student's wifi network, it requiers to configure the proxy with authentification. Well I'm fine with that, and the browser works all right, but all of the apps which require internet access aren't working. I also noticed, that when I'm configuring the proxy in the settings, it actually says that the HTTP proxy will be used by the browser, but not by some of the apps (in my case none of the apps work, including the pre-installed apps like android market, youtube or google maps).

So my question is that is there any way to make the apps work with the HTTP proxy? I should say that I found this thread on this forum:

[URL]

but I had trouble understanding it. Also if this matters, I'm using an Asus Eee Pad Transformer running android 3.2.1.

View 9 Replies View Related

Android :: IM Server Behind NAT Router

Sep 2, 2010

I am making an IM application for Android. The application consists of a server and client, both residing on the android. At startup, the applications register with a webserver. If a client wants to send an IM to a server behind a NAT router, how this be done? I heard of stun4j and jstun but found nowhere an example of their usage in android.

View 2 Replies View Related

Android :: Wireless Router

Jun 21, 2010

I am looking at purchasing a wireless router so when I am home, my phone will connect, giving me better signal (my signal at my house is not the best). I will be connecting 2 mytouch3g slides to it. I am completely clueless as to what kind of router do I need. What should I be looking for in a router? Is there a specific type so I can have 2 phones linked to it?

View 3 Replies View Related

Android :: Telnet - SSH Into A Router

Oct 28, 2010

Looking to see if it is possible to Telnet/SSH into a router to configure it using my Evo4g.

How would I go about doing it?

Could i use Connectbot? Do i just plug the USB cable into the router? Or do i need some USB -> RJ45 cord to plug into the Console or F/A ports?

View 6 Replies View Related

Android :: Wifi Router Like App

Dec 2, 2009

Is there an app that lets you turn your android device into a mifi? I already have tethering but I want to share a connection with friends if they need it. ...

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved