How to debug on ADP1 real device?

by WoodManEXP » Fri, 18 Sep 2009 09:15:42 GMT


Sponsored Links
 How to debug on ADP1 real device

Does anyone know how to get the debugger to launch on an ADP1, which
was recently flashed to 1.5? I am running  Eclipse on Windows XP with
the SDK 1.5 USB driver installed (HTC Dream Composite Interface).
Windows can see the device and adb can see the device with db
devicescommand. USB Debugging has been enabled on the device and the
application manifest has android:debuggable="true" set in it.

But when Selecting Run->Debug or Run->Run the avd is always launched.
The instructions say that it should launch to the device or give a
choice if the avd is running too.

Do anyone know what needs to be done to get the debugger to launch
against the real device instead of the avd?

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



Other Threads

1. Facedetector issue

Hey guys,

I have a problem here, I used the facedetector tutorial provided by
Google and got it working. Once I did this I tried creating a menu
that allows a user to take a picture and then once taken, choose an
image to be recognized. The problem arises with the face detection. I
can display the image from the gallery but when I try and recognize a
face within the image it doesn't work.

The code below shows my code;

[code]

   public void onDraw(Canvas canvas) {
    // TODO Auto-generated method stub

             canvas.drawBitmap(bitmap, 0, 0, null);

             Paint myPaint = new Paint();
             myPaint.setColor(Color.GREEN);
             myPaint.setStyle(Paint.Style.STROKE);
             myPaint.setStrokeWidth(3);

             for(int i=0; i < numberOfFaceDetected; i++)
             {
              Face face = myFace[i];
              PointF myMidPoint = new PointF();
              face.getMidPoint(myMidPoint);
              myEyesDistance = face.eyesDistance();
              canvas.drawRect(
                (int)(myMidPoint.x - myEyesDistance),
                (int)(myMidPoint.y - myEyesDistance),
                (int)(myMidPoint.x + myEyesDistance),
                (int)(myMidPoint.y + myEyesDistance),
                myPaint);
             }
   }


   @Override
       public void onActivityResult(int requestCode, int resultCode,
Intent
data) {

               if (requestCode == ACTIVITY_SELECT_IMAGE && resultCode
== RESULT_OK)
{
                       try {
                               Uri currImageURI = data.getData();
                               String[] proj = { Images.Media.DATA,
Images.Media.ORIENTATION };
                               Cursor cursor =
managedQuery(currImageURI, proj, null, null,null);
                               int columnIndex =
cursor.getColumnIndex(proj[0]);
                               cursor.moveToFirst();
                               mCurrentImagePath =
cursor.getString(columnIndex);
                               BitmapFactory.Options
BitmapFactoryOptionsbfo = new
BitmapFactory.Options();
 
BitmapFactoryOptionsbfo.inPreferredConfig =
Bitmap.Config.RGB_565;
                               Bitmap bitmap =
BitmapFactory.decodeFile(mCurrentImagePath);
                               int width = bitmap.getWidth();
                               int height = bitmap.getHeight();
                               myFace = new
FaceDetector.Face[numberOfFace];
                               myFaceDetect = new FaceDetector(width,
height, numberOfFace);
                               numberOfFaceDetected =
myFaceDetect.findFaces(bitmap, myFace);

                               mImageView.setImageBitmap(bitmap);




                        catch (Exception e) {
                       }






               }

[/code]

-- 

2. problems with listview

hi all,

i have problem with listview

i want to get white background i am getting gray color in the list

and also scrollbar is not working in the listview


can please anyone help me out this

regards

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

3. Blank screen when running NativeActivity sample

4. to implement a gallery getting resource from a webservice

5. WebView not responding to KEYCODE_DPAD_CENTER the same way as a Touch

6. Important: XmlPullParserException while accessing SOAP webservice in Android

7. Remote access to phones