IPTV Restream that means you use my stream with your server and your customer use from your server. The total user can use your IPTV service depends on...
Hello, I'm Megha Joshi.
.
and welcome to this shorter screencast about constructing second display screen apps for Google Tv set.
We're going to protect what are 2nd screen applications, how how they do the job with Google Television set and the way to put into action them.
So What exactly are second screen applications? Second display purposes include interactivity among smartphones tablets or other gadgets and Google Television.
A 2nd display application operates with a distant unit similar to a smartphone or even a pill.
It may be a controller for a Google Tv set application or it could insert extra features into a Google TV software.
Most end users who very own a notebook, tablet or smartphone use their system although observing Tv set.
So There exists a big option in the market for 2nd display apps.
I will give you a handful of samples of some second screen applications for Google Television.
The YouTube remote application permits you to look through YouTube video clips in your Television using your telephone or pill.
Additionally, it provides additional information about the movie you are viewing.
The Google Tv set remote applications is like a whole-fledged controller for your personal Tv set with your cellphone.
The resource code of the application is open up sourced so you can tweak it to add your personal customfeatures.
For instance, the developer of Equipped Remote took the open up supply Google Television set remote app and additional a number of extra interestingfeatures like favorite channels.
The Peel Intelligent Distant app – its a Television and films discovery app – it allows your browse Television set shows get additional information regarding the content your are observing and also share it with your pals on social websites.
MOVL they've to a few apps including the Poker Fun recreation.
you can Engage in poker with your pals with your front room.
It presents your own practical experience on your handheld machine and on Television you've the shared practical experience and that is the poker table.
So how does a distant app communicate with Google Television? One of the options is always to make use of the Anymote protocol.
Communication amongst the distant system and Google Television set is set up using a a few step process.
Step one as to find out Google TVs about the community network.
How is this completed? Google Television sends mDNS broadcasts about the community community announcing details for example its IP tackle and the port amount of the Anymote support.
So.
.
to discover Google Television set gadgets over the nearby community the remote application follows these actions: Action one will be to probe the regional community, then parse the responses it receives seeking the string underscore anymote underscore tcp.
Extract the product name, IP tackle and port selection in the mDNS reaction.
Display screen the listing of all offered units into the user and let the user find a tool that he would like to hook up with.
As soon as the user selects a tool, the next action is to authenticate to that Google TV machine.
Authentication is finished utilizing the Pairing provider and Pairing protocol.
The Pairing company utilizes a challenge-reaction authentication ie.
it shows a top secret code, the consumer enters this code within your application, your app sends this code back to Google Television set, Pairing provider verifies this code and if almost everything seems to be Okay it sends again security certificates on your application.
Now your app can use these certificates to talk to Anymote provider running on Google Television set.
The subsequent phase is usually to send out occasions from your app to Google TV utilizing the Anymote protocol.
The Anymote protocol can deliver lots of types of input occasions such as the crucial situations, mouse gatherings, etcetera.
It can be used to fling Intents to Google Television set.
For example you may send out in Intent tolaunch a video during the YouTube application or to start your software or to check out a webpage.
Now allows experience a short tutorial on how to implement next screen applications.
I will be utilizing the Anymote library since it causes it to be easier to put into practice second display screen applications.
To obtain the library, check out the Google TV builders web-site, click on 'Samples' then 'Look through code' and to the googletv-android-samples website click 'Checkout' and Adhere to the Directions around the webpage.
Now I've a BlackJack app for Google Television set.
It is a simple single-participant Edition.
I make use of the critical H on the keyboard to point Strike and S for Stand.
I need a really very simple BlackJack distant app on my cellphone to send Strike or Stand to my Google Television set BlackJack app.
Let us start out.
.
I have downloaded the Android SDK.
The following phase will be to down load the Anymote library.
Then I will import it into Eclipse.
Now I will make a new Android venture for my BlackJack distant application.
Now https://iptvrestream.net I will incorporate the reference into the Anymote library.
Duplicate the many declarations within the library into the AndroidManifest for my application.
Now, I'll carry out the ClientListener interface with the library in the main Exercise of my app.
Now lets develop UI with the app.
The UI is made of a few buttons: Strike, Stand and Start a fresh Game.
Allows declare each of the UI aspects.
We are going to bind for the AnymoteClientService.
The AnymoteClientService handles conversation with Google Television set.
From the onServiceConnected callback We're going to move an implementation of ClientListener blankets It doesn't matter how often you need and repair towards the attachClientListener way of the AnymoteClientService.
I'll increase an Intent to start the BlackJack application while in the onConnected callback.
Therefore the BlackJack application will likely be launched on Google Television set when the relationship is set up.
Next We will set up the onClickListeners for the Strike, Stand and New Video game buttons.
The onClickListeners will likely be setup to ship keyEvents through the AnymoteSender.
For your Strike button we will send keyEvent H, for your Stand We're going to deliver keyEvent S and the like.
.
Let's see A fast demo from the application.
.
My community listed here blocks mDNS broadcasts so I will enter the IP tackle of Google Television manually.
.
The pairing code is demonstrated on Google TV.
I will enter this on my cellphone and as soon as the connection is set up I am able to use my cellphone for a controller for enjoying BlackJack on Google Tv set.