https and port 80 problem

by Dennis Wilmsmann » Mon, 03 Nov 2008 15:34:01 GMT

Sponsored Links
 Hi everyone,
I'm new to Android and have just successfully created some small apps
based upon tutorials and examples. My problem is the network (or
proxy) connection of the Android emulator. I'm behind a proxy and have
no direct connection to the Internet. After some troubleshooting I
found out, the Android web browser is trying to establish https
connection to port 80 and not 443 (the https default port).
Unfortunately, my proxy server only allows https connection on port
443, not 80. Any address I try to access through the Android web
browser is changed to https with port 80, for example 

Any ideas how to fix this problem or a small workaround?


Other Threads

1. When save image, how to specify image name?

I have the following code to save a bitmap to a jpg file. It works except I
couldn't specify the file name.

The image file is save in /sdcard/dcim/Camera. How do I specify a file name,
or even the saved path?


ContentValues values = new ContentValues();
values.put(MediaStore.Images.ImageColumns.DISPLAY_ NAME, "newpic");
values.put(MediaStore.Images.ImageColumns.MIME_TYP E, "image/jpeg");
Uri uri = getContentResolver().insert(MediaStore.Images.Medi

OutputStream out = getContentResolver().openOutputStream(uri);
bitmap.compress(Bitmap.CompressFormat.JPEG, 100, out);
}catch(IOException e){
Log.e("save image", "failed to save image", e);

Kind Regards,


2.$ConnectivityBroadcastReceiver @4337ce70



3. How to run the 'AllTests' of ApiDemos in the android sdk sample

4. What's the correct way to switch off the emulator?

5. emulator - ADB install - user request for permission dangerous protectio

6. How to draw a circular region of a Bitmap?

7. Class Cast Exception after classLoader.loadClass() and newInstance!