(More) Proxy Trouble

by cp77 » Sat, 27 Mar 2010 03:56:08 GMT


Sponsored Links
 Hi,

I new to Android and Java, but I am a roperdeveloper.

I trying to get the emulator to work behind the company proxy, and
thought I had it cracked but I haven.  Ie set up the APN using the
proxy name, port, username and password and now the Browser
application is happy it will pull pages back and display them.  But
following the HelloGoogleMaps and HelloWebView  tutorials and they
don work.  I tried this at on the other side of the proxy and it
works fine for both (so my Google key is OK).

So what I know is...
-http-proxy apparently doesn work
-verbose-proxy should be ebug-proxy but it doesn tell me much
anyway
I have <uses-permission android:name="android.permission.INTERNET" />
in my manifest file.
The SQL INSERT may work but I find it a little offensive that I have
to do it so am still looking for a cleaner official way of resolving
this.

I concluding that this must be a proxy issue as the code works fine
on the other side of the proxy, but I struggling to see how to set
the proxy up correctly for applications.  I thought setting the APN
would be enough but it appears not to be.

Do I need to tell the app to use the APN or something?  How?  As I say
I new to Java and Android so I don know if this is a Java thing or
an Android thing.

Can anyone help?
Thanks,
 -  Chris.

--



(More) Proxy Trouble

by David Turner » Sat, 27 Mar 2010 08:31:04 GMT


 I confirm that -http-proxy doesn't work on Windows (it does on Linux and OS
X though). A fix will be available with the next tools release.
Sorry about that.




>


Sponsored Links


Other Threads

1. Orientation and Webview

I have a webview and I am using
android:configChanges="orientation" to restrain the webview from
reloading everytime the orientation changes.

I also have two different folders layout-port and layout-land to
define the layouts for different orientations.

If I use android:configChanges="orientation" then the above two
folders are ignored. Can I have both working at the same time?

-- 

2. Phone Unlocked Notification

Is there any way to receive an event when the phone is unlocked?  I
know there is a way to query at a specific point in time for whether
the screen is locked or not via:

KeyguardManager k =
(KeyguardManager)this.context.getSystemService(eyguard;
if (k.inKeyguardRestrictedInputMode()) {
    inLockScreen = true;
} else {
    inLockScreen = false;
}

But really I don't want a polling mechanism.  I would like to know if
there is some sort of system broadcast just like the Boot Complete
broadcast.

Thanks!

Nik Bhattacharya

-- 

3. Top 10 iPhone apps

4. Building Android for Nexus One

5. appWidgetId not valid

6. HALO samsung i8520

7. Samdroid Turbo for Samsung Spica