I have an addon from which I would like to add items to the rading list. When user opens charm bar and clicks share i want to show share to reading list as an option. Is there a WinAPI for this?
Thanks
Related
I have a question. In a windows phone 7, Will i be able to navigate from the jumplist control to another page. For example i have some data in the jumplist control, and then once i click on one of the data, will i be able to go to another page from there? if it is possible, can someone show me some links for it? sample codes would be helpful
You can use the ListPicker from the Silverlight Toolkit and use the SelectionChanged event.
Tutorial : http://windowsphonegeek.com/articles/listpicker-for-wp7-in-depth
Download the project in this link an enhance by add selected index and page navigating option.
http://www.windowsphonegeek.com/news/developing-a-wp7-jump-list-control
http://www.telerik.com/community/forums/windows-phone/jumplist.aspx?pageid=1
Is there any way I can get a share picker like the one seen when you share a page from Internet Explorer? It allows you to choose from Messaging, individual emails, or social networks.
This msdn site lists several individual launchers (like social networks, email), but not the one higher up the chain?
Is this possible?
Thanks
No - you have to write your own.
The two best options that I found are:
1. Write your own using the primitive Popup class.
http://msdn.microsoft.com/en-us/library/system.windows.controls.primitives.popup(v=vs.95).aspx
Use the toolkit ListPicker to simulate such a popup.
http://www.windowsphonegeek.com/articles/listpicker-for-wp7-in-depth
http://silverlight.codeplex.com/
(BTW: I am using the Popup and so far am very happy. Took a while to get it just right, but it's good once you do)
I have gone through the examples of Add-on SDK 1.5 yet haven't seen anything like a web page which the addon can interact with the user and get input from him. There are only dialogs called panels and I really would like to have a real page in a tab like in google-chrome addons.
Is it even possible with the Add-on SDK (1.5)?
Of course you can create a tab, you use tabs.open(). As to interacting with this tab - you probably want to register a content script before opening the tab. Just like you would do it with Google Chrome.
How can we create a tab control where every tab item is connected with a different listbox, so the view are different for every tab? I want to know what is the best solution for this, I tried two approaches:
All logic of tab activity is built in one class that is
mainPage.xaml.cs
For every tab I create a new class and call it when a tab event
fires
What is the best solution and if answer is second then what is procedure to add different view but the all the tab appear every time?
Or provide a link where I can get a full example of tab control usage in Windows Phone 7.
Windows Phone does not provide a TabControl implementation, however, it does provide the unique Pivot control, which provides the same level of functionality and is documented on MSDN. You might also find this post by Jeff Wilcox useful: http://www.jeff.wilcox.name/2010/08/looking-ahead-at-panorama-and-pivot/
Here is an article I wrote on how to use the TabControl in a Windows Phone Silverlight application. It does not really abide the current UI guidelines, but it works. All you need to do is use ListBox controls as proper child elements.
I'm developing a windows phone 7 application.
I'm trying to understand how I'm supposed to filter contacts by letters. I want to display the keyboard to the user and show all the contacts. If the user pushes "a" everyone with an a in the name should be shown.
Please tell me this is possible. I'm getting more and more frustrated with this API..
It might be easier if you actually show us some code to show where you've got to so far.
It sounds like what you need is the AutoCompleteBox from the Silverlight Toolkit for Windows Phone 7. There's a good post on WindowsPhoneGeek.com: AutoCompleteBox for WP7 in depth, which should show you how to use this control.