Silverlight Show Forum General Windows Phone Discussions Threads http://www.silverlightshow.net/general-windows-phone-discussions.aspx Silverlight Show Forum General Windows Phone Discussions Threads http://backend.userland.com/rss Contacts class instance getting for using at UI. <p>Hi Everyone. I am new at Windows Phone 7 and SL. </p> <p>My problem: when I am getting contacts list at code behind page - it works correctly, but when use in my class - it is not possible to get data from instance. Code:<br /> <br /> </p> <p>First - from page code behind .</p> <p>1). </p> <pre style="font-family:consolas;font-size:15;color:black;background:white;"><span style="color:#2b91af;">Contacts</span> objContacts = <span style="color:blue;">new</span> <span style="color:#2b91af;">Contacts</span>();             objContacts.SearchCompleted += <span style="color:blue;">new</span> <span style="color:#2b91af;">EventHandler</span><<span style="color:#2b91af;">ContactsSearchEventArgs</span>>(objContacts_SearchCompleted);             objContacts.SearchAsync(<span style="color:blue;">string</span>.Empty, <span style="color:#2b91af;">FilterKind</span>.None, <span style="color:blue;">null</span>);<br /><br /><pre style="font-family:consolas;font-size:15;color:black;background:white;"><span style="color:blue;">void</span> objContacts_SearchCompleted(<span style="color:blue;">object</span> sender, <span style="color:#2b91af;">ContactsSearchEventArgs</span> e)         {             <span style="color:blue;">// Processing e.Results with contacts list<br /></span>        }<br />It works.<br /><br />2). <pre style="font-family:consolas;font-size:15;color:black;background:white;"><span style="color:blue;">public</span> <span style="color:blue;">class</span> <span style="color:#2b91af;">myContacts</span>     {         <span style="color:blue;">public</span> <span style="color:#2b91af;">List</span><<span style="color:#2b91af;">Contact</span>> Contacts;         /// Some data<br />         <span style="color:blue;">public</span> myContacts()          {             <span style="color:#2b91af;">Contacts</span> objContacts = <span style="color:blue;">new</span> <span style="color:#2b91af;">Contacts</span>();             objContacts.SearchCompleted += <span style="color:blue;">new</span> <span style="color:#2b91af;">EventHandler</span><<span style="color:#2b91af;">ContactsSearchEventArgs</span>>(objContacts_SearchCompleted);             objContacts.SearchAsync(<span style="color:blue;">string</span>.Empty, <span style="color:#2b91af;">FilterKind</span>.None, <span style="color:blue;">null</span>);         }         <span style="color:blue;">void</span> objContacts_SearchCompleted(<span style="color:blue;">object</span> sender, <span style="color:#2b91af;">ContactsSearchEventArgs</span> e)         {             <span style="color:blue;">this</span>.Contacts = e.Results.ToList();         }     }<br /><br />And when I am trying to get new class instance: <span style="color:#2b91af;">myContacts = new myContacts();<br /></span> <br />It is not possible to get anything! As I understand, this problem appears because of using foreground thread for contacts 'SearchAsync' method and UI thread don't get notify about search finished. Could you help me?<br /><br /></pre> </pre> <br /> <br /> </pre> http://www.silverlightshow.net/Forums/general-windows-phone-discussions/contacts-class-instance-getting-for-using-at-ui.aspx Nordiko 9/24/2011 4:31:19 PM Need develop application on winCE by using GC450 SDK <p>Hi,</p> <p>Iam venugopal.</p> <p>I need to develop health care application on winCE-6.0.my hardware is supporting GC450-SDK.</p> <p>But my application is developed on C++.Is it possible to develop the same application on winCE by using GC450-SDK?</p> <p>and one more issue is am unable to create the windows forms.</p> <p>how to create forms for VC++ application</p> <p>Thanks,</p> <p>Venu.D</p> <p><br /> </p> http://www.silverlightshow.net/Forums/general-windows-phone-discussions/need-develop-application-on-wince-by-using-gc450-sdk.aspx VenuGopal 11/7/2011 10:46:02 AM Create PhoneApplicationPage programmaticallay (for MVVM) Hey,<br /> <br /> I am learning MVVM and I face a big problem.<br /> I would like to open Windows Phone Page (PhoneApplicationPage) using Commands that are on my ViewModel. I create a class "DialogService" which aims to create PhoneApplicationPage. The problem is that I don't know how to instanciate programmatically a PhoneApplicationPage.<br /> I imagine it is not obvious because in my ViewModel I don't have any information about the View (i.e using the 'back' button).<br /> <br /> What is the workaround to display PhoneApplicationPage using Command in MVVM?<br /> <br /> Regards,<br /> <br /> R.<br /> http://www.silverlightshow.net/Forums/general-windows-phone-discussions/create-phoneapplicationpage-programmaticallay--for-mvvm.aspx Rakoun 5/9/2012 12:48:53 AM clearable textbox can anyone help me on creating clearable textbox in wp7??????(a textbox with x inside.clicking on that textbox gets cleared) http://www.silverlightshow.net/Forums/general-windows-phone-discussions/clearable-textbox.aspx yogeshg 6/14/2012 1:21:24 PM Clear image cache I want to clear imageCache but i can't do it. Can you show me how to clear imageCache. Thank you. http://www.silverlightshow.net/Forums/general-windows-phone-discussions/clear-image-cache.aspx chuthin 7/13/2012 6:34:15 AM Wrap Title in Tile Notification <div class="container"> <div class="body"> <div>Hi,<br /> <br /> Please let me know on how to wrap the title content in <strong>StandardTileData.</strong><br /> Here the sample for your information.<br /> StandardTileData<br /> <br /> <br /> <span style="font-family: 'consolas'; color: #2b91af; font-size: x-small;"><span style="font-family: 'consolas'; color: #000000; font-size: x-small;">tileData = </span><span style="font-family: 'consolas'; color: #0000ff; font-size: x-small;">new</span></span><br /> <span style="font-family: 'consolas'; color: #2b91af; font-size: x-small;">StandardTileData</span><br /> {<br /> Title =<br /> <br /> <span style="font-family: 'consolas'; color: #a31515; font-size: x-small;">"Secondary Tile"</span><br /> <span style="font-family: 'consolas'; font-size: x-small;">,</span><br /> BackgroundImage =<br /> <br /> <span style="font-family: 'consolas'; color: #2b91af; font-size: x-small;"><span style="font-family: 'consolas'; color: #0000ff; font-size: x-small;">new</span><span style="font-family: 'consolas'; color: #2b91af; font-size: x-small;">Uri</span><span style="font-family: 'consolas'; font-size: x-small;">(</span><span style="font-family: 'consolas'; color: #a31515; font-size: x-small;">"/Images/logo.png"</span><span style="font-family: 'consolas'; font-size: x-small;">, </span><span style="font-family: 'consolas'; color: #2b91af; font-size: x-small;">UriKind</span></span><br /> <span style="font-family: 'consolas'; font-size: x-small;">.Relative),</span><br /> Count = 5,<br /> BackTitle =<br /> <br /> <span style="font-family: 'consolas'; color: #a31515; font-size: x-small;">"Sample Tile for desktop notification"</span><br /> <span style="font-family: 'consolas'; font-size: x-small;">,</span><br /> BackBackgroundImage =<br /> <br /> <span style="font-family: 'consolas'; color: #0000ff; font-size: x-small;">new</span><span style="font-family: 'consolas'; color: #2b91af; font-size: x-small;">Uri</span><span style="font-family: 'consolas'; font-size: x-small;">(</span><span style="font-family: 'consolas'; color: #a31515; font-size: x-small;">""</span><span style="font-family: 'consolas'; font-size: x-small;">, </span><span style="font-family: 'consolas'; color: #2b91af; font-size: x-small;">UriKind</span><br /> <span style="font-family: 'consolas'; font-size: x-small;">.Relative),</span><br /> BackContent =<br /> <br /> <span style="font-family: 'consolas'; color: #a31515; font-size: x-small;">"sample "</span><br /> };</div> </div> <input id="55a6b4e7-c70b-4c22-88ef-66772aba4b1b_attachments" type="hidden" /></div> http://www.silverlightshow.net/Forums/general-windows-phone-discussions/wrap-title-in-tile-notification.aspx kathirvelu 11/2/2012 9:14:07 AM Windows Phone 8 Vs Windows Phone 7.x <p>Hi,</p> <p>  I am developing an application in VS2012 with Windows Phone 8 SDK.</p> <p>  How do I make the application work in Windows 7.x supported phones?</p> <p>  Does VS2012 support any downward migration (or) easier configuration?</p> <p> What impact it has on the APIs that are used in the application? Any link available on this?</p> <p>  Thanks in advance.</p> <p>regards.</p> http://www.silverlightshow.net/Forums/general-windows-phone-discussions/windows-phone-8-vs-windows-phone-7-x.aspx metrokarthik 1/10/2013 3:19:36 PM Store data in PDF <p>Hi..</p> <p><br /> </p> <p>I fetch the data from a WCF service and I want to store it in PDF how can I do this in Windows Phone 8..??</p> <p><br /> </p> <p>Thank's & Regard's</p> <p>Manish</p> http://www.silverlightshow.net/Forums/general-windows-phone-discussions/store-data-in-pdf.aspx Manish 1/19/2013 10:17:00 AM Flashlight <p>hi guys </p> <p>how to make flash light in windows phone 7, without use dll Microsoft.Phone.Media.Extended. cz i not found that dll..</p> <p> </p> <p>thank you for ur respon :)</p> http://www.silverlightshow.net/Forums/general-windows-phone-discussions/flashlight.aspx tikha 2/13/2013 5:50:08 AM Problem with WCF service and Windows Mobile <p>I have a very simple wcf service. And a simple windows mobile client. </p> <p>I have two Windows 2008 servers. One is my development pc. The other is placed in our dmz. </p> <p>If I deploy my application to my development pcs, IIS, and open a port all the way in(Just for test). It works. </p> <p>But if I copy the service on to the dmz server, it doesn't. </p> <p>I have setup both machines myself, and I can reach the service from internet explore on the mobile device. </p> <p>I've also created a std. winforms test client, and the service works on the dmz, just not from the mobile device... </p> <p>Any idears what to do? </p> <p> </p> <p><a href="http://www.hitechito.com/technology/microsoft-technologies/net-development/asp-net-development.php"> ASP.Net Development Services India</a></p> http://www.silverlightshow.net/Forums/general-windows-phone-discussions/problem-with-wcf-service-and-windows-mobile.aspx hitechito 6/6/2013 5:59:12 AM Nokia for Windows Phone developers, DVLUP. <p>Well Nokia is now encouraging windows app development.. I recently came across a link to their new developers program which goes by the name of DVLUP, and is basically fr windows app developers & Students..  </p> <p>DVLUP program gives points and rewards to Windows Phone developers, bt interestingly this reward program is partly a game where you can compete with your peers, and maybe even meet some folks to collaborate with. As a player, you can earn badges for your accomplishments. Complete challenges and develop applications, you’ll begin to earn XP points (experience points) which you can redeem the XP for valuable rewards….  You can redeem these points in the Rewards Store for everything from Bluetooth stereo headsets to cool Nokia Lumia handsets to Nokia Premium developer account.</p> <p>For details u can go through:     <a href="http://www.regengine.com/strack/dvlup191" target="_blank"><span style="font-size: 12pt; font-family: 'times new roman', serif; color: blue;">http://www.regengine.com/strack/dvlup191</span></a> </p> <p>This type of step from Nokia is not only better fr Microsoft to stay in the mobile market game but also very useful fr the mobile app development students..  Right now, there are a lot of resources available online to help with Windows Phone development from a technical perspective nd with this program students can earn exciting rewards & compete with others, and maybe even meet some folks to collaborate with….</p> http://www.silverlightshow.net/Forums/general-windows-phone-discussions/nokia-for-windows-phone-developers--dvlup.aspx jimmyh 10/23/2013 12:02:27 PM