SDK 1.5 and camera preview decoding

by blindfold » Fri, 17 Apr 2009 15:27:39 GMT


Sponsored Links
 Does Cupcake (SDK 1.5) add any support for decoding camera preview
images with BitmapFactory.decodeByteArray(), or does onPreviewFrame(),
as with SDK 1.1, still give only a header-less image data[] that the
Dalvik interpreter must decode pixel-by-pixel (too slow for most
uses)?

Thanks

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



Other Threads

1. another round of emulator DNS problems

Greetings,

I cannot get the android emulator v1.7 on Windows XP to resolve DNS
hostnames I know this is an oft-visited topic on these forums, but
after reading the threads I have not found "resolution".

I am running the emulator on Windows XP, on a notebook with a
disconnected ethernet interface and a connected WiFi interface. My
network is behind a router at 192.168.1.1, which provides DNS to
machines on my network, according to the settings given to it by my
ISP. I am not overriding anything in my hosts file.

I have tried specifying "-dns-server 192.168.1.1" to the emulator, but
it complains that it cannot resolve that hostname and will use the
default.

I have tried specifying a DNS server on the Internet via "-dns-server
tasty.cornbread.com". The emulator again complained that it could not
resolve the DNS server.

I have tried disabling my unconnected NICs. This did not help.

I have tried specifying -verbose to the emulator to see what it is
using for DNS, but I didn't see anything in its output regarding DNS
(except the suspicious ndns=1).

No other application that I use on this machine has any problems with
DNS. I have run out of ideas.

Thanks for any help you may have.
-brian

Here is the output of my configurations:
C:\export\android-sdk-windows-1.0_r2\tools>ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : ODIN
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Wireless Network Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Intel(R) PRO/Wireless
3945ABG Networ
k Connection
        Physical Address. . . . . . . . . : 00-13-02-47-A8-74
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.1.3
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1
        DHCP Server . . . . . . . . . . . : 192.168.1.1
        DNS Servers . . . . . . . . . . . : 192.168.1.1
        Lease Obtained. . . . . . . . . . : Thursday, February 12,
2009 4:15:38
PM
        Lease Expires . . . . . . . . . . : Friday, February 13, 2009
4:15:38 PM


Ethernet adapter Local Area Connection:

        Media State . . . . . . . . . . . : Media disconnected
        Description . . . . . . . . . . . : Broadcom 440x 10/100
Integrated Cont
roller
        Physical Address. . . . . . . . . : 00-15-60-C2-D5-16

C:\export\android-sdk-windows-1.0_r2\tools>emulator -verbose
emulator: autoconfig: -system C:\export\android-sdk-
windows-1.0_r2\tools/lib/ima
ges/
emulator: autoconfig: -datadir C:\Documents and Settings\brian\Local
Settings\Ap
plication Data\Android\SDK-1.0
emulator: autoconfig: -kernel C:\export\android-sdk-
windows-1.0_r2\tools/lib/ima
ges/\kernel-qemu
emulator: autoconfig: -ramdisk C:\export\android-sdk-
windows-1.0_r2\tools/lib/im
ages/\ramdisk.img
emulator: autoconfig: -image C:\export\android-sdk-
windows-1.0_r2\tools/lib/imag
es/\system.img
emulator: autoconfig: -initdata C:\export\android-sdk-
windows-1.0_r2\tools/lib/i
mages/\userdata.img
emulator: autoconfig: -skindir C:\export\android-sdk-
windows-1.0_r2\tools/lib/im
ages/\skins
emulator: autoconfig: -sdcard C:\Documents and Settings\brian\Local
Settings\App
lication Data\Android\SDK-1.0\sdcard.img
emulator: autoconfig: -data C:\Documents and Settings\brian\Local
Settings\Appli
cation Data\Android\SDK-1.0\userdata.img
emulator: autoconfig: -data C:\Documents and Settings\brian\Local
Settings\Appli
cation Data\Android\SDK-1.0\userdata-qemu.img
emulator: parsing built-in skin layout file (size=7714)
emulator: skin network speed: 'full'
emulator: skin network delay: 'none'
emulator: argv[00] = "emulator"
emulator: argv[01] = "-kernel"
emulator: argv[02] = "C:\export\android-sdk-windows-1.0_r2\tools/lib/
images/\ker
nel-qemu"
emulator: argv[03] = "-initrd"
emulator: argv[04] = "C:\export\android-sdk-windows-1.0_r2\tools/lib/
images/\ram
disk.img"
emulator: argv[05] = "-nand"
emulator: argv[06] = "system,size=0x4200000,initfile=C:\export\android-
sdk-windo
ws-1.0_r2\tools/lib/images/\system.img"
emulator: argv[07] = "-nand"
emulator: argv[08] = "userdata,size=0x4200000,file=C:\Documents and
Settings\bri
an\Local Settings\Application Data\Android\SDK-1.0\userdata-qemu.img"
emulator: argv[09] = "-nand"
emulator: argv[10] = "cache,size=0x4200000"
emulator: argv[11] = "-serial"
emulator: argv[12] = "android-kmsg"
emulator: argv[13] = "-serial"
emulator: argv[14] = "android-qemud"
emulator: argv[15] = "-append"
emulator: argv[16] = "qemu=1 console=ttyS0 android.checkjni=1
android.qemud=ttyS
1 android.ndns=1"
emulator: mapping 'system' NAND image to C:\DOCUME~1\brian
\LOCALS~1\Temp\\Androi
dEmulator\TMP3B.tmp
emulator: mapping 'cache' NAND image to C:\DOCUME~1\brian\LOCALS~1\Temp
\\Android
Emulator\TMP3C.tmp
emulator: using 'dynticks' alarm timer
emulator: using 'winaudio' audio input backend
emulator: using 'winaudio' audio output backend
emulator: control console listening on port 5554, ADB on port 5555
emulator: sent '0012host:emulator:5555' to ADB server
emulator: ping program: C:\export\android-sdk-windows-1.0_r2\tools
\ddms.bat
emulator: ping command: C:\WINDOWS\system32\cmd.exe /C "C:\export
\android-sdk-wi
ndows-1.0_r2\tools\ddms.bat" ping emulator 1.7
emulator: emulator window was out of view and was recentred

emulator: not saving new emulator window position since it is not
fully visible
^C
C:\export\android-sdk-windows-1.0_r2\tools>emulator -shell
emulator: emulator window was out of view and was recentred

# netcfg
lo       UP    127.0.0.1       255.0.0.0       0x00000049
eth0     UP    10.0.2.15       255.255.255.0   0x00001043
tunl0    DOWN  0.0.0.0         0.0.0.0         0x00000080
gre0     DOWN  0.0.0.0         0.0.0.0         0x00000080
#



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

2. TIE (Track Incomes and Expenses) - Android application

Hi guys!
I would like to share with you a project Ive worked on for the last
couple of months with a friend (Estiven Rpo), called "TIE your
money".
TIE (Track Incomes and Expenses) helps you control money, making
personal finances EASY and FUN:
-GPS to track incomes or expenses
-Customizable information to easily register again in one step
-Alarm reminders
-Predefined and custom queries
-Exporting data (E-mail, SDCard)

Wondering where your money has gone? TIE it now

Suggestions are well received!
--~--~---------~--~----~------------~-------~--~----~

3. TIE (Track Incomes and Expenses)

4. Where is a system-image for DP1?

5. Building multiple app versions for the Market

6. JNI run time error even I use same code and lib as Android source code.

7. Fine