Windows10, windows app and desktop application



http://www.mobile01.com/topicdetail.php?f=163&t=3041061&p=2#pb
2012-11-16 17:02
2014-04-04 10:17
經過了一年半之後,
終於要在 Windows 8.1 Update, 跟 WindowsPhone 8.1
達到同一個 app 在 windows(modern) 跟 windowsphone 平台上執行了?

一直在注意 windows phone app 跟 windwos 平板的整合,
最後..
windows modern 限制太多, phone8.1 發展環境也一堆限制,
玩 android 去了...



剛剛看到..
http://www.ithome.com/html/windowsphone/137228.htm


就分二種, windows app, 就是以前的 winrt, 同時可在 windwos phone, metro 的 app,
而 windwos desktop application 是傳統的 win32 app,

而且, windwos destop application 可以使用 winrt (modern UI?),
且 windwos app 可以使用 com, 一些 win32 api...
(一堆限制的 winrt webbrowser control 拿掉沒?...)
開始有點想玩了...

2015-03-26 10:52 發佈
文章關鍵字 Windows10
Build2015

http://video.ch9.ms/sessions/build/2015/2-617-LG.mp4
Universal Windows Platform App Model
UWP App Model
包含所有 windows app,
Universal Windows Apps (同時可在 Windows 平板,手機 等用途上執行的 app)
Phone Apps
Windows 8.1 Apps
Classic Windows Apps (Desktop AP?)


(以下是我的理解, 有出入以原影片為主)

就 Desktop AP (Win32),
安裝用 AppX 取代 MSI, 區隔 Registry 及 Disk Access (比較好更新, 移除, 避免不斷的長大讓 Windows ROT)
可以:
使用完整的 Windows API,
用原有的 desktop 的 life cycle. (不會像 metro app, 在背景就會停止之類)
不可以:
用到 system component, drivdrs(user/kernel), nt services
admain elevation (不能用 administraotr 權限去執行)
InProc extensibilty (這個我就不知道了...)

https://dev.windows.com/en-us/uwp-bridges

Classic Windows apps

”Project Centennial” will make it possible to package and publish your current .NET and Win32-based Windows applications to the Windows Store, providing a new way of distributing and monetizing your application on Windows PCs.

In addition to packaging your application for Store distribution, ”Project Centennial” will also enable you to take advantage of Universal Windows Platform capabilities and APIs.

***********************

Windows8.x, Metro(Morden)UI 的 app (WinRT API), 跟 desktop app 是獨立兩套,
一些 WinRT 的用法比較簡單(像對 bluetooth4 之類的一些應用), 但 desktop app 也用不到..
現在多出了一個 classic windows app, 看來可以用到一些 WinRT 的東西了吧!

Desktop App 泛指所以舊有 windows ap,
而 Classic windows app 則是如前一個 post,
指單純沒有用到系統 driver, service 的 ap,
用 appx 安裝, 使用獨立 registry/磁碟存取空間的傳統 win32/.net(winform/wpf) ap.

ec wrote:
Build2015http...(恕刪)


http://www.ithome.com/html/windowsphone/155575.htm
微软确认不会有Win10通用版Skype


那 Windows 10 mobile 就沒有 skype?
還是 windows 10 mobile 會有 desktop(classic) skype?
如同 office(desktop) for windows RT?

會開放第三方開發 windows 10 classic (desktop) app for windows 10 mobile 嗎?
(
現在的 windows 8 RT, 是不開放的...
Windows 8 RT 是有人弄 hijacked, 可以執行 win32(porting to arm) 的 desktop ap,
8.1 就被癈了, 後來沒注意...
)


(
windows modern runtime model 綁手綁腳的,
連 ms 自己都搞不定, 在 win10 弄不出第一個版本的 skype?
還是喜歡 android 的 model ^^
)
ec wrote:
Skype
我猜是 Merto apps 都視窗化,不再全螢幕了,
那麼程式是基於什麼架構也不重要了
反正對使用者來說,那就是一個畫面


話說,Win 10 的 Universal app 架構感覺好複雜啊
我等有書上市再來了解好了
Stallings wrote:
我猜是 Merto apps 都視窗化,不再全螢幕了,
那麼程式是基於什麼架構也不重要了


modern 除了UI, 重要是底下的執行架構,
跳脫 win32, 使用 winrt api, 預設背景不能執行(如何 iOS), 希望擺脫很多的歷史包袱, 更精簡,更容易跨平台...

在 windows mobile 是使用 win32 api (win32c, win32 的 subset),
在 windows phone 就完全拿掉, 是用 sliverlight 演化成 winrt(metro),
如果 windows10 mobile 再用 win32 為主的 ap, 不就走回頭路了...



ec wrote:
modern 除了UI...(恕刪)
我說的是電腦上的 Win 10 啦

Stallings wrote:
我說的是電腦上的 Win10...(恕刪)


同樣的, winrt 上的出現, 就是為了讓桌上型電腦, 擺脫很多的歷史包袱, 更精簡,更容易跨平台...
就如同 wince -> windows phone,
現在走 desktop, 一樣回頭路...

而且, 難道沒有 windows 10 mobile 上沒有 skype 嗎? (可能嗎....)
如果有, 那不就是 desktop(win32api) 的 skype...

原本希望一支程式能在不同平台上跑的 universal app,
連 MS 自己都搞不定...?


https://dev.windows.com/en-us/uwp-bridges

ec wrote:
現在多出了一個 classic windows app, 看來可以用到一些 WinRT 的東西了吧!

Desktop App 泛指所以舊有 windows ap,
而 Classic windows app 則是如前一個 post,
指單純沒有用到系統 driver, service 的 ap,
用 appx 安裝, 使用獨立 registry/磁碟存取空間的傳統 win32/.net(winform/wpf) ap.


弄錯意思...
Classic windows app 就是 Desktop App,
而透過 UWP-bridges, 就可以符合 uwp ... (可以跨平台到 mobile? arm?..)



ec wrote:
”Project Centennial” will also enable you to take advantage of Universal Windows Platform capabilities and APIs.

The Windows Bridge for Classic Windows apps will be made available for public testing next year.


明年才開始公開測試....


https://msdn.microsoft.com/en-us/library/dn554295(v=vs.85).aspx
Windows Runtime APIs for desktop apps






ec wrote:
現在多出了一個 classic windows app, 看來可以用到一些 WinRT 的東西了吧!


好像原本 desktop app 就可以用到一些 WinRT.. 只是我不知道...


官方文件
https://msdn.microsoft.com/en-us/library/dn554295(v=vs.85).aspx
Windows Runtime APIs for desktop apps
The following subset of Windows Runtime classes can be used in desktop apps


內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?