[android-developers] Activity pause timeout for HistoryRecord?

2010-08-27 Thread sansu
Hi,

Some times alarm dialog is not displayed and no ringing or vibrate
after alarm triggered.
After the Alarm activity is started, it is immediately paused I think
this is the cause Activity pause timeout for HistoryRecord. Does any
one know when it will happen and how to fix this? Here is the full log

08-02 06:47:00.107 I/ActivityManager( 1295): Starting activity: Intent
{ flg=0x1004
cmp=com.android.apps.clock/.alarm.AlarmAlertFullScreen (has extras) }
08-02 06:47:00.657 D/PowerManagement( 1295): (PowerManagerService)
sending ordered bcast for ACTION_SCREEN_ON
08-02 06:47:00.867 W/BackupManagerService( 1295): dataChanged but no
participant pkg='com.android.providers.settings' uid=10004
08-02 06:47:00.877 W/PowerManagerService( 1295):
setScreenBrightnessMode: 0 ,  false
08-02 06:47:01.007 D/AlarmManager( 1295): Added alarm Alarm{2e6c2120
type 0 com.android.apps.clock} type:RTC_WAKEUP when: At 8/2/10 8:05 AM
08-02 06:47:01.107 D/PowerManagement( 1295): (ActivityThread)
dispatched SCREEN_ON to com.android.server.InputMethodManagerService
$ScreenOnOffReceiver
08-02 06:47:01.107 D/PowerManagement( 1295): (ActivityThread)
dispatched SCREEN_ON to com.android.server.NotificationManagerService
$2
08-02 06:47:01.127 D/StatusBarPolicy( 1295): ACTION_SCREEN_ON Release
midleIntent_releasewifiwakelock
08-02 06:47:01.127 D/PowerManagement( 1295): (ActivityThread)
dispatched SCREEN_ON to com.android.server.status.StatusBarPolicy$1
08-02 06:47:01.137 D/PowerManagement( 1433): (ActivityThread)
dispatched SCREEN_ON to com.android.internal.telephony.RIL$1
08-02 06:47:01.147 W/ActivityManager( 1295): Activity pause timeout
for HistoryRecord{2ebc1ac8
com.android.apps.clock/.alarm.AlarmAlertFullScreen}
08-02 06:47:01.177 D/PowerManagement( 1295): (ActivityThread)
dispatched SCREEN_ON to android.service.wallpaper.WallpaperService
$Engine$1
08-02 06:47:01.177 D/PowerManagement( 1433): (ActivityThread)
dispatched SCREEN_ON to
com.android.internal.telephony.gsm.GsmDataConnectionTracker$1

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] setting wma as alarm ringtone?

2010-01-18 Thread sansu
Hi,

Can we set a wma song as alarm ringtone?
I set a wma as alarm ringtone but it is playing the different one but
it is working fine with mp3.

Thanks in advance,
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Dialog on Lock Screen

2010-01-11 Thread sansu
I need to display a dialog on top of lock screen when volume keys are
pressed.
How can I do this?

Thanks in advance,
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Changing text color when text is selected in EditText

2009-12-22 Thread sansu
Hi,

I need to change the text color of the selected (highlited) text in an
EditText.
I tried like android:state_selected=true
android:color=@android:color/white but it is not working.
Can any one guide me where to set the color?

Thanks,
San

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Options Menu Font

2009-12-22 Thread sansu
Hi,

I want to change the font size for all the options menu items
globally,
Can any one tell me how can I achieve that?

Thanks in advance,...

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to dismiss a Dialog when HOME key is pressed?

2009-11-09 Thread sansu
I need to dismiss a Dialog when HOME key is pressed, myDialog is shown
using handler thread which is active for 5 seconds. I know that we can
not interrupt the HOME key. When HOME key is pressed app is starting
the HOME activity but myDialog is fullscreen one and shown for 5
seconds then it is dismissed, now Home screen will be shown. I want to
dismiss myDialog as soon as HOME key is pressed, any suggestions to do
this,...

Thanks,

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en