Toast notification on windows phone 8 without sound and vibration - windows-phone-8

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.

Related

Access all new Chrome Notifications programmatically

I have no previous experience with programming Google Chrome plugins which is why I am starting here to see if what I want to accomplish is possible/reasonable. I do however have a pretty broad experience in programming in general.
What I want:
I want some kind of "trigger" to go off when a new Chrome Notification (you know these little pop ups above the system tray) is popping up. I want to execute some script/code depending on what information the notification contains so that I for example could have an alarm go off if I receive an email from a certain user with a certain key word in the subject and get a pop up from my Gmail Notifier extension.
This is however just an example and I have a bunch of ideas for different notifications from different extensions and websites so don't get caught up on that particular example.
When I look at the Chrome Notification API I see that there is a getAll method that supposedly is getting all the "notifications in the system" but I do not find any Event for new notifications.
I suppose a possibility would be to poll with getAll a couple of times per second (it needs to be really fast for some implementations I have in mind) but it feels very tacky.
Is there any way to easily access new Notifications programmatically in Chrome?
(I'm open to all solutions, programming languages and such...)
Well, I searched long and hard and got involved with the Chromium dev group and asked around there. As far as I could figure out there was no reasonable way of accessing all Notifications programatically.
So what I ended up doing was just download the source-code of Chromium and build my own custom version of chromium adding a very crude API. Worked like a charm and not as complicated as one might think.
Cheers!

Windows Phone: Is it possible to mix toast notification and scheduled alarm?

I'm new to Windows Phone development. I'm going to implement reminder App with following features:
Remind every day/week/month
When remind occurs display it in notifications list
And I've got problem with it:
Alarms / Remind API is pretty good for my task. But it doesn't
create notification (I wanna see my remind in notifications list)
ScheduledToastNotification creates notification but it has too many schedule limitations
How to create correctly scheduled alarm + Toast notification?
Unfortunately when it comes to exact timed notifications, those are your only two options.
A possibility would be to use the regular Reminder and create the Notifications silently (without showing the toast popup). Won't be very reliable though.
If you can live with varying timings, you can try:
You could check out TimerTrigger but it has a lot
of limitations either.
In Silverlight Background Agents may work
for you (max. every 30 Min)

Run Windows Phone App in background without UI

I am developing a Windows phone 8 app that need to run only in background with UI. Is there any way I can run the app in the background, or without actually being open?
It depends upon what you want to do in the background. Generally speaking you can't implement something like a Windows service that will startup automatically when the phone is launched.
That said you can run your app in the background within given limitations. Check out MSDN for detailed information.
Why all these limitations you might ask yourself? It's to provide a good battery life to the user.
Edit:
For the periodic agent to start running the app must be started once. Further the agent must update a live tile (user must pin it to the start screen) or the app has to be once opened every 14 days.
Another option might be using push notifications to trigger an update..

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

Speech recognition api in a background agents on Windows Phone 8

My question -I want to use speech recognition API that work when application is in background. Is it possible.
While the speech APIs aren't in the list of Unsupported APIs for background agents for Windows Phone this does surprise me.
I suspect that you are actually trying to have an application which is always listening in the background but this is not what a background agent will do. At best it will only run periodically (approx. 25 seconds every 30 mins) and I assume that's not what you want.
There is no way to create an app that is always running in the background. Regardless of whether it is doing speech recognition.
I have never actually tried this, but I'd say I doubt that it is possible for the following reasons.
1) Background tasks run for a limited time period at a specific interval. The chances of the agent being active when you want it to be are very slight.
2) How would you notify your agent that you want to give it voice input if your UI is not running?