简体   繁体   English

如何使用Samsung Smart TV Emulator在输入框中输入文本

[英]How to enter text in input box using Samsung smart tv emulator

i made a simple Samsung smart TV application, which let the user to input his name before interning to the main page, it works correctly,, but the problem is how the user can inter his name while the remote control which shown in the emulator doesn't have letters buttons!!! 我制作了一个简单的三星智能电视应用程序,该应用程序可以让用户在插入主页之前输入自己的名字,它可以正常工作,但是问题是用户如何在模拟器中显示的遥控器不输入名字的情况下输入自己的名字。没有字母按钮!!! also their is no cursor to active the text box!! 也是他们没有光标激活文本框!! AS i see in Samsung advertisement the user uses his Samsung phone to enter text !!! 正如我在三星广告中看到的那样,用户使用他的三星手机输入文字! so,, how can i use remote control to enter text?? 因此,如何使用遥控器输入文本? and what about cursor?? 那光标呢? please ...anybody can help!! 请...任何人都可以帮助!

her is the html code: 她是html代码:

  <label>Enter your name: <input type="text" class="test">
  <input type="submit" value="Submit" class="button" /><input type="submit" value="Welcome" class="button" /> </label>

and this is the css code: 这是CSS代码:

 label {display:block; margin:20px; width:420px; overflow:auto; font-family:sans-serif; font-size:25px; color: black; text-shadow:0 0 2px #ddd; padding:20px 10px 10px 0;}

.test {float:right; width:200px; padding:5px; border: 2px solid red; border-radius:7px; font-size:20px; -webkit-transition: box-shadow linear 1s; transition: box-shadow linear 1s; margin-top:-1px;}

.test:focus {box-shadow: 0 0 20px black;}

.button {

border: none;
background-color: #ff00;
padding: 4px 16px;
margin-left :100px;
margin-top: 10px;}

如果您使用的是最新的模拟器,则将远程视图切换到旧的远程视图,旧的远程视图具有与数字关联的字母键。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM