Web browser for Windows 8

It need note that Windows 8 has two version of IE (it should say, one application but two entry for different mode)

  • Desktop IE

  • Metro IE

But it is very tricky, if you type “open http://Web” on desktop explorer will open “Metro IE

When you try to use this command to open web side, please note metro browser will be default option, not desktop browser.

ShellExecute(NULL,TEXT(“open”), TEXT(“http://msdn.microsoft.com”), TEXT(“”),NULL,SW_SHOWNORMAL);

To specific using desktop browser, it should specific command on [HKEY_CLASSES_ROOThttpshellopencommand]

MICROSOFT WINDOWS 8 BUILD STUDY NOTE (3) About ListVIEW

APP-209T Build polished collection and list apps in HTML5

refer: http://channel9.msdn.com/Events/BUILD/BUILD2011/APP-209T

  • Collection: A set of related user content.

  • This session talking about how to write customized list view by WinJS by uing

    • Data Source

    • Item Render (CSS)

    • Layout (WinJS.UI.GridLayout)

  • It could be easy to select image list view import your data source and put basicc control on your list view.

  • Multi-select already support just add one propoties on it. (selectionMode = ‘multi’)

  • ListView is easy to grouping if you could provide detail data of each item, group rule and group render (to descript how to group).

  • Symantic Zoom:

    • It is a way to zoom out/zoom in by semantic  (such of “category”, “date”). It look like “Group By”.

    • ListView also provide semantic zoom.

    • Easy to implement to change <div id> to “zoomOutView” and related data control.

  • If app is snapped (snapped on side).

MICROSOFT WINDOWS 8 BUILD STUDY NOTE (2)

APP-737T - Metro style apps using XAML - what you need to know

Refer: http://channel9.msdn.com/Events/BUILD/BUILD2011/APP-737T

This session talking about XAML for Metro style application implement. Focus on XAML for C/C++/C#/VB on Metro style application development.

  1. Consistent with WPF and silverlight

  2. New in Windows 8 Metro

1. New look and support for touch


2. Deployment by Windows Store


3. Tile –> splash screen to application
  1. New XAML UI Control
1. Build in “Grouping”


2. Windows 8 look and feel and its “selection model”


3. Media player on Metro Style


4. Grid view and Flip view


5. Application Bar: Swipe from bottom/top to display


6. Manipulation and gestures: It could handle rotation on Button_Clicp event.
  1. Metro Style App Concept
1. Diversity of display and resolution


2. Layout changed


  1. Snapped(small one on split), Filled (big one on split) and Full Screen


  2. It could be tested on simulator on VS2011 CTP.
  1. Metro style app lifetime
1. Background apps are “Suspended”


  1. App notified.





2. App will terminated when memory is low


  1. App will not notified.





3. Event:


  1. Application.Current.Suspending –> Save state when suspend


  2. Application.Current.Resuming –> Restore state when resume

APP-116T - Prepare your apps for Windows 8 and beyond

Refer: http://channel9.msdn.com/Events/BUILD/BUILD2011/APP-116T

This is talking about application compatibility on Windows 8.

  1. Windows 8 is compatible with apps that run on Windows 7

  2. OS version increasement

1. Application should not set upper bound for version handle


2. Windows 8 version is 6.2
  1. DWM (Desktop Windows Manager) always ON
1. If application try to turn off it, it will failed silently.


2. Color depth must on 32-bit (for DWM limitation) but lower could be simulated
  1. Startuo application changed
1. Apps on “Start” should goes to “task scheduler” or “automatic maintance”
  1. .NET 3.5 demanded
1. Default is .NET 4.5 it could enable if user install .NET 3.5 application.
  1. Use Windows Resource Widely
1. Use RegExpandSZ for path query


2. New error code add one


  1. Some SUCCESSED might goes to FAILED.
  1. Manifest your executable
1. Need add DPIAWARE for your application.


2. Application compatibility <compatibility xmln..>


  1. Starting on Win7, if no this tag **treat it as Vista application**.





3. Metro Style Application should managed it manifest


  1. <OSMinVersion><OSMaxVersionTested> to manage your metro app.

Actually, Windows CTP Compatibility Cookbook provide more overview for this.

**APP-123T - Enabling trials and in-app offers in your Metro style app **refer: http://channel9.msdn.com/Events/BUILD/BUILD2011/APP-123T

  1. Trail is really matter
1. 70 times download, 10 times revenue and 10% conversion.
  1. In-App Offer
1. 72% revenue comes from app which present “In-App offers”


2. 48% comes from “In-App offers”
  1. Flxibility option for this.
1. Use your existing commerce


  1. maintain relationship, subscription and consumable phuchases.





2. Ad supporteds


  1. Choice of ad controls





3. One time purchase


  1. Time limited trail and features differentiated trails.





4. Purchase over time


  1. Persisent purchase and Expiring purchase.
  1. Implement basic
1. Check License


  1. It could use simulate since store still no open





2. Get latest listing data


3. Prompt for purchase

PLAT-775T/PLAT-776T** - Your Metro style app, video and audio, Part 1/Part 2**

refer:  http://channel9.msdn.com/Events/BUILD/BUILD2011/PLAT-775T refer: http://channel9.msdn.com/Events/BUILD/BUILD2011/PLAT-776T

It discussion about media API and Media element:

  1. Using media API could easy to build up tailored user experience application with little domain knowledge.

  2. HTML 5 standard

1. DXVA full support


2. You can creat rich media by CSS, JS and DOM.
  1. Windows 8 enhancement
1. 3D video (Stereo 3D)


  1. _S3D still not work on CTP version_





2. Audio/Video effect and extensibility


3. Zoom/Mirror


4. Audio output selection


5. Background audio


6. DRM


7. Streaming media to TV and Audio systems
  1. System-wide support format
1. File name:


  1. MP4/ASF





2. Video:


  1. H264/VC1





3. Audio:


  1. AAC/MP3/WMA
  1. Simple HTML5 video player all related feature: Seeking, bookmark, play/pause, channel switching, capture feature already support on build-in API.

  2. Media Focus:

1. When app own media focus video could be see and heard


2. When suspends it will remove from active list, and app will mute


3. When select second media, it will leave original focus to new one.
  1. Media format extensibility
1. Custmize your app specific support format


2. Extension are  packaged and local on your app **(only for your app, no share)**


3. Extension could be naive (C++/COM) Media Fundation component.
  1. Extending your custom format
1. Register DLL with in App manifest on MF(Media Fundation)


  1. Such audio/video source filter or demux





2. In your app, register custom  streaming/data format with ExtensibilityManager


  1. Register your custom video/audio encoder/decoder





3. Custom effect could be insert effect pipeline

iOS5更新心得

iOS5 upgraded, 幾個重點記錄一下:

    1. C槽請有夠大空間~ 避免更新時候的備份掛點~
  1. 請記得先把購買的部分全部傳到iTune
  2. 要事前備份避免任何意外(連你下載檔案都先備份)
  3. App 要sync 到iTune 不然就得重新下載然後自己排位置
  4. iCloud 設定要設好~ app 裡面東西先不用上雲端~ 避免爆掉(每人免費5G)
  5. 更新中網路不要斷(可以先下載避免意外)

兩篇文章可參考

Microsoft Windows 8 build study NOTE (1)

 

BPS-1006 Tools for building Metro style apps

Refer video: http://channel9.msdn.com/Events/BUILD/BUILD2011/BPS-1006

Note:

It is introduction of VC2011, here is some major demo topic as follows:

  • Auto spell which is powerful with Visual Assist

    • Auto spell, finding related function and method. It is easy to go.
  • JS debugging:

    • It is cool to have debugger for JS which also support all debugging window (variable, watch…)
  • Parallel stack debugging windows:

    • It has visualization debugging tab for parallel which could show currently threading and each thread dependency.
  • RT XAML editor:

    • During debugging you also could editing XMAL code by select on UI or select on code segment to show UI change on fly.
  • Simulator debugger:

    • I think it is very cool stuff for me such we don’t have multiple touch panel on hand but we need implement some related to “Share”, “Search” which need finger slip.

    • It also provide “finger”, “rotate”, “zoom” and it could simulate to different resolution for Metro UI debugging.

  • Asynchronous programming (await, async)

    • Refer here for more detail:

    • Concept:

      • Will folk another thread after “await” and response on original message loop to ensure response quickly.

      • It look like to cut original message thread,one back to main and another keep doing async task.

      • It help us to using linear thinking to do asynchronous programming

    • Sample: (from here) async void ArchiveDocuments(List urls) { Task archive = null; for(int i = 0; i < urls.Count; ++i) { var document = await FetchAsync(urls[i]); if (archive != null) await archive; archive = ArchiveAsync(document); } }

BPS-1005 Platform for Metro style apps

Refer video: http://channel9.msdn.com/Events/BUILD/BUILD2011/BPS-1005

Note:

  • What is major different between Metro UI application with desktop application?

    • No overlay window architect (all full screen)

    • No message box related API.

  • Device access all using asynchronous to ensure all application could response on time.

  • About “Broker” in WinRT concern as follows:

    • Impact system integrity.

    • Impact user data

    • Impact User private

  • HTML5/CSS/JS great for Metro Apps

    • MSFT try to enlarge their engineer base and try to draw Web engineer’s attention to join Metro Apps development.
  • Package your application:

    • Application could be easily to pack and upload to MSFT with one click on VS11.

    • All package need digital signature before upload to App Store

TOOL-789C Bringing existing C++ code into Metro style apps

Refer video: http://channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-789C

Note:

  • About Metro UI app:

    • No registry, GDI, MessageBox coding.
  • Here is work/not work desktop app

    • Work:

      • Standard C++

      • Parallel pattern

      • Win32 (WinRT and Win32 subset)

      • ATL (ATL subset)

    • Not work:

      • MFC
  • About WinRT

  • Q&A

    • Two Metro UI don’t have any way to communicate for now, currently it still isolate.

    • For disable API, it might change depends engineer feedback to MSFT.

    • All Metro UI need component could be pack to WinRT component and package today to delivery to end-user via store.

    • Shared component is not work on Metro UI, all component must be side-by-side. Because you could not use CoCreateInstance by CLSID, so there is unique CLSID on Metro world.

    • Whole app on Metro UI are isolate due to security and system integrity.

魔物獵人-iOS版本-動態狩獵(Monster Hunter - Dynamic Hunting)

Photo 11-8-29 下午8 28 41.jpg

> > 下載鍊結: [http://itunes.apple.com/tw/app/id428887854?mt=8](http://itunes.apple.com/tw/app/id428887854?mt=8) 現在只要0.99USD喔(到2011/08/31) > >

自從今年五月底買進了iPhone4 白色之後~ 其實最近我發現我的PSP的遊玩時間嚴重的被iPhone所分配完。 但是更恐怖的是~ iOS竟然也發表了魔物獵人的遊戲,這大概也代表了~ 我的時間會花更多在iPhone上吧~

Photo 11-8-29 下午8 29 12.jpg

這是我的角色畫面,使用的是最近更新過後才開放的武器~ 槌。 到目前為止(2011/08/30)一共開放了~ 單手劍、大劍、雙劍與槌,不過根據勳章的空格~ 應該還有一些武器會開放,大家可以去下載另外一個iOS app (MHDH Assist Lite)裡面有提到,在此就不雷啦。

Photo 11-8-29 下午8 28 58.jpg

在這裡也有所謂的商店不過商店老闆只有一隻愛露,而且他兼做武器、防具與寶物店老闆。 而且這裡的寶物其實沒有甚麼用處~ 因為去狩獵本身也會有一些回復劑。

Photo 11-8-29 下午8 25 48.jpg

面對魔物的戰鬥方式採取的是一對一的戰鬥(男人就是要對打)。整個方是有點像是練習場的狩獵方式,不像是其他版本的魔物獵人有採集與狩獵兩個部分,這個版本主要在狩獵(大概也是動態狩獵的意義吧?)

在這個版本的遊戲~ 充分的運用了 iPod/iPhone的multi-touch的遊玩方式,你可以在這個畫面看到~ 大槌的攻擊方式就有三種:

  • 集氣攻擊: 就像是一般大槌的集氣攻擊,這時候還可以移動的。

  • 橫向攻擊: 其實就是大絕招~ 橫向攻擊需要大絕招的點數(需要透過閃避敵人才能得到)

  • 通常攻擊: 一般攻擊~ 可以最多攻擊三次

Photo 11-8-29 下午8 26 01.jpg

這是主要戰鬥畫面~ 其實大家可以看到主要是一對一的對戰~ 然後這裡的操作也相當的直觀:

  • 移動: 就直接用手去劃

mzl.jwxikdpm.320x480-75.jpg

  • 點擊: 普通攻擊

  • 兩根手指頭向左右劃: 閃避~ 這也是這款遊戲的重點~ 因為你需要不斷的閃避魔物的攻擊~ 找尋適當的空隙然後攻擊。

mzl.iftoiuua.320x480-75.jpg

玩到現在~ 其實遊戲不錯玩~ 雖然還沒試過連線對戰~~但是整體遊戲感也不失為一款小品~ 而且武器與防具的素材也是有點小小的血尿。 其實很推薦大家玩。