Are you atleast able to play a sound file when you are in stand by mode? On Apr 28, 2:24 pm, code_android_festival_way <[email protected]> wrote: > So well I have tested that out once more. > > I have tried different wake lock levels up to the full wake lock. It > doesn't make any difference. As a last test I have set up a simple > notification with: > ... > notification.defaults = Notification.DEFAULT_ALL; > nm.notify(123,notification); > ... > > This one gets started inside the WakefullIntentService which gets > started every five minutes triggered by an Alarm which is sending a > broadcast caught by a BroadcastReceiver which starts the service. As > long as I have the Nexus One plugged in everything is fine. As long as > I have the screen on everything is fine. But when I set the phone to > stand by unplugged from USB I am only getting the vibration but no > sound (no LED as well, but ok that is caused by the buggy Android > 2.1). > > To sum up sound notifications do not work in stand by using this way. > I have no idea how to get them working. Perhaps someone got another > device running Android 2.x and would like to test that one out. > > I would love to hear your opinions. > > On 28 Apr., 18:45, code_android_festival_way > > > > > > <[email protected]> wrote: > > Thank you very much for your answers. I will try all of your devices. > > > Regarding the following: > > "I dont know why you have multiple > > notifications when you can have all in one.. " > > > I'd like to stop each notification on its own. So starting them > > together would not give me the choice to stop vibrate or sound on its > > own. > > > Regards > > > On 27 Apr., 20:13, MB <[email protected]> wrote: > > > > Perhaps, for the sound notification to fire, the screen should be on. > > > Try acquring wakelock using different flags. > > > > I would start with SCREEN_DIM_WAKE_LOCK and move all the way up to > > > FULL_WAKE_LOCK. > > > > On Apr 27, 9:43 am, code_android_festival_way > > > > <[email protected]> wrote: > > > > Hmm does really no one got an idea what could be wrong here? > > > > > Regards > > > > > On 25 Apr., 19:44, code_android_festival_way > > > > > <[email protected]> wrote: > > > > > Well you are right that this will drain the battery pretty heavily. At > > > > > the moment I am using the broadcast which gets fired every n seconds > > > > > and gets caught by the receiver which handles the notifications in its > > > > > onReceive method. But well the problem remains. I haven't found a > > > > > possibility to get the sound noitification working during the wake > > > > > lock. > > > > > > If someone has got a solution for that problem I would love hearing > > > > > about it. :) > > > > > > On 25 Apr., 17:17, Mark Murphy <[email protected]> wrote: > > > > > > > code_android_festival_way wrote: > > > > > > > What do you mean exactly by that? Well I know that 30 seconds or > > > > > > > even > > > > > > > lower is very frequent but I would let the user decide how often > > > > > > > he > > > > > > > would like to be notified. > > > > > > > I mean you may chew up a fair bit of battery life constantly cycling > > > > > > through processes, starting and stopping receiver and/or service > > > > > > components every 30 seconds. I'd use the battery blame screen in > > > > > > Settings to test and see how bad this is in reality. > > > > > > > -- > > > > > > Mark Murphy (a Commons > > > > > > Guy)http://commonsware.com|http://twitter.com/commonsguy > > > > > > > _Beginning Android 2_ from Apress Now Available! > > > > > > > -- > > > > > > You received this message because you are subscribed to the Google > > > > > > Groups "Android Developers" group. > > > > > > To post to this group, send email to > > > > > > [email protected] > > > > > > To unsubscribe from this group, send email to > > > > > > [email protected] > > > > > > For more options, visit this group > > > > > > athttp://groups.google.com/group/android-developers?hl=en > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > > > Groups "Android Developers" group. > > > > > To post to this group, send email to > > > > > [email protected] > > > > > To unsubscribe from this group, send email to > > > > > [email protected] > > > > > For more options, visit this group > > > > > athttp://groups.google.com/group/android-developers?hl=en > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Android Developers" group. > > > > To post to this group, send email to [email protected] > > > > To unsubscribe from this group, send email to > > > > [email protected] > > > > For more options, visit this group > > > > athttp://groups.google.com/group/android-developers?hl=en > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to [email protected] > > > To unsubscribe from this group, send email to > > > [email protected] > > > For more options, visit this group > > > athttp://groups.google.com/group/android-developers?hl=en > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group > > athttp://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

