where url1 is the video url, and it works great on every Android device, but fails on every Amazon Android device.
Amazon will not let the app onto their app store until it also works on their tablets. The problem is that when this code is called on a Kindle tablet it does not open the youtube app as expected but instead produces the error message "An error has occured".
Is there a way to open a youtube url on a Kindle that will also work on non Amazon devices?
Thanks for this, I don't have a Kindle either so only thing I can do is add this, check it works fine on the devices I do have and resubmit it as Amazon will test on Kindles.
Unfortunately the code did not work, it now errors out (but again, only on Kindle tablets) with the message "An error has occurred... android.content.ActivityNotFoundException: Unable to find explicit activity..." yet works fine on non Amazon devices.
Any one know what's going on with the Kindles that makes them not want to play youtube videos, please?
That link did help educate me. I didn't realise that Kindles don't have YouTube installed on them, I will have to try and figure out how to identify the Kindles and use the suggestion from NJDude. Thanks for the replies, I shall leave it a day or so and try again once can identify the Kindles.