Upgrading your laptop to Windows 8 these days is primarily to install the Windows Phone 8 development environment.
Use the MSDN subscription to download the Chinese version of Visual Studio Ultimate and then download the Windows Phone 8 SDK (Note: I made a mistake here).
Since the English version of the Windows Phone 8 SDK is being downloaded, VS2012 has been installed while installing this SDK, but the VS version is automatically downloaded during the download. At first I didn't notice the installation of VS + Express, still using Visual Studio Ultimate. Discover that you are prompted to install the SDK after you create a project for Windows Phone 8.
Didn't I already have the SDK for Windows Phone 8 installed? Viewed in the help of Visual Studio Ultimate, the SDK for Windows Phone 8 was found in the English version. Return to the Windows 8 Metro interface and see the VS. Express Magnetic Disc.
Decisively uninstall Windows Phone 8 in the English version of the SDK (VS. Express is uninstalled together), install Windows Phone 8 Chinese version of the SDK after everything OK.
What a toss of people!
If you choose Windows Phone OS 8.0 as the target version, your app will only be able to run on Windows Phone 8 devices.
If you choose Windows Phone OS 7.1, your app can run on both Windows Phone OS 7.1 and Windows Phone 8 devices.
Isolated Storage Resource Manager (ISETool.exe) http://msdn.microsoft.com/zh-cn/library/windowsphone/develop/hh286408 (v=vs.105). aspx The
animating text properties, especially size or foreground brushes, can consume a lot of system resources. This is because Windows Phone uses hints to smooth each text glyph when it renders text http://msdn.microsoft.com/zh-cn/library/windowsphone/develop/ cc189010 (v=vs.105). aspx
TextBox is typically used to capture the user's text input. PasswordBox are typically used for authentication scenarios. The main difference between the two controls is that the characters typed in PasswordBox are displayed, and the characters typed in the TextBox appear as masked characters. ---leo.zheng write the reverse!!!
Next installs Zune, and it starts with an error. Look at the error message and say that there is an installer running. Reboot directly, then install. The installation process prompts you for the. Net Framework 2.0 or 3.0 runtime. Halo, Windows 8 does not have these, or is not MS own stuff. Download install. Net before installing Zune successfully. Plug in the WP phone and Zune starts up.
1 // Code Settings input Keyboard type 2 New InputScope (); 3 New inputscopename (); 4 5 name. Namevalue = Inputscopenamevalue.number; 6 scope. Names.add (name); 7 8 txtphonenumber.inputscope = scope;
Windows Phone8 gets the native IP address:
1 Private Static stringgetipaddress ()2 { 3 stringstrIPAddress =NULL; 4list<string> ipaddresses =Newlist<string>(); 5 varHostnames =Networkinformation.gethostnames (); 6 foreach(varHninchhostnames)7 { 8 if(HN. Ipinformation! =NULL) 9 { Ten stringIpAddress =HN. DisplayName; One Ipaddresses.add (ipAddress); A } - } - if(Ipaddresses.count <1) the { - return NULL; - } - if(Ipaddresses.count = =1) + { -strIPAddress = ipaddresses[0]; + } A if(Ipaddresses.count >1) at { -strIPAddress = Ipaddresses[ipaddresses.count-1]; - } - returnstripaddress; -}
WP Learning record