Updated to Android SDK 1.5 r1 - adb connectivity problems

by Rob Franz » Tue, 28 Apr 2009 12:49:09 GMT


Sponsored Links
 Hi,
I keep seeing:

[2009-04-28 00:44:32 - DeviceMonitor]Failed to start monitoring
<device name omitted for this post>
[2009-04-28 00:44:33 - DeviceMonitor]Failed to start monitoring
<device name omitted for this post>
[2009-04-28 00:44:36 - DeviceMonitor]Failed to start monitoring
<device name omitted for this post>
[2009-04-28 00:44:37 - ddms]ADB rejected shell command (getprop):

Basically adb logcat might work for a second and then it disconnects.
Same thing with adb shell.

Anyone seen this problem?  If so, how do you remedy the problem?

Thanks.
--~--~---------~--~----~------------~-------~--~----~



Updated to Android SDK 1.5 r1 - adb connectivity problems

by Chander Pechetty » Tue, 28 Apr 2009 22:30:53 GMT


 Describe your platform,
did you flash the 1.5 images onto your device ?
 http://www.htc.com/www/support/android/adp.html 

Unless enough details are  provided, there is very little help one can
give....

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


Sponsored Links


Other Threads

1. Can't figure out how to use SurfaceView properly, nothing is drawn

I had it working with a normal View but that is to slow. I was told to
use SurfaceView but can't figure out how to use OnKey with it and if I
should use onDraw or draw?
And how do I pass stuff to draw? does it happen automatically?


package com.android.WWS;

import android.app.Activity;
import android.content.Context;
import android.graphics.*;
import android.os.Bundle;
import android.view.SurfaceView;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnKeyListener;

public class WWS extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(new GameView(this));
    }

    private static class GameView extends SurfaceView implements
OnKeyListener {
        private Paint mPaint = new Paint();
        private int x;
        private int y;

        public GameView(Context context) {
            super(context);
            x = 135;
            y = 303;
            setFocusable(true);
            requestFocus();
        }

        @Override
        public void onDraw(Canvas canvas) {
            Paint paint = mPaint;
            canvas.translate(10, 10);
            canvas.drawColor(Color.rgb(184,134,11));
            paint.setColor(Color.rgb(107,142,35));
            paint.setStrokeWidth(1);
            canvas.drawRect(x, y, x+30, y+7, paint);
            canvas.drawRect(x+10, y+7, x+20, y+27, paint);
            canvas.drawRect(x+5, y+27, x+25, y+32, paint);
        }

        public boolean onKey(View v, int keyCode, KeyEvent event) {
                if (keyCode == KeyEvent.KEYCODE_DPAD_UP) {
                        y -= 3;
                } else if (keyCode == KeyEvent.KEYCODE_DPAD_LEFT) {
                        x -= 3;
                } else if (keyCode == KeyEvent.KEYCODE_DPAD_DOWN) {
                        y += 3;
                } else if (keyCode == KeyEvent.KEYCODE_DPAD_RIGHT) {
                        x += 3;
                }
                return true;
        }

    }

}


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

2. Adding items to a ListView

After the listview is already initialized, is it possible to add items
to it during runtime?

Thanks!
--~--~---------~--~----~------------~-------~--~----~

3. How to Enable network support for emulator (Android 1.5)

4. How to let Android create my activity within the process which the launcher activity lies in?

5. Are you localizing an app? Do you want to be?

6. Resources causing IndexOutOfBoundsException

7. PROCESS_OUTGOING_SMS