J junaidahmed Well-Known Member Licensed User Longtime User Dec 30, 2013 #1 I would like to set my phone in silent mode for particular time (10:00 AM,2:00 PM,4:00 PM) and rest of the time the phone should be in normal mode.Pls give example code because I am new for basic4Android.
I would like to set my phone in silent mode for particular time (10:00 AM,2:00 PM,4:00 PM) and rest of the time the phone should be in normal mode.Pls give example code because I am new for basic4Android.
Erel B4X founder Staff member Licensed User Longtime User Dec 31, 2013 #2 You can set the ringer mode with Phone.SetRingerMode. You need to use a service together with StartServiceAt to schedule the operations. Upvote 0
You can set the ringer mode with Phone.SetRingerMode. You need to use a service together with StartServiceAt to schedule the operations.
J junaidahmed Well-Known Member Licensed User Longtime User Dec 31, 2013 #3 Thanks Erel,Can u give example for my above question because I haven't use service module so far.pls help me............... Upvote 0
Thanks Erel,Can u give example for my above question because I haven't use service module so far.pls help me...............
Erel B4X founder Staff member Licensed User Longtime User Dec 31, 2013 #4 There are many examples in the forum that use services. Start with the services tutorial. Upvote 0