Windows Phone 8: HTML5/IE10 for Developers
- Date: October 31, 2012 from 5:15PM to 6:15PM
- Day 2
- B92 Magellan
- 2-015
- Speakers: Jorge Peraza, Rick Xu
- 36,398 Views
- 12 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Slides (view online)Already have a Channel 9 account? Please sign in
Follow the Discussion
Nice presentation. You guys did a great job bringing such a great functionality. You rock! The best things for me are gesture events, fix for gray tap highlight, many standards supported. Also thank you for the System phone colors via CSS.
http://sgrebnov.blogspot.ru/2012/10/windows-phone-8-for-html5js-developers.html
But as per 'Windows Phone Html5 app' VS template - have no idea how you were able to release the following code and also show this during presentation
private void Browser_Loaded(object sender, RoutedEventArgs e)
{
// Add your URL here
Browser.Navigate(new Uri(MainUri, UriKind.Relative));
Browser.IsScriptEnabled = true;
}
this simply does not work because IsScriptEnabled must be set before navigation to be applied :(
Hello Sergei,
Thanks for your comments. We discovered the template bug you mentioned a bit late so we have to live with it from the time being
. This is why Rick showed how to turn script on the XAML when we were walking through the demo.
Jorge Peraza
The bulk of this session focused too heavily on generic HTML5 features and just quickly brushed over inter-boundary communication specific to WP8.
KhoiPham,
Thanks for your feedback, the purpose of the talk was to give a high level overview of what's new on Windows Phone 8 for HTML5 developers. We will be adding a lot more content over the coming weeks to the Windows Phone Developer blog with more in-depth details.
Please keep the feedback coming about what you would like to see from us, as well as thoughts on our new browser and platform!
Jorge
I really enjoyed this presentation, thank you Jorge. I am currently experimenting with a HTML5/JavaScript based application for Windows Phone 8 using the template provided as a base, but I am having trouble debugging my code. When I debug JavaScript on the web, I use browser developer tools, however, I haven't found a way to launch a similar set of tools for the WP8 emulator. What is the best approach to debug an HTML5/JavaScript application in the WP8 emulator?
Hi Carlos, take a look on the following for Debugging stuff
http://stackoverflow.com/questions/5198808/how-do-i-debug-internet-explorer-on-windows-phone-7
Love how much easier the webbrowser control has become now that I don't need to place files in isolated storage!
In the presentation you've mentioned that we can set the Background property to avoid that flicker effect when the phone's background is black. To my surprise, setting the property in xaml has no effect (bug?).
This wont work:
<phone:WebBrowser x:Name="Browser" Background="{StaticResource PhoneBackgroundBrush}" Loaded="WebBrowser_Loaded" />This will work:
public partial class SomePage : PhoneApplicationPage { public SomePage() { InitializeComponent(); Browser.Background = Application.Current.Resources["PhoneBackgroundBrush"] as SolidColorBrush; } }Great presentation, gentlemen. Is there sample code available for the projects that were demoed in this session?
@kektre - Thanks for the feedback and yes it is a known bug.
@Rick Mutzke - The code should be available soon, let me check on Monday when it is scheduled to come out.
@JorgePeraza:great session. when the code available for public? I love to share with more developers;)
how can i get the code snippet like yours? :)
I could not find any documentation regarding IndexedDB's per application quotas. Looks like overall up to 500 MBs can be used by apps, but can one app use all that space? Is there a soft limit (user permission)? Is there a hard limit? Can these limits (per app and per system) be changed via API or device management?
Remove this comment
Remove this thread
close