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.
I would recommend start with a clean Javascript project, as with angular.JS, proactor.JS or ember.JS for example. I personally like yeoman with angular, as it comes with the gulp, grunt task and its easy to develop. After having your project working on a normal browser you can then start to export to other devices using PhoneGap, Cordova or even Samsung.
For Samsung don't waste your time with the old SDK, you can only publish TIZEN and its late 2015 devices, and ill say 10% of the 2015 devices- I personally don't like samsung, support its a joke, the mess they have In House its a big Joke, running a system for 1-2 years and then changing them its another Joke, people are better buying a cheap android TV or an Apple TV.
Samsung sucks.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With