适用于Samsung Gear Fit 2 Tizen的仿真器

问题描述 投票:0回答:1

我想为Samsung Gear Fit 2 pro开发一个Web应用程序,但是我在使用模拟器时遇到了问题。你知道我应该使用哪个模拟器吗? (它们都没有正确缩放或是圆形的)

emulation tizen samsung-gear-fit
1个回答
0
投票

到目前为止,Tizen Studio上没有针对Gear Fit系列的仿真器。但您可以在Square Emulator上运行项目以测试Fit系列项目。您可以从config.xml修复项目的分辨率。

由于resolution of Gear Fit 2216 x 432,我相应地设置高度和宽度。

<?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>

并且采用具有分辨率320 x 320的模拟器,因为Tizen Studio上没有其他方形模拟器选项。希望这种技术能解决您的问题。

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.