Proxy support not working in Android 1.6 emulator

by Markus Junginger » Thu, 17 Sep 2009 16:42:00 GMT


Sponsored Links
 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?

Thanks
Markus

--~--~---------~--~----~------------~-------~--~----~



Proxy support not working in Android 1.6 emulator

by kmphua » Thu, 24 Sep 2009 10:12:51 GMT


 I've tried using the -http-proxy option in 1.6 and it doesn't work
too.
Had to revert to back to 1.5 as a result.

Regards,
Kevin.




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. android.intent.extra.videoQuality not working for image capturing

When looking at the documentation, we can see that the intent whose
action is ACTION_IMAGE_CAPTURE can have the EXTRA_VIDEO_QUALITY
argument:

"The name of the Intent-extra used to control the quality of a
recorded video. This is an integer property. Currently value 0 means
low quality, suitable for MMS messages, and value 1 means high
quality. In the future other quality levels may be added.
Constant Value: "android.intent.extra.videoQuality""

It sounded strange to me that the argument videoQuality was only for
image capture and not video capture. I decided to test. I saw no
quality difference at all by taking two pictures using this argument
with two different values (0 and 1).

Maybe a documentation bug ?

--~--~---------~--~----~------------~-------~--~----~

2. onDraw() help needed....!

Hi all,

I'm relatively new to Android. I want to draw strokes on my screen
when the user touches. Next stroke should be drawn from the end point
of the previous stroke.
This is my code. What happens here is just only the current stroke is
drawn. Previous strokes are vanished? What is wrong here? Please
help..




package src.test;

import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;

public class ActDraw extends Activity implements OnTouchListener {

    float x = 200;
    float y = 200;
    float x1 = 10;
    float y1 = 45;
    float prvx = 150;
    float prvy = 150;
    MyView m;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        m = new MyView(this);
        m.setOnTouchListener(this);
        setContentView(m);

    }
    public boolean onTouch(View v, MotionEvent event) {
        switch (event.getAction()) {
        case MotionEvent.ACTION_DOWN: {
            prvx = x;
            prvy = y;
            x = event.getX();
            y = event.getY();
             m.invalidate();
        }
        }
        return false;
    }

    class MyView extends View {
        Paint p = new Paint();
        Bitmap bm;
        int i;

        public MyView(Context context) {
            super(context);

        }

        @Override
        protected void onDraw(Canvas canvas) {
            super.onDraw(canvas);
            p.setColor(Color.GREEN);
            p.setStrokeWidth(4);
            canvas.drawLine(prvx, prvy, x, y, p);
        }
    }
}
--~--~---------~--~----~------------~-------~--~----~

3. Tabs Control Code

4. How to use the ACTION_EDIT Intent to open the edit activity?

5. pattern unlock screen can't be displayed any more after default build

6. Move to one activity to another

7. Why cannot work correctly with Android-1.5 & radio image of 1.5?