i would like the app that i have created on wp7 to display alerts on the live tiles. I was going to use push notifications to do this. So, whenever there is an alert, the app will produce a push notification and then the live tile would display the push notification alert. I have tried to find sample codes on msdn and i have not found much. Does anyone know any code sample for wp7 that would help.thank you!
MSDN has extensive howto articles and sample code; there is even a How to: Send and Receive Tile Notifications for Windows Phone which sounds like it should do what you need.
This may be of help to you: Windows Phone 7 notifications. I went to a Windows Phone camp and came away feeling that there are, in fact, very distinct notifications and you have to make sure you're working with the right type for the right job. That link covers the types and their purposes, but did want to give you a heads up on that.
Related
I am trying to develop a xamarin.forms app which have the functionality to make call and record it.Why I am writing this question is I want some clarifications regarding this.I cant find a proper solution on web.
1 The app workflow will be like this. When user tap on the number on my app it will open the dialer (in Android and iOS). User will complete the call and return back to app.The app will get the call record and store it.
Is this scenario possible with Xamarin.forms? If possible, any links will be appreciated.
2. Suppose the above scenaerio is not possible, then what will be the best approach? I heard about Twilio voip call sdk for xamarin. Is Twilio really support voip call for xamarin? I found these links, but it seems outdated.
https://www.twilio.com/blog/2014/11/twilio-client-for-xamarin-part-3-android.html
https://www.twilio.com/blog/2014/10/twilio-client-for-xamarin-part-2-ios.html Is there any other voip sdk available which will fullfil my requirement.Any help is appreciated. Because I have been stuck on this for days.
EDIT If I implement Twilio calling in web and calling it as a webview in mobile.Can I make work above scenario?
i need help. I have done push notification for my app. I want the tile to change to the image that the push notification sends. How do i do this. All this is to be done in one app itself. The examples that i saw in msdn and other websites show some secondary image which i dont get plus they require two app. I dont understand how it works. Please help. I want the live tile to display the image that the push notification has sent. Sample codes would be appreaciated. Please and Thank you
You may be interested in the Code Samples provided on the following site, these include sample code in both C# and VB.NET and cover various aspects of Windows Phone development, included Live Tiles :-
http://code.msdn.microsoft.com/wpapps/
can anyone give me a clue on how one can make skype like notifications alert popups using win32 api's.
In window one can show balloon tips using shell_notifyicon(..) but it doesn't have any look-and-feel.
I would be very thankful if someone guide me a little on this topic.Also how do we decorate win32 windows as skype did?
You can write your own. As a starting point, you can have a look at my code here:
StatusBarMsgWnd.h
StatusBarMsgWnd.cpp
I want to implement a share option in my app which will allow user to share something or say post something to his linked account(like facebook, twitter, linkedin etc). But i am not getting any clue. I read somewhere that in WindowsPhoneTool71 the share property is inbuilt, but I am using WindowsPhoneTool7. So anybody out there to help me out.
Thanks!!
Why are you using WP7 rather than WP7.1? The Mango release was rolled out months ago, so you can guarantee that any Windows Phone 7 user will certainly have had the update by now. With Windows Phone 7.1 the ShareStatusTask will do exactly what you want in just lines of code!
ShareStatusTask task = new ShareStatusTask();
task.Status = "User Status";
task.Show();
I'm making an app where I would like to generate a new tile from inside the app, and then change it - no web service involved, and no need to change it when the app is not running.
Anyone know how to do this?
Cheers!
as #Derek said, you can update the tile using the tile schedule, but will take an hour minimum before the phone updates the tile.
i have written a tutorial on how to update the tile instantly here:
http://www.diaryofaninja.com/blog/2011/04/03/windows-phone-7-live-tile-schedules-ndash-executing-instant-live-tile-updates
basically it involves opening a push/toast update channel and then getting the phone to send "itself" a live tile update request. this will trigger the phone to go and get the tile "right now"
hope this helps
You can update the background image for a Live tile by using the ShellTileSchedule as documented in How to: Update Your Tile Without Push Notifications for Windows Phone. However, the image that is used for that background must come from a remote location, it cannot be provided directly by your application (unless you generate the image and send it to your own web service).
If you do go down the Microsoft Push Notification Services route, you may want to take a look at the Windows Push Notification Server Side Helper Library provided by the Windows Phone team.
You can generate and send a tile push notification message from the applicaiton itself. Not sure if it will work with an image in the app though. - Let us know if you try.
Thanks for the info!
It won't be an image from the app, as the xml files I'm downloading are pointing to the correct image. Not sure about the format, but I guess setting up my own server to proxy the request and resize the icon as needed wouldn't be too hard.
But it's really sad we cannot manipulate the tile image for 'this' from within our own app...