Introducing Windows Runtime Hokuriku NET vol 15 2014830
- Slides: 59
Introducing Windows Runtime Hokuriku. NET vol. 15 2014/8/30 Sat 遥佐保(はるか・さお)
@hr_sao Room metro Osaka C++テンプレート読書会 Microsoft MVP for Client App Dev[Jan, 2010 -Dec, 2013] Microsoft MVP for Client Development [Jan, 2014 -Jun, 2014] Microsoft MVP for Windows Platform Development [Jul, 2014 -Dec, 2014]
Topics 1. Windows Runtime architecture 2. Process 3. Features 4. Visual Studio Template 5. Universal windows apps 6. Windows store 7. Add deployment
1. Windows Runtime architecture
Windows Runtime Technology Stacks 描画 言語 Direct. X / XAML HTML / CSS -Direct. X 11. 2 -Windows 8. 1 -Trident C/C++ -C++11 VM CRT C# / VB (native) FCL Internet Explorer CLR -WWAHost. exe Windows SDKs API (公開さ れてい る機能) Win. RT (native) • • • Core Controls Data and content Devices Files and Folders • • • Globalization Graphics Helpers Media Networking Printing • • • Java. Script Win. JS -Chakra Windows Store Apps Presentation Remote Desktop Security Social UI Automation User interaction Desktop Win 32 / COM
Win 32 and COM for Windows Store apps Windows Store AppsからWin 32/COMへは、原則呼び出し禁止 Windows Store Appsから呼び出しを許可されているCOMはある http: //msdn. microsoft. com/en-us/library/br 205753 Windows Store Apps Desktop Apps Windows Runtime Windows SDKs Win 32 / COM
Use Language Windows Store Apps C/C++ -C++11 C# / VB Windows Runtime Windows SDKs Java. Script -Chakra
Win. MD <-> DLL メタデータを記載している Windows Runtimeの実体はEXEやDLL HKLMSoftwareMicrosoftWindows. RuntimeActivatable. Class. Id
Application Binary Interface Windows Runtimeは全て、ABIを通じてAPI提供を行う Windows Store Apps C/C++ C# / VB Java. Script Application Binary Interface Windows Runtime Windows SDKs
Win. RT API projection - C#/VB Windows Runtime Windows Store Apps C# / VB 2 1 CLR Win. MD Windows Runtime Windows SDKs
Win. RT API projection - C++/CX Windows Runtime Windows Store Apps C/C++ 1 2 Win. MD Windows Runtime Windows SDKs
Win. RT API projection - Java. Script Windows Runtime Windows Store Apps Java. Script Internet Explorer -WWAHost. exe Win. MD Windows Runtime Windows SDKs
Windows RuntimeとABIのおかげで、各言語の相互利用が可能 Windows Store Apps C/C++ C# / VB Java. Script Application Binary Interface Windows Runtime Windows SDKs
2. Process
3. Features
Package Data
Application. Data Windows: : Storage: : Application. Data: : Current いわゆるセーブ領域 • テンポラリ保存 • ローカル保存 • ローミング C: Users[ユーザ名]App. DataLocalPackages [パッケージファミリ名]Local. State_session. State. dat
Notification ?
Push Notification (1) ストアアプリの初回起動で Push. Notification. Channel. Manager . Create. Push. Notification. Cahnell. For. Application. Async() を実行 (1) (2) Windows Push Notification Services (2) WebサービスにチャネルURI(さっき(1)で取得したもの)を 送信する ※ 30日で期限は切れるURI (例)https: //xxx. notify. windows. com/? token=xxx
Sharing data between apps
Sharing data - Clipboard クリップボードはシステムで 1つだけ static実装されている Windows. Application. Model. Data. Transfer. Clipboard
Sharing data - Data. Package ソースアプリ(IE)で共有したいものを Data. Packageに入れておく ※ターゲットアプリ(FB)と共有できる Windows. Application. Model. Data. Transfer. Data. Package
Advertisement
* Windows ストア アプリで収益を上げるには - http: //www. microsoftvirtualacademy. com/training-courses/decode-track 1
Advertisement Microsoft Advertising SDKのインストール - http: //adsinapps. microsoft. com/ja-jp/sdk Microsoft pub. Center に登録 - https: //pubcenter. microsoft. com Ad Control の貼り付け
Ad control テスト用のコードが簡単に利用できる <UI: Ad. Control Application. Id="d 25517 cb-12 d 4 -4699 -8 bdc-52040 c 712 cab“ Ad. Unit. Id="10043104" /> 自分のやつは pub. CenterでGet!
4. Visual Studio Template
Ex) Application. Dataを直接使う IProperty. Set^ vals = Application. Data: : Current->Local. Settings->Values; if( vals->Has. Key( "my_data” )){ vals->Remove( “my_data"); } vals->Insert( "my_data", “Hokuriku" ); VSテンプレートのNavigation. Helperクラスのpage. Stateを使う if( page. State->Has. Key( "my_data” )){ page. State->Remove( “my_data" ); } page. State->Insert( "my_data", “Hokuriku" );
5. Universal windows apps
これからプロジェクトを作るなら、ユニバーサル がおススメ Windows Phone → Universal apps いばらの道 Windows store apps → Universal apps まぁ出来る Universal apps → Windows store apps WP版を使わなけ ればよい Universal apps → Windows Phone ストア版を使わ なければよい
6. Windows store
Windows Developer Center https: //msdn. microsoft. com/ja-jp/windows/apps
Live Services site http: //msdn. microsoft. com/ja-jp/library/windows/apps/xaml/hh 868206. aspx
7. App deployment
How to Install (2/4) (2) Add-Appx. Package Power. Shellコマンドを用いて インストールする • 開発者ライセンスを使って実行 • パッケージの証明書入れる必要あり(Cert. Util. exe) • Add-Appx. Packageでインストール * #めとべや 東京 2 で Sideloading Windows Store apps with Power. Shell について発表して きました 資料公開 http: //tech. guitarrapc. com/entry/2013/10/15/073820
How to Install (3/4) (3) 企業内でサイドローディングして配布する • Active. Directory参加必須 - なので無印Windows. RTはだめ(企業向け) • エンタープライズサイドローディングキーを別 途購入する必要がある * WINDOWS ストア アプリのサイドローディングについて http: //blogs. msdn. com/b/japan_platform_sdkwindows_sdk_support_team _blog/archive/2014/03/12/2014 -03 -12 -windows. aspx Open License, Select Plus で購入可能 Windows 8. 1 Enterprise Sideloading (10 Pack) と Windows 8. 1 Enterprise Sideloading (100 Pack) がある
Fun…
Let’s Windows Runtime • クライアントで動作するWindows Runtimeの 仕組みを知る • Windows Runtimeの固有機能を知る • その次にVisual Studio Template/Universal windows apps • Windowsストアの登録、配布、インストール も忘れずに
- Kinect for windows speech recognition language pack
- Allowuiupdates
- Introducing windows 7
- Ventana principal de movie maker
- Windows driver kit windows 7
- Upgrade windows 7 to windows 10
- Window live movie maker
- Windows xp virtualization
- Ipseq
- Microsoft windows movie maker windows 7
- Slidetodoc download
- Windows media player 9
- Media player classic skins
- Nokia lumia 920 windows 10
- Mailprogramma windows 7
- Windows identity foundation windows 10
- Heapify runtime
- Curs practic de java
- Javascript runtime environment
- Java runtime code generation
- Runtime environment in compiler design
- Openplc runtime
- Asymptotic growth
- In futuregrid runtime adaptable insertion service
- Run-time error example
- Runtime defense hijacking attack
- Matrix multiplication runtime
- Simplex algorithm runtime
- The control which is invisible at run time
- Blackberry
- Ford fulkerson runtime
- Compile time polymorphism java
- Softuni judge runtime error
- In futuregrid runtime adaptable
- Umdf reflector
- Runtime error index out of bounds
- Subdivision of runtime memory in compiler design
- An exception is a runtime error
- Casablanca runtime
- Runtime vs compile time
- Prims algorithm runtime
- Microsoft common language runtime native compiler
- Constructor overloading in java
- Spark runtime architecture
- Dfs runtime
- Runtime error 9
- Generations code loader
- System programming vs application programming
- Structural view in uml
- In future grid runtime adaptable insertion service used for
- Basic runtime checks
- Heapify runtime
- Kcal vaasje bier
- Vol and voh
- Diagramme de classe réservation vol
- Mijn hoofd zit vol
- Aide soignante au pluriel
- Vol and voh
- Brinjevac rakija recept
- Vol de nuit citation