how to remote debug sonytv not in opera TV emulator - opera

I'm using operatv emulator for debugging. I want to know is there anyway to remote debug i.e my app running on Sony and logs on my systems console

As noted above:
Download Opera and start your TV emulator. In Opera go to localhost:5555 and a remote control should appear. On the remote is a "Connect to Dragonfly" button. Here is the docu dev.opera.com/tv/opera-tv-emulator/#debugging - Open the browsers dev console and select the "TV Emulator" window.
References
Dev.Opera — Opera TV Emulator User Guide

Related

React native - console logging with remote debugging

Tried to do a bit of research without finding a result, however:
I am connecting to my development server over the same wifi network and using hot reloading to update react native Application on physical device, however I can’t seem to find a way to display the console output like I normally would through the temrinal. Normally I would build my app with physical cable and display log through the console and use react-native log-android.
What’s the way to show console logging when connecting wirelessly?
TIA.
have you tried the option Debug Js remotely, which opens a new tab in the browser and from there if you press f12 and go to developer tools ,in the console tab there you can view all the console log statements. And to start Debug Js remotely, you shake the phone and the option will be displayed. I hope it helps.

can't able to run react-native app in Android device

hai every one i am trying to run the react-native android app in device then it throws an error like as mentioned below
can any one please give me suggestions for how to solve this error,Any help much appreciated
Try following the steps on the guide page.
You may have to set the address of your dev server.
Configure your app to connect to the local dev server via Wi-Fi
Make sure your laptop and your phone are on the same Wi-Fi network.
Open your React Native app on your device. You can do this the same way you'd open any other app.
You'll see a red screen with an error. This is OK. The following steps will fix that.
Open the Developer menu by shaking the device or running adb shell input keyevent 82 from the command line.
Go to Dev Settings.
Go to Debug server host for device.
Type in your machine's IP address and the port of the local dev server (e.g. 10.0.1.1:8081). On Mac, you can find the IP address in System Preferences / Network. On Windows, open the command prompt and type ipconfig to find your machine's IP address (more info).
Go back to the Developer menu and select Reload JS.

Worklight user-agent

I've been showing a page on the console (Android environment), and testing if this external page (an html page of mine) has been opened using a mobile device or a desktop by checking the user-agent using this piece of code:
navigator.userAgent.match(/Android/i)
If I run this piece of code on the real device it shows it's an Android device, if I launch the Worklight Console it shows it's a desktop device. How can I change the user-agent in order to let Console think it's an Android device? I've installed the Chrome extension but I didn't understand how to use it.
It sounds to me like you want to debug your Android environment (which is meant for mobile devices) while using the Chrome desktop browser?
Try the following and see if this is what you want:
Preview the web resources
If all your web resources are in the common\css or common\js folder, open Worklight Console and click on "preview web resources"
If the web resources are coming from both the common\ and android\ folders, you can use this URL structure: http://replace-with-host-or-ip-address:10080/replace-with-project-name/apps/services/preview/replace-with-app-name/android/1.0,
Open the Chrome DevTools and click on the device icon:
Then, from the UI that will open up you can select from the Devices dropdown to adjust the viewport to that of the chosen Android device.

IBM Worklight 6.0 - Unable to enable the Cordova geolocation control in the Mobile Browser Simulator

running WL Studio 6.0, on RHEL 6, with Firefox.
I am unable to enable the Cordova geolocation control in the Mobile Browser Simulator. When I expand the Geolocation section in Cordova controls, all I get is the following message within the control:
"Using the geolocation service provided with Firefox."
I have turned off Firefox's "geo.enabled" config setting in about:config, reloaded the page, restarted the browser.
I have set Firefox's Share Location permission to blocked in my page settings for the MBS page and reloaded the browser.
Is there a way to enable this MBS feature on firefox (on linux)?
There is no setting in the Mobile Browser Simulator to change that, but sounds like there should be. Or at least needs to better detect if the FireFox geo.enabled setting is turned on.

Symbian Emulator start and disappear

I am new with Symbian. I downloaded Symbian SDK, Active Perl 5.6.1.635, and Carbide C++.
I tried to create a Hello World Project but whenever I execute the emulator appears, shows loading and then disappear.
Any clue?
Do you have Realtek sound chip on your PC? Try to disable it in windows device manager and try again. This is most common issue in the behaviour mentioned.
Also please refer to %temp%\epocwind.out for emulator log. Reasons of failures and panics can be found there.
EDIT:
Regarding on-device debugging:
Connect phone to your computer with USB cable.
You should have Nokia Ovi Suite or Nokia PC Suite installed, because you gonna need USB drivers for the phone;
Then go to Carbide, select debug target (GCCE UDEB) and click "Debug".
In the opened window titled "Debug As" select "Symbian OS Phone or Simulator launch";
In next form click button "Change" in "Connect to device" section;
Add new connection;
In the new connection form, go to "Install Remote Agents" tab, select Nokia -> 9.2 -> Application TRK 3.2.8 and click "Install";
Then return to "Setup Connection" tab, choose connection type USB and then select virtual COM port allocated for phone USB connection.
You can make sure that connection is ok by going to "Test Connection" tab, selecting TRK and clicking "Initiate Service Testing".
Connection should be set up for now, so now you can setup the build of SIS file, which should be deployed to the phone for debugging purposes. For this, in the opened window "New Launch Configuration Wizard" click button "Change" in "Debug process" section, and then, in "Deploy method" section select your SIS file in "SIS file to install" combo box. If you don't have any SIS files yet, refer to this page.
Once you have all this stuff set up, you can start actual debugging. Hope this helps. :)