How to enable developer mode on LG webOS 3.0 TV - webos

I want to test a simple web app on my LG webOS 3.0 SmartTV using the Developer Mode app from LG Content Store and the webOS IDE on my laptop.
I've ensured that my TV and laptop are on the same wifi network and installed the Developer Mode app from the Content Store on the TV. But after I've logged in with my LG Developer ID and password, I can't seem to figure out how to navigate to the "Dev Mode Status" button and enable it.
How do I enable Developer Mode on my LG webOS TV? (Model: 65UF680V-ZA)

I found a solution to my problem in this thread. http://developer.lge.com/community/forums/RetrieveForumContent.dev?detailContsId=FC03095252
It turns out that it isn't possible to navigate in the Developer Mode app with a regular remote control which only has arrow keys and no pointer function.
Luckily I had a wireless USB keyboard with a built-in mouse trackpad that I could use to bring on the screen cursor and ultimately enable the developer mode button.
EDIT: The Dev Mode button can now be enabled by using the regular TV remote control.

The best way is plugged in mouse... or something else with cursor

Related

Cannot view mobile app for tab development

I am trying to create a layout for our teams channel tab app but when running the app locally and inspecting it as a mobile device, teams throws an error that the browser is not supported.
Can anyone point me in the correct direction to develop my app for mobile use or how I can view the mobile app from the VS Code Teams Toolkit debugging tools?
I have tried to run the app in chrome and in MS Edge browsers and use the inspector device emulators in both but get the same error. I have also tried connecting via my local machine's IP /the FE port 53000 and also have had no luck there.
I used directly my mobile device (android) with Teams App installed for debugging teams custom tab (both phone and tablet worked fine). Connect your android device to your laptop/desktop (using USB), and then on the phone:
Enable USB debugging
Enable "Developer Preview" in Teams options
In the desktop chrome, navigate to chrome://inspect/devices and you should see your device there in the list available for inspection/debugging. You could probably also connect using local WIFI (?), but I have not tried that. Also never tried that with Edge, so not sure if it works.
https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/developer-tools#access-devtools-from-an-android-device
It's not possible to debug a Teams tab on iOS using Windows (or Mac). Using Dev Tools, we can debug Teams tab in desktop and Android clients.
Ref Document: https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/developer-tools

How to apply policy to offline device

I am using Android management API. I have applied policy to device and turned it to kiosk mode. After a while when I turn on the device, it is not connected to wifi anymore and is still in kiosk mode. Therefore I cannot connect it manually or update its policy. Is there a way to solve it ?
Unfortunately, as you cannot open the wifi dialog and devices cannot update the policy without a connection, the only way to workaround this is to hard reset the device per OEM instruction.
In the future, you can use KioskCustomization to have access to the status bar and navigation buttons so there would be no need to hard reset the device again if there is no connection as you can open the wifi dialog with this.
For people wondering how to escape the kiosk mode. There should be a way for your device to reboot to recovery mode. I my case - samsung tablet - I hold power button and volume down button for a while and when samsung logo appeared a released the power button, but still hold the volume down button. In recovery mode I were able to connect to wifi manually.

Enabling Developer mode on a webos TV (LG)

Trying to enable developer mode on an LG TV with WebOS via these instructions so I can install the twitch.tv app for webos but I cannot find the Developer App anywhere on my smart tv. Not in Smart World or any other store page I could find.
I've tried looking at similar questions on here but they all say something like "go to the "content store"" or "go to "lg store"" which, for me atleast, aren't a thing on the page where the apps are displayed (smart home, I think?)
I've installed the SDK on my computer incase I need to do something with that.
I'm really confused and would like any help possible. Thanks!
To enable developer mode on LG WebOS TV you need to install Developer mode app from LG Content Store
On remote press Home button
Go to LG Content Store
Search 'Developer mode' on LG Content Store
Install 'Developer mode' app
from this application you can enable Developer mode
Sadly, it seems I am a bit stupid and didn't realise that my TV isn't WebOS. It's netcast.

Why does RDC eat my keystrokes?

I'm trying to use Microsoft's Remote Display Control (version 2.03, copyright 2000) to view my Windows CE device on the desktop (not only is it nice for my "regular" handheld device, because it makes the display easier to see, especially in zoom mode, but it is even more important for the other devices I have to test, whose screen is too dim for me to make out exactly what's on the screen (it's like the vision test from h311) - which is necessary for debugging, of course) but for some reason I am not able to enter key strokes on the device while it's connected to the desktop. I can enter them neither on the desktop/in RDC nor on the handheld device itself while connected via RDC.
This, of course, is untenable (no pun intended).
The .exe is created in XP Mode, copied to a "holding tank" in Windows Explorer on the Windows 7 machine, then copied from there to the handheld device.
Then I connect from the handheld device by selecting Start > Programs > cerdisp > selecting OK in the "Remote Display Control" dialog, then Connect, then OK (and I do connect), then run the app on the desktop in the "WindowsCE" window that RDC supplies. It allows me to select menu items, but the keyboard is broken/mute...???
Is this a known bug? Is there a workaround? The desktop is a Windows 7 machine.
Doing a "cold boot" of the handheld device caused it to come back to responsiveness, keyboard-wise. These devices are betimes more peckish than a put-upon puddle of Platypi.

Network panel not working in weinre

I wanted to write an AJAX based hybrid Android application.
I tried to get my head around weinre but I can't get the network panel to appear. It does not show regular network interactions and for any XHR interaction it states "status pending" and "type pending".
Has anybody else faced this problem?.
This link did/did not solve the problem: https://issues.apache.org/jira/browse/CB-5424
Weinre is pretty limited, and nowadays better solutions exist to inspect your Hybrid app:
On Android 4.4 and above (or lower Android if you're using CrossWalk), you can use Chrome https://developers.google.com/web/tools/chrome-devtools/debug/remote-debugging/remote-debugging Just point to chrome://inspect/#devices and you should see your device and hybrid apps and browsers. You may need to first run adb start-server for Chrome to see your device
On iOS, you can use Safari (on a Mac): you need to enable Web Inspector on Safari on iOS, and use the Developper mode of Safari on the Mac. See eg http://developer.telerik.com/featured/a-concise-guide-to-remote-debugging-on-ios-android-and-windows-phone/

Resources