angularjs – 用于智能电视的Cordova /离子应用程序

前端之家收集整理的这篇文章主要介绍了angularjs – 用于智能电视的Cordova /离子应用程序前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我为 Android和ios开发了一个Ionic应用程序,但现在我需要使用相同的智能电视应用程序代码,生成一个兼容Android手机,平板电脑和电视的apk.

三星给出一个SDK with eclipse and emulator,但在导入android项目后,它会在角文件中返回很多错误

Syntax error on token “finally”,Identifier expected ng-cordova.js

The left-hand side of an assignment must be a variable ng-cordova.js

The left-hand side of an assignment must be a variable angular.min.js

The left-hand side of an assignment must be a variable angular.js

Duplicate case angular-ui-router.min.js

Syntax error on token “finally”,Identifier expected angular.js

Syntax error on token “finally”,Identifier expected ng-cordova.js

The left-hand side of an assignment must be a variable angular.js

Duplicate case angular-ui-router.min.js

The left-hand side of an assignment must be a variable ionic.bundle.min.js

The left-hand side of an assignment must be a variable angular.min.js

Duplicate case angular-ui-router.min.js

我可以使用相同的项目来构建android tv / samsung智能电视应用吗?

先感谢您.

解决方法

您应该可以将为智能手机或平板电脑创建的Android应用在Android TV设备上运行,例如2015年推出的索尼和飞利浦电视或Google的Nexus播放器.但是,您需要修改应用程序的用户界面和控件以使用d-pad遥控器,而不是触摸或鼠标.

三星的电视不运行Android.相反,他们的2015款车型基于Tizen.您可能能够修改您的Ionic应用程序的Web部分以在该平台上运行,但我不希望它在没有修改的情况下工作.

猜你在找的Angularjs相关文章