Signal re-sampling in android

by Tez » Tue, 04 Aug 2009 13:26:55 GMT


Sponsored Links
 Hi,

Is there any library already available for speech signal re-sampling?
I have sample speech input with the following config.

8Khz, 16bit PCM.

I wish to resample to rates like 11.25, 22.5, 44.1khz, 16khz etc.

Is there any open source project doing this?

Cheers,
Earlence
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. LCD can not work

Hello
I am a beginner.
And I have a problem with Porting Android to AT91SAM9261.

  The kernel's start is OK
  And in the console I can see the process.
# ps
USER     PID   PPID  VSIZE RSS   WCHAN    PC         NAME
root     1     0     276   188   00000000 000087e0 R /init
root     2     0     0     0     c005575c 00000000 S kthreadd
root     3     2     0     0     c00475c4 00000000 S ksoftirqd/0
root     4     2     0     0     c0063938 00000000 S watchdog/0
root     5     2     0     0     c0052688 00000000 S events/0
root     6     2     0     0     c0052688 00000000 S khelper
root     45    2     0     0     c0052688 00000000 S kblockd/0
root     51    2     0     0     c0052688 00000000 S ksuspend_usbd
root     57    2     0     0     c016b298 00000000 S khubd
root     63    2     0     0     c0052688 00000000 S kmmcd
root     84    2     0     0     c006e4fc 00000000 S pdflush
root     85    2     0     0     c006e4fc 00000000 S pdflush
root     86    2     0     0     c0071d24 00000000 S kswapd0
root     88    2     0     0     c0052688 00000000 S aio/0
root     675   2     0     0     c0139774 00000000 S kapmd
root     700   2     0     0     c0158250 00000000 S mtdblockd
root     730   2     0     0     c0052688 00000000 S rpciod/0
root     1389  1     740   328   c0045188 afe0d08c S /system/bin/sh
system   1390  1     808   264   c019d708 afe0c45c S /system/bin/
servicemanager
root     1392  1     836   360   c0092834 afe0c584 S /system/bin/vold
root     1393  1     668   264   c01a8420 afe0cdec S /system/bin/
de{*filter*}d
radio    1394  1     3336  648   ffffffff afe0cacc S /system/bin/rild
nobody   1395  1     57384 18116 00000000 ad012fb8 R zygote
media    1396  1     17720 3480  ffffffff afe0c45c S /system/bin/
mediaserver
root     1398  1     800   276   c01a8420 afe0cdec S /system/bin/
installd
root     1399  1     0     0     c0045a04 00000000 Z flash_image
root     1400  1     1268  116   ffffffff 0000e8c4 S /sbin/adbd
root     1409  1389  888   340   00000000 afe0c1bc R ps

But I can not see anything from the LCD.
I can not find fb0 under the path /dev,and find fb0 under the path /
dev/graphics.
Can you give me some help about this problem.

Thanks

The logcat
# logcat
I/vold    ( 1388): Android Volume Daemon version 2.0
E/vold    ( 1388): Unable to open '/sys/class/switch' (m)
D/vold    ( 1388): Bootstrapping complete
E/flash_image( 1395): can't find recovery partition
I/DEBUG   ( 1389): de{*filter*}d: Jun 30 2009 17:00:51
D/AndroidRuntime( 1391):
D/AndroidRuntime( 1391): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 1391): CheckJNI is ON
I/        ( 1392): ServiceManager: 0xac38
W/AudioHardwareInterface( 1392): Using stubbed audio hardware. No
sound will be produced.
I/AudioFlinger( 1392): AudioFlinger's thread ready to run for output 0
I/CameraService( 1392): CameraService started: pid=1392
D/AndroidRuntime( 1391): --- registering native functions ---
I/Zygote  ( 1391): Preloading classes...
D/dalvikvm( 1391): GC freed 764 objects / 42216 bytes in 18ms
D/dalvikvm( 1391): GC freed 278 objects / 17160 bytes in 18ms
D/dalvikvm( 1391): GC freed 208 objects / 12696 bytes in 20ms
D/dalvikvm( 1391): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1391): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1391): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1391): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm( 1391): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1391): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm( 1391): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1391): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm( 1391): GC freed 462 objects / 29144 bytes in 33ms
D/dalvikvm( 1391): GC freed 3598 objects / 172864 bytes in 80ms
D/dalvikvm( 1391): GC freed 11342 objects / 400456 bytes in 152ms
D/dalvikvm( 1391): GC freed 10463 objects / 438072 bytes in 157ms
D/dalvikvm( 1391): GC freed 10957 objects / 459104 bytes in 176ms
D/dalvikvm( 1391): GC freed 14372 objects / 506704 bytes in 201ms
D/dalvikvm( 1391): GC freed 11304 objects / 481424 bytes in 186ms
D/dalvikvm( 1391): GC freed 5938 objects / 248736 bytes in 148ms
D/dalvikvm( 1391): GC freed 349 objects / 37024 bytes in 118ms
D/dalvikvm( 1391): GC freed 778 objects / 48464 bytes in 176ms
D/dalvikvm( 1391): GC freed 321 objects / 37296 bytes in 179ms
D/dalvikvm( 1391): GC freed 477 objects / 29568 bytes in 179ms
D/dalvikvm( 1391): Trying to load lib /system/lib/libwebcore.so 0x0
D/dalvikvm( 1391): Added shared lib /system/lib/libwebcore.so 0x0
D/dalvikvm( 1391): GC freed 441 objects / 26184 bytes in 180ms
D/dalvikvm( 1391): GC freed 506 objects / 41496 bytes in 180ms
D/dalvikvm( 1391): GC freed 537 objects / 38760 bytes in 193ms
D/dalvikvm( 1391): GC freed 342 objects / 22560 bytes in 183ms
D/dalvikvm( 1391): GC freed 338 objects / 18696 bytes in 198ms
D/dalvikvm( 1391): GC freed 629 objects / 32200 bytes in 198ms
D/dalvikvm( 1391): GC freed 14268 objects / 497544 bytes in 317ms
D/dalvikvm( 1391): GC freed 11185 objects / 470192 bytes in 301ms
D/dalvikvm( 1391): GC freed 7102 objects / 310264 bytes in 281ms
D/dalvikvm( 1391): GC freed 752 objects / 43216 bytes in 235ms
D/dalvikvm( 1391): GC freed 598 objects / 31464 bytes in 240ms
D/dalvikvm( 1391): GC freed 413 objects / 26352 bytes in 238ms
I/Zygote  ( 1391): ...preloaded 1166 classes in 34977ms.
D/dalvikvm( 1391): GC freed 313 objects / 19944 bytes in 241ms
I/Zygote  ( 1391): Preloading resources...
D/dalvikvm( 1391): GC freed 54 objects / 11248 bytes in 229ms
D/dalvikvm( 1391): GC freed 337 objects / 14960 bytes in 253ms
D/dalvikvm( 1391): GC freed 280 objects / 11720 bytes in 244ms
I/Zygote  ( 1391): ...preloaded 48 resources in 2945ms.
I/Zygote  ( 1391): ...preloaded 15 resources in 71ms.
D/dalvikvm( 1391): GC freed 117 objects / 8448 bytes in 247ms
D/dalvikvm( 1391): GC freed 205 objects / 8104 bytes in 242ms
D/dalvikvm( 1391): GC freed 36 objects / 1392 bytes in 253ms
I/dalvikvm( 1391): Splitting out new zygote heap
I/dalvikvm( 1391): System server process 1405 has been created
I/Zygote  ( 1391): Accepting command socket connections
D/dalvikvm( 1405): Trying to load lib /system/lib/
libandroid_servers.so 0x0
D/dalvikvm( 1405): Added shared lib /system/lib/libandroid_servers.so
0x0
I/sysproc ( 1405): Entered system_init()
I/sysproc ( 1405): ServiceManager: 0x154f00
I/SurfaceFlinger( 1405): SurfaceFlinger is starting
I/SurfaceFlinger( 1405): SurfaceFlinger's main thread ready to run.
Initializing graphics H/W...
E/MemoryHeapBase( 1405): error opening /dev/pmem: No such file or
directory
E/SurfaceFlinger( 1405): Couldn't open /sys/power/wait_for_fb_sleep
or /sys/power/wait_for_fb_wake
E/GLLogger( 1405): couldn't load <libhgl.so> library (Cannot find
library)
I/SurfaceFlinger( 1405): EGL informations:
I/SurfaceFlinger( 1405): # of configs : 6
I/SurfaceFlinger( 1405): vendor    : Android
I/SurfaceFlinger( 1405): version   : 1.31 Android META-EGL
I/SurfaceFlinger( 1405): extensions:
I/SurfaceFlinger( 1405): Client API: OpenGL ES
W/EGLDisplaySurface( 1405): FBIOPUT_VSCREENINFO failed, page flipping
not supported
W/EGLDisplaySurface( 1405): page flipping not supported
(yres_virtual=272, requested=544)
I/EGLDisplaySurface( 1405): using (fd=21)
I/EGLDisplaySurface( 1405): id           =
I/EGLDisplaySurface( 1405): xres         = 480 px
I/EGLDisplaySurface( 1405): yres         = 272 px
I/EGLDisplaySurface( 1405): xres_virtual = 480 px
I/EGLDisplaySurface( 1405): yres_virtual = 272 px
I/EGLDisplaySurface( 1405): bpp          = 16
I/EGLDisplaySurface( 1405): r            =  0:5
I/EGLDisplaySurface( 1405): g            =  5:5
I/EGLDisplaySurface( 1405): b            = 10:5
I/EGLDisplaySurface( 1405): width        = 76 mm (160.421051 dpi)
I/EGLDisplaySurface( 1405): height       = 43 mm (160.669769 dpi)
I/EGLDisplaySurface( 1405): refresh rate = 33.70 Hz
W/HAL     ( 1405): load: module=/system/lib/hw/copybit.atmel.so
error=Cannot find library
W/HAL     ( 1405): load: module=/system/lib/hw/copybit.default.so
error=Cannot find library
W/SurfaceFlinger( 1405): ro.sf.lcd_density not defined, using 160 dpi
by default.
I/SurfaceFlinger( 1405): OpenGL informations:
I/SurfaceFlinger( 1405): vendor    : Android
I/SurfaceFlinger( 1405): renderer  : Android PixelFlinger 1.0
I/SurfaceFlinger( 1405): version   : OpenGL ES-CM 1.0
I/SurfaceFlinger( 1405): extensions: GL_OES_byte_coordinates
GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format
GL_OES_compressed_paletted_texture GL_OES_draw_texture
GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compression
GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture
GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object
GL_ANDROID_generate_mipmap
W/HAL     ( 1405): load: module=/system/lib/hw/copybit.atmel.so
error=Cannot find library
W/HAL     ( 1405): load: module=/system/lib/hw/copybit.default.so
error=Cannot find library
W/HAL     ( 1405): load: module=/system/lib/hw/overlay.atmel.so
error=Cannot find library
W/HAL     ( 1405): load: module=/system/lib/hw/overlay.default.so
error=Cannot find library
I/sysproc ( 1405): System server: starting Android runtime.
I/sysproc ( 1405): System server: starting Android services.
I/SystemServer( 1405): Entered the Android system server!
I/sysproc ( 1405): System server: entering thread pool.
E/GLLogger( 1405): couldn't load <libhgl.so> library (Cannot find
library)
I/SystemServer( 1405): Starting Power Manager.
I/ARMAssembler( 1405): generated
scanline__00000077:03545404_00000A01_00000000 [ 30 ipp] (51 ins) at
[0x18f950:0x18fa1c] in 0 ns
I/SystemServer( 1405): Starting Activity Manager.
I/SystemServer( 1405): Starting telephony registry
I/SystemServer( 1405): Starting Package Manager.
I/Installer( 1405): connecting...
I/installd( 1394): new connection
I/PackageManager( 1405): Got library android.awt in /system/framework/
android.awt.jar
I/PackageManager( 1405): Got library android.test.runner in /system/
framework/android.test.runner.jar
I/PackageManager( 1405): Got library com.android.im.plugin in /system/
framework/com.android.im.plugin.jar
D/PackageManager( 1405): Scanning app dir /system/framework
D/PackageManager( 1405): Scanning app dir /system/app
D/dalvikvm( 1405): GC freed 6041 objects / 249160 bytes in 712ms
D/dalvikvm( 1405): GC freed 3442 objects / 215208 bytes in 754ms
D/PackageManager( 1405): Scanning app dir /data/app
W/PackageParser( 1405): Intent filter for activity
ActivityIntentInfo{4366e950
com.example.android.apis.media.MediaPlayerDemo_Audio} defines no
actions
W/PackageParser( 1405): Intent filter for activity
ActivityIntentInfo{4366f4a8
com.example.android.apis.media.MediaPlayerDemo_Video} defines no
actions
D/PackageManager( 1405): Scanning app dir /data/app-private
I/PackageManager( 1405): Time to scan packages: 20.144 seconds
W/PackageManager( 1405): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.providers.contacts
W/PackageManager( 1405): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package
com.android.providers.contacts
W/PackageManager( 1405): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.development
W/PackageManager( 1405): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in
package com.android.development
W/PackageManager( 1405): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in
package com.android.development
W/PackageManager( 1405): Unknown permission
com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in
package com.android.development
W/PackageManager( 1405): Unknown permission
com.google.android.providers.gmail.permission.WRITE_GMAIL in package
com.android.settings
W/PackageManager( 1405): Unknown permission
com.google.android.providers.gmail.permission.READ_GMAIL in package
com.android.settings
W/PackageManager( 1405): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.settings
W/PackageManager( 1405): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.browser
W/PackageManager( 1405): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
com.android.contacts
D/dalvikvm( 1405): GC freed 4016 objects / 228712 bytes in 782ms
I/SystemServer( 1405): Starting Content Manager.
W/ActivityManager( 1405): Unable to start service Intent
{ action=android.accounts.IAccountsService
comp={com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} }: not found
W/AccountMonitor( 1405): Couldn't connect to Intent
{ action=android.accounts.IAccountsService
comp={com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} } (Missing service?)
I/SystemServer( 1405): Starting System Content Providers.
I/ActivityThread( 1405): Publishing provider settings:
com.android.providers.settings.SettingsProvider
I/ActivityThread( 1405): Publishing provider sync:
android.content.SyncProvider
I/SystemServer( 1405): Starting Battery Service.
E/BatteryService( 1405): Could not open '/sys/class/power_supply/ac/
online'
E/BatteryService( 1405): Could not open '/sys/class/power_supply/usb/
online'
E/BatteryService( 1405): Could not open '/sys/class/power_supply/
battery/present'
E/BatteryService( 1405): Could not open '/sys/class/power_supply/
battery/capacity'
E/BatteryService( 1405): Could not open '/sys/class/power_supply/
battery/batt_vol'
E/BatteryService( 1405): Could not open '/sys/class/power_supply/
battery/batt_temp'
E/BatteryService( 1405): Could not open '/sys/class/power_supply/
battery/status'
E/BatteryService( 1405): Could not open '/sys/class/power_supply/
battery/health'
E/BatteryService( 1405): Could not open '/sys/class/power_supply/
battery/technology'
I/SystemServer( 1405): Starting Hardware Service.
W/HAL     ( 1405): load: module=/system/lib/hw/lights.atmel.so
error=Cannot find library
W/HAL     ( 1405): load: module=/system/lib/hw/lights.default.so
error=Cannot find library
I/SystemServer( 1405): Starting Alarm Manager.
W/AlarmManager( 1405): Failed to open alarm driver. Falling back to a
handler.
I/SystemServer( 1405): Starting Sensor Service.
W/HAL     ( 1405): load: module=/system/lib/hw/sensors.atmel.so
error=Cannot find library
W/HAL     ( 1405): load: module=/system/lib/hw/sensors.default.so
error=Cannot find library
I/SystemServer( 1405): Starting Window Manager.
E/EventHub( 1405): could not get driver version for /dev/input/mice,
Not a typewriter
W/HAL     ( 1405): load: module=/system/lib/hw/sensors.atmel.so
error=Cannot find library
W/HAL     ( 1405): load: module=/system/lib/hw/sensors.default.so
error=Cannot find library
D/SensorManager( 1405): found sensor: null, handle=0
I/SystemServer( 1405): Starting Bluetooth Service.
I/SystemServer( 1405): Starting Status Bar Service.
I/SystemServer( 1405): Starting Clipboard Service.
I/SystemServer( 1405): Starting Input Method Service.
W/ResourceType( 1405): No package identifier when getting value for
resource number 0x7f060000
W/ResourceType( 1405): No package identifier when getting value for
resource number 0x7f060001
I/InputManagerService( 1405): Enabled input methods:
com.android.inputmethod.pinyin/.PinyinIME:jp.co.omronsoft.openwnn/.OpenWnnJAJP:com.android.inputmethod.latin/.LatinIME:com.example.android.softkeyboard/.SoftKeyboard
I/SystemServer( 1405): Starting NetStat Service.
I/SystemServer( 1405): Starting Connectivity Service.
I/WifiService( 1405): WifiService starting up with Wi-Fi disabled
I/SystemServer( 1405): Starting Notification Manager.
I/SystemServer( 1405): Starting Mount Service.
I/SystemServer( 1405): Starting DeviceStorageMonitor service
I/SystemServer( 1405): Starting Location Manager.
W/PackageManager( 1405): Couldn't clear application caches
D/libhardware_legacy( 1405): no GPS hardware on this device
I/SystemServer( 1405): Starting Search Service.
I/SystemServer( 1405): Starting Checkin Service.
W/ActivityManager( 1405): Unable to start service Intent
{ comp={com.google.android.server.checkin/
com.google.android.server.checkin.CheckinService} }: not found
W/SystemServer( 1405): Using fallback Checkin Service.
I/SystemServer( 1405): Starting Wallpaper Service
D/WallpaperService( 1405): WallpaperService startup
I/SystemServer( 1405): Starting Audio Service
D/dalvikvm( 1405): Trying to load lib /system/lib/libsoundpool.so 0x0
D/dalvikvm( 1405): Added shared lib /system/lib/libsoundpool.so 0x0
W/AudioService( 1405): Soundpool could not load file: /system/media/
audio/ui/Effect_Tick.ogg
W/AudioService( 1405): Soundpool could not load file: /system/media/
audio/ui/KeypressStandard.ogg
W/AudioService( 1405): Soundpool could not load file: /system/media/
audio/ui/KeypressSpacebar.ogg
W/AudioService( 1405): Soundpool could not load file: /system/media/
audio/ui/KeypressDelete.ogg
W/AudioService( 1405): Soundpool could not load file: /system/media/
audio/ui/KeypressReturn.ogg
I/SystemServer( 1405): Starting HeadsetObserver
W/HeadsetObserver( 1405): This kernel does not have wired headset
support
I/SystemServer( 1405): Starting AppWidget Service
I/WindowManager( 1405): Menu key state: -1 safeMode=false
I/WindowManager( 1405): Config changed: { scale=1.0 imsi=0/0
locale=en_US touch=1 key=1/1/2 nav=1 orien=2 }
D/PowerManagerService( 1405): system ready!
W/ResourceType( 1405): No package identifier when getting value for
resource number 0x7f03000c
W/ActivityManager( 1405): Unable to start service Intent
{ action=android.accounts.IAccountsService
comp={com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} }: not found
E/LockPatternKeyguardView( 1405): Failed to bind to GLS while checking
for account
D/dalvikvm( 1405): GC freed 4391 objects / 255800 bytes in 870ms
W/ResourceType( 1405): No package identifier when getting value for
resource number 0x7f030000
W/ResourceType( 1405): No package identifier when getting value for
resource number 0x7f030003
W/ResourceType( 1405): No package identifier when getting value for
resource number 0x7f030008
D/ActivityManager( 1405): Start running!
I/Zygote  ( 1405): Process: zygote socket opened
I/ActivityManager( 1405): Start proc com.android.phone for added
application com.android.phone: pid=1441 uid=1001 gids={3002, 3001,
3003}
I/ActivityManager( 1405): Starting activity: Intent
{ action=android.intent.action.MAIN
categories={android.intent.category.HOME} flags=0x10000000
comp={com.android.launcher/com.android.launcher.Launcher} }
I/ActivityManager( 1405): Start proc android.process.acore for
activity com.android.launcher/.Launcher: pid=1447 uid=10004
gids={3003}
W/ResourceType( 1405): No package identifier when getting value for
resource number 0x00000000
W/StatusBar( 1405): Icon not found in <system>: 0
D/ShutdownThread( 1405): Notifying thread to start radio shutdown
I/ActivityThread( 1447): Publishing provider user_dictionary:
com.android.providers.userdictionary.UserDictionaryProvider
I/ActivityThread( 1447): Publishing provider
com.android.googlesearch.SuggestionProvider:
com.android.googlesearch.SuggestionProvider
I/ActivityThread( 1441): Publishing provider mms-sms:
com.android.providers.telephony.MmsSmsProvider
I/DeviceStorageMonitorService( 1405): Running low on memory. Sending
notification
I/ActivityThread( 1447): Publishing provider contacts;call_log:
com.android.providers.contacts.ContactsProvider
I/ActivityThread( 1441): Publishing provider mms:
com.android.providers.telephony.MmsProvider
I/ActivityThread( 1441): Publishing provider telephony:
com.android.providers.telephony.TelephonyProvider
I/ActivityThread( 1441): Publishing provider sms:
com.android.providers.telephony.SmsProvider
D/ShutdownThread( 1405): Radio and Bluetooth shutdown complete.
D/ShutdownThread( 1405): Shutting down power.
I/ActivityThread( 1441): Publishing provider sim:
com.android.phone.SimProvider
W/ActivityManager( 1405): Unable to start service Intent
{ action=android.accounts.IAccountsService
comp={com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} }: not found
W/AccountMonitor( 1447): Couldn't connect to Intent
{ action=android.accounts.IAccountsService
comp={com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} } (Missing service?)
I/ActivityThread( 1447): Publishing provider
com.android.launcher.settings: com.android.launcher.LauncherProvider
D/StatusBar( 1405): updateResources
W/ActivityManager( 1405): Unable to start service Intent
{ action=com.android.ussd.IExtendedNetworkService }: not found
D/PhoneApp( 1441): Resetting audio state/mode: IDLE
D/dalvikvm( 1447): GC freed 2672 objects / 180488 bytes in 659ms
D/dalvikvm( 1405): GC freed 5570 objects / 278496 bytes in 1231ms
D/HomeLoaders( 1447): load applications
D/HomeLoaders( 1447): loading user items
D/HomeLoaders( 1447):   --> starting workspace loader
I/ActivityManager( 1405): Displayed activity
com.android.launcher/.Launcher: 9438 ms
D/vold    ( 1388): Accepted connection from framework
D/vold    ( 1388): dispatch_cmd(send_ums_status):
D/MountListener( 1405): handleEvent volume_nomedia:/sdcard
D/MountListener( 1405): handleEvent ums_disabled
D/MountListener( 1405): handleEvent ums_disconnected
D/HomeLoaders( 1447):   --> starting applications loader
I/ActivityManager( 1405): Start proc android.process.media for
broadcast com.android.providers.downloads/.DownloadReceiver: pid=1474
uid=10005 gids={1006, 2001, 3003}
I/ActivityThread( 1474): Publishing provider downloads:
com.android.providers.downloads.DownloadProvider
I/ActivityThread( 1474): Publishing provider drm:
com.android.providers.drm.DrmProvider
I/SurfaceFlinger( 1405): Boot is finished (50169 ms)
I/WindowManager( 1405): Config changed: { scale=1.0 imsi=0/0
locale=en_US touch=1 key=1/1/2 nav=1 orien=2 }
I/ARMAssembler( 1405): generated
scanline__00000077:03515104_00000000_00000000 [ 27 ipp] (41 ins) at
[0x1be0b0:0x1be154] in 0 ns
I/ActivityThread( 1474): Publishing provider media:
com.android.providers.media.MediaProvider
I/ARMAssembler( 1405): generated
scanline__00000077:03010104_00000004_00000000 [ 22 ipp] (41 ins) at
[0x1be158:0x1be1fc] in 0 ns
D/dalvikvm( 1405): GC freed 5866 objects / 524056 bytes in 1359ms
V/MediaProvider( 1474): Attached volume: internal
I/ActivityManager( 1405): Start proc com.android.mms for broadcast
com.android.mms/.transaction.MmsSystemEventReceiver: pid=1484
uid=10011 gids={3003}
W/SurfaceComposerClient( 1405): lock_layer timed out (is the CPU
pegged?) layer=1, lcblk=0x423970a0, state=00000012 (was 00000012)
I/ActivityManager( 1405): Stopping service:
com.android.providers.downloads/.DownloadService
D/ActivityManager( 1405): checkComponentPermission() adjusting
{pid,uid} to {1392,1013}
D/dalvikvm( 1405): GREF has increased to 201
D/ActivityManager( 1405): checkComponentPermission() adjusting
{pid,uid} to {1392,1013}
D/ActivityManager( 1405): checkComponentPermission() adjusting
{pid,uid} to {1392,1013}
D/ActivityManager( 1405): checkComponentPermission() adjusting
{pid,uid} to {1392,1013}
I/ActivityManager( 1405): Start proc com.android.alarmclock for
broadcast com.android.alarmclock/.AlarmInitReceiver: pid=1497
uid=10018 gids={}
E/MediaPlayerService( 1392): Couldn't open fd for
content://settings/system/notification_sound
E/MediaPlayer( 1405): Unable to to create media player
W/NotificationService( 1405): error loading sound for
content://settings/system/notification_sound
W/NotificationService( 1405): java.io.IOException: setDataSource
failed.: status=0x80000000
W/NotificationService( 1405):   at
android.media.MediaPlayer.setDataSource(Native Method)
W/NotificationService( 1405):   at
android.media.MediaPlayer.setDataSource(MediaPlayer.java:610)
W/NotificationService( 1405):   at android.media.AsyncPlayer
$Thread.run(AsyncPlayer.java:76)
I/ActivityThread( 1497): Publishing provider com.android.alarmclock:
com.android.alarmclock.AlarmProvider
I/ActivityManager( 1405): Stopping service:
com.android.mms/.transaction.SmsReceiverService
W/ActivityManager( 1405): Timeout executing service:
ServiceRecord{43700c88 com.android.phone/.BluetoothHeadsetService}
I/ActivityManager( 1405): ANR (application not responding) in process:
com.android.phone
I/ActivityManager( 1405): Annotation: Executing service
ComponentInfo{com.android.phone/
com.android.phone.BluetoothHeadsetService}
I/ActivityManager( 1405): CPU usage:
I/ActivityManager( 1405): Load: 3.09 / 0.96 / 0.33
I/ActivityManager( 1405): CPU usage from 8751ms to 1543ms ago:
I/ActivityManager( 1405):   init: 58% = 1% user + 56% kernel
I/ActivityManager( 1405):   system_server: 27% = 26% user + 1% kernel
I/ActivityManager( 1405):   com.android.phone: 2% = 1% user + 0%
kernel
I/ActivityManager( 1405):   android.process.media: 2% = 2% user + 0%
kernel
I/ActivityManager( 1405):   android.process.acore: 2% = 1% user + 0%
kernel
I/ActivityManager( 1405):   rpciod/0: 0% = 0% user + 0% kernel
I/ActivityManager( 1405):   khelper: 0% = 0% user + 0% kernel
I/ActivityManager( 1405):   kswapd0: 0% = 0% user + 0% kernel
I/ActivityManager( 1405):  +com.android.mms: 0% = 0% user + 0% kernel
I/ActivityManager( 1405):  +com.android.alarmclock: 0% = 0% user + 0%
kernel
I/ActivityManager( 1405): TOTAL: 100% = 37% user + 60% kernel + 1% irq
+ 0% softirq
I/ActivityManager( 1405): Removing old ANR trace file from /data/anr/
traces.txt
I/Process ( 1405): Sending signal. PID: 1497 SIG: 3
I/Process ( 1405): Sending signal. PID: 1484 SIG: 3
I/dalvikvm( 1484): threadid=7: reacting to signal 3
I/dalvikvm( 1497): threadid=7: reacting to signal 3
I/Process ( 1405): Sending signal. PID: 1474 SIG: 3
I/dalvikvm( 1474): threadid=7: reacting to signal 3
I/Process ( 1405): Sending signal. PID: 1405 SIG: 3
I/Process ( 1405): Sending signal. PID: 1441 SIG: 3
I/Process ( 1405): Sending signal. PID: 1447 SIG: 3
I/dalvikvm( 1447): threadid=7: reacting to signal 3
I/dalvikvm( 1441): threadid=7: reacting to signal 3
I/dalvikvm( 1405): threadid=7: reacting to signal 3
I/dalvikvm( 1484): Wrote stack trace to '/data/anr/traces.txt'
I/dalvikvm( 1497): Wrote stack trace to '/data/anr/traces.txt'
I/dalvikvm( 1474): Wrote stack trace to '/data/anr/traces.txt'
I/dalvikvm( 1405): Wrote stack trace to '/data/anr/traces.txt'
I/dalvikvm( 1447): Wrote stack trace to '/data/anr/traces.txt'
I/dalvikvm( 1441): Wrote stack trace to '/data/anr/traces.txt'
W/ActivityManager( 1405): Timeout of broadcast
BroadcastRecord{436a0a30 android.intent.action.BOOT_COMPLETED} -
receiver=android.os.binderpr...@43728158
W/ActivityManager( 1405): Receiver during timeout:
ResolveInfo{436cf568 com.android.alarmclock.AlarmInitReceiver p=0 o=0
m=0x108000}
I/ActivityManager( 1405): ANR (application not responding) in process:
com.android.alarmclock
I/ActivityManager( 1405): Annotation: Broadcast of Intent
{ action=android.intent.action.BOOT_COMPLETED
comp={com.android.alarmclock/
com.android.alarmclock.AlarmInitReceiver} }
I/ActivityManager( 1405): CPU usage:
I/ActivityManager( 1405): Load: 3.08 / 0.99 / 0.35
I/ActivityManager( 1405): CPU usage from 7793ms to 119ms ago:
I/ActivityManager( 1405):   init: 75% = 1% user + 73% kernel
I/ActivityManager( 1405):   system_server: 32% = 29% user + 2% kernel
I/ActivityManager( 1405):   android.process.acore: 0% = 0% user + 0%
kernel
I/ActivityManager( 1405):   rpciod/0: 0% = 0% user + 0% kernel
I/ActivityManager( 1405):   kswapd0: 0% = 0% user + 0% kernel
I/ActivityManager( 1405):   android.process.media: 0% = 0% user + 0%
kernel
I/ActivityManager( 1405): TOTAL: 100% = 29% user + 68% kernel + 0% irq
+ 0% softirq
I/ActivityManager( 1405): Removing old ANR trace file from /data/anr/
traces.txt
I/Process ( 1405): Sending signal. PID: 1497 SIG: 3
I/Process ( 1405): Sending signal. PID: 1484 SIG: 3
I/Process ( 1405): Sending signal. PID: 1474 SIG: 3
I/dalvikvm( 1474): threadid=7: reacting to signal 3
I/dalvikvm( 1484): threadid=7: reacting to signal 3
I/Process ( 1405): Sending signal. PID: 1405 SIG: 3
I/dalvikvm( 1405): threadid=7: reacting to signal 3
I/dalvikvm( 1497): threadid=7: reacting to signal 3
I/dalvikvm( 1474): Wrote stack trace to '/data/anr/traces.txt'
I/dalvikvm( 1484): Wrote stack trace to '/data/anr/traces.txt'
I/dalvikvm( 1405): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 1405): Sending signal. PID: 1441 SIG: 3
I/Process ( 1405): Sending signal. PID: 1447 SIG: 3
W/ActivityManager( 1405): finishReceiver called but none active
I/dalvikvm( 1447): threadid=7: reacting to signal 3
I/dalvikvm( 1441): threadid=7: reacting to signal 3
I/dalvikvm( 1497): Wrote stack trace to '/data/anr/traces.txt'
I/dalvikvm( 1441): Wrote stack trace to '/data/anr/traces.txt'
I/dalvikvm( 1447): Wrote stack trace to '/data/anr/traces.txt'
D/MediaScannerService( 1474): start scanning volume internal
D/MediaScanner( 1474): opendir /system/media/ failed, errno: 2
D/MediaScanner( 1474):  prescan time: 241ms
D/MediaScanner( 1474):     scan time: 230ms
D/MediaScanner( 1474): postscan time: 1ms
D/MediaScanner( 1474):    total time: 472ms
D/MediaScannerService( 1474): done scanning volume internal
I/ActivityManager( 1405): Stopping service:
com.android.providers.media/.MediaScannerService
W/ActivityManager( 1405): Timeout of broadcast
BroadcastRecord{4374e650 android.appwidget.action.APPWIDGET_ENABLED} -
receiver=android.os.binderpr...@43728158
W/ActivityManager( 1405): Receiver during timeout:
ResolveInfo{4374e5d0 com.android.alarmclock.AnalogAppWidgetProvider
p=0 o=0 m=0x0}
W/ActivityManager( 1405): Timeout of broadcast
BroadcastRecord{4374e9b8 android.appwidget.action.APPWIDGET_UPDATE} -
receiver=android.os.binderpr...@43728158
W/ActivityManager( 1405): Receiver during timeout:
ResolveInfo{4374e938 com.android.alarmclock.AnalogAppWidgetProvider
p=0 o=0 m=0x0}
D/dalvikvm( 1474): GC freed 2360 objects / 148816 bytes in 537ms
D/dalvikvm( 1484): GC freed 1823 objects / 113088 bytes in 536ms

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website:  http://www.***.com/ 

2. Kube example with simple 3D object select

Hi All,

I am new to Android development and 3D graphic - I need to finish a
project.. well extend a Kube API example to allow user to select a
cube and trigger animation.. basically I need allow user to use Kube.
I have done research.. but I have huge problem with that.

Kind Regards,
Luke

-- 

3. Replace colour in a bitmap

4. Location/maps issues

5. I want to open a camera preview on a push button event

6. Handler.post() and Looper

7. Hide Partitions From My Computer