Xamarin Forms for Android Tv Application - android

I developed an application that has different pages, the first page contains some buttons to navigate to other pages
I run it in my mobile, it works fine, and I run it on my tv (Andoird Tv), it runs but I can't click on buttons to navigate to others page by REMOTE CONTROL
How can I handle keys remote control in my app Xamarin forms
Thank's

Press tab key to make your Button focused.
Then you can use REMOTE CONTROL to switch focus and click.

Related

Chrome Custom tabs not working on emulator but are working on real Android device

I have an app that uses Chrome custom tabs for third party auth sign in. The problems is is that when the custom tab is asked to open the url, the tab closes as soon as it's opened on an emulator, and only stays visible for a "split second". On a real physical device, it works fine and the custom tab stays open. I have had this working on emulators previously, but as a newbie Android developer, I do not know what can be done to try and pinpoint the problem.
Is there any configuration or setup needed to make custom tabs fully functional on emulators?

Android phonegap application issue with hardware back button

I have a problem with the Phonegap Android application with the back button in some Android devices.
In the Pic when I press application's back button(Red color button), it is not working and the phone's home is working. This is in particular of some Android devices which is having the hardware buttons in main screen.
Now the question is how to stop the phonegap application before the hardware buttons. Means I wat to stop the application top of those device buttons, because I need those buttons also for the application

android chrome shortcut to close browser tabs

On android tablet using chrome there is no command to close all tabs. My mother will often have 20+tabs open and it slows/crashes chrome.
I'd like to create a shortcut, but don't know if there are any action and intents to have chrome close all tabs (I can call it with tasker for example.)
Silly, infuriating problem but I'm stumped.
#aaronmallen yes, it can. Using AutoRemote plugin for tasker all kind of actions can be programmed for automated interaction with UI (clicking, swiping, typing, scrolling etc etc)
Tap on the tabs button on the top right (the one that shows the number of open tabs). This will show you all the tabs in a stack.
Tap on the Settings button on the top right that is represented by 3 vertical dots.
You will see a few options. One of them will be Close all tabs. That option should close all your open tabs.

"bookmark this site" button for mobile devices

I am creating a mobile webpage using jquery mobile, no luck in creating a button when tapping which will create a home page icon automatically, a one tap process, on both ios and android devices, something like the AddFavorite() function in the desktop world, is it technically possible ?

Detect android browser tab switch

I would like to detect when a user switches tabs within the native Android web browser (other web browsers would be a plus). Is there an event that gets raised when this occurs that an outside app can trap or would I have to create my own application with a web view inside if and detect this from within my own custom browser?
I researched the following but to no avail. They were not very relevant to my goal:
Switching tabs but not very Android-specific
Tab-related activity in Android
Switching tabs in Android
My goal is to determine how much time a user spends viewing a particular web page before navigating away or leaving the app completely.

Categories

Resources