How to tell if the user has selected a Light or Dark theme
Is there a way to tell if the user has selected a Light or Dark theme? Thanks! ...
Is there a way to tell if the user has selected a Light or Dark theme? Thanks! ...
Hello, I need to fire command from WP7 applicationbar. Unfortunately it is not possible, but Laurent published interesting workaround: private void ApplicationBarMenuItemClick(object sender, System.EventArgs e) { var vm = DataContext as MainViewModel; if (vm != null) vm.MyCommand.Execute(null); } Unfortunately my code behind ...
I'm trying to find a way to launch WP7 applications in the emulator as part of an automated test system. I've tried running XapDeploy.exe from the commandline with a xap specified, no luck there (was worth a shot, right?). I can just terminate the emulator process after a certain amount of time... if only I could launch it. Anybody ...
Hello, I have a service called myService.svc. This service is exposed using a webHttpBinding binding. The reason why is because I need to be able to call the service from an iPhone and a JQuery interface as well. From my understanding, WP7 only directly supports BasicHttpBinding which relies on SOAP messages. Unfortunately, SOAP is not ...
I have created an icon for my WP7 application. The icon got a transparent background and the theme on my WP7 device is set to the blue theme. When deployed to the device my icon got a dark gray background instead of the blue from the theme. Any ideas how to adopt the theme background color as background to the application icon? ...
All the talk on WP7 resolution = 800x480. I can create more than 480 and it shows up in the emulator - I just don't know if this means I do have more screen space than is promulgated or if my emulator is lying to me. Putting a Silverlight app in Landscape only mode (SupportedOrientations="Landscape" Orientation="Landscape" in <phone:Pho...
I'm thinking about trying my hand at a Windows Phone 7 app, and I'd like to put it up on the market place. I know I don't need a phone to create the app (I've toyed around with the emulator already), but would it be folly to release an app without having an actual unit to test it on? Or is the emulator sufficient? ...
I've chosen Landscape only for my view in 800w x 480h available space. I want my app to be 600 (w) by 240 (h), absolutely sized. (There is a long story as to why this is, but it ain't gonna change - I don't want or need to fill all of the available space and need absolute sizing). How can I center the app horizontally and vertically so ...
I have 3 pages in my app. Page # 2 navigates back to page #1 and forward to Page # 3. How can I make it so navigating back from page #3 would skip page # 2 and go directly to #1? ...
Silverlight windows phone 7. Listbox with selectionmode multiple. How to make certain items selected by default. listbx.SelectedItems seems to have only get method. ...
I would like to develop for Windows Phone 7 but the lack of database support still blocks me. Has anyone found a good library, stack to use for accessing local database from WinPhone7? Can you post links/examples of good practices to select/insert data in DB from a WinPhone7 application? Thanks in advance ! c. ...
It is clear that Mono Touch is part of the solution as it allows C# code to run on the IPhone, however Mono Touch wraps the IPhone API so does not provide a common API. Another option would be a jave-script toolkit that work on both and provided on-line data storage. However what real life experience do people have? ...
I am thinking about how an application can be written to work on both Windows 7 Phone and IPhone, one option is MonoTouch.Dialog for most of the UI on the IPhone and then create a layer that will let the some code work on WP7. Has anyone looked at doing this? ...
I'm building an application on Phone 7 using Silverlight and need to maintain some state between pages. I was hoping to store an object in app.cs and access it from each page but I haven't been able to find any documentation on how to do this. What is the best way to access the same object between many different pages? Thanks for your...
Hi, to be honest, I am kind of lazy at the moment. I tried a 3 minute search, but I get a lot of Windows7 and C# related stuff, not what I am looking for. Its for a pet project anyway, so I just give it a try: Is there any way to find out HOW I am connected to the internet in WP7? Background: Any app which is written for fun purposes, ...
I'm looking to make a border that will serve as a general overlay. I'm trying to use an 800x480 border with opacity .75 as the overlay. However, it only fills the content of the row it's in, not the entire page. If I know how many rows it needs to cover, I can set the rowspan and it will cover the entire screen. I was wondering if there ...
I've never used MVVM before, so I'm probably missing something obvious. When I create a new Panorama application, there's already a ViewModel folder containing ItemViewModel and MainViewModel. I thought "MainViewModel.cs" is the file that organizes the panorama. However, within MainViewModel, it has this line: public MainViewModel...
Unless I'm being completely blind there appear to be no methods implemented in the WebBrowser class on Windows Phone 7 to navigate backwards and forwards through the pages within the browser, nor refresh the existing page? Am I right in this assumption? Can this be achieved another way? I have tried using "javascript:history.go(-1)" as...
Why doesn't Windows Phone 7 fully support the C# specification when the only language available to it is C#? Okay, I can understand the lack of "dynamic" support, but why isn't contra-covariance supported? Why aren't third-party libraries that are familiar to us and that we use in server-desktop projects not compatible with the Phone 7? ...
I am working on an application for Windows Phone 7 that makes asynchronous queries to OData. I use the following general form for the query: DataServiceQuery<Entity> query = ourEntities.CreateQuery<Entity>("Entities"); entities.BeginExecute(QueryComplete, query); I am having trouble adding filters to these queries, though. Using LINQ ...