TCO16 - Hercules AndroidTV Login Wrapper Proof of Concept

Key Information

Register
Submit
The challenge is finished.

Challenge Overview

We are working on some updates to an Android TV application to change to a completely different codebase and HTML vs. Native rendering structure.  The login will continue to be native, at least to start, so we need to take the native login we had previously, strip it out of the old application, and build a new proof of concept with the native login that then displays the HTML application once login completes.

Requirements:

This challenge will build a new Android TV application, targeting the latest SDK.

1) We will take the login screen and provisioning details from the Hercules Android TV app (source available in the forum) and copy those into the new app.  The goal here is to:

  • * Allow the user to log in with a username and password
    * Provision the user on login so that we have a valid XSCT token.  During provisioning, we'll display the current spinner we have now in the existing code.

2) The XSCT token will contain a device ID, like this:  "device:xcal:id":"7212334879259734748".  After the XSCT token is retrieved, we will set the "receiverId" property in local storage for the loaded URL to the ID value (7212334879259734748)

3) Once we have the valid, provisioned XSCT token, we will load up a configured URL full screen in a web browser.  Details on the URL will be provided in the forum.

Notes:

The new application must be very thin.  Cut out everything that isn't used - we can add back pieces in if needed, but it's better to strip out as much as possible now.  We won't rely on the base libraries at all, so those will be stripped out as well.

Testing will *not* work in the simulator.  You will need a real device (Nexus player, Android Fire TV, Nvidia Shield TV, etc...) to test the app.

 



Final Submission Guidelines

Please see above

ELIGIBLE EVENTS:

2016 TopCoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30055013