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

by David Turner » Wed, 29 Apr 2009 06:59:39 GMT


Sponsored Links
 No, ADB doesn't support this at all at the moment. The easy fix is to
configure your DHCP server to
always return the same IP address for your board, based in its MAC address.





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

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



Other Threads

1. Am I missing something really dumb.

I have a service in an APK which starts a Thread which has the following 
in it's run method;

            Intent intent = new Intent("com.funkyandroid.TEST", dataURI);
            MyService.this.sendOrderedBroadcast(intent, null);

In a different APK I have the following in the application section manifest;

        <receiver    android:name=".Receiver" android:exported="true">
            <intent-filter>
                <action android:name="com.funkyandroid.TEST />
            </intent-filter>
        </receiver>

And in the onRecieve(Context,Intent) method has;

        Log.i("Receiver", "Hello Momma!!!!!");

But the receiver doesn't receive the broadcast when I run it in the 
emulator (or at least the log message doesn't get received).

Any hints?

Al.

-- 
======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


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

2. dalvikvm-heap: Can't create VM heap of size 262144

Hey,

I am porting android to an armv5 platform. It works except at the end
I get a can't create VM heap message. The target device has no memory
issues, 44MB free memory. Anyone seen this heap problem before? Here
is the output:

-Billy

binder_open: 732:732
binder_mmap: 732 40008000-40028000 (128 K) vma 71 pagep 5f
binder: 732: allocate pages c4900000-c4901000
binder: 732: add free buffer, size 131032, at c4900000
binder: 732:732 node 1 u00000000 c00000000 created
binder: 732:732 write 4 at bee52b18, read 0 at 00000000
binder: 732:732 BC_ENTER_LOOPER
binder: 732:732 wrote 4 of 4, read return 0 of 0
binder: 732:732 write 0 at 00000000, read 128 at bee52b18

 dalvikvmGC freed 766 objects / 47432 bytes in 43ms
 dalvikvmGC freed 379 objects / 23528 bytes in 44ms
 dalvikvmTrying to load lib /system/lib/libwebcore.so 0x0
 dalvikvmAdded shared lib /system/lib/libwebcore.so 0x0
 dalvikvmGC freed 448 objects / 28280 bytes in 45ms
 dalvikvmGC freed 380 objects / 26056 bytes in 46ms
 dalvikvmGC freed 292 objects / 19336 bytes in 48ms
 dalvikvmGC freed 2149 objects / 112424 bytes in 54ms
 dalvikvmGC freed 556 objects / 42976 bytes in 52ms
 dalvikvmGC freed 13919 objects / 485504 bytes in 79ms
 dalvikvmGC freed 10807 objects / 454032 bytes in 81ms
 SSLSocketFactoryUsing factory
org.apache.harmony.xnet.provider.jsse.opensslsocketfactoryi...@40125d80
dalvikvmGC freed 6662 objects / 282960 bytes in 75ms
 dalvikvmGC freed 645 objects / 35152 bytes in 67ms
 dalvikvmGC freed 590 objects / 30552 bytes in 71ms
 dalvikvmGC freed 372 objects / 26384 bytes in 72ms
 Zygote...preloaded 909 classes in 13193ms. dalvikvmGC freed 41
objects / 2376 bytes in 70ms
 ZygotePreloading resources... dalvikvmGC freed 6 objects / 8928 bytes
in 86ms
 dalvikvmGC freed 198 objects / 10200 bytes in 74ms
 dalvikvmGC freed 253 objects / 10120 bytes in 75ms
 Zygote...preloaded 42 resources in 1009ms. dalvikvmGC freed 15
objects / 1704 bytes in 74ms
 dalvikvmGC freed 99 objects / 3928 bytes in 74ms
 dalvikvmGC freed 30 objects / 1112 bytes in 74ms
 dalvikvmSplitting out new zygote heap
 dalvikvm-heapCan't create VM heap of size 262144
 dalvikvmerror in post-zygote initialization
 dalvikvmVM aborting
 ZygoteProcess 1001 terminated by signal (11)
ZygoteZygote SIGCHLD error (10) in waitpid
 dalvikvmSystem server process 1001 has been created ZygoteAccepting
command socket connections

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. How to instrumentation clicking a button of dialog?

4. How to update Dev phone?

5. android.graphics.PixelFormat

6. Read Image with multiple Frames - Animated Gif

7. Using JNI to call C lib on android platform