Alternate ring tunes on SMSs and Phone calls on windows phone - windows-phone-8

I would like to randomize phone call rings and received SMS sounds. I would have a list of about 5 or so ring tones, and whenever an SMS is received or there's an incoming phone call I would like to randomly select a sound which is played.
Is this possible? If so, can anyone recommend any articles or tutorials on how to get started with this? Any help is welcome.

Each of the application you develop is some kind of sandboxed and you can't modify the behaviour of system components like switching ringtones. That would be a security issue.

Related

Windows Phone control tv over wifi

I'd like to create a Windows Phone 8.1 app to connect to a TV and have basic controls (change channels, turn on/off).
I know It's hard to have an universal remote for every TV, but I'm just testing so It could work to a specific model/maker.
My first guess is to connect to a smart tv over wifi connection, but I can't find any site to describe how to do this or how do I start researching. I only got links to apps already made, but not on how to build it.
Anyone knows how this connection works?
Thanks!
i dont think this is really related to Windows phone specific. but here is what you can do:
find out what kind of API the TV has. it's probably some Rest or SOAP based webservice you can call. if there are existing apps (maybe for other platforms) you can use Fiddler to check the network traffic from these apps to the TV if you set your pc as "man in the middle" with fiddler.
as soon as you have what you need look into HttpClient examples on how to send these requests toward your TV.
fiddler :http://www.telerik.com/fiddler
HttpClient: https://msdn.microsoft.com/library/windows/apps/dn298639

Launch application automatically from an SMS on Windows Phone 8

I would like to launch an application using parameters provided from an SMS.
The behaviour I wish to achieve is that as soon as the user receives an SMS, the application will be launched with the parameters provided in the SMS. I.e. seamlessly present the SMS in a more user friendly way.
I have experimented with URI protocol associations and so far I can send an SMS to the test phone with text unleashed:param=test (protocol is taken from book “Windows Phone 8 Unleashed”, code is in WP8UnleashedSource_01_05\Source\FileAndProtocolAssociations).
When pressing the link in the received SMS the application is launched successfully.
But it would be great if the is a way to also launch the application automatically as soon as the SMS is received.
Is this possible on all Windows Phone models and versions from 8 and up?
Or are there other approaches, for example use push notifications, that are better suited to achieve the seamless use-case I described?
Thanks & Regards
This question is similar to Launch App through SMS (URI-Association) but I would like to concentrate on the automatic launch.
This is not possible on the Windows Phone 8 due to some security reasons.
This might be possible in Windows Phone 8.1. I read somewhere that 8.1 supports 3rd party SMS clients. This might mean there may some event that fires when new SMS are received. I am not sure though.
I would still suggest you to use Push Notifications.

user interaction windows phone 8

I have to do my university project. We suppose to develop windows phone application that should track the user behavior and interaction with phone while driving.
At the moment we just trying to understand what we able to do and track.
we thought about monitoring maybe
incoming call, incoming sms and afcourse if the user answered to those,
maybe outgoing call
headset plugged in/out
click on any hardware button
screen touching..
and all the interrupts made by the user.
What our options? Can someone refer me to relevant reading?
for the purpose of your app, I suggest you implement something with voice control so that the driver can interact with his windows phone without having to touch it.
Visit these links for more info:
Here's the first link
Here's the second link

Local network p2p connection with Windows Store Apps

I am building a small cards game for Windows Store using HTML/JS as my programming languages. One of the features that I would like to add is multiplayer capability. My game it's based on a 1 versus 1 player (unlike Hearts where you need 4 players), so an ad-hoc peer-to-peer connection is enough. Also, keep in mind that I am only considering local network multiplayer, without internet support (meaning that "privateNetworkClientServer" capability is required on that app manifest).
So I am imagining, when a player want to start a multiplayer game, the app will periodically broadcast a message to find any candidates. Meanwhile he will also have to listen for those same messages (in case of another player is broadcasting them also). When they find which other we transmit the game state back and forward to perform the required games changes.
My question is, does WinRT provide any functionality out of the box to do something like this? If no, do you have any suggestion for my problem?
Thanks
Look at the documentation for the PeerFinder class. Proximity can use either NFC or by browsing on the same subnet. Note, in the case of WiFi, not all WiFI cards support the browsing model, so some older PCs may not be able to use this solution.
The proximity sample application on msdn should help you with this.

Toast notification on windows phone 8 without sound and vibration

I'm going to make a simple toast notification using periodic task of background agent, what
I'm asking is how can I show notification in specific time, but without playing sound notification or vibration, is there any way to achieve it?
Since what I've seen at http://msdn.microsoft.com/en-us/library/hh202962%28v=vs.92%29.aspx that VibrateController is unsupported api in background agent
Thanks!
It's completely up to the user to decide whether he/she want the sounds and vibration or not. There is nothing we can do as a developer to control such things. I believe it is one of Microsofts philosophies to not end up like Android in such matters.