Repeating alarms with AlarmManager and daylight saving / leap years

by lorenz » Tue, 10 Feb 2009 06:40:09 GMT


Sponsored Links
 Hey

I'm looking for a way to trigger repeated actions. I'd like the user
to be able to choose the intervals at which these actions will be
executed. One should be able to choose from intervals like "Every
Day", "Every Month", and "Every Year". The setRepeating(int, long,
long, PendingIntent) method of the android.app.AlarmManager class only
supports a long value for choosing the interval between the execution
of the pending intent. My problem now is, that I can not just compute
the number of milliseconds that "fit into one day", since not all days
have the same length (daylight saving). This is also a problem for the
interval type "year" (leap years).

I had a quick look at the android.os.Handler class, but as I
understood the documentation I'd need to keep a service thread running
for my actions to be executed at some future time. I don't consider
that a good option for my needs ;-)

Is there anything in the API I could configure with a cron expression
or the like?

I was also thinking about scheduling an alarm with the AlarmManager
for a single execution at a given date/time and then having a receiver
that does the rescheduling according to a cron expression attached to
the intent. But I don't know if I just got something completely wrong
here and I'm reinventing the wheel with that approach :-/

Any advice or pointers would be greatly appreciated :-)

Cheers
Lorenz

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



Re: Repeating alarms with AlarmManager and daylight saving / leap years

by roberto » Thu, 10 Mar 2011 03:42:02 GMT


 Check out the BuzzBox SDK  http://hub.buzzbox.com/android-sdk/ 

You can actually use a cron string to schedule your task:

SchedulerManager.getInstance()
        .saveTask(this, "0 8-19 * * 1,2,3,4,5", YourTask.class);


I'm actively working on this, so I would love your personal feedback.
Roberto

-- 


Sponsored Links


Other Threads

1. Need help about porting android 2.1 to s3c6410

I am porting android 2.1 to s3c6410.
I know this is something wrong about my ALSA driver.
but I am not sure it's the reason that I can see none of the
application after the linux kernel running.

Is there any suggestion?

And where can I get more help about anroid porting on S3C6410?



sorry for my poor english.

#
#
# logcat
I/DEBUG   (  605): de{*filter*}d: May 31 2010 16:38:08
I/vold    (  604): Android Volume Daemon version 2.0
I/vold    (  604): New MMC card 'SD02G' (serial 2864589583) added @ /
devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:532e
I/vold    (  604): Disk (blkdev 179:0), 3842048 secs (1876 MB) 2
partitions
I/vold    (  604): New blkdev 179.0 on media SD02G, media path /
devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:532e, Dpp 2
I/vold    (  604): Partition (blkdev 179:1), 75578 secs (36 MB) type
0x83
I/vold    (  604): New blkdev 179.1 on media SD02G, media path /
devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:532e, Dpp 1
I/vold    (  604): Partition (blkdev 179:2), 3763090 secs (1837 MB)
type 0x83
I/vold    (  604): New blkdev 179.2 on media SD02G, media path /
devices/platform/s3c-sdhci.0/mmc_host/mmc0/mmc0:532e, Dpp 0
E/vold    (  604): Unable to open '/sys/class/switch' (No such file or
directory)
D/vold    (  604): Bootstrapping complete
D/AndroidRuntime(  607):
D/AndroidRuntime(  607): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime(  607): CheckJNI is ON
D/AndroidRuntime(  607): --- registering native functions ---
I/        (  608): ServiceManager: 0xad08
E/ALSALib (  608): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidOut
W/AudioHardwareALSA(  608): Unable to attach mixer to device
AndroidOut: No such file or directory
E/ALSALib (  608): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidIn
W/AudioHardwareALSA(  608): Unable to attach mixer to device
AndroidIn: No such file or directory
I/CameraService(  608): CameraService started: pid=608
D/AudioHardwareALSA(  608): openOutputStream called for devices:
0x00000002
D/ALSAModule(  608): open called for devices 00000002 in mode 0...
E/ALSALib (  608): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker_normal
E/ALSALib (  608): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker
E/ALSALib (  608): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback
I/ALSAModule(  608): Initialized ALSA PLAYBACK device default
I/AudioFlinger(  608): AudioFlinger's thread 0x433d8 ready to run
D/ALSAModule(  608): route called for devices 00000002 in mode 0...
I/SamplingProfilerIntegration(  607): Profiler is disabled.
I/Zygote  (  607): Preloading classes...
D/dalvikvm(  607): GC freed 793 objects / 50568 bytes in 4ms
D/dalvikvm(  607): GC freed 251 objects / 16168 bytes in 4ms
D/dalvikvm(  607): GC freed 295 objects / 18768 bytes in 5ms
D/dalvikvm(  607): GC freed 214 objects / 13712 bytes in 6ms
D/dalvikvm(  607): GC freed 413 objects / 26432 bytes in 7ms
D/skia    (  607): ------ build_power_table 1.4
D/skia    (  607): ------ build_power_table 0.714286
D/dalvikvm(  607): GC freed 420 objects / 28752 bytes in 7ms
D/dalvikvm(  607): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  607): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  607): Trying to load lib /system/lib/libexif.so 0x0
D/dalvikvm(  607): Added shared lib /system/lib/libexif.so 0x0
D/dalvikvm(  607): GC freed 2314 objects / 121408 bytes in 10ms
D/dalvikvm(  607): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  607): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  607): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  607): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  607): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  607): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  607): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm(  607): Shared lib '/system/lib/libmedia_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  607): GC freed 3790 objects / 197008 bytes in 18ms
D/dalvikvm(  607): GC freed 461 objects / 26336 bytes in 16ms
D/dalvikvm(  607): GC freed 294 objects / 17056 bytes in 18ms
D/dalvikvm(  607): GC freed 204 objects / 11432 bytes in 19ms
D/dalvikvm(  607): GC freed 178 objects / 9560 bytes in 20ms
D/dalvikvm(  607): Trying to load lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm(  607): Added shared lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm(  607): Trying to load lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm(  607): Shared lib '/system/lib/libsrec_jni.so' already
loaded in same CL 0x0
D/dalvikvm(  607): GC freed 296 objects / 34800 bytes in 22ms
D/dalvikvm(  607): GC freed 123 objects / 24512 bytes in 31ms
D/dalvikvm(  607): GC freed 337 objects / 38432 bytes in 32ms
D/dalvikvm(  607): GC freed 418 objects / 25816 bytes in 33ms
D/dalvikvm(  607): Trying to load lib /system/lib/libwebcore.so 0x0
D/dalvikvm(  607): Added shared lib /system/lib/libwebcore.so 0x0
D/dalvikvm(  607): GC freed 432 objects / 25120 bytes in 33ms
D/dalvikvm(  607): GC freed 489 objects / 30704 bytes in 33ms
D/dalvikvm(  607): GC freed 349 objects / 28904 bytes in 34ms
D/dalvikvm(  607): GC freed 309 objects / 21816 bytes in 35ms
D/dalvikvm(  607): GC freed 915 objects / 80120 bytes in 38ms
D/dalvikvm(  607): GC freed 664 objects / 35904 bytes in 39ms
D/dalvikvm(  607): GC freed 709 objects / 41272 bytes in 39ms
D/dalvikvm(  607): GC freed 735 objects / 40680 bytes in 40ms
D/dalvikvm(  607): GC freed 14045 objects / 475616 bytes in 48ms
D/dalvikvm(  607): GC freed 10480 objects / 448616 bytes in 52ms
D/dalvikvm(  607): GC freed 10818 objects / 463168 bytes in 56ms
D/dalvikvm(  607): GC freed 8203 objects / 461704 bytes in 56ms
D/dalvikvm(  607): GC freed 7893 objects / 461280 bytes in 56ms
D/dalvikvm(  607): GC freed 8539 objects / 518840 bytes in 58ms
D/dalvikvm(  607): GC freed 6616 objects / 397216 bytes in 57ms
D/dalvikvm(  607): GC freed 832 objects / 49432 bytes in 55ms
D/dalvikvm(  607): GC freed 541 objects / 38792 bytes in 55ms
D/dalvikvm(  607): GC freed 456 objects / 31176 bytes in 55ms
D/dalvikvm(  607): GC freed 430 objects / 29744 bytes in 56ms
I/Zygote  (  607): ...preloaded 1939 classes in 11809ms.
D/dalvikvm(  607): GC freed 112 objects / 14528 bytes in 55ms
I/Zygote  (  607): Preloading resources...
D/dalvikvm(  607): GC freed 5 objects / 224 bytes in 56ms
D/dalvikvm(  607): GC freed 327 objects / 16728 bytes in 57ms
D/dalvikvm(  607): GC freed 269 objects / 12704 bytes in 57ms
I/Zygote  (  607): ...preloaded 48 resources in 722ms.
I/Zygote  (  607): ...preloaded 15 resources in 21ms.
D/dalvikvm(  607): GC freed 114 objects / 8688 bytes in 58ms
D/dalvikvm(  607): GC freed 206 objects / 8168 bytes in 57ms
D/dalvikvm(  607): GC freed 24 objects / 936 bytes in 56ms
I/dalvikvm(  607): Splitting out new zygote heap
I/dalvikvm(  607): System server process 624 has been created
I/Zygote  (  607): Accepting command socket connections
D/dalvikvm(  624): Trying to load lib /system/lib/
libandroid_servers.so 0x0
D/dalvikvm(  624): Added shared lib /system/lib/libandroid_servers.so
0x0
E/BatteryService(  624): usbOnlinePath not found
E/BatteryService(  624): batteryVoltagePath not found
I/sysproc (  624): Entered system_init()
I/sysproc (  624): ServiceManager: 0x133f58
I/SurfaceFlinger(  624): SurfaceFlinger is starting
I/SurfaceFlinger(  624): SurfaceFlinger's main thread ready to run.
Initializing graphics H/W...
I/gralloc (  624): using (fd=23)
I/gralloc (  624): id           = s3cfb
I/gralloc (  624): xres         = 480 px
I/gralloc (  624): yres         = 272 px
I/gralloc (  624): xres_virtual = 480 px
I/gralloc (  624): yres_virtual = 544 px
I/gralloc (  624): bpp          = 16
I/gralloc (  624): r            = 11:5
I/gralloc (  624): g            =  5:6
I/gralloc (  624): b            =  0:5
I/gralloc (  624): width        = 480 mm (25.400000 dpi)
I/gralloc (  624): height       = 272 mm (25.400000 dpi)
I/gralloc (  624): refresh rate = 0.83 Hz
D/libEGL  (  624): egl.cfg not found, using default config
D/libEGL  (  624): loaded /system/lib/egl/libGLES_android.so
I/SurfaceFlinger(  624): EGL informations:
I/SurfaceFlinger(  624): # of configs : 8
I/SurfaceFlinger(  624): vendor    : Android
I/SurfaceFlinger(  624): version   : 1.4 Android META-EGL
I/SurfaceFlinger(  624): extensions: EGL_KHR_image EGL_KHR_image_base
EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer
EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
I/SurfaceFlinger(  624): Client API: OpenGL ES
I/SurfaceFlinger(  624): EGLSurface: 5-6-5-0, config=0x1000000
I/SurfaceFlinger(  624): flags     : 001c0000
W/SurfaceFlinger(  624): ro.sf.lcd_density not defined, using 160 dpi
by default.
I/SurfaceFlinger(  624): OpenGL informations:
I/SurfaceFlinger(  624): vendor    : Android
I/SurfaceFlinger(  624): renderer  : Android PixelFlinger 1.2
I/SurfaceFlinger(  624): version   : OpenGL ES-CM 1.0
I/SurfaceFlinger(  624): 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_OES_EGL_image
GL_ARB_texture_compression GL_ARB_texture_non_power_of_two
GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object
GL_ANDROID_generate_mipmap
I/sysproc (  624): System server: starting Android runtime.
I/sysproc (  624): System server: starting Android services.
I/SystemServer(  624): Entered the Android system server!
I/sysproc (  624): System server: entering thread pool.
D/libEGL  (  641): egl.cfg not found, using default config
D/libEGL  (  641): loaded /system/lib/egl/libGLES_android.so
W/zipro   (  641): Unable to open zip '/data/local/bootanimation.zip':
No such file or directory
W/zipro   (  641): Unable to open zip '/system/media/
bootanimation.zip': No such file or directory
I/SystemServer(  624): Entropy Service
I/ARMAssembler(  641): generated
scanline__00000077:03545404_00000A01_00000000 [ 30 ipp] (51 ins) at
[0x1b2b8:0x1b384] in 0 ns
I/SystemServer(  624): Power Manager
I/SystemServer(  624): Activity Manager
I/ActivityManager(  624): Memory class: 16
W/UsageStats(  624): Usage stats version changed; dropping
I/SystemServer(  624): Telephony Registry
I/SystemServer(  624): Package Manager
I/Installer(  624): connecting...
I/installd(  612): new connection
I/PackageManager(  624): Libs: android.test.runner:/system/framework/
android.test.runner.jar javax.obex:/system/framework/javax.obex.jar
I/PackageManager(  624): Features: android.hardware.wifi
android.hardware.location.network android.hardware.bluetooth
android.hardware.location android.hardware.location.gps
android.hardware.touchscreen android.hardware.sensor.accelerometer
android.hardware.sensor.compass
W/PackageManager(  624): Running ENG build: no pre-dexopt!
D/PackageManager(  624): Scanning app dir /system/framework
D/dalvikvm(  624): GC freed 6685 objects / 286176 bytes in 99ms
D/PackageManager(  624): Scanning app dir /system/app
D/dalvikvm(  624): GC freed 3551 objects / 224224 bytes in 89ms
W/PackageParser(  624): No actions in intent filter at /system/app/
Bluetooth.apk Binary XML file line #91
D/PackageManager(  624): Scanning app dir /data/app
D/PackageManager(  624): Scanning app dir /data/app-private
I/PackageManager(  624): Time to scan packages: 5.615 seconds
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.providers.contacts
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package
com.android.providers.contacts
W/PackageManager(  624): Unknown permission
com.google.android.providers.gmail.permission.WRITE_GMAIL in package
com.android.settings
W/PackageManager(  624): Unknown permission
com.google.android.providers.gmail.permission.READ_GMAIL in package
com.android.settings
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.settings
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
com.android.contacts
W/PackageManager(  624): Unknown permission
android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.providers.calendar
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.cl in package
com.android.providers.calendar
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.development
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in
package com.android.development
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in
package com.android.development
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in
package com.android.development
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
com.android.calendar
W/PackageManager(  624): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.browser
D/dalvikvm(  624): GC freed 5143 objects / 291392 bytes in 99ms
D/dalvikvm(  624): GC freed 2632 objects / 172832 bytes in 91ms
I/SystemServer(  624): Account Manager
W/ResourceType(  624): Resources don't contain package for resource
number 0x7f0700e5
W/ResourceType(  624): Resources don't contain package for resource
number 0x7f020031
W/ResourceType(  624): Resources don't contain package for resource
number 0x7f020030
W/ResourceType(  624): Resources don't contain package for resource
number 0x7f050000
I/SystemServer(  624): Content Manager
I/SyncManager(  624): No initial accounts
I/SyncManager(  624): No initial status
I/SyncManager(  624): No initial pending operations
I/SyncManager(  624): No initial statistics
I/SystemServer(  624): System Content Providers
I/ActivityThread(  624): Publishing provider settings:
com.android.providers.settings.SettingsProvider
I/SystemServer(  624): Battery Service
I/SystemServer(  624): Hardware Service
I/power   (  624): *** set_screen_state 1
I/SystemServer(  624): Alarm Manager
I/SystemServer(  624): Init Watchdog
I/SystemServer(  624): Sensor Service
I/SystemServer(  624): Window Manager
I/EventHub(  624): New device: path=/dev/input/event1 name=S3C
TouchScreen id=0x10000 (of 0x1) index=1 fd=49 classes=0x4
E/EventHub(  624): could not get driver version for /dev/input/mouse0,
Not a typewriter
E/EventHub(  624): could not get driver version for /dev/input/mice,
Not a typewriter
I/EventHub(  624): New keyboard: publicID=65537 device->id=0x10001
devname='gpio-keys' propName='hw.keyboards.65537.devname' keylayout='/
system/usr/keylayout/qwerty.kl'
I/EventHub(  624): New device: path=/dev/input/event0 name=gpio-keys
id=0x10001 (of 0x2) index=2 fd=52 classes=0x1
I/KeyInputQueue(  624): Device added: id=0x0, name=gpio-keys,
classes=1
I/KeyInputQueue(  624): Device added: id=0x10000, name=S3C
TouchScreen, classes=4
I/KeyInputQueue(  624):   X: min=0 max=800 flat=0 fuzz=0
I/KeyInputQueue(  624):   Y: min=0 max=480 flat=0 fuzz=0
I/KeyInputQueue(  624):   Pressure: min=0 max=1 flat=0 fuzz=0
I/KeyInputQueue(  624):   Size: unknown values
I/KeyInputQueue(  624): No virtual keys found
D/SensorManager(  624): found sensor: null, handle=0
I/SystemServer(  624): Bluetooth Service
I/SystemServer(  624): Status Bar
I/SystemServer(  624): Clipboard Service
I/SystemServer(  624): Input Method Service
W/ResourceType(  624): Resources don't contain package for resource
number 0x7f060001
I/InputManagerService(  624): Enabled input methods:
com.android.inputmethod.latin/.LatinIME
I/SystemServer(  624): NetStat Service
I/SystemServer(  624): Connectivity Service
V/ConnectivityService(  624): ConnectivityService starting up
V/ConnectivityService(  624): Starting Wifi Service.
I/WifiService(  624): WifiService starting up with Wi-Fi disabled
I/SystemServer(  624): Accessibility Manager
I/SystemServer(  624): Notification Manager
I/SystemServer(  624): Mount Service
I/SystemServer(  624): Device Storage Monitor
I/SystemServer(  624): Location Manager
I/SystemServer(  624): Search Service
I/SystemServer(  624): Checkin Service
D/libhardware_legacy(  624): no GPS hardware on this device
W/ActivityManager(  624): Unable to start service Intent
{ cmp=com.google.android.server.checkin/.CheckinService }: not found
W/SystemServer(  624): Using fallback Checkin Service.
I/SystemServer(  624): Wallpaper Service
I/SystemServer(  624): Audio Service
D/dalvikvm(  624): Trying to load lib /system/lib/libsoundpool.so 0x0
D/dalvikvm(  624): Added shared lib /system/lib/libsoundpool.so 0x0
D/SoundPool(  624): error loading /system/media/audio/ui/
Effect_Tick.ogg
W/AudioService(  624): Soundpool could not load file: /system/media/
audio/ui/Effect_Tick.ogg
D/SoundPool(  624): error loading /system/media/audio/ui/
KeypressStandard.ogg
W/AudioService(  624): Soundpool could not load file: /system/media/
audio/ui/KeypressStandard.ogg
D/SoundPool(  624): error loading /system/media/audio/ui/
KeypressSpacebar.ogg
W/AudioService(  624): Soundpool could not load file: /system/media/
audio/ui/KeypressSpacebar.ogg
D/SoundPool(  624): error loading /system/media/audio/ui/
KeypressDelete.ogg
W/AudioService(  624): Soundpool could not load file: /system/media/
audio/ui/KeypressDelete.ogg
D/SoundPool(  624): error loading /system/media/audio/ui/
KeypressReturn.ogg
W/AudioService(  624): Soundpool could not load file: /system/media/
audio/ui/KeypressReturn.ogg
I/SystemServer(  624): Headset Observer
W/HeadsetObserver(  624): This kernel does not have wired headset
support
I/SystemServer(  624): Dock Observer
W/DockObserver(  624): This kernel does not have dock station support
I/SystemServer(  624): Backup Service
W/ActivityManager(  624): Unable to start service Intent
{ cmp=com.google.android.backup/.BackupTransportService }: not found
I/BackupManagerService(  624): Found stale backup journal, scheduling:
I/BackupManagerService(  624):     + android
I/BackupManagerService(  624):     + com.android.inputmethod.latin
D/dalvikvm(  624): GC freed 3535 objects / 196296 bytes in 114ms
I/BackupManagerService(  624):     + com.android.browser
I/BackupManagerService(  624):     +
com.android.providers.userdictionary
I/BackupManagerService(  624):     + com.android.providers.settings
I/BackupManagerService(  624): Backup enabled => false
I/SystemServer(  624): AppWidget Service
I/WindowManager(  624): SAFE MODE not enabled
I/ActivityManager(  624): Config changed: { scale=1.0 imsi=0/0
loc=md_US touch=3 keys=1/1/2 nav=1/1 orien=2 layout=34}
D/PowerManagerService(  624): system ready!
I/ActivityManager(  624): System now ready
I/SystemServer(  624): Making services ready
W/ResourceType(  624): Resources don't contain package for resource
number 0x7f030003
D/dalvikvm(  624): GC freed 2536 objects / 136784 bytes in 107ms
W/ResourceType(  624): Resources don't contain package for resource
number 0x7f030000
W/ResourceType(  624): Resources don't contain package for resource
number 0x7f030012
W/ResourceType(  624): Resources don't contain package for resource
number 0x7f030034
W/ResourceType(  624): Resources don't contain package for resource
number 0x7f030000
I/Zygote  (  624): Process: zygote socket opened
I/ActivityManager(  624): Start proc com.android.inputmethod.latin for
service com.android.inputmethod.latin/.LatinIME: pid=684 uid=10008
gids={3003, 1015}
I/ActivityManager(  624): Start proc com.android.phone for added
application com.android.phone: pid=688 uid=1001 gids={3002, 3001,
3003, 1015}
I/ActivityManager(  624): Starting activity: Intent
{ act=android.intent.action.MAIN cat=[android.intent.category.HOME]
flg=0x10000000 cmp=com.android.launcher/.Launcher }
I/ActivityManager(  624): Start proc android.process.acore for
activity com.android.launcher/.Launcher: pid=695 uid=10008 gids={3003,
1015}
W/StatusBar(  624): No icon ID for slot ime
I/ActivityManager(  624): Start proc com.android.settings for
broadcast com.android.settings/.widget.SettingsAppWidgetProvider:
pid=716 uid=1000 gids={3002, 3001, 3003}
I/ActivityThread(  688): Publishing provider icc:
com.android.phone.IccProvider
I/ActivityThread(  688): Publishing provider mms-sms:
com.android.providers.telephony.MmsSmsProvider
I/ActivityThread(  688): Publishing provider mms:
com.android.providers.telephony.MmsProvider
I/ActivityThread(  688): Publishing provider sms:
com.android.providers.telephony.SmsProvider
I/ActivityThread(  688): Publishing provider telephony:
com.android.providers.telephony.TelephonyProvider
D/dalvikvm(  684): Trying to load lib /system/lib/libjni_latinime.so
0x43bc9620
D/dalvikvm(  684): Added shared lib /system/lib/libjni_latinime.so
0x43bc9620
I/ActivityThread(  695): Publishing provider
com.android.globalsearch.stats: com.android.globalsearch.StatsProvider
I/ActivityThread(  695): Publishing provider
com.android.launcher.settings: com.android.launcher.LauncherProvider
I/ActivityThread(  695): Publishing provider com.android.social:
com.android.providers.contacts.SocialProvider
D/PhoneApp(  688): mProximityWakeLock: null
W/ActivityManager(  624): Unable to start service Intent
{ act=com.android.ussd.IExtendedNetworkService }: not found
D/PhoneApp(  688): Resetting audio state/mode: IDLE
D/dalvikvm(  624): GREF has increased to 201
D/BT HSHFP(  688): Starting BluetoothHeadsetService
I/ActivityThread(  695): Publishing provider applications:
com.android.providers.applications.ApplicationsProvider
I/ActivityThread(  695): Publishing provider
contacts;com.android.contacts:
com.android.providers.contacts.ContactsProvider2
W/ContactAggregator(  695): No more aggregation requests
D/MobileDataStateTracker(  624): default Received state= DISCONNECTED,
old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default
I/ActivityThread(  695): Publishing provider
com.android.globalsearch.SuggestionProvider:
com.android.globalsearch.SuggestionProvider
D/MobileDataStateTracker(  624): default Received state= DISCONNECTED,
old= DISCONNECTED, reason= gprsDetached, apnTypeList= default
D/Searchables(  624): Checking component
ComponentInfo{com.google.android.providers.enhancedgooglesearch/
com.google.android.providers.enhancedgooglesearch.Launcher}
D/dalvikvm(  624): GC freed 4116 objects / 216912 bytes in 181ms
D/dalvikvm(  695): GC freed 3666 objects / 254024 bytes in 177ms
I/ActivityThread(  695): Publishing provider
com.android.googlesearch.SuggestionProvider:
com.android.googlesearch.SuggestionProvider
I/ActivityThread(  695): Publishing provider call_log:
com.android.providers.contacts.CallLogProvider
I/ActivityThread(  695): Publishing provider user_dictionary:
com.android.providers.userdictionary.UserDictionaryProvider
I/SurfaceFlinger(  624): Boot is finished (14377 ms)
D/PowerManagerService(  624): bootCompleted
D/OtaStartupReceiver(  688): Not a CDMA phone, no need to process OTA
D/HomeLoaders(  695):   ----> items cloned, ready to refresh UI
I/ARMAssembler(  624): generated
scanline__00000077:03545404_00000004_00000000 [ 47 ipp] (67 ins) at
[0x2de640:0x2de74c] in 0 ns
I/ARMAssembler(  624): generated
scanline__00000177:03515104_00000A01_00000000 [ 55 ipp] (79 ins) at
[0x2de750:0x2de88c] in 0 ns
D/vold    (  604): Accepted connection from framework
D/vold    (  604): dispatch_cmd(send_ums_status):
D/vold    (  604): dispatch_cmd(mount_volume:/sdcard):
D/MountListener(  624): handleEvent ums_disabled
D/MountListener(  624): handleEvent ums_disconnected
I/ActivityManager(  624): Start proc com.android.alarmclock for
broadcast com.android.alarmclock/.AlarmInitReceiver: pid=768 uid=10018
gids={}
I/ActivityThread(  768): Publishing provider com.android.alarmclock:
com.android.alarmclock.AlarmProvider
W/BackupManagerService(  624): dataChanged but no participant
pkg='com.android.providers.settings' uid=10018
W/BackupManagerService(  624): dataChanged but no participant
pkg='com.android.providers.settings' uid=10018
I/ActivityManager(  624): Start proc com.android.calendar for
broadcast com.android.providers.calendar/.CalendarReceiver: pid=777
uid=10016 gids={3003}
I/ActivityThread(  777): Publishing provider calendar:
com.android.providers.calendar.CalendarProvider
D/AccountManagerService(  624): bind attempt failed for Session:
expectLaunch false, connected false, stats (0/0/0), lifetime 0.001,
getAccountsByTypeAndFeatures, legacy_hosted_or_google
E/ActivityThread(  777): Failed to find provider info for
subscribedfeeds
W/CalendarProvider(  777): onAccountsChanged
W/CalendarProvider(  777): android.accounts.AuthenticatorException:
bind failure
W/CalendarProvider(  777):      at
android.accounts.AccountManager.convertErrorToException(AccountManager.java:
1096)
W/CalendarProvider(  777):      at android.accounts.AccountManager.access
$500(AccountManager.java:74)
W/CalendarProvider(  777):      at android.accounts.AccountManager
$BaseFutureTask$Response.onError(AccountManager.java:1003)
W/CalendarProvider(  777):      at android.accounts.IAccountManagerResponse
$Stub.onTransact(IAccountManagerResponse.java:69)
W/CalendarProvider(  777):      at
android.os.Binder.execTransact(Binder.java:287)
W/CalendarProvider(  777):      at dalvik.system.NativeStart.run(Native
Method)
I/ActivityManager(  624): Start proc android.process.media for
broadcast com.android.providers.downloads/.DownloadReceiver: pid=791
uid=10006 gids={1006, 1015, 2001, 3003}
I/ActivityThread(  791): Publishing provider drm:
com.android.providers.drm.DrmProvider
I/ActivityThread(  791): Publishing provider media:
com.android.providers.media.MediaProvider
V/MediaProvider(  791): Attached volume: internal
I/ActivityThread(  791): Publishing provider downloads:
com.android.providers.downloads.DownloadProvider
D/MediaScannerService(  791): start scanning volume internal
I/ActivityManager(  624): Start proc com.android.mms for broadcast
com.android.mms/.transaction.MmsSystemEventReceiver: pid=803 uid=10004
gids={3003, 1015}
D/dalvikvm(  624): GREF has increased to 301
D/MediaScanner(  791): opendir /system/media/ failed, errno: 2
D/MediaScanner(  791):  prescan time: 166ms
D/MediaScanner(  791):     scan time: 358ms
D/MediaScanner(  791): postscan time: 1ms
D/MediaScanner(  791):    total time: 525ms
D/MediaScannerService(  791): done scanning volume internal
I/ActivityManager(  624): Start proc com.android.bluetooth for
broadcast com.android.bluetooth/.opp.BluetoothOppReceiver: pid=821
uid=10003 gids={3003, 3002, 3001, 1015}
D/dalvikvm(  607): GC freed 284 objects / 10808 bytes in 200ms
D/dalvikvm(  607): GC freed 50 objects / 2232 bytes in 120ms
D/dalvikvm(  607): GC freed 2 objects / 48 bytes in 89ms
I/ActivityThread(  821): Publishing provider
com.android.bluetooth.opp:
com.android.bluetooth.opp.BluetoothOppProvider
I/ActivityManager(  624): Start proc com.android.email for broadcast
com.android.email/com.android.exchange.BootReceiver: pid=828 uid=10001
gids={3003, 1015}
I/ActivityThread(  828): Publishing provider
com.android.email.provider: com.android.email.provider.EmailProvider
I/ActivityThread(  828): Publishing provider
com.android.email.attachmentprovider:
com.android.email.provider.AttachmentProvider
D/dalvikvm(  624): GC freed 6063 objects / 276120 bytes in 370ms
D/Exchange(  828): BootReceiver onReceive
D/EAS SyncManager(  828): !!! EAS SyncManager, onCreate
D/EAS SyncManager(  828): !!! EAS SyncManager, onStartCommand
D/EAS SyncManager(  828): !!! EAS SyncManager, stopping self
D/Eas Debug(  828): Logging:
D/EAS SyncManager(  828): !!! EAS SyncManager, onDestroy

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

2. How to create kind of admob banner or scrolling text?

Hello,
  Is there any widget which would help me to create kind of admob
banner or scrolling text at the top of my app?

Thanks,
DK

-- 

3. desire brenang

4. Fotofunia, serasa jadi foto editor profesional dadakan

5. Screen switch callback?

6. how to enable onItemClick for custom list view

7. Handling Orientation Changes that occur in another Activity