Pass App HTTP Traffic Through Proxy Installed On PC?

Nov 3, 2011

I am tring to debug an android app. I need to pass all the http trafic of my htc desire s through a proxy server( Paros, WebScarab, etc.) that i have on my pc. I need to intercept the http messages.

I have rooted the phone and installed a proxy on it. I have connected the phone and the pc to the same wifi so that they will be in the same network. After this i have put the pc's ip in the Proxy Host: "192.168.1.2" and the port "8080" on the Proxy Port field because Paros Proxy uses 8080.

pass app HTTP traffic through Proxy installed on PC?


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

General :: How To Set HTTP Proxy For Apps

Apr 29, 2014

My problem is that all my devices are on a wifi network that uses http/https/ftp/SOCKS proxy settings to connect to internet. All the devices connect to internet after I use proxy settings on them. But few applications such as skype do not connect to internet. They work fine when I connect to a wifi network that does not use any proxy settings (at home), but at work when I have to use proxy settings to access internet, the apps fail to connect. I have a couple of devices which are not rooted (Fujitsu Stylistic M532 tablet, Garmin-Asus A10 phone) and I am not sure if I can root them. I would really want to use all the apps.

View 9 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 : Fiddler2 Not Capturing HTTP Traffic

Feb 8, 2010

For HTTP debugging purposes, I'm try to set up Fiddler to capture and display the HTTP traffic from my application. I've installed Fiddler2 and have tried various configuration options to get it to recognize the HTTP traffic.

I've set the "http-proxy" arg to -http-proxy 127.0.01:8888 in the Eclipse Target-Additonal Emulator Command Line Options. (I've even tried 10.0.2.2). I've also run the emulator from the command line, I start Fiddler and then my application. My issue is that Fiddler is not recognizing any of the HTTP traffic.

I'm looking for help in figuring out how to configure Fiddler2 and the Android Target to have Fiddler capture the HTTP traffic .

View 2 Replies View Related

Android : How To Monitor HTTP(S) Traffic / URLs

Oct 13, 2009

I'm interested in whether there is a way to monitor HTTP(S) traffic on an Android phone? What I would like to do is to be able to retrieve all URLs that have been accessed on the phone's browser. I thought that there would be a browser intent for that, but have not seen anything - given I'm green, maybe I just did not know where to look?

I followed the question and answer here, but it works only for hyperlinks which were clicked by the user, however I need to catch all URLs - including the ones typed in by the user. Basically I need to know about every single URL that was opened in the web browser.

Can I register some kind of a handler with the browser?

View 1 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 :: 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

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

Samsung Galaxy I7500 :: Proxy Via HTTP For Using Android Market?

Jul 8, 2010

My provider only permits me to connect to the internet via the web-browser. Only the web-browser works. I want to use the Android market, but it doesn't connect. Is there some sort of proxy I could use to get around this? I can connect to the market if I'm on my home WiFi, but not if I'm on my network GPRS.

View 13 Replies View Related

Android : Mobile Network Types Allow Http Traffic During Phone Calls

Oct 28, 2010

Would this Android code be a correct way to test for http network availability during a phone call, or does it exclude networks that should be included or vice versa:

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

View 1 Replies View Related

Android :: Configure HTTP Proxy With Latest Android Emulator On Windows?

Sep 25, 2010

I'm at complete odds over configuring a proxy to inspect the HTTP(S) traffic for the app I'm developing. I've tried running Fiddler2 and Charles Web Proxy, both run on 127.0.0.1:888, and starting up the Android emulator with the parameter:

To test it out I open the Android browser. I see in Fiddler2 that the request is routed through the proxy. However, only RARELY does the request receive a successful response. In most, and when I say most I mean 99% of the time, the request is retried and fails again with the Android browser telling me "The server failed to communicate". Has anyone found a way to configure Fiddler2 or Charles for debugging HTTP(S) traffic through the Android emulator?

View 1 Replies View Related

HTC Incredible :: Can't Sign Into Application Store Pass Invalid Go To Recover Pass?

Jul 13, 2010

I was just on there yesterday i go into browse tonight and now all of a sudden it says pass world invalid from last night till this morning i tried typing in the little letters they had and I cant read it so I go to the google site. I put the info in and it says sorry account has been terminated for terms and conditions I didnt even do any thing to violate them?

View 1 Replies View Related

HTC Desire :: Installed Apps Downloaded And Installed From Market?

Jul 27, 2010

Is there any way I can extract the .apk for an app I downloaded and installed from the market? So I can store the .apk on my PC

View 7 Replies View Related

Android :: How Can You Tell If An Application Is Installed And What Version Is Installed?

Sep 13, 2010

is there an easy way (api) to do this?

View 6 Replies View Related

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.

View 4 Replies View Related

HTC Desire :: Want A Wifi Proxy App

Apr 9, 2010

I can't use WiFi at work (a uni) as it needs a proxy address. Has anyone found an app to allow proxy settings input? It's a real bad failing for such a great device. I know Android 2.1 doesn't support as standard. Am gutted by their inability to work on this

View 3 Replies View Related

General :: How To Set Proxy For Tethering

Apr 6, 2012

I would like to use a proxy on my tethered connection at my Wildfire S. I can use proxydroid program to connect to internet on my phone but I would like proxy settings to applied for tethered connection on my phone.

So when I connect to my tethered connection on my phone I want to use proxy that is set up on my phone.

Is there a way for that? I found the vpn setting but nothing about proxy.

View 1 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

HTC Desire :: How To Setup WiFi Proxy?

Apr 6, 2010

I have been looking on how to set this up, but I cannot find a way of doing it.

View 9 Replies View Related

General :: Use Proxy For All Internet Applications?

Oct 14, 2013

I am trying to connect to a network that uses proxy. I have entered the manual settings in the network and I am able to browse on the browser as well without any issues. However, no internet applications like playstore whatsapp or youtube works for me.

Any way I can assign proxy for all the applications on the phone.

View 1 Replies View Related

General :: Tethering With Proxy Redirect ICS?

Jun 3, 2012

I have a very nice 3G plan on my Samsung Galaxy Tab 2 (P3100) with Ice Cream Sandwich and i want to use the tethering option to share my internet connection and advertise my business through it. I can successfully share my 3G over wifi but i wanna go a step further and install a proxy on my tablet (or something similar) so when someone accesses my tethering wifi connection gets redirected to a webpage of my choise before being able to access any other websites (just like most proxies work in Hotels/Airports etc but without the need of any password, maybe just pushing an "Accept" button after a few lines of info)

I have done a quick search and all i could find is how to connect to a proxy for internet use at my android device or how to setup a proxy server for USB tethering (with software installed at the PC) but i need a softwareless wifi solution based on http headers so that any device can use it.

View 1 Replies View Related

General :: Use Proxy Server For All Apps?

Aug 23, 2012

how to use proxy server for all apps?

like
proxy: 10.1.100.010
port: 8080
http server: wap.google.com:80

View 2 Replies View Related

Android :: How To Monitor My App Traffic

Apr 26, 2009

In my system, there has a WebView component, and i want to monitor all traffics when WebView open some URL. I know how to monitor whole phone's traffic, there has an example about how to monitor whole phone's traffic:

http://code.google.com/p/android-labs/source/browse/svn/trunk/NetMeter

But I have no any idea on how to monitor only my own app, how can i do?

View 2 Replies View Related

Sudden Drop In Traffic?

Sep 24, 2012

I had a couple apps that were getting around 400 daily installs. They suddenly dropped down to around 50.

View 5 Replies View Related







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