We bought a Samsung Smart TV to mount on the wall and display our company dashboard. I wrote the dashboard in HTML/Javascript/CSS and everything is going well. It's to a point that I felt comfortable displaying it on the big screen. However most of the data does not load. I have no idea how to access a console of any type. I've tried changing my agent string to match in Chrome dev tools, but of course that doesn't emulate capabilities. I also downloaded the "2014 Smart TV Emulator 5.1" from Samsung's site and got it running in VirtualBox but as far as I can tell you can only use it to debug and emulate native Tizen apps. I can't figure out how to launch the browser on the emulated set.
So, how can I troubleshoot my web app on a Smart TV Browser?
If you are using Tizen SDK/ Tizen Studio you can debug Tizen web application:
Run As > Tizen Web Simulator Application (Samsung TV)
Click on Web Inspector.
You can see your console here.
Related
I have to debug some problems on website I recently created that occur only in native android browser on some tablets. I don't have access to physical device so I decided to to install Android Studio and created tablet AVD(android virtual device). Process run smoothly and now I can open native browser in virtual device and check my website.
I can see the same errors as those reported on tablets(that's great) but I cannot figure out how to run any kind of devtools in native browser. Even access to console output would be enough.
I'm running android studio on Ubuntu 18.x LTS, but I guess my question is not platform specific.
I would prefer any solution that can be run on virtual device(like some additional app that acts as debugger), even if it would give me only console output, over more sophisticated ones that require more complicated configuration.
But, honestly, I would really appreciate any kind of help.
you have to use the Chrome debug bridge; accessible through chrome://inspect on the desktop browser... connected devices will show up there, as long as USB debugging is enabled; that should work with an emulator, as well.
I am trying to debug my web app with Tizen IDE + Emulator, but console does not work. When I run my app with the 'Debug as...' option it launches the app and the inspector opens correctly but the console tab is empty and I cannot run any JavaScript command in the console (as suggested here https://stackoverflow.com/a/37845599/3199735). Console output in the IDE is also empty. I tested this with the Basic TV app template, so there is no JavaScript code which disables console. I also tested the 'sdb dlog' command, but it just gives me an error.
I'm using the latest SDK and IDE.
Mac OSX 10.11.6
Tizen SDK
Version : 2.4.0_Rev8
You can find same posts with screenshots from Samsung's forums
Samsung Tizen TV SDK provides Web Inspector as debugging tool. Google chrome is required to be installed to perform such debug Operation. You can check the functionalities provided in this document.
a) Run the tizen project using Debug As-> Tizen Web Application. When you will debug the project on emulator, the Web Inspector (Debugging tool for Tizen SDK) will open in a separate window.
b) Go to the Source tab and enable Debugging :
c) You can also set breakpoints and debug stepping into line of codes. Click on the bottom tab to see the console. You can also check the console from console tab and also the IDE.
Otherwise, You can also Run As > Tizen Web Simulator Application (Samsung TV)
Then Click on the Inspect Icon & check the console tab.
One workaround would be to create your own logger area in your app and list what is printed using a custom log function :\
I've tried building an app using Android open source Bluetooth chat sample project. you can find the source code here: https://github.com/googlesamples/android-BluetoothChat
The problem is that the sample itself has a bug sometimes two way communication fail and one of the two devices fail to receive messages
you can find the problem in this video: https://www.youtube.com/watch?v=zVyW7yBBwa0&t=4m16s
I've tested it using Samsung GT-N7000 running 4.1.2 and Samsung Galaxy Mega running KitKat.
Can anyone help me figure out how can I edit the source code to fix this bug as the two devices fail two way communication each time I try to connect them using the app.
I've used Android Studio to build the signed apk.
I have an app that is developed based on Cordova/Phonegap. It's purely in Javascript, HTML5 and CSS3. I am able to do small modifications to the present code and was able to run on mobile and Android TV. However, now, I want to run this app on samsung smart TV. I am ready to little modifications to make it run on Samsung TV. In the future, I also want to run it on Philips, LG smart TV's as well.
However, what I don't know is, what to modify? Is there any documentation available from Samsung, Philips and LG on how to port Cordova/Phonegap based apps on to TV? If so please share the knowledge.
Please go though samsungdforum, there you will have all the info regarding how to start app development for Samsung smart TV, I will suggest download an sample app, look into its code and understand it, then try to modify your code accordingly.
I am having trouble developing for iOS with Titanium Studio. (I am working on a mac running snowleopard.) I tried to follow this tutorial (https://wiki.appcelerator.org/display/guides/Quick+Start#QuickStart-HelloWorld%21) and I can get to this stage:
But under "deployment targets" iPad, iPhone, Andriod, and Blackberry are grayed out and my only option is Mobile Web. (basically the opposite of the picture).
Then when I go to run my app as instructed (see image below) my only option is "Mobile Web Preview In Browser", which opens firefox, or "run configurations" where iOS is still unavailable.
On my titanium dashboard, there are icons for iOS and Android which have question marks on top of them. when I click on iOS, it says that it can't find an iOS SDK and prompts me to download Xcode from the app store. However, when i go to do this, I am unable because my system is too old for the new Xcode.
Also, if it turns out that the iOS simulator simply can't work on my machine, i still cant figure out how to export my project as a mobile app. (lol)
You have to specify where the iOS SDK is located on your machine in order for Titanium Studio to give you the option to deploy to an iOS device. The XCode versioning can understandably get confusing and frustrating, but I think it's time for you to update your Mac to Lion and go with the latest versions of XCode, the Titanium SDK, and Titanium Studio for compatibility.
if you open up the dashboard page in the Titanium Studio IDE there is a configuration panel that will assist with configuring IOS SDK and provide instructions on how to tell TiStudio where to find it