Share via


Как установить виджет на Windows Mobile 6.5 устройство

 

Как известно, если Вы создаете виджет, то его можно поставить на эмулятор, но нельзя поставить на физическое устройство.

Вопрос изначально задали в докладе на techdays

https://www.techdays.ru/videos/1561.html

Как выяснилось, решение это проблемы описано в MSDN.

https://msdn.microsoft.com/en-us/library/dd721906.aspx#DeployingtheWidget

Deploying the Widget

The current version of Windows Mobile widgets supports two deployment modes: SkyMarket and sideload deployment. SkyMarket is an online application store intended to be a one-stop shop for purchasing Windows Mobile applications.

Developers can use sidelong deployment from the desktop development workstation. To do this, the developer copies the widget deployment file to the device and then runs the widget file on the device. This deployment method works out of the box for the emulator image, but for actual devices the developer must add the following registry keys to the registry of the device.

Copy Code

 [HKEY_CLASSES_ROOT\riapp]
    "EditFlags"=dword:00010000
[HKEY_CLASSES_ROOT\riapp\Shell\Open\Command]
    @="wmwidgetinstaller.exe %1"