I am new to windows phone developing I am creating a simple alarm application like same as default alarm system which is installed on our windows phone. User can set multiple alarms
user can create alarm on another page and all alarms should be shown on Main_page and user can turn on or off alarms from Main_page through Toggle-switch how can I make it?? and I also want to play recorded sound which are recorded by user and stored on isolated storage when alarms fire. please help me.
You can find the instructions here: How to create alarms and reminders for Windows Phone 8
Related
I have a big issue with BackgroundMediaPlayer on Windows 10 mobile but I think that is very similar as API on Windows Phone 8.1. My app works similar as windows 10 sample. But I decided to add small user interface on mainpage where user can easily stop actual music. Problem is that when I am trying access BackgroundMediaPlayer.Current with events my music player don't play any music but when I delete events from main page It start works again. I manage my music player from other page. Is some way how to find out if my BackgroundMediaPlayer actualy playing some music with name of music ? Because I do not know how to continue with my project... Thanks for help
I am trying to develop an app for windows phone that will detect calls and send notification to PC through wifi. Similarly it will also send SMS that are received to PC and when an alarm goes off in phone, a notification will be sent to PC. How should I proceed about developing this app?
Thanks in advance.
There is no API exposed to allow you to spy on incoming calls or SMS in Windows Phone (like there was with Windows Mobile). The only option would be to build this as an OEM extension, but unless you work for HTC, Samsung or Nokia, this isn't going to be an option.
See it's not that you cannot but to some extent you can. Like you can use Obscured Event to detect call , lock screen etc. go through this msdn discussion for details
Detect lock and calls msdn
And as far as the alarm or the reminder is concerned you can go ahead and design a reminder system within your app. Limit is 50.
Obscured event Windows phone
I suspect the answer to this is no, but is it possible to programmatically add alarms into the default alarm app on Windows Phone 7?
I'm hoping to avoid building a section of my app just to recreate the functionality in the existing app!
You can set alarms on the phone without having to use code of your own by using the Phone.scheduler namespace and initializing a new alarm instance.
I want to add video to my alarm app which I have created so that instead of music, video should be played. Is it possible to add video to alarm? I have not found that in alarm class.
In short - No. Alarms not configurable and always must be recognizable by a user
I want the user of my app to be able to select a sound from the windows phone 7 system sounds, or play a specific one (like playing the "new email"-sound).
How can I enumerate the installed sounds? Or is there a builtin sound-selector? Can I ask the system which sounds are played for what events?
Access to system sounds is not available. This include playing the sounds or seeing what files/sounds are associated with what events.
The exception is saving new files to use as ringtones which can now (as of 7.1) be done with the SaveRingtoneTask.