So I want to send a message programmatically from one windows phone app to another. It just has to be a text message, but I want to push messages from one app to another on the same phone.
What is the easiest way to accomplish this?
Edit: Btw these apps needs to be able to run offline
Try http://www.windowsazure.com/en-us/.
You can use the trial to study.
Good manual: http://blogs.msdn.com/b/andy_wigley/archive/2013/08/22/push-notifications-made-easy-using-windows-azure-notification-hubs-with-windows-phone.aspx
If you want it to work offline, the best you can do is registering a custom URI scheme, and use it to launch one app from the other, passing your message along.
Related
I want to start another App or Program from my Windows Store App. For example my App is showing emails, so if someone clicks on such an email Outlook should open. Is this possible in an "App-Sandbox"?
It is not possible to just launch an arbitrary application, but with custom protocol activation you can launch an app that handles that protocol and if it is not installed - the OS will ask the user to install it. It means that if you can define a custom protocol in your app - you can launch it from another app with this protocol assuming no other app registers to handle it. An example of that is any XBOX Live app - if you check their manifest files - they all handle custom protocols.
If your specific question is about launching a specific app by name or location then no, this is not possible, but if you know a protocol handled by the app you want to launch - you can try using that - just bear in mind that there might be other apps that handle that protocol.
Short answer: no, it's not possible.
You can open files with their associated application but not spawn any arbitrary external process.
As #mitch-wheat pointed out, that's why it's called a sandbox.
Check out this sample
The sample is for Windows 8.1 but I think will work for Windows 8 as well.
I am trying to write a windows application to call a phone number(Twilio verified) from my application directly.
What i was able to achieve was:
- To call a phone number and read out a voice sms as mentioned in the TWIML url.
- to call a phone number and then redirect it to another phone number ( by using in the TwiML).
But what i want to do now is:
- Call a phone number directly from the application using my Headphones attached to the pc where the app is running. Is there a way to do that?
Please let me know if my question is not clear enough and i should to try to explain it in more detailed format.
Thanks!!!
Twilio evangelist here.
Unfortunately today we don't offer a native Windows version of Twilio Client, which it what sounds like you are looking for.
The only suggestion I have is to use the .NET browser control to embed a browser into your application. I have not tried this, so I don't know what if any problems you'll have.
Devin
I'm trying to get MJPEG stream from Vivotek camera to Windows Phone 7.
For this camera I need to set UnsafeHeaderParsing to true. I wrote similar appliction for win forms and to set this is easy using app.config file or in code,
like fo example here how to set useUnsafeHeaderParsing in code.
But I didn't find solution for Windows Phone and I'm afraid that there isn't one.
Does any workaround exists?
I know this is a bit extreme... If you simply can't access the IP cams server from windows phone your going to need a middle man...
There are a bunch of options you could make a basic web service host it anywhere. Have the phone user register their device, provide the IP they want to watch, and any other info you need.
The phone would then connect providing its device id and the service would pull in the steam from the camera take the data and return it to the connected client with "safe" headers.
I have to admit it seems like a lot of overhead but it does sound like fun to write ;)
I have a Background Agent that needs to listen to the OS Environment and react to when I receive a Phone Call or an SMS message.
Once a Phone Call or SMS is received, I need to see the caller's phone number.
Is there anyway to do this? Does WP8 offer access to such API functionality?
All my Google searches returned negative results, so I'm only interested in responses by people who have encountered this problem as well.
This used to be possible with Windows Mobile (with an interceptor). However, this functionality has been protected in all versions of Windows Phone (7 and 8). I am assuming MS did this so that your app will not (and can not) interfere with Incoming Calls.
No, this is not possible. You can't access the phone or SMS properties or events you want with the current SDK.
is there a way to create a service like application on windows phone 7.5 so that this application will stay active and will be able to receive raw notification without the user intervention even if it isn't he foreground application?
What i'm trying to do is to create an application that sits quietly in the background and waits for a notification from a website , and when receiving it, send back some info, and then sits there silently again.
By this I'm trying to solve an annoying every day situation, for which I couldn't find an app , so I'm sorry for not describing the whole situation :)
thanks
You can use the original "Push Notification Services" to send update to a device from a website.
Push Notifications for Windows Phone
These can even be used to Launch or deep link into your application from the notification of the user taps on the Notification popup or Toast message.
Although you could use background agents to poll a site for updates it would be more efficient for the server to send the update to the phone when it's available.
Only limitation is that you app has to be run at least once to negotiate with your server and record the required Microsoft Push notification authentication and detail (notificationUri)
There is also a Cloud based pack available to make use of the service as well.
Video Walkthrough of Push notification services using Azure
AFAIK it is not possible in WP7 to exactly like you want. Like you wrote - Background Agent runs only every 30min and when your app goes into background, it gets killed.
So you have to stay with 30min limit - or change the phone platform.
What you want to do , can easily be done with Background Agents for Windows Phone