IPTV Restream that means you use my stream with your server and your customer use from your server. The total user can use https://iptvrestream.net your IPTV service depends on...
Hi, I am Megha Joshi.
.
and welcome to this shorter screencast about creating 2nd display apps for Google TV.
We'll protect What exactly are second monitor applications, how how they get the job done with Google TV and the way to employ them.
So Exactly what are second screen applications? Next display apps include interactivity involving smartphones tablets or other units and Google Television.
A 2nd display software operates on a remote unit similar to a smartphone or simply a pill.
It may be a controller for any Google Television set software or it could increase a lot more operation to some Google Television set application.
Most customers who very own a laptop, tablet or smartphone use their product when looking at Television.
So You will find a big option in the marketplace for second display screen applications.
I will give you a handful of examples of some next display screen apps for Google Tv set.
The YouTube distant application allows you to look through YouTube movies in your Television set utilizing your cell phone or tablet.
In addition it provides much more information about the video you might be watching.
The Google Television remote apps is sort of a complete-fledged controller on your Television set in your telephone.
The supply code of the application is open up sourced so you're able to tweak it to incorporate your own private customfeatures.
By way of example, the developer of Equipped Remote took the open up source Google Television distant application and included a few extra interestingfeatures like most loved channels.
The Peel Sensible Distant application – its a Television set and flicks discovery app – it allows your browse TV displays get a lot more details about the articles your are viewing and also share it with your buddies on social media.
MOVL they've to a few apps such as the Poker Exciting match.
you are able to play poker with your mates in your family room.
It offers your own working experience on your handheld system and on Television set you may have the shared practical experience and that is the poker desk.
So So how exactly does a remote app communicate with Google Tv set? One of the options will be to make use of the Anymote protocol.
Interaction among the distant system and Google Tv set is recognized utilizing a three move system.
The first step as to find out Google TVs over the local community.
How is this accomplished? Google Tv set sends mDNS broadcasts around the community community saying details which include its IP address as well as the port range of the Anymote provider.
So.
.
to find Google Television set units to the nearby network the remote application follows these techniques: Step 1 is always to probe the nearby community, then parse the responses it gets in search of the string underscore anymote underscore tcp.
Extract the machine identify, IP handle and port quantity in the mDNS reaction.
Display the list of all available equipment to your user and let the user pick a device that he wishes to hook up with.
As soon as the user selects a device, another action will be to authenticate to that Google Television set unit.
Authentication is finished utilizing the Pairing services and Pairing protocol.
The Pairing company makes use of a challenge-reaction authentication ie.
it shows a top secret code, the user enters this code within your application, your app sends this code again to Google Television set, Pairing service verifies this code and when every thing seems to be ok it sends back protection certificates to the app.
Now your application can use these certificates to communicate with Anymote company jogging on Google Television.
The next stage is to deliver situations from a app to Google TV using the Anymote protocol.
The Anymote protocol can ship quite a few kinds of enter occasions just like the vital events, mouse functions, etcetera.
It can also be accustomed to fling Intents to Google Television.
For instance you can send out in Intent tolaunch a video clip in the YouTube app or to launch your application or to perspective a webpage.
Now lets go through a short tutorial regarding how to put into practice second display apps.
I will be using the Anymote library mainly because it causes it to be much easier to put into practice next display screen apps.
To obtain the library, go to the Google Tv set builders site, click on 'Samples' then 'Look through code' and to the googletv-android-samples site simply click 'Checkout' and Keep to the Guidelines to the webpage.
Now I've a BlackJack application for Google Tv set.
It truly is a simple single-player Edition.
I make use of the critical H on the keyboard to point Strike and S for Stand.
I would like a extremely basic BlackJack remote application on my mobile phone to send out Strike or Stand to my Google TV BlackJack application.
Let's get started.
.
I've downloaded the Android SDK.
The subsequent step will be to obtain the Anymote library.
Then I'll import it into Eclipse.
Now I'll produce a new Android challenge for my BlackJack distant app.
Now I will include the reference on the Anymote library.
Copy all the declarations within the library in the AndroidManifest for my application.
Now, I'll put into action the ClientListener interface with the library in the primary Exercise of my app.
Now lets generate UI with the app.
The UI contains a few buttons: Hit, Stand and Start a fresh Match.
Allows declare all of the UI things.
We will bind to your AnymoteClientService.
The AnymoteClientService handles communication with Google Television.
From the onServiceConnected callback We're going to pass an implementation of ClientListener blankets Regardless of how frequently you need and service for the attachClientListener technique of the AnymoteClientService.
I will increase an Intent to launch the BlackJack application from the onConnected callback.
Therefore the BlackJack app will probably be released on Google Television once the connection is set up.
Future We will set up the onClickListeners for that Strike, Stand and New Video game buttons.
The onClickListeners are going to be setup to ship keyEvents in the AnymoteSender.
To the Hit button we will ship keyEvent H, for that Stand we will send keyEvent S and so on.
.
Let's see A fast demo of your application.
.
My network here blocks mDNS broadcasts so I'll enter the IP handle of Google Television manually.
.
The pairing code is shown on Google Television.
I will enter this on my mobile phone and after the connection is proven I am able to use my phone like a controller for taking part in BlackJack on Google Television.