Mobile apps can be used as a tool for desktop apps to receive status information for desktop apps. Here's how to implement a simple Android program to receive the working status of a Windows scanner app. Reference: How to Push notifications to Android applications from Windows
[SOURCE DOWNLOAD][Re-imagining the Windows 8 Store Apps series Article]Re-imagine the Windows 8.1 Store Apps Article indexWebabcd1. Re-imagine Windows 8.1 Store Apps (72)-New controls: AppBar, CommandBarIntroducedRe-imagining new
the error message is customizable, need a value and a string ... Method Two, JS call C # class library Call the C # Exit API1, create a class, the output type is a Windows runtime component, if you also want the current class for Windows apps, you can select a generic application 2, write the class code, the following is my instance codeUsing system;using syst
performance loss. To solve this problem, Microsoft recently released an open source library called Ffmpeginterop on GitHub to solve this problem. This open source Library uses Ffmpege to process media content, but playback uses the Windows Media Framework. This way you can get better performance because the Windows Media Framework can take advantage of hardware acceleration. Microsoft has also released a s
Introduced
Re-visualize the localization and globalization of Windows 8 Store Apps
Localization-Demo
Localization-changing languages
Globalization-Demo
Globalization-Formatting numbers
Example
1. Demonstrate the basic application of localization
Localization/localizationdemo.xaml
Localization/localizationdemo.xaml.cs
* * Demo BASIC application of localization * * Another: * Visual Studio 20
Re-imagine Windows 8 Store Apps (69)-Other: Custom splash screen, program run location, keep screen lit, messagedialog, popupmenu
Author: WEBABCD
Introduced
Re-imagine the other Windows 8 Store Apps
Customizing the splash screen
Checks whether the currently rendered application is running locally or on a remote de
Multi-thread Asynchronous Programming: Iasyncaction, Iasyncoperation
Re-imagine Windows 8 Store Apps (45)-multi-line asynchronous programming: Iasyncaction, Iasyncoperation, iasyncactionwithprogress, IASYNCOPERATIONWITHPR Ogress
Introduced
Re-imagine the asynchronous programming of Windows 8 Store Apps
Iasyncaction
Introduced
Re-imagine the Windows 8 Store Apps Communication
Socket-do Text communication with WebSocket server
Socket-Do Stream (Binary) communication with WebSocket server
Example
WebSocket Service-side
Webserver/websocketserver.ashx.cs
* * * WebSocket Protocol Server * * need to enable WebSocket protocol in IIS: Control Panel-> programs and features-> enable or turn off
One, error C1189: #error: WINDOWS. H already included. MFC apps must not #include
This error is often reported when we introduce MFC into the Win32 application that we built in vs2013. This is because WINDOWS.H has been introduced into MFC's class library files,
In VS, each. App file introduces the stdafx.h header file by default, and the following code is the entire contents of stdafx.h, which is also in
Introduced
Re-imagine the Windows 8 Store Apps Communication
Get Network Information
Serialization-JSON
Serialization-XML
Serialization-RSS Atom
Example
1, demonstrate how to obtain information about the network
Communication/networkinfo.xaml.cs
* * Demonstrates how to obtain information about the network * * using System;
Using System.Collections.Generic;
Using Windows.Networking.Connectivity;
Us
Introduced
Re-imagine the bindings of Windows 8 Store Apps
Binding with ObservableCollection
Binding with CollectionViewSource
Binding with Virtualizedfilesvector
Binding to Virtualizeditemsvector
Example
1, show how to bind observablecollection
Binding/bindingobservablecollection.xaml
Binding/bindingobservablecollection.xaml.cs
* * Demonstrates how to bind observablecollection
Multi-thread thread synchronization: Semaphore, Countdownevent, Barrier, ManualResetEvent, AutoResetEvent
Introduced
Re-visualize the thread sync for Windows 8 Store Apps
Semaphore-Signal Volume
Countdownevent-thread synchronization via semaphore number
Barrier-Barrier
ManualResetEvent-Manual traffic lights
AutoResetEvent-Automatic traffic lights
Example
1. Demonstrate the use of semaphore
Thread/
Introduced
Re-imagine Windows 8 Store Apps after a task
Background Download Task
Background upload Task
Example
Extended downloadoperation and uploadoperation so that download progress or upload progress can be notified
Backgroundtask/transfermodel.cs
* * Extended downloadoperation and uploadoperation for download progress or upload progress to notify/using System;
Using System.ComponentModel;
Usin
File system: Accessing folders and files, searching for local files via Aqs
Introduced
Re-imagine the Windows 8 Store Apps File system
File access-access folders and files, and get various properties of files
Folder Access-some special actions when traversing folders
Thumbnail access-Get a thumbnail of a file
AQS-Search local files via Aqs (Advanced Query Syntax)
Example
1. Demonstrates how to acces
Introduced
Re-imagine the Windows 8 Store Apps Animation
Linear Animation-A total of 3 species: ColorAnimation, DoubleAnimation, PointAnimation, all inherited from Timeline
Key-Frame animations-a total of 4 species: ColorAnimationUsingKeyFrames, DoubleAnimationUsingKeyFrames, PointAnimationUsingKeyFrames, Objectanimationusingkeyframes they all inherit from Timeline
Slow motion animation-easing
Example
Control UI: Font inheritance, Style, ControlTemplate, Systemreso
Introduced
Re-imagine the Windows 8 Store Apps Control UI
Font inheritance-Inherit font-related information from your parents
Style-styles
ControlTemplate-Control templates
system resources-system built in style resources
VisualState-View state
VisualStateManager-View state manager
Example
1. Demo Font inheritance
Controls/ui/fontin
GridView control attributes: dragging items, item dimensions are variable, grouped display
Introduced
Re-imagine the GridView of Windows 8 Store Apps
Drag item-Drag item in the GridView to sort item, drag item to a specified location outside the GridView to delete item
Item size variable-Specifies the size of each item in the Girdview
Group Display-Display collection data in groups
Example
1, demonst
Introduced
Re-imagine the ScrollViewer of Windows 8 Store Apps
The basic application of demonstrating ScrollViewer
The basic application of demonstrating ScrollBar
The basic application of demonstrating Scrollcontentpresenter
Example
1, the basic application of ScrollViewer
Scrollviewer/demo.xaml
Scrollviewer/demo.xaml.cs
* * ScrollViewer-scrolling View Control * This example is used to demo
ComboBox, ListBox, Flipview, itemscontr
Introduced
Re-imagine the Windows 8 Store Apps Collection Control
ComboBox-Dropdown box
ListBox-list box
Flipview-Slide View Control
ItemsControl Itemspresenter-itemspresenter is used to render ItemsControl Items
Example
1, ComboBox's Demo
Comboboxdemo.xaml
Button, Hyperlinkbutton, RepeatButton
Introduced
Re-imagine the Windows 8 Store Apps Button control
button-Buttons Control
Hyperlinkbutton-Super Chain button
RepeatButton-Press the button to repeat the click action
ToggleButton-Toggle State button
RadioButton-Radio Box control
CheckBox-check box control
Toggleswitch-State Toggle Control
Example
1, Button's Demo
ButtonDemo.xaml.cs
/* button-pus
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.