Android ADB Connection issue on a PXA27x hardware

by Srikant » Sun, 01 Aug 2010 00:58:01 GMT


Sponsored Links
 db pull/push commands show 0 bytes transferred??

For adb shell working, try the below from su
#adb kill-server
#adb shell

-

On Jul 30, 3:34pm, Dark Knight <vaisakhru...@gmail.com> wrote:

--



Android ADB Connection issue on a PXA27x hardware

by Dark Knight » Sun, 01 Aug 2010 23:28:01 GMT


 eah it was showing zero bytes, while pulling files, but the files
were getting transferred between PC and devices.
I will try killing server as per your command sequence.


Regards,
Vaisakh P S

On Jul 31, 9:57pm, Srikant <w.sreeka...@gmail.com> wrote:

--


Sponsored Links


Android ADB Connection issue on a PXA27x hardware

by Dark Knight » Mon, 02 Aug 2010 21:31:29 GMT


 I tried giving kill-server and adb shell, but the output is same. it
is giving "error:closed"

One more things I observed was that, when issued the command "adb usb"
after the device was connected and detected (using adb devices). i saw
the following log in logcat:

        disabling adb
        adb_release
        D/jdwp    (  777): adbd disconnected
        D/jdwp    (  837): adbd disconnected
        D/jdwp    (  890): adbd disconnected
        D/jdwp    (  871): adbd disconnected
        D/jdwp    (  917): adbd disconnected
        D/jdwp    (  911): adbd disconnected
        D/jdwp    (  902): adbd disconnected
        D/jdwp    (  844): adbd disconnected
        D/jdwp    (  853): adbd disconnected
        D/jdwp    (  864): adbd disconnected
        D/jdwp    (  784): adbd disconnected
        D/jdwp    (  781): adbd disconnected
        D/jdwp    (  715): adbd disconnected
        D/dalvikvm(  777): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  837): Debugger has detached; object registry had 1
entries
        D/dalvenabling adb
        ikvm(  890): Debugger has detached; object registry had 1 entries
        D/dalvikvm(  871): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  917): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  911): Debugger has detached; object registry had 1
entries
        D/adb_open
        dalvikvm(  902): Debugger has detached; object registry had 1 entries
        D/jdwp    (  924): adbd disconnected
        D/dalvikvm(  844): Debugger has detached; object registry had 1
entries
        D/jdwp    (  811): adbd disconnected
        D/dalvikvm(  853): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  864): Debugger has detached; object registry had 1
entries
        D/jdwp    (  789): adbd disconnected
        D/dalvikvm(  784): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  781): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  715): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  924): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  811): Debugger has detached; object registry had 1
entries
        D/dalvikvm(  789): Debugger has detached; object registry had 1
entries
        I/power   (  715): *** set_screen_state 0

Also, after this any command like "adb shell" or "adb shell <any-
command>" is hanging.

Regards,
Vaisakh P S

-- 



Android ADB Connection issue on a PXA27x hardware

by Dark Knight » Fri, 06 Aug 2010 21:18:58 GMT


 Hi,

Found the problem, adb is creating process using /dev/ptmx device. it
was failing over there, as I had not added Unix PTY support in kernel.

Regards,
Vaisakh P S




-- 



Other Threads

1. inflate popup menu items programatically

Hi,

[I have posted the same query on StackOverflow forum as well. So,
kindly excuse the re-posting here - was not sure if this was a
beginner's level question or a beyond beginner's level]

I have a button in my activity, pressing upon which, the following
method gets called -

private ArrayList<ListView> myListViewList;
private ArrayList<MyListAdapter> myAdapterList;

public void onPopupButtonClick(View button) {
    Log.v(TAG, "onPopupButtonClick");

    PopupMenu popup = new PopupMenu(this, button);
    Menu menu = popup.getMenu();

    // how do i display the myListViewList as items of in this popup
menu
    // i.e how do i inflate myListViewList into menu object?

}
I know how to do this programatically for an activity - creating
linearlayouts and listViews and finally using addContentView on the
activity's context.

But finding it hard to do the same for the popup menu scenario as
described above.

Any help is greatly appreciated.

TIA.

-- 

2. Android 2.3.4 on Nexus One

I just got an OTA notification to update my Nexus One to version
2.3.4.

Where is a release notes for this update?  As a developer, it would be
nice to know what's has changed in the platform.

-- 

3. Chef Recipes Apps

4. How to get MD5 fingerprint for google maps in windows 7 ?

5. ROM Motorola XT800 2.3

6. I keep on getting 401 when sending msg to C2DM server

7. How to connect internet through android emulator application