Win8 ru

  • 606 views
Uploaded on

Презентация, которая была шаблоном для рассказа про Windows 8 ctp в ННГУ, НИЯ-ВШЭ НН, ЧГУ в ноябре 2011 года …

Презентация, которая была шаблоном для рассказа про Windows 8 ctp в ННГУ, НИЯ-ВШЭ НН, ЧГУ в ноябре 2011 года

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
606
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
8
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Metro style Apps Desktop Apps View XAML HTML / CSSController C C# Model JavaScript HTML C C# C++ VB JavaScrip t C++ VB WinRT APIs System Services Communication Graphics & Devices & & Data Media Printing Application Model Internet .NET Explorer Win32 SLKern Windows Kernel Services el
  • 2. Идеи приложений встиле MetroDESIGNING FOR ALL PCS, WINDOWS INTEGRATION AND APP LIFECYCLE
  • 3. Pixel Density Snap, Filled andScreen Size Orientation
  • 4. ApplicationBar
  • 5. Metro style app Language Support (CLR, WinJS, CRT) Language Projection UI Pickers Controls Media Web Host (HTML, CSS, JavaS Windows XAML Storage Network … cript))Metadata &Namespace Windows Runtime Core Runtime Broker Windows Core
  • 6. User InterfaceHTML5/CSS XAML DirectX Controls Data Binding SVG Tiles Input Accessibility Printing Devices Communications & Data SensorGeolocation Portable NFC Contracts Local & Cloud Storage Web s Notifications Streams Media Visual BackgroundPlayback Capture PlayTo XML Networking SMS Effects Transfer Fundamentals Application Threading/Timers Memory Management Authentication Cryptography Globalization Services
  • 7. App Container + Signed & Validated code
  • 8. Check Get latest Prompt forlicense listing data purchase
  • 9. • get get current product// // current product•var var currentProduct = Windows.ApplicationModel.Store.CurrentProduct; currentProduct = Windows.ApplicationModel.Store.CurrentProductSimulator;• get get the license information// // the license information•var var licenseInformation = currentProduct.licenseInformation; licenseInformation = currentProduct.licenseInformation;• check to see see the the user has active non-trial license// // check to if if user has an an active non-trial license• (licenseInformation.isTrial) {if if (licenseInformation.isTrial) {• // useruser has trial version the the application // has trial version of of application•} }
  • 10. • // get listing info• currentProduct.loadListingInformationAsync().then(• function (listing) {• var listingInfo = listing;• });• var price = listingInfo.formattedPrice; <ListingInformation> <Product> <MarketData xml:lang="en-us"> <Name>Piano</Name> <Description>Piano Application</Description> <Price>8.00</Price> <CurrencySymbol>$</CurrencySymbol> </MarketData> </Product> </ListingInformation>
  • 11. • currentProduct.requestProductPurchaseAsync().then(• function () {• // Purchase succeeded• },•• function (err) {• // Purchase failed• // Check err to see if user cancelled•• });
  • 12. What’s new with controlsin Windows 8?
  • 13. Sychev-igor.90@mail.ruSychevigormsk@sychevigor