Emulator for Samsung Gear Fit 2 Tizen

泄露秘密 提交于 2021-02-20 04:11:40

问题


I would like to develop a web application for Samsung Gear Fit 2 pro, but I have problems with getting an emulator to work. Do you know which emulator I should use? (None of them scale properly or are circular)


回答1:


Till now there is no Emulator on Tizen Studio for Gear Fit series. But you may run your projects on Square Emulator in order to test Fit series projects. You can fix the resolution of your project from config.xml.

As the resolution of Gear Fit 2 is 216 x 432, i am setting height and width accordingly.

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns:tizen="http://tizen.org/ns/widgets" height="432" width="216" xmlns="http://www.w3.org/ns/widgets" id="http://yourdomain/XXXX" version="1.0.0"  viewmodes="maximized">
   ........
    <tizen:setting screen-orientation="portrait" context-menu="disable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
</widget>

And taking the emulator having resolution 320 x 320 as there are no other square emulator option on the Tizen Studio. Hopefully this technique will solve your problem.




回答2:


You can change the emulator's template properties as shown on the picture below to have exactly the same look and feel as the real watch. Please also note that GearFit2 and Pro are currently supported in Galaxy App Store, so you can submit real apps, not only watch faces.

Here is the some application running in the emulator created this way



来源:https://stackoverflow.com/questions/47883225/emulator-for-samsung-gear-fit-2-tizen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!