tag:blogger.com,1999:blog-84221436081177839602024-03-13T18:24:12.064+01:00Developer's blogTiziano CacioppoliniAnonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.comBlogger41125tag:blogger.com,1999:blog-8422143608117783960.post-47014573154005746132014-05-12T23:50:00.000+02:002014-05-15T12:16:56.772+02:00Great news for developers<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnvWw2mzb0RNFejgUffBNNnIkJr9D61xwUBIWbwqctsBnAo2vogcU0c-5XI_HVzUt-j65lfOQKYl89nNig8KI0a2npf-TDBbdeFNyx4fmFRpFzcCOOg3X3tYq_397F2Fky2G6gHXZsUE4r/s1600/visualstudio.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnvWw2mzb0RNFejgUffBNNnIkJr9D61xwUBIWbwqctsBnAo2vogcU0c-5XI_HVzUt-j65lfOQKYl89nNig8KI0a2npf-TDBbdeFNyx4fmFRpFzcCOOg3X3tYq_397F2Fky2G6gHXZsUE4r/s1600/visualstudio.png" height="200" width="200" /></a></div>
<br />
Microsoft released Visual Studio Update 2<em> RTM</em>:<br />
<a href="http://download.microsoft.com/download/6/7/8/6783FB22-F77D-45C5-B989-090ED3E49C7C/VS2013.2.exe" target="_blank"><em>download the web installer</em></a><br />
<a href="http://go.microsoft.com/fwlink/?LinkId=393220" target="_blank"><em>download the offline installer (iso image)</em></a><br />
<a href="http://www.visualstudio.com/en-us/news/2014-may-12-vs" target="_blank"><em>check the full log</em></a><br />
<br />
The official Windows Phone 8.1 beta for<em> </em>Sqlite extension is out:<br />
<a href="http://visualstudiogallery.msdn.microsoft.com/5d97faf6-39e3-4048-a0bc-adde2af75d1b" target="_blank"><em>download Sqlite extension</em></a><br />
<br />
Want more?<br />
Telerik gives a free license for <a href="http://www.telerik.com/products/windows-phone.aspx" target="_blank">Windows Phone</a> and <a href="http://www.telerik.com/products/windows-8/overview.aspx" target="_blank">Windows 8</a> controls:<br />
<a href="http://www.telerik.com/account/teched.aspx" target="_blank"><em>claim your license</em></a><br />
<br />
Now it's time to develop Windows Phone 8.1 applications and universal apps :)<br />
<br />
[EDIT 15 may]:<br />
A special offer also from Syncfusion:<br />
<a href="http://www.syncfusion.com/sales/offers/winphone-hobbyist?UTM_Medium=TizianoBlog" target="_blank"><i>get wp controls for only 1$</i></a><br />
<br />Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com2tag:blogger.com,1999:blog-8422143608117783960.post-64819914835518035682014-03-14T14:51:00.001+01:002014-03-14T14:59:05.759+01:00Windows Phone 8 Development Succinctly - Free ebook<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJZL0S2Oi8pRl-Irney1PW04SQuMce-YlyvvaVYI_aQIBbSaMZCCXCvWwbmwD2yW_UuOXD57wkJ9Nfhun6K3cASmE4n6vhYRVhSfEeK3ZQi9Fe2ye48gNhWyKxQsgBpXCfY6npUybaVOAw/s1600/windows_phone8_development_succinctly_download.PNG" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJZL0S2Oi8pRl-Irney1PW04SQuMce-YlyvvaVYI_aQIBbSaMZCCXCvWwbmwD2yW_UuOXD57wkJ9Nfhun6K3cASmE4n6vhYRVhSfEeK3ZQi9Fe2ye48gNhWyKxQsgBpXCfY6npUybaVOAw/s1600/windows_phone8_development_succinctly_download.PNG" height="200" width="193" /></a>I'm so glad to announce the new free ebook from <a href="http://www.syncfusion.com/?utm_medium=blogtizianoreview" target="_blank">Syncfusion</a>:<br />
<br />
<a href="http://www.syncfusion.com/resources/techportal/ebooks/windowsphone8?utm_medium=blogtizianoreview" target="_blank"><span style="font-size: large; text-decoration: none;"><i>Windows Phone 8 Development Succinctly</i></span></a><br />
<br />
This ebook is written by my friend <a href="http://wp.qmatteoq.com/?utm_medium=blogtizianoreview" target="_blank"><i>Matteo Pagani</i></a> and you can download 243 pages in PDF or Kindle format.<br />
<br />
<i>Before starting, please remember: if you are a beginner in development, this ebook is not for you. You need to know the basic concepts of the C# programming.</i><br />
<i><br /></i>
This book covers all the features of Windows Phone so it's also a good read if you are new in wp development.<br />
<br />
<b>Main chapters</b>:<br />
<br />
<ol>
<li>Introduction: </li>
<li>The User Interface: Basic XAML Concepts</li>
<li>Core Concepts</li>
<li>Data Access: Storage</li>
<li>Data Access: Network</li>
<li>Integrating with the Hardware</li>
<li>Integrating with the Operating System</li>
<li>Multimedia Applications</li>
<li>Live Apps: Tiles, Notifications, and Multitasking</li>
<li>Distributing the Application: Localization, the Windows Phone Store, and In-App Purchases</li>
</ol>
<div>
<div>
<b><br /></b></div>
<div>
<b>Pro</b></div>
<div>
<ul>
<li>free! :)</li>
<li>easy and fast to read</li>
<li>all development cycle</li>
<li>a lot of samples and tips</li>
<li>Kindle format</li>
<li>finally an ebook that explains all storage approaches</li>
</ul>
</div>
</div>
<div>
<br /></div>
<div>
Meanwhile you can download the <a href="http://www.syncfusion.com/sales/offers/winphone-hobbyist?utm_medium=blogtizianoreview" target="_blank">Syncfusion wp controls</a> (now at special price) to make more fast your development. Hurry up! ;)</div>
<div>
<br /></div>
<div>
<br /></div>
Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-77569124570504522482014-03-02T23:14:00.000+01:002014-03-02T23:14:12.062+01:00Windows Phone 8 - WriteableBitmap and app resume<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKxc3MIYGUmt-VFyWOdKXB1R-2qQsPLhfHWFgg6O6rbqLofBt0AbRgQzf0-fKyzfaQXDh9CfJtoEQPtczJUSOem8nBA7xqkbTwSfvxDI3MPd2KfcJccTP1xu3gIMq-VZ1ZpWJIcGLYJf8A/s1600/myPhoneApps336.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKxc3MIYGUmt-VFyWOdKXB1R-2qQsPLhfHWFgg6O6rbqLofBt0AbRgQzf0-fKyzfaQXDh9CfJtoEQPtczJUSOem8nBA7xqkbTwSfvxDI3MPd2KfcJccTP1xu3gIMq-VZ1ZpWJIcGLYJf8A/s200/myPhoneApps336.png" height="200" width="200" /></a></div>
<br />
When I upgraded my WP7 projects to Windows Phone 8, I discovered a strange behavior.<br />
<br />
I usually update the tiles in the <em>Application_Deactivated</em> and <em>Application_Closing</em> event, but in wp8 the app crashes while it resumes.<br />
The tiles were created in the storage, so all works good.<br />
<br />
The problem seems related to the <em>WriteableBitmap.Render</em> method. I don't know why it blocks the UI thread!<br />
<br />
If you have the same behavior, you can use a workaround:<br />
<br />
In the App.xaml.cs add the <em>Navigating</em> event in the <em>InitializePhoneApplication</em> method<br />
<pre class="brush:csharp">RootFrame.Navigating += RootFrame_Navigating;
</pre>
<br />
Use the <em>app://external/</em> string to know when you are exiting from the application
<br />
<pre class="brush:csharp">void RootFrame_Navigating(object sender, NavigatingCancelEventArgs e)
{
if(e.Uri.OriginalString=="app://external/")
{
// update my custom tiles
}
}
</pre>
<br />Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-70087184055731179932014-01-13T21:40:00.000+01:002014-03-14T11:37:19.273+01:00WPDev Fusion - A new wp community<br />
After the great success of Windows Phone Week from last october, a new evolution is born:<br />
<a href="http://www.wpdevfusion.com/" target="_blank"><em>WPDev Fusion</em></a> the Windows Phone community with the best <a href="https://mvp.microsoft.com/" target="_blank">MVPs</a> in the world.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEzYRgxmovouVHnWhKxOJL1QW2o3bARX4JSlRlFMcNN88MMo8NOYPOZMNXp17SOMNl_L8L-unS9wEGIE6EPeNpi5y0atXU3sFRAO3iP3Tda7mxxF-8zbZUTLJnYMhnXmzzlHuckADQI_zv/s1600/logo-wpdevfusion_fw_-167x80.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEzYRgxmovouVHnWhKxOJL1QW2o3bARX4JSlRlFMcNN88MMo8NOYPOZMNXp17SOMNl_L8L-unS9wEGIE6EPeNpi5y0atXU3sFRAO3iP3Tda7mxxF-8zbZUTLJnYMhnXmzzlHuckADQI_zv/s1600/logo-wpdevfusion_fw_-167x80.png" /></a></div>
<br />
If you like mobile development or Windows Phone, this is the event for you!<br />
<br />
The first event is scheduled on 22nd january. It is free and online:<br />
<a href="https://wpdevfusion.eventday.com/">https://wpdevfusion.eventday.com/</a><br />
<br />
The sessions are:<br />
<ul>
<li>Utilizing the Speech API by <a href="https://twitter.com/maciejgrabek" target="_blank">Maciej Grabek</a></li>
<li>Local data access in Windows Phone by my friend <a href="https://twitter.com/qmatteoq" target="_blank">Matteo Pagani</a></li>
<li>Mapping Tips and Tricks by <a href="https://twitter.com/LocalJoost" target="_blank">Joost van Schaik</a></li>
<li>An App - No Code: The Microsoft App Studio by <a href="https://twitter.com/PeNoWiMo" target="_blank">Peter Nowak</a></li>
<li>Sharing Data between W8 and WP8: Skydrive for developers by <a href="https://twitter.com/gcaughey" target="_blank">Ginny Caughey</a></li>
</ul>
I'm very curious to attend the session of the "queen" Ginny :)<br />
<br />
[UPDATE]<br />
<a href="http://www.wpdevfusion.com/2014/01/recordings-slides-and-samples-are-now-available/#blog" target="_blank">Recording, slides and samples</a>Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com1tag:blogger.com,1999:blog-8422143608117783960.post-39052512940595488782014-01-04T13:53:00.000+01:002014-01-04T15:34:45.609+01:00Windows Phone 8 - Folders and files<div class="separator" style="display:none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKFrMR7SC3IxCBv4BuuR7anhUyTzmzPc-xNhZOFujFbELRu3KBrvZ0Wj-1if1DsHteO8hoUrC6a26L80igxedYaTYrBSEmr5zsCYCYEBX6FmXOQUvJYA2DXueLoQ1A8YrzDWRrNqxYPRUO/s1600/windows-phone-8-logo-new.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKFrMR7SC3IxCBv4BuuR7anhUyTzmzPc-xNhZOFujFbELRu3KBrvZ0Wj-1if1DsHteO8hoUrC6a26L80igxedYaTYrBSEmr5zsCYCYEBX6FmXOQUvJYA2DXueLoQ1A8YrzDWRrNqxYPRUO/s200/windows-phone-8-logo-new.png" width="200" /></a></div>
<br />
Windows Phone 8 introduced the <em><strong>ApplicationData</strong></em> class to easily work with
<em>IsolatedStorage</em> and <em>async/await</em> keywords.<br />
<br />
In Windows Phone currently it is possible to use only <strong>LocalFolder</strong> because
<em>RoamingStorage</em> and <em>TemporaryStorage</em> throw the <strong>NotSupportedException</strong>.<br />
<br />
However, all the operations can be done with a few lines.<br />
<br />
<h1>
<a href="http://www.blogger.com/null" name="How_to_use_folders"></a>How to use folders</h1>
<h2>
<a href="http://www.blogger.com/null" name="Create_folder"></a>Create folder</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">StorageFolder folder = await ApplicationData.Current.LocalFolder.CreateFolderAsync(</code><code style="color: blue;">"myFolder"</code><code style="color: black;">,
CreationCollisionOption.ReplaceExisting);</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Read_folder"></a>Read folder</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var folder = await ApplicationData.Current.LocalFolder.GetFolderAsync(</code><code style="color: blue;">"myFolder"</code><code style="color: black;">);</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Check_id_folder_exists"></a>Check if folder exists</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">StorageFolder folder;</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">try</code></span></div>
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">{</code></span></div>
<div style="background-color: #f8f8f8;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">folder = await ApplicationData.Current.LocalFolder.GetFolderAsync(</code><code style="color: blue;">"myFolder"</code><code style="color: black;">);</code></span></div>
<div style="background-color: white;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">MessageBox.Show(folder.Name);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">}</code></span></div>
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">catch</code>
<code style="color: black;">(FileNotFoundException ex)</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">{</code></span></div>
<div style="background-color: white;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">MessageBox.Show(</code><code style="color: blue;">"Folder not found"</code><code style="color: black;">);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">}</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Read_all_folders"></a>Read all folders</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var folders = await ApplicationData.Current.LocalFolder.GetFoldersAsync();</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">foreach</code>
<code style="color: black;">(var folder </code><code style="color: #006699; font-weight: bold;">in</code>
<code style="color: black;">folders)</code></span></div>
<div style="background-color: white;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">MessageBox.Show(folder.Name);</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Rename_folder"></a>Rename folder</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var folder = await ApplicationData.Current.LocalFolder.GetFolderAsync(</code><code style="color: blue;">"myFolder"</code><code style="color: black;">);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">await folder.RenameAsync(</code><code style="color: blue;">"myRenamedFolder"</code><code style="color: black;">);</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Delete_folder"></a>Delete folder</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var folder = await ApplicationData.Current.LocalFolder.GetFolderAsync(</code><code style="color: blue;">"myFolder"</code><code style="color: black;">);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">await folder.DeleteAsync(StorageDeleteOption.PermanentDelete);</code></span></div>
</div>
<br />
<br />
<h1>
<a href="http://www.blogger.com/null" name="How_to_use_files"></a>How to use files</h1>
<h2>
<a href="http://www.blogger.com/null" name="Create_file"></a>Create file</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var file = await ApplicationData.Current.LocalFolder.CreateFileAsync(</code><code style="color: blue;">"myFile.txt"</code><code style="color: black;">, CreationCollisionOption.ReplaceExisting);</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Read_all_files"></a>Read all files</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var files = await ApplicationData.Current.LocalFolder.GetFilesAsync();</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">foreach</code>
<code style="color: black;">(var file </code><code style="color: #006699; font-weight: bold;">in</code>
<code style="color: black;">files)</code></span></div>
<div style="background-color: white;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">MessageBox.Show(file.Name);</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Check_if_file_exists"></a>Check if file exists</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">StorageFile file;</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">try</code></span></div>
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">{</code></span></div>
<div style="background-color: #f8f8f8;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">file = await ApplicationData.Current.LocalFolder.GetFileAsync(</code><code style="color: blue;">"myFile.txt"</code><code style="color: black;">);</code></span></div>
<div style="background-color: white;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">MessageBox.Show(file.Name);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">}</code></span></div>
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">catch</code>
<code style="color: black;">(FileNotFoundException ex)</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">{</code></span></div>
<div style="background-color: white;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">MessageBox.Show(</code><code style="color: blue;">"file not found"</code><code style="color: black;">);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">}<br />
<br />
</code></span></div>
</div>
<h2>
<a href="http://www.blogger.com/null" name="Write_file"></a>Write file</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var file = await ApplicationData.Current.LocalFolder.CreateFileAsync(</code><code style="color: blue;">"myFile.txt"</code><code style="color: black;">, CreationCollisionOption.ReplaceExisting);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">var stream = await file.OpenAsync(FileAccessMode.ReadWrite);</code></span></div>
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code>
<code style="color: black;">(var writer = </code><code style="color: #006699; font-weight: bold;">new</code>
<code style="color: black;">DataWriter(stream.GetOutputStreamAt(0)))</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">{</code></span></div>
<div style="background-color: white;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">writer.WriteString(</code><code style="color: blue;">"Hello"</code><code style="color: black;">);</code></span></div>
<div style="background-color: #f8f8f8;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">await writer.StoreAsync();</code></span></div>
<div style="background-color: white;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">await writer.FlushAsync();</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">}</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Read_file"></a>Read file</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var file = await ApplicationData.Current.LocalFolder.GetFileAsync(</code><code style="color: blue;">"myFile.txt"</code><code style="color: black;">);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">var stream = await file.OpenAsync(FileAccessMode.Read);</code></span></div>
<div style="background-color: white;">
<span style="margin-left: 0px !important;"> </span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: #006699; font-weight: bold;">using</code>
<code style="color: black;">(var reader = </code><code style="color: #006699; font-weight: bold;">new</code>
<code style="color: black;">DataReader(stream.GetInputStreamAt(0)))</code></span></div>
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">{</code></span></div>
<div style="background-color: #f8f8f8;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">var bytes = await reader.LoadAsync((</code><code style="color: #006699; font-weight: bold;">uint</code><code style="color: black;">)stream.Size);</code></span></div>
<div style="background-color: white;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">var s = reader.ReadString(bytes);</code></span></div>
<div style="background-color: #f8f8f8;">
<code> </code><span style="margin-left: 12px !important;"><code style="color: black;">MessageBox.Show(s);</code></span></div>
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">}</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Rename_file"></a>Rename file</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var file = await ApplicationData.Current.LocalFolder.GetFileAsync(</code><code style="color: blue;">"myFile.txt"</code><code style="color: black;">);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">await file.RenameAsync(</code><code style="color: blue;">"myFileRenamed.txt"</code><code style="color: black;">);</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Delete_file"></a>Delete file</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var file = await ApplicationData.Current.LocalFolder.GetFileAsync(</code><code style="color: blue;">"myFile.txt"</code><code style="color: black;">);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">await file.DeleteAsync(StorageDeleteOption.PermanentDelete);</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Copy_file"></a>Copy file</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var file = await ApplicationData.Current.LocalFolder.GetFileAsync(</code><code style="color: blue;">"myFile.txt"</code><code style="color: black;">);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">var folder = await ApplicationData.Current.LocalFolder.GetFolderAsync(</code><code style="color: blue;">"myFolder"</code><code style="color: black;">);</code></span></div>
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">await file.CopyAsync(folder);</code></span></div>
</div>
<br />
<br />
<h2>
<a href="http://www.blogger.com/null" name="Move_file"></a>Move file</h2>
<div class="reCodeBlock">
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">var file = await ApplicationData.Current.LocalFolder.GetFileAsync(</code><code style="color: blue;">"myFile.txt"</code><code style="color: black;">);</code></span></div>
<div style="background-color: #f8f8f8;">
<span style="margin-left: 0px !important;"><code style="color: black;">var folder = await ApplicationData.Current.LocalFolder.GetFolderAsync(</code><code style="color: blue;">"myFolder"</code><code style="color: black;">);</code></span></div>
<div style="background-color: white;">
<span style="margin-left: 0px !important;"><code style="color: black;">await file.MoveAsync(folder);</code></span></div>
</div>
<h1>
<a href="http://www.blogger.com/null" name="The_sample_project"></a></h1>
<h1>
<a href="http://www.blogger.com/null" name="The_sample_project"></a>The sample project</h1>
You can download the sample project <a href="http://tiziano.cacioppolini.it/public/Blog/TestStorage.zip" target="_blank" title="TestStorage sample">
here</a>.<br />
<br />
<br />
<span style="color: red;">The original post is in the <a href="http://social.technet.microsoft.com/wiki/contents/articles/19981.isolatedstorage-folders-and-files.aspx" target="_blank">Microsoft TechNet Wiki</a></span><br />
<br />Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com1tag:blogger.com,1999:blog-8422143608117783960.post-29834200692091261432014-01-04T13:27:00.000+01:002014-01-04T13:27:02.264+01:00Mokapp 2013 - Thanks<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQQ8noeh99uxzFtbGcCcDSKyMTTBi1sMgYy_YsH2FC9LLsVhXHcIprmLMoGfU0Z2eWtYQPCgLP98DbzrIpBLvS-tN-w7HTxkh3SqOzZF_lSTAnpAbNeWMB2wnY6WMo0yNEfelmXJtoMtxs/s1600/mokapp_thanks.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQQ8noeh99uxzFtbGcCcDSKyMTTBi1sMgYy_YsH2FC9LLsVhXHcIprmLMoGfU0Z2eWtYQPCgLP98DbzrIpBLvS-tN-w7HTxkh3SqOzZF_lSTAnpAbNeWMB2wnY6WMo0yNEfelmXJtoMtxs/s200/mokapp_thanks.png" width="192" /></a><br />
Yes, we are in 2014.. and I'm really sorry for delay..<br />
<br />
I want to thank all those who attended the <a href="http://mokapp.com/post/67069142559/mokapp-2013-7-dic-2013-levento-umbro-dedicato-al" target="_blank">Mokapp 2013 event</a>.<br />
A great day with great people.<br />
<br />
Thanks to our sponsors and speakers.<br />
And a special thanks to <a href="http://www.syncfusion.com/products/windows-phone?UTM_medium=mokapp2013" target="_blank">Syncfusion</a> who gave free licenses to the new Windows Phone developers.<br />
<br />
<br />
Demo and slides are online:<br />
<ul>
<li>iOS7 - Multitasking e Dynamics - Daniele Galiotto - <a href="http://www.slideshare.net/mokapp/ios7-multitasking-e-dynamics-daniele-galiotto" target="_blank">slide</a> & <a href="https://www.dropbox.com/sh/m3f9141v64y3plr/YdG_yu0Lgx" target="_blank">demo</a></li>
<li>WP8 - Storage - Tiziano Cacioppolini - <a href="https://skydrive.live.com/redir?resid=6ADE5ADF2D81D89D!2567&authkey=!AKJ668hkthpN04Y&ithint=file%2c.ppt" target="_blank">slide</a> & <a href="https://www.dropbox.com/sh/m3f9141v64y3plr/YdG_yu0Lgx" target="_blank">demo</a></li>
<li>Android - Sviluppare con MVVM - Lorenzo Maiorfi - <a href="http://www.slideshare.net/mokapp/android-mvvm-lorenzo-maiorfi" target="_blank">slide</a> & <a href="https://www.dropbox.com/sh/m3f9141v64y3plr/YdG_yu0Lgx" target="_blank">demo</a></li>
<li>iOS7 - iBeacons e le novità di BLE - Francesco Novelli - <a href="http://www.slideshare.net/FrancescoNovelli/mokapp" target="_blank">slide</a> & <a href="https://github.com/F9/Ble_demo" target="_blank">demo</a></li>
<li>WP8 - Imaging, applicazioni fotografiche - Fabrizio Bernabei - <a href="http://www.slideshare.net/mokapp/wp-imaging-fabrizio-bernabei" target="_blank">slide</a> & <a href="https://www.dropbox.com/sh/m3f9141v64y3plr/YdG_yu0Lgx" target="_blank">demo</a></li>
<li>iOS7 WP8 Android - Side-by-side, sviluppo crossplatform - <a href="https://www.dropbox.com/sh/m3f9141v64y3plr/YdG_yu0Lgx" target="_blank">demo</a></li>
</ul>
See you at the next event! :D<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4HC4HbjNxh3MOfciEloEdlSW_I9PvzGIsAja_5N1t-kJKrjrDlsYgs4gvSTNXKfA9WDgL-LIh6BZ65gxA9cbMwXfnvc1tEbVJdawvXusFm5_SPoiGjb06oWl0LRcv7OZTHyd_56G-0HJC/s1600/DSC_3691.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4HC4HbjNxh3MOfciEloEdlSW_I9PvzGIsAja_5N1t-kJKrjrDlsYgs4gvSTNXKfA9WDgL-LIh6BZ65gxA9cbMwXfnvc1tEbVJdawvXusFm5_SPoiGjb06oWl0LRcv7OZTHyd_56G-0HJC/s320/DSC_3691.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP8zV5WQeY5SkG8kkycHZ9n-cmP7qPMnN71slgCAFUaVPC83rWgEH5_HTp6rBzfvoCjU7-TO8QfJaeOMcY9aLMFDsChNthB6emOVthuJ5gi8D6bEL3QK_7OAturXsc_I7tYzIQH21K1ibg/s1600/DSC_3685.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP8zV5WQeY5SkG8kkycHZ9n-cmP7qPMnN71slgCAFUaVPC83rWgEH5_HTp6rBzfvoCjU7-TO8QfJaeOMcY9aLMFDsChNthB6emOVthuJ5gi8D6bEL3QK_7OAturXsc_I7tYzIQH21K1ibg/s320/DSC_3685.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAWGqhra-PtHANyPKO2Q6vuWDe0QKmoXRRqxq6S0v3W2fw_SJUG-if1iIZwFatorADxqRYItudVZKyr0vELv3Zr41UBorZhfLyBi_SfvdpCD08QOSL_v8-h_TsHt6yeLzxPEoyYaNcPDKg/s1600/DSC_3692.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAWGqhra-PtHANyPKO2Q6vuWDe0QKmoXRRqxq6S0v3W2fw_SJUG-if1iIZwFatorADxqRYItudVZKyr0vELv3Zr41UBorZhfLyBi_SfvdpCD08QOSL_v8-h_TsHt6yeLzxPEoyYaNcPDKg/s320/DSC_3692.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDu36MUSjOK5tObVzDTIexFq23nR8TqN1MpXEF2PvxM32y2Kvm1eKzq6PHJu203xT0cNf6PfaG3yUFhj1rT33SVClDzEnyPf38t-9pUv_0WH7v2MIHPgaSGmLegifj9t7f9A-9FYjPvVFp/s1600/DSC_3698.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDu36MUSjOK5tObVzDTIexFq23nR8TqN1MpXEF2PvxM32y2Kvm1eKzq6PHJu203xT0cNf6PfaG3yUFhj1rT33SVClDzEnyPf38t-9pUv_0WH7v2MIHPgaSGmLegifj9t7f9A-9FYjPvVFp/s320/DSC_3698.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4OlNxPhjpXYLRSiug3nQvoqIdqwtHdlakv7fOYD_GgMrEf5MMYcIrZIoWewKMUEMAyoNTD3Jqof4nHXkv0JGVVwuhm5fZsuEExgG2sqjBCXDlEm_PN6yx_A-yt2HIHVREd9ABJgeYFjyA/s1600/DSC_3699.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4OlNxPhjpXYLRSiug3nQvoqIdqwtHdlakv7fOYD_GgMrEf5MMYcIrZIoWewKMUEMAyoNTD3Jqof4nHXkv0JGVVwuhm5fZsuEExgG2sqjBCXDlEm_PN6yx_A-yt2HIHVREd9ABJgeYFjyA/s320/DSC_3699.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXyGO4L8EFBEUwuUbkgIBbBDleXnNJaxXCMeO1lSzWmOc9nCyGUfKRTHyb65AbVCLR_KMITo_JUJgA-AbNt2P7oZ25zbemQbzutnnUK0O2Q8dqsJYiNkWbDvILJmHHZzIG7Rud7FKdHVnD/s1600/DSC_3711.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXyGO4L8EFBEUwuUbkgIBbBDleXnNJaxXCMeO1lSzWmOc9nCyGUfKRTHyb65AbVCLR_KMITo_JUJgA-AbNt2P7oZ25zbemQbzutnnUK0O2Q8dqsJYiNkWbDvILJmHHZzIG7Rud7FKdHVnD/s320/DSC_3711.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKa3rB54Nxg1DC6HIiBQpyF3PeXf2FpV_zVsuaLdwTPQ3h90g8d1Jt-uOBnw0Kjc5z-gFhLbVduJTo6L7oFon_87KtIf0cFYnl5wdG0qCXZQMdNQi6NIxhoIKSRQNs0JPvUacR9QJyXbWy/s1600/DSC_3722.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKa3rB54Nxg1DC6HIiBQpyF3PeXf2FpV_zVsuaLdwTPQ3h90g8d1Jt-uOBnw0Kjc5z-gFhLbVduJTo6L7oFon_87KtIf0cFYnl5wdG0qCXZQMdNQi6NIxhoIKSRQNs0JPvUacR9QJyXbWy/s320/DSC_3722.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbjEckpyvstpRhEMszN6_il1lvBUptSKKn_13MDwNR9Xvowq34lRqFFeYdi9HWCKiCbfXCLtM1xk768zKCxRlaVcCfIovvR4SKtGs1QDCsLDYJUlrs3ZAT662cVQeZ1lUEQe3b3buHdQvm/s1600/DSC_3710.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbjEckpyvstpRhEMszN6_il1lvBUptSKKn_13MDwNR9Xvowq34lRqFFeYdi9HWCKiCbfXCLtM1xk768zKCxRlaVcCfIovvR4SKtGs1QDCsLDYJUlrs3ZAT662cVQeZ1lUEQe3b3buHdQvm/s320/DSC_3710.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0oRRUuDgq7R7Ls0CsiGdODD_IiIZYJFc6u0WmWNphl5tUdkiAbwOxqM8Lgra9oKt4g0nKsiQ9fNIlinD34uAZd7O2LqTmIKPD8SWYK2G712UbedZm2thW-6IJl33L71rxlDj2uGoimeFw/s1600/DSC_3704.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0oRRUuDgq7R7Ls0CsiGdODD_IiIZYJFc6u0WmWNphl5tUdkiAbwOxqM8Lgra9oKt4g0nKsiQ9fNIlinD34uAZd7O2LqTmIKPD8SWYK2G712UbedZm2thW-6IJl33L71rxlDj2uGoimeFw/s320/DSC_3704.jpg" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhktpjIN9tDyyHE65rkZY15JDd2FL-Ggdz_s-ptIGut2UoIlL2iBpWuEOhsjhwHmqOAPTZvIzbXmvQHo2BuTTJ-n8oQkU98zXZJKs0ccimDtF8E9fN_gzsJyhZQiBvlksAs4GWdwbvoxSvo/s1600/DSC_3717.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhktpjIN9tDyyHE65rkZY15JDd2FL-Ggdz_s-ptIGut2UoIlL2iBpWuEOhsjhwHmqOAPTZvIzbXmvQHo2BuTTJ-n8oQkU98zXZJKs0ccimDtF8E9fN_gzsJyhZQiBvlksAs4GWdwbvoxSvo/s320/DSC_3717.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho253SWhRcGZFTEu_Qym2mPPm6n92kPR-Z8JY6NnM226msbuY_QKds6HIRsq03RGCd_GdflBFz5Lctv6dk5xIk1SyIAjB9NahrrxXc301NjnWbRK_A3PF1fzYr04BPAR-AnaXPc0JIy7ie/s1600/WP_20131206_19_22_32_Pro.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho253SWhRcGZFTEu_Qym2mPPm6n92kPR-Z8JY6NnM226msbuY_QKds6HIRsq03RGCd_GdflBFz5Lctv6dk5xIk1SyIAjB9NahrrxXc301NjnWbRK_A3PF1fzYr04BPAR-AnaXPc0JIy7ie/s320/WP_20131206_19_22_32_Pro.jpg" width="320" /></a></div>
<br />
Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-74726985300305128332013-11-30T14:45:00.000+01:002013-11-30T15:09:20.492+01:00XMAS TIME - Get a Lumia 925 for free<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhavc6e62MUIJuDcs_7IVjrU1m5Rg7LRpGcH_IliOu57043gFiGBm6pSIhkOkZgmoFFH4ygNjzaiWh4BViEC-pS_0pTjOKb9Kyw259gt_ajs-ZW-yTEX64PSNeeJ81oYEncZOeGDmh1zQkm/s1600/Nokia-Lumia-925.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhavc6e62MUIJuDcs_7IVjrU1m5Rg7LRpGcH_IliOu57043gFiGBm6pSIhkOkZgmoFFH4ygNjzaiWh4BViEC-pS_0pTjOKb9Kyw259gt_ajs-ZW-yTEX64PSNeeJ81oYEncZOeGDmh1zQkm/s320/Nokia-Lumia-925.jpg" width="320" /></a></div>
<br />
Do you want a Lumia 925 for Christmas?<br />
Thanks to <a href="http://www.dvlup.com/diabloxx83/invite" target="_blank">DVLUP</a> you can get it easy :)<br />
<br />
Check <a href="http://www.dvlup.com/Challenge/308?ref=diabloxx83" target="_blank">the new xmas challenge</a>!<br />
You just need to create 3 new applications for <em>Windows Phone 8</em> and 3 new apps for <em>Windows 8</em>.<br />
When you reach 4 apps (2 wp8 + 2 win8) you get 800XP to spend in <a href="http://www.dvlup.com/Rewards" target="_blank">rewards</a>.<br />
<br />
You don't have the <a href="http://www.dvlup.com/diabloxx83/invite" target="_blank">DVLUP account</a>? Just register from this <a href="http://www.dvlup.com/diabloxx83/invite" target="_blank">link</a>.<br />
<em></em><br />
<em>The submission ends the 24th december.</em><br />
<em>And if you register to dvlup from my link, I can get 500xp too.</em><br />
Merry Xmas :D<br />
<br />
Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com1tag:blogger.com,1999:blog-8422143608117783960.post-28084794111490867152013-11-16T14:51:00.000+01:002013-11-16T14:51:48.087+01:00[ITA] Dal 920 al Lumia 1020<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7cN1ZDzGhVqelaUVX8goWSNgSw_NASkrm_Eb0ZxwajjOt7F1eqbcjZvLNxCfyqKn-B9lwxzk2uhhRlOgrODIi91RQds9LQb6ow4m-5Al6Ghqlqnm1vBsIvZjeRtn_g6Ohy3mUHCet_ilo/s1600/nokia-lumia-1020-camera.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7cN1ZDzGhVqelaUVX8goWSNgSw_NASkrm_Eb0ZxwajjOt7F1eqbcjZvLNxCfyqKn-B9lwxzk2uhhRlOgrODIi91RQds9LQb6ow4m-5Al6Ghqlqnm1vBsIvZjeRtn_g6Ohy3mUHCet_ilo/s200/nokia-lumia-1020-camera.jpg" width="200" /></a></div>
<br />
Che dire... Il Lumia 1020 subentra di prepotenza con il suo colore giallo.<br />
<br />
La prima impressione è sicuramente molto positiva, non solo per l'impatto visivo, ma anche per la maneggevolezza. Quei 30 grammi in meno rispetto al 920 fanno la differenza. Sfortunatamente per chi è abituato alla ricarica wireless, dovrà comprare una cover apposita o rinunciarci per sempre.<br />
<br />
Lo schermo è passato da LCD ad AMOLED: la qualità si nota considerevolmente, specialmente nella profondità dei neri. Il vetro passa da Gorila Glass 2 a Gorilla Glass 3, e come succedeva già prima, alla minima rigatura, puoi passarci la mano sopra per farlo tornare come nuovo.<br />
L'amoled riesce a valorizzare ancora di più la funzionalità Glance (l'orologio che comprare a telefono bloccato), che adesso è nettamente più definita e visibile anche a diverse angolazioni.<br />
<br />
Sul retro del dispositivo alloggia l'imponente fotocamera che occupa una buona parte della superficie, ma che enfatizza l'entità dei 41 megapixel. Sfortunatamente la fotocamera sporge e fa si che il telefono non tocchi interamente sul piano di appoggio. Dall'altro lato però, è molto più semplice visualizzare l'ora senza avvicinarsi al telefono.<br />
<br />
QUARANTUNO megapixel!! Ogni foto viene scattata sia con risoluzione normale da 5mp sia a 41mp. La prima viene utilizzata per tutte le attività del telefono e per la condivisione nei social network, l'altra può essere visualizzata dal pc o con applicazioni apposite.<br />
La luminosità e la precisione del sensore sono di alto livello ed in abbinamento con l'applicazione Nokia Camera, sembra di avere tra le mani una reflex. Il tutto viene amplificato dal Camera Grip, un accessorio che trasforma il telefono in una compatta con batteria ausiliaria e la possibilità di utilizzare il device con un cavalletto. Il Camera Grip offre molti vantaggi, ma ha anche un difetto: anche se molto resistente, per toglierlo bisogna forzare parecchio e quindi si ha sempre l'impressione di romperlo.<br />
Il 920 dava il meglio di sé con le foto in notturna, ma sono rimasto meravigliato dalla qualità che sono riusciti a raggiungere con il 1020. Il flash è tre volte più grande e potente del precedente e viene affiancato dalla lampada della messa a fuoco.<br />
Posso quindi affermare che questo device regna sovrano nel reparto fotografico, specialmente se paragonato ai vari concorrenti.<br />
<br />
Il sistema operativo è sempre Windows Phone 8, ma stavolta accompagnato da un hardware con 2gb di memoria. Veloce, scattante ed esente dai problemi di lag che hanno i device android e ultimamente gli iPhone con iOS7.<br />
<br />
L'autonomia è paragonabile a quella del 920 e monta sempre una batteria da 2000mAh. Sinceramente la mia impressione è che duri di più rispetto a prima, ma non voglio fare un paragone per il fatto che il 920 ha già più di un anno di età.<br />
<br />
Posso concludere affermando che il passaggio dal 920 al 1020 è nettamente positivo, anche se avrei preferito mantenere la ricarica wireless e magari il colore azzurro :)<br />
<br />
A questo <a href="https://skydrive.live.com/?cid=6ade5adf2d81d89d&id=6ADE5ADF2D81D89D%212113&v=3&sff=1&authkey=!AKJC8sUwRGQdFB8#cid=6ADE5ADF2D81D89D&id=6ADE5ADF2D81D89D%212102&authkey=%21AKJC8sUwRGQdFB8" target="_blank">link</a> trovate alcune foto di prova. <br />
<br />
Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com2tag:blogger.com,1999:blog-8422143608117783960.post-55659174128094257352013-11-12T21:21:00.001+01:002013-11-12T21:22:00.328+01:00Syncfusion TileView - Windows Phone<br />
I found a nice Windows Phone control in the <a href="http://www.syncfusion.com/?UTM_medium=tizianoblogreview" target="_blank">Syncfusion</a> suite: the <em>TileView</em>.<br />
That control has the ability to show a collection of items but one can be maximized to display more informations.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjB71rbjPkCM4buMvwtNTyfcXBgw2-fFQ-oZ91ULJK879AZEiz4DGP2MnUab2uDwxxVsjh1cRvsU0NLYw3h69nxkNwULmSQWmX85mCvfYEY0adrw2RavbaezDd5MOb0lNQcmSz1f9SPzep/s1600/wp_ss_20131111_0002.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjB71rbjPkCM4buMvwtNTyfcXBgw2-fFQ-oZ91ULJK879AZEiz4DGP2MnUab2uDwxxVsjh1cRvsU0NLYw3h69nxkNwULmSQWmX85mCvfYEY0adrw2RavbaezDd5MOb0lNQcmSz1f9SPzep/s320/wp_ss_20131111_0002.jpg" width="192" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzqQx_eQ0UNT71fMO8yciK2HA77EzjF3B6l9oTTWhk2YJmcWfOs1L9w43lMrtGl087i7xBLJSyFb1VYsR39IhA4FMevi5eKerqhIuWGhflpZPQ9ZNK5wHoacyhilvZXa85YTvy8n8Ubmal/s1600/wp_ss_20131111_0001.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzqQx_eQ0UNT71fMO8yciK2HA77EzjF3B6l9oTTWhk2YJmcWfOs1L9w43lMrtGl087i7xBLJSyFb1VYsR39IhA4FMevi5eKerqhIuWGhflpZPQ9ZNK5wHoacyhilvZXa85YTvy8n8Ubmal/s320/wp_ss_20131111_0001.jpg" width="192" /></a></div>
<br />
<br />
<br />
The code is very simple, so let's start to explain the wp8 version!<br />
<br />
First of all you need to reference two dll in your project:<br />
<ol>
<li> Syncfusion.SfTileView.WP8.dll</li>
<li> Syncfusion.SfShared.WP8.dll</li>
</ol>
In the xaml, add the namespace:<br />
<pre class="brush:csharp">xmlns:syncTileView="clr-namespace:Syncfusion.WP.Controls.Layout;assembly=Syncfusion.SfTileView.WP8"
</pre>
and your TileView object:<br />
<pre class="brush:csharp"><syncTileView:SfTileView ItemsSource="{Binding ComingSoonFilms}" MinimizedItemsOrientation="Right">
....
....
....
</syncTileView:SfTileView>
</pre>
<em>"MinimizedItemsOrientation property change the orientation of items while the maximized item is displayed"</em><br />
<br />
Now you need the <em>ItemTemplate</em> to show your items and a <em>MaximizedItemTemplate</em> to show the detail.<br />
You can create a simple <em>ItemTemplate</em> with an image:<br />
<pre class="brush:csharp"><syncTileView:SfTileView.ItemTemplate>
<DataTemplate>
<Image Source="{Binding Picture}" Width="100" Height="160" Stretch="Fill"/>
</DataTemplate>
</syncTileView:SfTileView.ItemTemplate>
</pre>
<br />
and a <em>MaximizedItemTemplate</em> like this:<br />
<pre class="brush:csharp"><syncTileView:SfTileView.MaximizedItemTemplate>
<DataTemplate>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<TextBlock Text="{Binding Title}" Style="{StaticResource PhoneTextLargeStyle}"/>
<Image Grid.Row="1" Source="{Binding Picture}" Stretch="UniformToFill"/>
</Grid>
</DataTemplate>
</syncTileView:SfTileView.MaximizedItemTemplate>
</pre>
<br />Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-10803988486050358682013-10-01T19:27:00.000+02:002013-10-01T19:27:22.245+02:00DVLUP - Support ALL Windows Phone 8 screen resolutions<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNYYdWeg0M0O70tlJ470UllYxRpPeiLuEpETgaZ-sfjQO7OWDJMYeulsEUKm-OdaeWASLQnnd0Ls3Et_OZBXlqTRgPh4clMEhz9rrJpdkGXeP9JbN4QOAq1mVvcSWQ1pF7EFPaNQJDGJjx/s1600/logo-dvlup.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNYYdWeg0M0O70tlJ470UllYxRpPeiLuEpETgaZ-sfjQO7OWDJMYeulsEUKm-OdaeWASLQnnd0Ls3Et_OZBXlqTRgPh4clMEhz9rrJpdkGXeP9JbN4QOAq1mVvcSWQ1pF7EFPaNQJDGJjx/s1600/logo-dvlup.png" /></a></div>
<br />
The <a href="http://www.dvlup.com/" target="_blank">DVLUP</a> is web-based community and rewards program for Windows Phone app developers.<br />
The developers can complete challenges to get points and then get prizes.<br />
<br />
Very nice! But...<br />
what is the challenge requirement "<strong>Support ALL Windows Phone 8 screen resolutions</strong>"?<br />
<br />
It creates a lot of confusion to devs:<br />
<ul>
<li>It needs a wp8 app?</li>
<li>I can submit a wp7 app?</li>
<li>My app needs both xap versions?</li>
<li>I need multiple splashscreen?</li>
<li>The app needs icons and tiles with high resolution?</li>
</ul>
<br />
The answer from DVLUP team:<br />
<br />
<div style="text-align: center;">
<em>"The challenge requirement to support all Windows Phone 8 screen resolutions is to cover the different screen sizes on the different Lumia phones (HD720P (720x1280), WVGA (480x800) and WXGA (768x1280)).<br /> A Windows Phone 7 app may run in these resolutions but be scaled and not use the entire screen. The challenge requirement as that the app use the full screen without scaling or cropping."</em></div>
<div style="text-align: center;">
</div>
<div style="text-align: left;">
<em></em> </div>
Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-14439840760982428872013-09-13T22:05:00.000+02:002013-09-13T22:10:02.565+02:00Force binding update for a TextBox<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcKcTQ4tdpL_HVx_huP-HKHVjHWt7R9icf7vCF-fO-YUxW3ZlQFeKZnUZ_Iydp4gmpo-3tL-STsqkUmRO-3NIloRQy3Cir1qrD9M8H6QZfdYrZSmJlqPEKn4wzoSusSU56XKzzIliFbrzb/s1600/Folders-OS-Windows-8-Metro-icon.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcKcTQ4tdpL_HVx_huP-HKHVjHWt7R9icf7vCF-fO-YUxW3ZlQFeKZnUZ_Iydp4gmpo-3tL-STsqkUmRO-3NIloRQy3Cir1qrD9M8H6QZfdYrZSmJlqPEKn4wzoSusSU56XKzzIliFbrzb/s200/Folders-OS-Windows-8-Metro-icon.png" width="200" /></a></div>
<br />
The <em>TextBox</em> control updates the <em>Text</em> binding source only when it looses focus.<br />
<br />
When you are writing in a <em>TextBox</em> and you press a button in the <em>ApplicationBar</em>, the focus not changes and your MVVM property doesn't update.<br />
<br />
The workaround is to force the binding update like this:<br />
<pre class="brush:csharp">
var focusedElement = FocusManager.GetFocusedElement();
var focusedTextBox = focusedElement as TextBox;
if (focusedTextBox != null)
{
var binding = focusedTextBox.GetBindingExpression(TextBox.TextProperty);
if (binding != null)
binding.UpdateSource();
}
</pre>
<br />
<br />Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com2tag:blogger.com,1999:blog-8422143608117783960.post-79852367584484079862013-09-07T09:31:00.003+02:002013-09-08T22:51:44.164+02:00Install Nokia Pro Camera with Amber<br />
If you can't download <a href="http://www.windowsphone.com/s?appid=bfd2d954-12da-415c-ad99-69a20f101e04" target="_blank">Nokia Pro Camera</a> like me...<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1SXTlrKkJySZwKBxGw6ejSDIeTTLsyQXQ0u4qChqFc193KgxrAkqXENOseC0y2aVWmrVex6PsvUbnxgoGlynwNOdfpeh3knvB9xa-Nz0HFdepDy8n7oJ8hgXLV-vnIeHmAzU16NY3sS0b/s1600/wp_ss_20130906_0001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1SXTlrKkJySZwKBxGw6ejSDIeTTLsyQXQ0u4qChqFc193KgxrAkqXENOseC0y2aVWmrVex6PsvUbnxgoGlynwNOdfpeh3knvB9xa-Nz0HFdepDy8n7oJ8hgXLV-vnIeHmAzU16NY3sS0b/s320/wp_ss_20130906_0001.png" width="192" /></a></div>
<br />
Here an easy workaround:<br />
<ol>
<li>Change your phone region and language to United States</li>
<li>Connect to a WiFi network</li>
<li>Under Settings - WiFi, click on the WiFi network you are connected to</li>
<li>Switch 'Proxy' to on. Now type "117.135.139.179" into "Server/URL". In "Port", type in "8888"</li>
<li>Go to the Store and click on 'Nokia Collection'</li>
<li>Download Nokia Pro Cam</li>
<li>When the download started, turn Proxy off</li>
<li>Set your phone region back to normal, and Restart.</li>
</ol>
<br />
<ol>
</ol>
Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-82022598904470811072013-09-03T14:15:00.001+02:002013-09-03T14:17:06.217+02:00The Next Chapter: Microsoft and Nokia<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlAsfDZKxlxWGcWMu8dJPPbAvaX1k9DdcORgjJ9Gc_iAfd-26vLZHkionlOMtZIGaVdyS2ZCjXGHmAKI7BezoBO-eT5mbzIjO66ljxe1NlGbHmofNNSwhONUeqHbzg9xphkF3GZpnlRVK1/s1600/logo_microsoft.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlAsfDZKxlxWGcWMu8dJPPbAvaX1k9DdcORgjJ9Gc_iAfd-26vLZHkionlOMtZIGaVdyS2ZCjXGHmAKI7BezoBO-eT5mbzIjO66ljxe1NlGbHmofNNSwhONUeqHbzg9xphkF3GZpnlRVK1/s1600/logo_microsoft.jpg" /></a></div>
<i><br /></i>
<i>"Important news today: an agreement for Microsoft to purchase Nokia’s Devices & Services business, to deliver more choices, faster innovation, and even more exciting devices and services to our customers."</i><br />
<br />
<a href="http://conversations.nokia.com/2013/09/03/the-next-chapter-an-open-letter-from-steve-ballmer-and-stephen-elop/#.UiXRWQC_N1s.blogger" target="_blank">Read the complete post..</a><br />
<br />Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-11775218704560518082013-08-22T09:42:00.002+02:002013-08-22T13:22:09.476+02:00Windows Store Apps Succinctly - Free eBookSome days ago I started to develop an application for Windows Store.<br />
I love to develop in C#, and after some pages in <a href="http://msdn.microsoft.com/en-US/windows/apps/br229519" target="_blank">MSDN</a> documentation, I searched for an offline free e-book to read with my tablet.<br />
I found a great resource from <a href="http://www.syncfusion.com/?UTM_medium=tizianoblogreview" target="_blank">Syncfusion</a>:<br />
<br />
<a href="http://www.syncfusion.com/resources/techportal/ebooks/windowsstoreapps?UTM_medium=tizianoblogreview" target="_blank"><em><span style="font-size: large;">Windows Store Apps Succinctly</span></em></a><br />
<br />
<a href="http://www.syncfusion.com/resources/techportal/ebooks/windowsstoreapps?UTM_medium=tizianoblogreview" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWzT1HuWcboqooJGG0ELGbpf9bT6Err-SpdkEOb8EuYoYE41hHUcx5M7J1UYsSohm3BXivtHcPak_cobbiWqJExnANdgY_7qsMPkoEWRQU0SkxWtPvGhuuJluxR0HogWF2wLI5Z7iNf1M2/s200/windowsstore_succinctly_download.png" width="193" /></a>This book is written by <em>John Garland</em> and you can download 185 pages in PDF or Kindle format.<br />
<br />
Before starting, please remember: <em>if you are a beginner in development, this ebook is not for you</em>.<br />
<br />
Why is it a good choice? Because it's simple and fast to read. It starts from core concepts until you get to the deployment. Then at the end of this book, you are ready to fully develop your first application.<br />
<br />
<strong>Main Chapters</strong><br />
<ol>
<li><strong>Core Concepts</strong>: the introduction to Windows Store apps, WinRT and the Windows Runtime with a simple "Hello World" sample.</li>
<li><strong>XAML, Controls, and Pages</strong>: all you need to know about XAML, from Namespace declarations, to Animations and Data Binding. The chapter shows all essential controls for the user interface and explains how to work with Pages and Frames.</li>
<li><strong>Application Life Cycle and Storage</strong>: one of the most important chapters. The Windows Store apps life cycle is not the same as the desktop apps, then you need to understand all steps for the the best user experience. This chapter continues with Data Storage. It explains how to work with Application Data (local, roaming, temporary), User Data (file and folder picker) and Data Storage (files/folder and some useful links to LiveConnect and SQLite). </li>
<li><strong>Contracts and Extensions</strong>: the Windows 8 Charms: search, share, print, app settings, etc.. The chapter ends with handling file types and protocols.</li>
<li><strong>Tiles, Toast, and Notifications</strong>: yes..the big feature of Windows Phone, now in Windows 8. <em>If you want to release a great app, you really need a good Live Tile</em>. This chapter covers all types of Tiles and how to schedule the updates. Then it talks about the Toast Notifications and ends with a sample of Push Notification.</li>
<li><strong>Hardware and Sensors</strong>: an overview of all sensors (like compass, gyroscope, accelerometer and gps) and how to interact with Camera. The user love those features, then use them in your app.</li>
<li><strong>Deployment</strong>: your application is done, let's publish it on Windows Store! Understand the Store prices and accounts; learn how to use the Windows Application Certification Kit; add the trial mode and the In-app purchase; configure the PubCenter and the Ads.</li>
</ol>
<br />
<strong>Pro</strong><br />
<ul>
<li>Free! :)</li>
<li>Easy and fast to read</li>
<li>XAML + C#</li>
<li>All development cycle</li>
<li>A lot of samples and tips</li>
<li>Kindle format</li>
<li>Not for development beginners</li>
</ul>
<br />
<strong>Cons</strong><br />
<ul>
<li>No NFC samples</li>
<li>No gestures samples</li>
</ul>
<br />
Now enjoy your reading... thanks <a href="http://www.syncfusion.com/?UTM_medium=tizianoblogreview" target="_blank">Syncfusion</a>.<br />
<br />
FYI another good free resource is <a href="http://www.syncfusion.com/downloads/metrostudio?UTM_medium=tizianoblogreview" target="_blank">Metro Studio</a>: a customizable collection of icon templates.<br />
<div>
<br /></div>
<div>
</div>
Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-69301674416142830032013-08-21T23:49:00.000+02:002013-08-21T23:49:59.208+02:00Restore NuGet Packages<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEib3FG4fKzxCsoepx0YN9s-ppSGAlM1Lk3H3PfwnZGGtnRuLmdG0Mew2z8bA7-r_pcjwqcc4dFcMx6DA_cYd-6KadIXD53WoqdpV_0SSvh8crxQSpsnP2g-xQvyyNZ8ErOWbEcyo4GQy6Lx/s1600/nuget_35366349.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="55" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEib3FG4fKzxCsoepx0YN9s-ppSGAlM1Lk3H3PfwnZGGtnRuLmdG0Mew2z8bA7-r_pcjwqcc4dFcMx6DA_cYd-6KadIXD53WoqdpV_0SSvh8crxQSpsnP2g-xQvyyNZ8ErOWbEcyo4GQy6Lx/s200/nuget_35366349.png" width="200" /></a></div>
<br />
To restore NuGet packages you need only few steps:<br />
<br />
1- In Visual Studio Options --> Package Manager -> Check "Allow NuGet to download missing packages during build".<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHzRbT631kyryUfNxpDS8W5QIeq_zNwR3P3SPs5xqM9nrQO4NTm8yZbOFwbIKXBQDv4f6t_oLIR-5ZooB8xtTp10rI1dnkIzWG8MMtemMW3e0_arHswrvfpeqp_nnzdREM1VPqDycgC6qc/s1600/NugetOption.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="184" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHzRbT631kyryUfNxpDS8W5QIeq_zNwR3P3SPs5xqM9nrQO4NTm8yZbOFwbIKXBQDv4f6t_oLIR-5ZooB8xtTp10rI1dnkIzWG8MMtemMW3e0_arHswrvfpeqp_nnzdREM1VPqDycgC6qc/s320/NugetOption.png" width="320" /></a></div>
<br />
2- In the Solution --> Enable NuGet Package Restore.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6u9uolGknvku83YfqdGZy4hQ5YMIWolEORr9D8k0vXjSk6LJQS_HDNUayg-xk8oy9TekI6_szzdeIDamegQwaoduP2s-GFYufnriCeLtGPqk3sK607PYPqjI5QVTnSZblRLFoSQl-wCdD/s1600/NugetEnablePackageRestore.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6u9uolGknvku83YfqdGZy4hQ5YMIWolEORr9D8k0vXjSk6LJQS_HDNUayg-xk8oy9TekI6_szzdeIDamegQwaoduP2s-GFYufnriCeLtGPqk3sK607PYPqjI5QVTnSZblRLFoSQl-wCdD/s320/NugetEnablePackageRestore.png" width="251" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
3- Build your project.</div>
<br />
That's all!Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-79095775175468151072013-08-15T12:21:00.000+02:002013-08-20T16:01:36.580+02:00String format in Xaml<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvlFLdMdJM3cV_6UwqDBqRb31rgYGU65JKNcc7nJZ8FnRIrfNcCWHBvg4ZZTqvanUct_ic4eSpCE0yP4Ic3vQ_iNveC5HhCExw3jgbboD3LIejsOlzwlsQt8DB8GcPybiI5hcCaqhQsxnG/s1600/xamllogo.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvlFLdMdJM3cV_6UwqDBqRb31rgYGU65JKNcc7nJZ8FnRIrfNcCWHBvg4ZZTqvanUct_ic4eSpCE0yP4Ic3vQ_iNveC5HhCExw3jgbboD3LIejsOlzwlsQt8DB8GcPybiI5hcCaqhQsxnG/s200/xamllogo.jpg" width="160" /></a></div>
When you need to concatenate some strings in a TextBlock you can use the tag like <i>Run</i>.<br />
<br />
Silverlight 4 has introduced an useful feature to make this more easy: <i>StringFormat</i>.<br />
Now you can put more informations in a single element.<br />
<br />
The code is very simple:<br />
<pre class="brush:csharp"><TextBlock Text="{Binding Username, StringFormat='Hello \{0\}'}" />
<TextBlock Text="{Binding Temperature, StringFormat=\{0\}°}" />
</pre>
<br />
and it works also with numbers and dates:
<br />
<pre class="brush:csharp"><TextBlock Text="{Binding Value, StringFormat=\{0:n2\}}" />
<TextBlock Text="{Binding Value, StringFormat=\{0:c2\}}" />
<TextBlock Text="{Binding Date, StringFormat=f}" />
</pre>
<br />
You can check more details in the <a href="http://www.kunal-chowdhury.com/2011/05/formatting-text-in-silverlight-xaml.html" target="_blank">Kunal's blog</a><br />
<br />Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-26149130875271145992013-07-15T20:27:00.000+02:002013-07-15T20:28:26.921+02:00Our 5 favourite new Windows Phone apps of the week<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxTBevdIwlMIMsmxVmmjstELHkPmKkDQuWrDzU2WYk726QMDvZdWBkOPvw1rLoTBiLY1rvi7kbmm1ZZ9XPx7bJ7HYr2YXO1vjYkaA2gEk8WjFjK3Pchboast_wV3WFeh585oIOVOPpTtDh/s1600/Bestwindowsphoneapps.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxTBevdIwlMIMsmxVmmjstELHkPmKkDQuWrDzU2WYk726QMDvZdWBkOPvw1rLoTBiLY1rvi7kbmm1ZZ9XPx7bJ7HYr2YXO1vjYkaA2gEk8WjFjK3Pchboast_wV3WFeh585oIOVOPpTtDh/s200/Bestwindowsphoneapps.png" width="200" /></a></div>
<br />
Today myMoneyBook is featured in Nokia's blog: <a href="http://conversations.nokia.com/2013/07/13/our-5-favourite-new-windows-phone-apps-of-the-week-10/#.UeMmvejtYUs.blogger">Our 5 favourite new Windows Phone apps of the week</a>.<br />
<br />
Thank you so much <a href="http://www.nokia.com/" target="_blank">Nokia</a>!<br/><br/>Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-35935760587348945462013-07-14T22:59:00.002+02:002013-07-14T23:01:56.127+02:00TechNet Guru Awards - June 2013 - Windows Phone<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwzMXtyYfPyptC9kecW-fJ4pckO4EEXH4yB0Y-si7TUrsYFamjq79-WnmhO2aj492Gj_CrM7Gi3s_2CA1FHC2NH0gxiAe6jPohoImzCXq2_l1bz8wo7C9WCQzizwDsVz2lO4teTxrlfml6/s1600/8688_WinDevNinja_png-50x0.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwzMXtyYfPyptC9kecW-fJ4pckO4EEXH4yB0Y-si7TUrsYFamjq79-WnmhO2aj492Gj_CrM7Gi3s_2CA1FHC2NH0gxiAe6jPohoImzCXq2_l1bz8wo7C9WCQzizwDsVz2lO4teTxrlfml6/s1600/8688_WinDevNinja_png-50x0.png" /></a></div>
After some hard work, I won the TechNet Guru Award - June 2013 for Windows Phone category:<br />
<a href="http://blogs.technet.com/b/wikininjas/archive/2013/07/10/technet-guru-awards-june-2013.aspx">http://blogs.technet.com/b/wikininjas/archive/2013/07/10/technet-guru-awards-june-2013.aspx</a><br />
<br />
Here my article: <a href="http://social.technet.microsoft.com/wiki/contents/articles/18194.maps-and-clusters.aspx" target="_blank">Maps and Clusters</a><br />
<br />
Thank you!Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com2tag:blogger.com,1999:blog-8422143608117783960.post-57544428035022922902013-06-29T15:00:00.000+02:002013-12-29T23:17:54.987+01:00Windows Phone 8 - Map and Clusters<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixPkdVMHSvT-ox8qKoHjpa9BwWL48TlUU6IWb9JRLE3-S7jtWGj3XZ4lCyEk0cWwqZ2oPuf3oRR2nGIoycJwGBw7jb5njPpY6FaHwcWAYcA_4g6BHOLM7RDnfUiQAorYipj9TeBNTvgPAs/s602/MapsClusterer2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixPkdVMHSvT-ox8qKoHjpa9BwWL48TlUU6IWb9JRLE3-S7jtWGj3XZ4lCyEk0cWwqZ2oPuf3oRR2nGIoycJwGBw7jb5njPpY6FaHwcWAYcA_4g6BHOLM7RDnfUiQAorYipj9TeBNTvgPAs/s200/MapsClusterer2.png" width="150" /></a></div>
This code example demonstrates how to dynamically group pushpins in the map control.<br />
There is a lot of code for Windows Phone 7, then I merged all what I need to create a project for WP8.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpKZX81kt6ANSc9-wQBasjmahzdQkG6eB0YI3Sk2c3yrpA8BENF2JbONRiZbYcLGilqHNOx8HTCo-VYdHCfiWu-RHiEoIAP4AKCjmM7drIffnjtv_pZgvNOPMCfzolqu6f-5ADt7RslVJw/s602/MapsClusterer2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpKZX81kt6ANSc9-wQBasjmahzdQkG6eB0YI3Sk2c3yrpA8BENF2JbONRiZbYcLGilqHNOx8HTCo-VYdHCfiWu-RHiEoIAP4AKCjmM7drIffnjtv_pZgvNOPMCfzolqu6f-5ADt7RslVJw/s200/MapsClusterer2.png" width="150" /></a></div>
<br />
First of all you need some namespace declaration: for map control and for pushpins from <a href="http://phone.codeplex.com/" target="_blank">WP Toolkit</a>.<br />
<br />
<pre class="brush:csharp">xmlns:map="clr-namespace:Microsoft.Phone.Maps.Controls;assembly=Microsoft.Phone.Maps"
xmlns:maptk="clr-namespace:Microsoft.Phone.Maps.Toolkit;assembly=Microsoft.Phone.Controls.Toolkit"
</pre>
<br />
You need also two templates: one for a standard pushpin and the other for the cluster. <br />
<pre class="brush:csharp"><phone:PhoneApplicationPage.Resources>
<DataTemplate x:Key="PushpinTemplate">
<maptk:Pushpin GeoCoordinate="{Binding GeoCoordinate}" Content="{Binding}" />
</DataTemplate>
<DataTemplate x:Key="ClusterTemplate">
<maptk:Pushpin GeoCoordinate="{Binding GeoCoordinate}" Content="{Binding Count}"/>
</DataTemplate>
</phone:PhoneApplicationPage.Resources>
</pre>
<br />
<em>ClustersGenerator</em> is the core of the project. It's a static class that accepts in input<br />
<ul>
<li>Map control</li>
<li>Pushpins collection</li>
<li>Cluster DataTemplate.</li>
</ul>
<pre class="brush:csharp">public ClustersGenerator(Map map, List<Pushpin> pushpins, DataTemplate clusterTemplate)
{
_map = map;
_pushpins = pushpins;
this.ClusterTemplate = clusterTemplate;
// maps event
_map.ResolveCompleted += (s, e) => GeneratePushpins();
// first generate
GeneratePushpins();
}
</pre>
<br />
Every map event launches the pushpins elaboration, but first to explain <em>GeneratePushpins</em> method, let's introduce another class: <em>PushpinGroup</em>.<br />
<em>PushpinGroup</em> represents a standard pushpin or a cluster, and exposes a <em>GetElement</em> method to return them. If the group is a cluster, it needs to get only the first pushpin <em>GeoCoordinate</em> and the content is a group of all pushpins.<br />
<pre class="brush:csharp">public class PushpinsGroup
{
private List<Pushpin> _pushpins = new List<Pushpin>();
public Point MapLocation { get; set; }
public PushpinsGroup(Pushpin pushpin, Point location)
{
_pushpins.Add(pushpin);
MapLocation = location;
}
public FrameworkElement GetElement(DataTemplate clusterTemplate)
{
if (_pushpins.Count == 1)
return _pushpins[0];
// more pushpins
return new Pushpin()
{
// just need the first coordinate
GeoCoordinate = _pushpins.First().GeoCoordinate,
Content = _pushpins.Select(p => p.DataContext).ToList(),
ContentTemplate = clusterTemplate,
};
}
public void IncludeGroup(PushpinsGroup group)
{
foreach (var pin in group._pushpins)
_pushpins.Add(pin);
}
}
</pre>
<br />
The <em>GeneratePushipins</em> function creates clusters based on map <em>ViewPort</em> and a constant named <em>MAXDISTANCE</em>.
An extension method convert pushpin <em>GeoCoordinate</em> to a <em>ViewPort Point</em>. That is used to get the distance from other points.
If this distance is less then the <em>MAXDISTANCE</em>, the pushpin become a part of cluster.
<br />
<pre class="brush:csharp">private void GeneratePushpins()
{
List<PushpinsGroup> pushpinsToAdd = new List<PushpinsGroup>();
foreach (var pushpin in _pushpins)
{
bool addGroup = true;
var newGroup = new PushpinsGroup(pushpin, _map.ConvertGeoCoordinateToViewportPoint(pushpin.GeoCoordinate));
foreach (var pushpinToAdd in pushpinsToAdd)
{
double distance = pushpinToAdd.MapLocation.GetDistanceTo(newGroup.MapLocation);
if (distance < MAXDISTANCE)
{
pushpinToAdd.IncludeGroup(newGroup);
addGroup = false;
break;
}
}
if (addGroup)
pushpinsToAdd.Add(newGroup);
}
_map.Dispatcher.BeginInvoke(() =>
{
_map.Layers.Clear();
MapLayer layer = new MapLayer();
foreach (var visibleGroup in pushpinsToAdd.Where(p => _map.IsVisiblePoint(p.MapLocation)))
{
var cluster = visibleGroup.GetElement(this.ClusterTemplate) as Pushpin;
if (cluster != null)
{
layer.Add(new MapOverlay() { GeoCoordinate = cluster.GeoCoordinate, Content = cluster.Content, ContentTemplate = cluster.ContentTemplate});
}
}
if (layer.Count > 0)
_map.Layers.Add(layer);
});
}
</pre>
<br />
The extension method <em>GetDistanceTo</em> is the algorithm to calculate the distance between two points:
<br />
<pre class="brush:csharp">public static double GetDistanceTo(this Point p1, Point p2)
{
return Math.Sqrt((p1.X - p2.X) * (p1.X - p2.X) + (p1.Y - p2.Y) * (p1.Y - p2.Y));
}
</pre>
<br />
Instead <em>IsPointVisible</em> returns <em>true</em> if the point is visible in the map, otherwise <em>false</em>:
<br />
<pre class="brush:csharp">public static bool IsVisiblePoint(this Map map, Point point)
{
return point.X > 0 && point.X < map.ActualWidth && point.Y > 0 && point.Y < map.ActualHeight;
}
</pre>
<br />
Now in your MainPage.xaml, you only need to pass all pushpins to the <em>ClusterGenerator</em> and it will do all work for you.<br />
<br />
<pre class="brush:csharp">var clusterer = new ClustersGenerator(map, pushpins, this.Resources["ClusterTemplate"] as DataTemplate);
</pre>
<br />
You can download all code <a href="http://tiziano.cacioppolini.it/public/Blog/MapsClusterer.zip" target="_blank">here</a>.
<br />
<br />
<em>With this article I won </em><a href="http://blogs.msdn.com/b/user_ed/archive/2013/08/04/windows-phone-guru-windows-phone-8-development-maps-and-clusters.aspx" target="_blank"><em>TechNet Guru Contribution June 2013 - Windows Phone</em></a><em>.</em>Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com11tag:blogger.com,1999:blog-8422143608117783960.post-45932283798163875862013-06-28T20:15:00.001+02:002013-06-28T20:19:10.541+02:00Windows Phone - Caliburn Micro and App.xaml error<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPNH8PEPdBpmeFhHzlD9JOWgktbYqh3teXk-1lP1kKV1fOjhSKuTK9ELFuCjdkkA3RiHVu610o4ZE9vu2i_-uAGotLK-mvZsuWYkoRXlXhQ7S8_m9kPzueY6BchYFbCjMK6QIxoIwO7jOB/s241/xamllogo.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPNH8PEPdBpmeFhHzlD9JOWgktbYqh3teXk-1lP1kKV1fOjhSKuTK9ELFuCjdkkA3RiHVu610o4ZE9vu2i_-uAGotLK-mvZsuWYkoRXlXhQ7S8_m9kPzueY6BchYFbCjMK6QIxoIwO7jOB/s200/xamllogo.jpg" width="160" /></a></div>
When I add <a href="http://caliburnmicro.codeplex.com/" target="_blank">Caliburn Micro</a> to a new project, I have always some error in App.xaml.<br />
With Caliburn 1.5.1 I found a new problem: "Object Reference not set to an instance of an object".<br />
<br />
This error don't prevent the project build, but it seems related to the xaml.<br />
That's why the <em>RootFrame</em> into designer is <i>null</i>.<br />
<br />
The fix is easy! Just open your Bootstrapper and change<br />
<pre class="brush:csharp">container.RegisterPhoneServices(RootFrame);
</pre>
with..
<br />
<pre class="brush:csharp">if (!Execute.InDesignMode)
container.RegisterPhoneServices(RootFrame);
</pre>
<br />Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-31215457262553181162013-06-28T19:40:00.000+02:002013-06-28T19:48:58.927+02:00Windows Phone - Caliburn Micro and Telerik<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKPDDClYeQGKCzEd0fM5KyylObqAofLdnXOVP0ELgoVlnJgIMR2Th0lx-E-eVe6UwnNLL0qI2t-47KkpHj_BHy45pptYjcPEDz6mPt_OAPPHpCpV6Vbivkdrfr1TG9eA8zdb_HI0A4wVb6/s284/Caliburn.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKPDDClYeQGKCzEd0fM5KyylObqAofLdnXOVP0ELgoVlnJgIMR2Th0lx-E-eVe6UwnNLL0qI2t-47KkpHj_BHy45pptYjcPEDz6mPt_OAPPHpCpV6Vbivkdrfr1TG9eA8zdb_HI0A4wVb6/s200/Caliburn.jpg" width="92" /></a></div>
When you use <a href="http://caliburnmicro.codeplex.com/" target="_blank">Caliburn Micro</a> you always have a file <i>Bootstrapper </i>like this:<br />
<div>
<br />
<pre class="brush:csharp">public class Bootstrapper : PhoneBootstrapper
{
PhoneContainer container;
protected override void Configure()
{
container = new PhoneContainer();
container.RegisterPhoneServices(RootFrame);
container.PerRequest<MainPageViewModel>();
AddCustomConventions();
}
static void AddCustomConventions()
{
}
protected override object GetInstance(Type service, string key)
{
return container.GetInstance(service, key);
}
protected override IEnumerable<object> GetAllInstances(Type service)
{
return container.GetAllInstances(service);
}
protected override void BuildUp(object instance)
{
container.BuildUp(instance);
}
}
</pre>
<br />
I love to use Windows Phone controls from <a href="http://www.telerik.com/" target="_blank">Telerik</a> and I always add <i>RadPhoneApplicationFrame </i>in my applications, but how to add it in the <i>Bootstrapper</i>?<br />
<br />
You need only some lines of code.<br />
<br />
<br />
<pre class="brush:csharp">private PhoneApplicationFrame rootFrame;
private new PhoneApplicationFrame RootFrame
{
get
{
if (this.rootFrame == null)
this.rootFrame = new RadPhoneApplicationFrame();
return this.rootFrame;
}
set
{
this.rootFrame = value;
}
}
protected override PhoneApplicationFrame CreatePhoneApplicationFrame()
{
return this.RootFrame;
}
</pre>
<br />
I created a public property to instantiate the <i>RadPhoneApplicationFrame </i>and overrided the <i>CreatePhoneApplicationFrame</i> to return the custom frame.<br />
<br />
Here the new <i>Bootstrapper</i>:<br />
<br />
<pre class="brush:csharp">public class Bootstrapper : PhoneBootstrapper
{
PhoneContainer container;
private PhoneApplicationFrame rootFrame;
private new PhoneApplicationFrame RootFrame
{
get
{
if (this.rootFrame == null)
this.rootFrame = new RadPhoneApplicationFrame();
return this.rootFrame;
}
set
{
this.rootFrame = value;
}
}
protected override void Configure()
{
container = new PhoneContainer();
container.RegisterPhoneServices(RootFrame);
container.PerRequest<MainPageViewModel>();
AddCustomConventions();
}
protected override PhoneApplicationFrame CreatePhoneApplicationFrame()
{
return this.RootFrame;
}
static void AddCustomConventions()
{
}
protected override object GetInstance(Type service, string key)
{
return container.GetInstance(service, key);
}
protected override IEnumerable<object> GetAllInstances(Type service)
{
return container.GetAllInstances(service);
}
protected override void BuildUp(object instance)
{
container.BuildUp(instance);
}
}
</pre>
</div>
Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-77976825152564648092013-06-16T14:31:00.001+02:002013-06-16T20:39:14.464+02:00Coding4Fun - ThemedImageConverter<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKT3djrVMZ7IbXi74WjOBte6jghezqtwGxQf4DGLOeud5CPDLjjacqBy6uq52lLZfoUuhrR1MbmovMvblBu_arMT3wp2y89fcN1aRSqTxO_BOzTBqbyicj8YdMqitRUv4jdwBw8wuHFyU7/s1600/c4fun.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKT3djrVMZ7IbXi74WjOBte6jghezqtwGxQf4DGLOeud5CPDLjjacqBy6uq52lLZfoUuhrR1MbmovMvblBu_arMT3wp2y89fcN1aRSqTxO_BOzTBqbyicj8YdMqitRUv4jdwBw8wuHFyU7/s1600/c4fun.png" /></a></div>
When you publish an application, you need to meet the requirement <a href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh184840(v=vs.105).aspx" target="_blank">5.5.2</a> from Dev Center:
<em></em><br />
<em>"App content, such as text and visual elements, must be visible and legible regardless of the phone theme without panning horizontally or zooming.."</em><br />
<em></em><br />
The example is when you have an image with the same color of background theme.<br />
<div>
What you can do?</div>
<div>
- select a different color for image.</div>
<div>
- manage the image source swap from code behind.</div>
- the best practice is to use the ThemedImageConverter from <span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0); color: black;"><a href="http://coding4fun.codeplex.com/" style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);" target="_blank">Coding4Fun Toolkit</a>.</span><br />
<br />
Let's go:<br />
Download the Coding4Fun Toolkit from NuGet or <a href="http://coding4fun.codeplex.com/" target="_blank">Codeplex</a>.<br />
<br />
Add the static resource in your page:
<br />
<pre class="brush:csharp"><c4fun:themedimageconverter x:key="ThemedImageConverter"></c4fun:themedimageconverter></pre>
<br />
Use this simple converter in your image:<br />
<pre class="brush:csharp"><Image Source="{Binding Converter={StaticResource ThemedImageConverter}, ConverterParameter={StaticResource PhoneBackgroundColor}}" DataContext="/Assets/{0}/img.png" />
</pre>
<br />
You can check also the InverseThemedImageConverter to swap from light and dark themes.
<br />
<div>
<span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0); color: black;"><br /></span></div>
<div>
<span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0); color: black;"><br /></span></div>
Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-74701860388527373772013-04-21T21:26:00.000+02:002013-04-21T21:28:17.066+02:00Windows Phone 7.8 - Gmail Sync: contacts and calendar<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9AcUGVsfpsvgeOcVi6Qw4Zy-V2-my2ixISKi4Ga24JRT7OlXMC6d5DhuwCO8wzk3g5AhVuWCYUkhqv_cPrgq0FD9T3cSFRvGdvZv9v1EtRt3toMFtVQsNFZNUG4MrEXZELujaG10OYern/s1600/6641326531746650316.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9AcUGVsfpsvgeOcVi6Qw4Zy-V2-my2ixISKi4Ga24JRT7OlXMC6d5DhuwCO8wzk3g5AhVuWCYUkhqv_cPrgq0FD9T3cSFRvGdvZv9v1EtRt3toMFtVQsNFZNUG4MrEXZELujaG10OYern/s200/6641326531746650316.png" width="200" /></a></div>
After January 30 2013, Google dropped Exchange ActiveSync support.<br />
Now if you add a Google account in Windows Phone 7.8, you can sync only emails.<br />
But if I want to sync my Google Contacts and Calendars...??<br />
<br />
Just follow this steps:<br />
- Go in <em>Settings</em> >>> <em>Email + Accounts</em>.<br />
- Add an account.<br />
- Choose <em>Outlook</em> (Outlook.com, Exchange, Office 365).<br />
- Write you Google email, password and press Sign In button.<br />
<br />
Fill the new page with this informations:<br />
- Account: your Google email<br />
- Domain: <em>google</em><br />
- Server: <em>m.google.com</em><br />
<br />
Et voilà, you done! :)<br />
<br />
<br />
<br />Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com25tag:blogger.com,1999:blog-8422143608117783960.post-13556183180543219212013-03-19T13:51:00.000+01:002013-03-19T13:51:27.286+01:00Vote myMoneyBook and win a Lumia 920<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu4AB-8tY1GgzJmfr8HSNwmuUmUi57CB0NjPNiFsMI0OJ_oLxRIWVsC6GSxPrbM96Xn8lBZXVE8FOLe8onc-CY_OUZQRxmwEjSgr715EVWUCa2ZLFkxyUS72Du6fHxOAtNTPUiB7ekfYwK/s1600/AppStar-252x252.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu4AB-8tY1GgzJmfr8HSNwmuUmUi57CB0NjPNiFsMI0OJ_oLxRIWVsC6GSxPrbM96Xn8lBZXVE8FOLe8onc-CY_OUZQRxmwEjSgr715EVWUCa2ZLFkxyUS72Du6fHxOAtNTPUiB7ekfYwK/s200/AppStar-252x252.png" width="200" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://www.windowsphone.com/s?appid=e930a12e-8130-4814-8883-938534b00fe0" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img alt="" border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUJN8YOt6zL8_vsRpim-hjaFl4mxRMVI9RuT02Y9cUAO_29wWZVT5DbarpEa_PSCpyF24A2hju1ms8sUqeVL8nNyDEplfn_ZKl8_ILa-oewtLjiMM-3zGSTYy-QCLPXbDq9N1JVz63Dm9l/s200/300+copy.png" title="myMoneyBook" /></a></div>
Microsoft is running a campaign called <i>Windows Phone Next App Star</i>,
and guess what? Over 9,000 apps entered the competition, and my app
<a href="http://www.windowsphone.com/s?appid=e930a12e-8130-4814-8883-938534b00fe0">myMoneyBook</a> is one of 64
finalists!<br />
<br />
Starting today, March 19, my app is in a head-to-head battle with
another finalist. If my app gets the most votes, it keeps moving
forward, and I keep winning more prizes. If my app wins the whole
thing, <a href="http://www.windowsphone.com/s?appid=e930a12e-8130-4814-8883-938534b00fe0">myMoneyBook</a> will be
<i>Windows Phone Next App Star</i> and will be featured in an upcoming
Windows Phone television ad!<br />
<br />
Even better, every time people like you participate in the campaign and
vote, they are entered to win a brand new Lumia 920 Windows Phone!
Microsoft is giving away one Lumia 920 every day throughout the contest,
and every vote is an entry.<b></b><br />
<div align="center" class="style5">
<b>Will you please help me become Windows Phone Next App Star?</b></div>
<br />
<div class="style4" style="text-align: center;">
<b>
<a href="http://nas.newwp.it/">PLEASE VOTE FOR MY APP!</a></b></div>
<b><br />
Please note:</b> you may have to vote several times before
reaching the voting opportunity for my app. There are 32 first round
match-ups, just look for a picture of me and my app
<a href="http://www.windowsphone.com/s?appid=e930a12e-8130-4814-8883-938534b00fe0">myMoneyBook</a>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://nas.newwp.it/" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="102" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghi3mMsDSKRjvuKGjqH3JIuct3gIpuEk9ky5r3JImk44Wpty4kQ8qfQD2vtqrMTstFx4qVIU0GTcPn3tqL0Mz3r_hPed3FISgpF1OrhZZxEhy9YbliHvitKay6kLyGuYhTZ4hnlRFVcA_l/s320/AppStarBadge-376x120.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br />Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0tag:blogger.com,1999:blog-8422143608117783960.post-14853403807649630182013-02-19T19:38:00.000+01:002013-02-19T20:14:36.649+01:00PeriodicTask bug in Windows Phone 8<div class="separator" style="display: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKFrMR7SC3IxCBv4BuuR7anhUyTzmzPc-xNhZOFujFbELRu3KBrvZ0Wj-1if1DsHteO8hoUrC6a26L80igxedYaTYrBSEmr5zsCYCYEBX6FmXOQUvJYA2DXueLoQ1A8YrzDWRrNqxYPRUO/s1600/windows-phone-8-logo-new.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKFrMR7SC3IxCBv4BuuR7anhUyTzmzPc-xNhZOFujFbELRu3KBrvZ0Wj-1if1DsHteO8hoUrC6a26L80igxedYaTYrBSEmr5zsCYCYEBX6FmXOQUvJYA2DXueLoQ1A8YrzDWRrNqxYPRUO/s200/windows-phone-8-logo-new.png" width="200" /></a></div>
<em></em><br />
After almost two months, WPDev Team has confirmed a bug for<a href="http://msdn.microsoft.com/en-US/library/windowsphone/develop/hh202942(v=vs.105).aspx" target="_blank"> PeriodicTask</a> in Windows Phone 8:<br />
<em></em><br />
<em>PeriodicTask fails to trigger if there is no network connectivity in WP8 (enable Airplane mode, or disable both cellular and wifi.</em><br />
<br />
Here my discussion: <a href="http://social.msdn.microsoft.com/Forums/en-US/wpdevelop/thread/216a9f3d-9284-4d1e-ac2a-83f2d13e361c">http://social.msdn.microsoft.com/Forums/en-US/wpdevelop/thread/216a9f3d-9284-4d1e-ac2a-83f2d13e361c</a><br />
<br />
<br />Anonymoushttp://www.blogger.com/profile/07138493012055348715noreply@blogger.com0