how to connect adb to a target that uses DHCP to get IP addr

by twebb » Wed, 29 Apr 2009 04:36:49 GMT


Sponsored Links
 I'm debugging on an OMAP target running android.  The target has
network connectivity via a usb-to-eth dongle and gets its IP address
via DHCP.  Normally, if I knew the IP addr of the target, I'd set
ADBHOST=<ip_addr> and then start adb - and all works well.  So in the
scenario where I don't know the IP addr that was assigned to the
target by the DHCP server, how can I start adb?  Can ADBHOST be set to
a network, like 192.168.1.* ?

Thanks,
twebb

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

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



Other Threads

1. ExpandableListView Problem

Hi all,

I am encountering an exception in the onCreate method of an activity.

java.lang.RuntimeException: Your content must have a
ExpandableListView whose id attribute is 'android.R.id.list'

The onCreate method is as below.

public class TestActivity extends ExpandableListActivity {

        @Override
        protected void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                this.setContentView(R.layout.tab1);
                registerForContextMenu(getExpandableListView());
                getData();
        }
........................

The layout view XML is as below.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content">
<ExpandableListView
        android:id="@+id/list"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
</LinearLayout>

I've already changed the ID of the ExpandableListView to "list". But
it is not effective.

Any ideas on what's wrong? Thanks!

Thanks & Regards,
YCH

-- 

2. Proses Rooting

Akhirnya bisa masuk ke terminal dan sudah melakukan reboot bootloader, setelah 
enter homescreen ke fastboot use, celakanya hubungan mount dr pc ke device 
keputus. Dicoba konek lagi gak bisa.

Ada pilihan HBoot Mode dan Reset Device...

Apa yg harus daku lakukan? *panik*

Sent from my Android

--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. My posts are not displayed

4. Listview and autocomplete problems!

5. How to implement answer function programmetically?

6. Two processes are created on first running of my application?

7. What is the best way to schedule an event that will wake up the phone if it goes into sleep mode?