If you are developing some travel applications or fitness applications, you may want to disable automatic screen locking feature of Windows Phone. You can disable this using UserIdleDetectionMode property of PhoneApplicationService.Current class. You can find more details about Idle Detection for Windows Phone and best practices here
Posts Categorized: Silverlight
How to detect if the application is in design mode in WP7
Sometimes you may require to detect whether the Application is in Design mode or not in the view model, otherwise if you are creating instance of DataContext or using Application object etc, XAML designer will not display the UI. You can detect the design mode in WP7 using DesignerProperties.IsInDesignTool property, if it is true, you [...]
How to display Indic languages in Windows Phone 7
By default Windows Phone 7 doesn’t support indic languages like Malayalam, Hindi, Tamil etc. Yesterday I discussed this issue with some WP7 experts and found that we can do this by rendering with our font. I did some further investigation and found that we can provide the font as part of our application, and using [...]
Webcams in Silverlight 4.0
Microsoft Silverlight 4.0 supports Webcam and microphone access from Web Applications like Flash. This feature enables a number of scenarios, such as capturing and displaying images, uploading profile pictures to social networking applications etc. Here is code part, which will start the webcam, stop the webcam and captures the image. Initialize the web cam Start [...]
Free .NET Decompiler – JustDecompile
Few days back I read one blog post from Telerik, about beta release of JustDecompile. From official blog : JustDecompile is a new, free developer productivity tool designed to enable easy .NET assembly browsing and decompiling. In the past it has only worked with .NET assemblies, but today it also works with Silverlight XAP files. [...]
Upload multiple files using Silverlight
Early this year I wrote a post about creating a File Uploader using Silverlight and WCF. And today I got a question from one forum, about to create uploader for multiple files. And here is source code, I am just modified my eariler source code slightly to select multiple file. And here is the helper [...]