Issue
I developed an Ionic app for android and ios, but now i need to use the same app code for smart tv, to generate one apk compatible with android phone, tablet and tv.
Samsung gives an SDK with eclipse and emulator but after import the android project it return a lot of errors all in angular files
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
Can I use the same project to build an android tv/samsung smart tv app?
Thank you in advance.
Solution
It should be possible to get the Android app you created for smartphones or tablets to run on Android TV devices, such as Sony and Philips TVs from their 2015 ranges or Google's Nexus Player. However, you will need to modify the user interface and controls of your app to work with a d-pad remote control, instead of touch or mouse.
Samsung's TVs do not run Android. Instead their 2015 models are based on Tizen. You might be able to modify the web part of your Ionic app to run on that platform, but I would not expect that to work without modifications either.
Answered By - Pieter Siekerman
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.