Forum Xamarin.Forms

Xamarin forms: How to develop applications for Amazone Fire TV

SreeeeSreeee INMember ✭✭✭✭✭

We are planning to create an application for amazon fire os devices like Amazon Fire tablets, Amazon Fire phone, Amazon Fire TV and the Amazon Fire TV Stick using Xamarin forms. I research about this and found this blog. But I am using visual studio for the development. So is there any NuGet packages available for this? I checked the Android SDK Manager, like the blog not found amazon fire tv SDK under API 17. Also, How can I use the Amazon Fire TV component?

Our app is a simple app for listing the videos based on the category, also has a login page. Is it possible to use the same project for Chromecast and rokoo players? Should I include other packages or components for them?

Please provide me with a starting point for what I have to do.

Best Answers

  • GraverobberGraverobber ✭✭✭
    edited March 24 Accepted Answer

    Here is a list of supported platforms of Xamarin Forms
    https://docs.microsoft.com/de-de/xamarin/get-started/supported-platforms?tabs=macos

    I don't see an issue for the Amazon Fire tablet or the fire phone as Fire OS of those devices is Android so the app will run on it. However, be aware of limitations that come with that OS like Incompatible/missing Google Play services, different Push notification services and so on.

    Now to the parts that I know less about, the Fire TV and Fire TV stick. From what I see Fire TV is also just Android but it is Android TV. I don't know how far Android mobile differs from Android TV development and if or how Xamarin Forms supports Android TV. Additionally there are differences in FireTV and Android TV which are listed here
    https://developer.amazon.com/docs/fire-tv/differences-from-android-tv-development.html
    Generally it should be possible, I found this blog about it https://blog.infernored.com/xamarin-forms-a-fire-tv-quick-start/

    So from my point of view, all you want to do should be possible as it all is just Android but it might require a bit of tweaking here and there. My suggestions would be to create a simple Hello World app, perhaps with a button to click in order to test touch VS remote control, and fire it up on all of the devices/platforms you're interested in and check if it works. I'm always more of the trial and error type instead of waiting for responses in a forum ;D

    Regarding Chromecast or rokoo, I'm out!

    Hope it helps a little.

  • GraverobberGraverobber ✭✭✭
    Accepted Answer

    @Sreeee said:
    1. Which type of project do I need to create for this? Xamarin forms project or Xamarin Android project?
    2. Also, we planned to use the same app for Apple TV, for supporting Apple TV is there any additional settings?

    If you plan to distribute to other platforms than to Android like platforms then a Forms project might fit your needs better.
    However I'm lacking experience on this field, Xamarin generally supports TVOs https://docs.microsoft.com/de-de/xamarin/ios/tvos/ but I don't know how smoothly it can work in combination with Forms. For sure you can have a core library shared between all your projects (like models, API connection, Database handling etc.) but regarding UI of Xamarin forms I'm not sure.

    1. How I can test the app when developing? Is there any simulator? Fire TV is not available with me now?

    For the Emulator config you can see here https://developer.amazon.com/docs/fire-app-builder/use-an-android-tv-emulator.html
    It might be better to test on a real device though.

    1. On which store I need to upload the app? Amazon Appstore or Google Play Store?

    Amazon Appstore. There is no Google Play Store on Amazon devices.

    1. Which NuGet package or SDK I need to add for developing a fire tv app? (or any component)

    As far as I understand, and again I'm lacking experience here, none. Fire TV is just Android so any Android TV app will run on it except for the limitations I posted in the first post. There might be special cases that require an amazon SDK but for a standard app you might not need any.

Answers

  • GraverobberGraverobber Member ✭✭✭
    edited March 24 Accepted Answer

    Here is a list of supported platforms of Xamarin Forms
    https://docs.microsoft.com/de-de/xamarin/get-started/supported-platforms?tabs=macos

    I don't see an issue for the Amazon Fire tablet or the fire phone as Fire OS of those devices is Android so the app will run on it. However, be aware of limitations that come with that OS like Incompatible/missing Google Play services, different Push notification services and so on.

    Now to the parts that I know less about, the Fire TV and Fire TV stick. From what I see Fire TV is also just Android but it is Android TV. I don't know how far Android mobile differs from Android TV development and if or how Xamarin Forms supports Android TV. Additionally there are differences in FireTV and Android TV which are listed here
    https://developer.amazon.com/docs/fire-tv/differences-from-android-tv-development.html
    Generally it should be possible, I found this blog about it https://blog.infernored.com/xamarin-forms-a-fire-tv-quick-start/

    So from my point of view, all you want to do should be possible as it all is just Android but it might require a bit of tweaking here and there. My suggestions would be to create a simple Hello World app, perhaps with a button to click in order to test touch VS remote control, and fire it up on all of the devices/platforms you're interested in and check if it works. I'm always more of the trial and error type instead of waiting for responses in a forum ;D

    Regarding Chromecast or rokoo, I'm out!

    Hope it helps a little.

  • SreeeeSreeee INMember ✭✭✭✭✭

    Hi @Graverobber
    I have some queries regarding this, could you please answer?

    1. Which type of project do I need to create for this? Xamarin forms project or Xamarin Android project?
    2. Also, we planned to use the same app for Apple TV, for supporting Apple TV is there any additional settings?
    3. How I can test the app when developing? Is there any simulator? Fire TV is not available with me now?
    4. On which store I need to upload the app? Amazon Appstore or Google Play Store?
    5. Which NuGet package or SDK I need to add for developing a fire tv app? (or any component)
  • GraverobberGraverobber Member ✭✭✭
    Accepted Answer

    @Sreeee said:
    1. Which type of project do I need to create for this? Xamarin forms project or Xamarin Android project?
    2. Also, we planned to use the same app for Apple TV, for supporting Apple TV is there any additional settings?

    If you plan to distribute to other platforms than to Android like platforms then a Forms project might fit your needs better.
    However I'm lacking experience on this field, Xamarin generally supports TVOs https://docs.microsoft.com/de-de/xamarin/ios/tvos/ but I don't know how smoothly it can work in combination with Forms. For sure you can have a core library shared between all your projects (like models, API connection, Database handling etc.) but regarding UI of Xamarin forms I'm not sure.

    1. How I can test the app when developing? Is there any simulator? Fire TV is not available with me now?

    For the Emulator config you can see here https://developer.amazon.com/docs/fire-app-builder/use-an-android-tv-emulator.html
    It might be better to test on a real device though.

    1. On which store I need to upload the app? Amazon Appstore or Google Play Store?

    Amazon Appstore. There is no Google Play Store on Amazon devices.

    1. Which NuGet package or SDK I need to add for developing a fire tv app? (or any component)

    As far as I understand, and again I'm lacking experience here, none. Fire TV is just Android so any Android TV app will run on it except for the limitations I posted in the first post. There might be special cases that require an amazon SDK but for a standard app you might not need any.

  • SreeeeSreeee INMember ✭✭✭✭✭
    edited March 26

    @LandLu, @ColeX and @Graverobber

    Could you please add about Chromecast and rokoo player app development in Xamarin forms?

    Also is there any simulators available to test the Apple TV app? In my device only iPhone and iPad simulators are available, No Apple TV simulators are available.

  • SreeeeSreeee INMember ✭✭✭✭✭

    @Graverobber Please have a look at the following blog. It is a blog for tvOS Application Development using Xamarin. If I create a project like that, is it only for ios or for both android and ios platforms?

    https://launchdarkly.com/blog/launched-roku-sdk/

  • GraverobberGraverobber Member ✭✭✭

    It's difficult to say for me as I don't know this SDK.
    However in their documentation https://docs.launchdarkly.com/sdk/client-side/xamarin they say it supports Xamarin and Xamarin Forms so at least it runs across platforms. They also state on the page that they have Android and iOS SDKs, so to answer your question specifically, it is for both Android and iOS.

Sign In or Register to comment.