Device not found

by Naren » Wed, 31 Dec 2008 04:00:44 GMT


Sponsored Links
 Hi,

I am trying to run adb shell command in the command prompt. I am
getting Device not found error. I have installed the USB drivers too.

Can you please help me out...

Thanks,
Naren

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



Device not found

by Ralf » Wed, 31 Dec 2008 09:06:18 GMT


 Is this on Windows? Which version?

Can you check in the Device Manager that the USB device appears? If it
doesn't appear at all, it would be an USB issue unrelated to android.
If it appears as unknown, try re-installing the android usb driver
from 1.0_r2.

R/




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


Sponsored Links


Device not found

by narendra madasu » Wed, 31 Dec 2008 09:38:40 GMT


 Hi,
Yes, I am trying on Windows only. I was able to see the USB driver in the
Device Manager and it was showing the device as HTC Dream.

Thanks,
Venkata.






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



Other Threads

1. Custom component rendering problems

Hi.
I've wrote my own custom component UnicodeTextView which extends
TextView. It supports fonts from assets and I'm using it in ListView.
It takes too much time to render hole ListView. Do you know how I can
improve it?

Here is UnicodeTextView.java:

package com.giolekva.android.widget;

import java.util.Map;

import com.giolekva.android.gcontacts.R;

import android.content.Context;
import android.content.Resources;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.TextView;

public class UnicodeTextView extends TextView {
        public UnicodeTextView(Context context, AttributeSet attrs, Map
inflateParams, int defStyle) {
                super(context, attrs, inflateParams, defStyle);

                setFont(attrs);
        }

        public UnicodeTextView(Context context, AttributeSet attrs, Map
inflateParams) {
                super(context, attrs, inflateParams);

                setFont(attrs);
        }


        public UnicodeTextView(Context context) {
                super(context);
        }

        private void setFont(AttributeSet attrs) {
                Resources.StyledAttributes a =
getContext().obtainStyledAttributes(attrs,
R.styleable.UnicodeTextView);
                String fontName = a.getString(R.styleable.UnicodeTextView_font);

                if(fontName != null) {
                        Typeface font = 
Typeface.createFromAsset(getContext().getAssets(),
"fonts/"+fontName);
                        setTypeface(font);
                }
        }
}



and here is attrs.xml:

<?xml version="1.0" encoding="UTF-8"?>
<resources>
        <declare-styleable name="UnicodeTextView">
                <attr name="font" format="string" />
        </declare-styleable>
</resources>


and declaration of one row of ListView:

<?xml version="1.0" encoding="UTF-8"?>
<com.giolekva.android.widget.UnicodeTextView xmlns:android="http://
schemas.android.com/apk/res/android"
        xmlns:gl="http://schemas.android.com/apk/res/
com.giolekva.android.gcontacts"
    android:id="@+id/contact_name"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:textSize="@dimen/text_size"
    android:textColor="@color/black"
    android:paddingLeft="@dimen/padding"
    android:paddingRight="@dimen/padding"
    gl:font="sylfaen.ttf" />

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

2. Use of JMF .jar file

Hello,

I am trying to build an Android application that makes use of some of
the classes within JMF (Java Media Framework). In the end, the
application should be able to stream microphone audio via RTP between
emulators. Unfortunately, when I import the jmf.jar file onto the
build path in Eclipse I keep getting "Conversion to Dalvik format
failed with error 1" errors. It seems that Dalvik cannot convert the
JMF jar file into a usable format. It is definitely the inclusion of
this jar file that is causing the errors as removing the jar file
solves the problem.

Has anyone had any success using the JMF jar file in Android - in
particular, all of those people who have tried (and possibly
succeeded) to obtain live {*filter*} capture as shown on Tom Gibara's
website? N.B. I'm developing on Windows -- just in case the jar file
differs in linux, although seen as it's Java it probably shouldn't.

Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~

3. Can't find root directory of the SDK

4. Wierd trouble installing SDK on Eclipse

5. Contacts.PhonesColumns.OTHER_TYPE

6. Android on non-phones?

7. Activity not found when starting a new activity?