How to get Samsung Smart TV Emulator to see my app?

a 夏天 提交于 2019-12-07 19:57:04

问题


I'm just getting started on Samsung Smart TV development, and so far my first baby step has been a big failure.

I am running Linux, and because I already have Eclipse installed and configured for Android development, I haven't had success in getting the Smart TV SDK installed and working. However, encouraged by How to build & deploy a Samsung SmartTV app without the IDE (e.g: on Linux), I have decided to go forward without it.

I do have the VirtualBox emulator running, however. So right now, I have built a basic app from the example here:

http://www.samsungdforum.com/upload_files/files/guide/data/html/html_2/getting_started/coding_js.html

And would like to see if I can just get it to start up on my emulator.

If I understand correctly, I need to take the directory structure of my app (with config.xml, index.html, and the Resources, JavaScript and CSS folders), package it into a .zip, and drop it in the "Apps" folder I have shared with the emulator. But when I do that, if I go to the emulator, refresh it, and hit "Open App", I am presented with an empty App list.

I know that the emulator is seeing the Apps folder, because if I put a subdirectory in it, then that directory shows in the Apps list in the emulator. But it's not showing the .zip file for my app.

I have been scouring the web for any useful information, but all tutorials just say something along the lines of "now test the app in your emulator to make sure it works. Now on to deployment...". Nobody gives any information on how to test the app in the emulator.

Can someone please shine some light on this for me?


回答1:


Unzip your app in the app folder it should look like this

Samsung TV SDK 4\apps\yourapp\index.html

Samsung TV SDK 4\apps\yourapp\config.xml

Samsung TV SDK 4\apps\yourapp\other files and folders



来源:https://stackoverflow.com/questions/17795392/how-to-get-samsung-smart-tv-emulator-to-see-my-app

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