<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>WPWidgetLibrary Wiki Rss Feed</title><link>http://wpwidgetlibrary.codeplex.com/</link><description>WPWidgetLibrary Wiki Rss Description</description><item><title>Updated Wiki: Documentation</title><link>http://wpwidgetlibrary.codeplex.com/documentation?version=1</link><description>&lt;div class="wikidoc"&gt;Please be aware of following. When WpWidgetLibrary framework is initialized, we start the copy process of all Web-content located in specified folder. This folder is defined by following call:&lt;br /&gt;&lt;br /&gt;InstalHTMLContent(string htmlFolder, string[] htmlDirs)&lt;br /&gt;&lt;br /&gt;where htmlFolder is the folder in solution which contains all required web files. In other words this is the root of web-application which will be executed from isolated storage. Because you are free to use any kind of extension like “myfile.tiff” the framework can either copy any file in your project or specific files. We decided to copy specific files only. &lt;br /&gt;&lt;br /&gt;Here is how we do it:&lt;br /&gt;protected virtual bool IsWebExtension(string ext)&lt;br /&gt;        {&lt;br /&gt;            bool res = false;&lt;br /&gt;&lt;br /&gt;            switch (ext.ToLower())&lt;br /&gt;            {&lt;br /&gt;                case &amp;quot;htm&amp;quot;:&lt;br /&gt;                case &amp;quot;html&amp;quot;:&lt;br /&gt;                case &amp;quot;js&amp;quot;:&lt;br /&gt;                case &amp;quot;jpg&amp;quot;:&lt;br /&gt;                case &amp;quot;jpeg&amp;quot;:&lt;br /&gt;                case &amp;quot;png&amp;quot;:&lt;br /&gt;                case &amp;quot;css&amp;quot;:&lt;br /&gt;&lt;br /&gt;                    res = true;&lt;br /&gt;                    break;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            return res;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;If your application contains some media file like “abc.avi” you will have derive from WPWidgetLibrary&lt;br /&gt;and override this method.&lt;br /&gt;public class MyWPWidgetLibrary: WPWidgetLibrary&lt;br /&gt;{&lt;br /&gt;  protected override  bool IsWebExtension(string ext)&lt;br /&gt;        {&lt;br /&gt;            bool res = false;&lt;br /&gt;&lt;br /&gt;            switch (ext.ToLower())&lt;br /&gt;            {&lt;br /&gt;                case &amp;quot;avi&amp;quot;:&lt;br /&gt;                    return true;&lt;br /&gt;                    break;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            return base.IsWebExtension(ext);&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ddobric</author><pubDate>Mon, 24 Oct 2011 16:28:22 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20111024042822P</guid></item><item><title>Updated Wiki: Home</title><link>http://wpwidgetlibrary.codeplex.com/wikipage?version=22</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;Why do you need WpWidgetLibrary?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/h1&gt;
&lt;p&gt;&lt;img title="wgpic1" src="http://download.codeplex.com/Download?ProjectName=wpwidgetlibrary&amp;DownloadId=293726" border="0" alt="wgpic1" width="286" height="484" align="left" style="padding-left:0px; padding-right:0px; display:inline; float:left; padding-top:0px; border:0px"&gt;&lt;/p&gt;
&lt;p&gt;Do you want to implement apps for cross-browser support? Is so and if you are Windows Phone developer this is the right project for you.
&lt;br&gt;
This project gives you ability to startup with HTML5 at Windows Phone right now. &lt;br&gt;
&lt;br&gt;
Windows Phone 7.1 has internet browser based on the Internet Explorer 9, and the version in WP7.1 is the almost the same build used for IE9 desktop edition.
&lt;br&gt;
This means the WP7&amp;#43; is able to render HTML5 content. In comparison to Chrome it is supported less HTML5 elements, but some of important features like geo-location,
&lt;br&gt;
canvas etc. works well. Usually Widows Phone is executing the HTML5 application which is hosted on some web server, and it is not a big deal to open IE on phone
&lt;br&gt;
and to navigate to the URL of the HTML5 web application. For more information about HTML5 support at Windows Phone and other devices please take a look on
&lt;br&gt;
Damir's post &amp;quot;&lt;a href="http://developers.de/blogs/damir_dobric/archive/2011/09/12/html5-for-windows-phone-7-1-episode-i-html5-support.aspx"&gt;HTML5 for Windows Phone 7.1&amp;#43; - Episode&lt;/a&gt; I&amp;quot;&lt;/p&gt;
&lt;p&gt;As long you are browsing your HTML5 application in &lt;strong&gt;WebBrowserControl &lt;/strong&gt;
there is no need for you to use this library. However, one app should be in general installed on device.
&lt;br&gt;
Currently there is no way for &lt;strong&gt;WebBrowserControl&lt;/strong&gt; to navigate to HTML file which is located somewhere in file system at the phone as this is supported by Android and iOS.
&lt;br&gt;
If you want to install your HTML5 application on device like Windows Mobile 6.5 did it with widgets this is the library which will help you to do this by calling of a single line of code.
&lt;br&gt;
&lt;br&gt;
This library helps you to deploy a HTML app to Windows Phone 7. The library contains set of helper methods which extract web content from application resource to isolated storage.
&lt;br&gt;
On that way it is possible to develop WP7 HTML5 app which can pass marketplace requirements as purchasing, updating, installing, works offline etc.&lt;/p&gt;
&lt;p&gt;Widget class library solves this problem by deploying cross platform HTML5 Widget application on Windows Phone 7 so that web content can be installed on disk.
&lt;br&gt;
With WPWidget you can easily make Windows Phone 7 hybrid application containing of the native part written in Silverlight and web part written in HTML, JavaScript and CSS.&lt;/p&gt;
&lt;p&gt;If you want to know how we have been inspired to setup this project please take a look on Damir's Episode II &amp;quot;&lt;a href="http://developers.de/blogs/damir_dobric/archive/2011/09/13/html5-for-windows-phone-7-1-episode-ii-browsing-html-content.aspx"&gt;Browsing
 HTML content&lt;/a&gt;&amp;quot;.&lt;/p&gt;
&lt;h1&gt;How to use the WPWidgetLibrary?&lt;/h1&gt;
&lt;p&gt;In only few steps you can make fully functional hybrid Windows Phone 7 application. On the picture below it is shown how to use the library.&lt;/p&gt;
&lt;p&gt;1. Reference &lt;em&gt;&lt;strong&gt;Daenet.WidgetLibrary.dll &lt;/strong&gt;&lt;/em&gt;in to you WP7 project.&lt;/p&gt;
&lt;p&gt;2. Copy your HTML (App) to some project folder and mark all files in build action as
&lt;em&gt;&lt;strong&gt;&lt;span style="color:#ff0000"&gt;EmbededResource&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;3. From the Toolbox drag the WebBrowser Control and in PageLoaded event navigate to desired webpage. (See red rectangle in xaml file.)&lt;/p&gt;
&lt;p&gt;4. In the MainPage constructor append following code. This code will on start of application copy all HTML related content to isolated storage.
&lt;br&gt;
&amp;nbsp;&amp;nbsp; The string array (second argument of InstallHTMLContent) should contain all subfolders of your project which have to be copied to Isolated Storage
&lt;br&gt;
&amp;nbsp;&amp;nbsp; too. If you have very simple App with all files in one folder, then this argument is not required.&lt;/p&gt;
&lt;p&gt;&lt;img title="pic5" src="http://download.codeplex.com/Download?ProjectName=wpwidgetlibrary&amp;DownloadId=293292" alt="pic5" width="530" height="127" style="display:inline"&gt;&lt;/p&gt;
&lt;p&gt;5. Set initial page to webBrowser control from the MainPage Loaded event in code-behind.
&lt;br&gt;
&amp;nbsp;&amp;nbsp; Following code is a common WebBrowserControl code, which starts browsing of the page.
&lt;br&gt;
&amp;nbsp;&amp;nbsp; Please note that navigating page (StartPage.htm) is not the page hosted online. It is the page
&lt;br&gt;
&amp;nbsp;&amp;nbsp; in Isolated Storage.&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:black; font-size:10pt"&gt;&lt;span style="color:#008000"&gt;&lt;img title="pic6" src="http://download.codeplex.com/Download?ProjectName=wpwidgetlibrary&amp;DownloadId=293265" alt="pic6" width="536" height="95" style="display:inline"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Compile and run the application, and you are looking the full featured HTML Widget application.&lt;/p&gt;
&lt;p&gt;&lt;img title="pic3" src="http://download.codeplex.com/Download?ProjectName=wpwidgetlibrary&amp;DownloadId=293266" alt="pic3" width="614" height="480" style="display:inline"&gt;&lt;/p&gt;
&lt;p&gt;More information will be published on demand in our blogs:&lt;/p&gt;
&lt;p&gt;1. &lt;a href="http://developers.de/members/ddobric/default.aspx"&gt;Damir Dobric Blog&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. &lt;a href="http://bhrnjica.net"&gt;Bahrudin Hrnjica Blog&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>bhrnjica</author><pubDate>Tue, 18 Oct 2011 10:53:14 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111018105314A</guid></item><item><title>Updated Wiki: Home</title><link>http://wpwidgetlibrary.codeplex.com/wikipage?version=21</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;Why do you need WpWidgetLibrary?&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;
&lt;/h1&gt;
&lt;p&gt;&lt;img title="wgpic1" border="0" alt="wgpic1" align="left" src="http://download.codeplex.com/Download?ProjectName=wpwidgetlibrary&amp;DownloadId=293726" width="286" height="484" style="border-bottom:0px; border-left:0px; padding-left:0px; padding-right:0px; display:inline; float:left; border-top:0px; border-right:0px; padding-top:0px"&gt;&lt;/p&gt;
&lt;p&gt;Do you want to implement apps for cross-browser support? Is so and if you are Windows Phone developer this is the right project for you.
&lt;br&gt;
This project gives you ability to startup with HTML5 at Windows Phone right now. &lt;br&gt;
&lt;br&gt;
Windows Phone 7.1 has internet browser based on the Internet Explorer 9, and the version in WP7.1 is the almost the same build used for IE9 desktop edition.
&lt;br&gt;
This means the WP7&amp;#43; is able to render HTML5 content. In comparison to Chrome it is supported less HTML5 elements, but some of important features like geo-location,
&lt;br&gt;
canvas etc. works well. Usually Widows Phone is executing the HTML5 application which is hosted on some web server, and it is not a big deal to open IE on phone
&lt;br&gt;
and to navigate to the URL of the HTML5 web application. For more information about HTML5 support at Windows Phone and other devices please take a look on
&lt;br&gt;
Damir's post &amp;quot;&lt;a href="http://developers.de/blogs/damir_dobric/archive/2011/09/12/html5-for-windows-phone-7-1-episode-i-html5-support.aspx"&gt;HTML5 for Windows Phone 7.1&amp;#43; - Episode&lt;/a&gt; I&amp;quot;&lt;/p&gt;
&lt;p&gt;As long you are browsing your HTML5 application in &lt;strong&gt;WebBrowserControl &lt;/strong&gt;
there is no need for you to use this library. However, one app should be in general installed on device.
&lt;br&gt;
Currently there is no way for &lt;strong&gt;WebBrowserControl&lt;/strong&gt; to navigate to HTML file which is located somewhere in file system at the phone as this is supported by Android and iOS.
&lt;br&gt;
If you want to install your HTML5 application on device like Windows Mobile 6.5 did it with widgets this is the library which will help you to do this by calling of a single line of code.
&lt;br&gt;
&lt;br&gt;
This library helps you to deploy a HTML app to Windows Phone 7. The library contains set of helper methods which extract web content from application resource to isolated storage.
&lt;br&gt;
On that way it is possible to develop WP7 HTML5 app which can pass marketplace requirements as purchasing, updating, installing, works offline etc.&lt;/p&gt;
&lt;p&gt;Widget class library solves this problem by deploying cross platform HTML5 Widget application on Windows Phone 7 so that web content can be installed on disk.
&lt;br&gt;
With WPWidget you can easily make Windows Phone 7 hybrid application containing of the native part written in Silverlight and web part written in HTML, JavaScript and CSS.&lt;/p&gt;
&lt;p&gt;If you want to know how we have been inspired to setup this project please take a look on Damir's Episode II &amp;quot;&lt;a href="http://developers.de/blogs/damir_dobric/archive/2011/09/13/html5-for-windows-phone-7-1-episode-ii-browsing-html-content.aspx"&gt;Browsing
 HTML content&lt;/a&gt;&amp;quot;.&lt;/p&gt;
&lt;h1&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
How to use the WPWidgetLibrary?&lt;/h1&gt;
&lt;p&gt;In only few steps you can make fully functional hybrid Windows Phone 7 application. On the picture below it is shown how to use the library.&lt;/p&gt;
&lt;p&gt;1. Reference &lt;em&gt;&lt;strong&gt;Daenet.WidgetLibrary.dll &lt;/strong&gt;&lt;/em&gt;in to you WP7 project.&lt;/p&gt;
&lt;p&gt;2. Copy your HTML (App) to some project folder and mark all files in build action as
&lt;em&gt;&lt;strong&gt;&lt;span style="color:#ff0000"&gt;EmbededResource&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;3. From the Toolbox drag the WebBrowser Control and in PageLoaded event navigate to desired webpage. (See red rectangle in xaml file.)&lt;/p&gt;
&lt;p&gt;4. In the MainPage constructor append following code. This code will on start of application copy all HTML related content to isolated storage.
&lt;br&gt;
&amp;#160;&amp;#160; The string array (second argument of InstallHTMLContent) should contain all subfolders of your project which have to be copied to Isolated Storage
&lt;br&gt;
&amp;#160;&amp;#160; too. If you have very simple App with all files in one folder, then this argument is not required.&lt;/p&gt;
&lt;p&gt;&lt;img title="pic5" alt="pic5" src="http://download.codeplex.com/Download?ProjectName=wpwidgetlibrary&amp;DownloadId=293292" width="530" height="127" style="display:inline"&gt;&lt;/p&gt;
&lt;p&gt;5. Set initial page to webBrowser control from the MainPage Loaded event in code-behind.
&lt;br&gt;
&amp;#160;&amp;#160; Following code is a common WebBrowserControl code, which starts browsing of the page.
&lt;br&gt;
&amp;#160;&amp;#160; Please note that navigating page (StartPage.htm) is not the page hosted online. It is the page
&lt;br&gt;
&amp;#160;&amp;#160; in Isolated Storage.&lt;/p&gt;
&lt;p&gt;&lt;span lang="EN-US" style="color:black; font-size:10pt"&gt;&lt;span style="color:#008000"&gt;&lt;img title="pic6" alt="pic6" src="http://download.codeplex.com/Download?ProjectName=wpwidgetlibrary&amp;DownloadId=293265" width="536" height="95" style="display:inline"&gt;&amp;#160;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Compile and run the application, and you are looking the full featured HTML Widget application.&lt;/p&gt;
&lt;p&gt;&lt;img title="pic3" alt="pic3" src="http://download.codeplex.com/Download?ProjectName=wpwidgetlibrary&amp;DownloadId=293266" width="614" height="480" style="display:inline"&gt;&lt;/p&gt;
&lt;p&gt;More information will be published on demand in our blogs:&lt;/p&gt;
&lt;p&gt;1. &lt;a href="http://developers.de/members/ddobric/default.aspx"&gt;Damir Dobric Blog&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. &lt;a href="http://bhrnjica.net"&gt;Bahrudin Hrnjica Blog&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>bhrnjica</author><pubDate>Mon, 17 Oct 2011 09:19:31 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20111017091931A</guid></item></channel></rss>