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...
Hi there, I'm Megha Joshi.
.
and welcome to this limited screencast about developing next screen apps for Google TV.
We are going to include what are 2nd monitor apps, how how they perform with Google TV and how to employ them.
So what are 2nd screen applications? Second screen applications contain interactivity among smartphones tablets or other products and Google Television.
A next monitor application runs on the remote machine like a smartphone or even a tablet.
It may be a controller for the Google Television set application or it could include a lot more features to a Google TV software.
Most consumers who own a laptop, pill or smartphone use their machine although seeing Tv set.
So There exists a massive option in the marketplace for next monitor applications.
I provides you with some examples of some 2nd monitor applications for Google Television set.
The YouTube distant app allows you to look through YouTube movies with your Television set utilizing your cellphone or pill.
Additionally, it gives extra information regarding the movie you will be viewing.
The Google Television set distant apps is sort of a complete-fledged controller for your Television on your own cellular phone.
The supply code of the software is open sourced in order to tweak it to incorporate your own customfeatures.
As an example, the developer of In a position Distant took the open source Google TV remote application and included a handful of more interestingfeatures like preferred channels.
The Peel Good Distant app – its a Television set and films discovery app – it lets your browse Television shows get far more details about the information your are viewing as well as share it with your friends on social media.
MOVL they may have to a few applications including the Poker Enjoyment recreation.
you'll be able to Enjoy poker with your mates inside your family room.
It provides your individual working experience in your handheld device and on Television you may have the shared experience which can be the poker table.
So So how exactly does a remote app communicate with Google Television set? Certainly one of the choices is usually to make use of the Anymote protocol.
Interaction amongst the remote system and Google TV is founded using a three step method.
The 1st step as to discover https://iptvrestream.net Google TVs within the area community.
How Is that this accomplished? Google Television sends mDNS broadcasts on the nearby community saying info for instance its IP address as well as port amount of the Anymote assistance.
So.
.
to find out Google TV devices about the nearby community the remote application follows these actions: Step one is usually to probe the area network, then parse the responses it gets in search of the string underscore anymote underscore tcp.
Extract the product identify, IP deal with and port amount with the mDNS response.
Show the listing of all offered gadgets into the user and Allow the consumer pick a device that he wants to connect with.
Once the person selects a device, another move is usually to authenticate to that Google Television gadget.
Authentication is finished using the Pairing support and Pairing protocol.
The Pairing provider makes use of a problem-reaction authentication ie.
it shows a secret code, the user enters this code with your app, your application sends this code again to Google Television set, Pairing services verifies this code and if all the things appears to be ok it sends again stability certificates to the application.
Now your app can use these certificates to talk to Anymote company jogging on Google Television.
Another move should be to send activities out of your application to Google Television utilizing the Anymote protocol.
The Anymote protocol can mail several varieties of enter activities just like the essential gatherings, mouse activities, and so on.
It can also be utilized to fling Intents to Google Television set.
For example you might send in Intent tolaunch a video clip during the YouTube application or to start your application or to watch a webpage.
Now allows go through a short tutorial on how to put into action next display applications.
I is going to be utilizing the Anymote library as it makes it easier to put into action next screen apps.
To obtain the library, go to the Google Tv set developers internet site, click on 'Samples' then 'Search code' and over the googletv-android-samples web page click 'Checkout' and Adhere to the instructions within the web page.
Now I've a BlackJack application for Google TV.
It can be a simple solitary-player Variation.
I utilize the crucial H to the keyboard to point Hit and S for Stand.
I want a extremely very simple BlackJack remote app on my phone to send out Hit or Stand to my Google Tv set BlackJack app.
Let us get started.
.
I've downloaded the Android SDK.
The subsequent stage is usually to obtain the Anymote library.
Then I will import it into Eclipse.
Now I will create a new Android job for my BlackJack distant app.
Now I will insert the reference on the Anymote library.
Duplicate all the declarations from your library in to the AndroidManifest for my app.
Now, I will carry out the ClientListener interface in the library in the primary Activity of my application.
Now lets generate UI with the application.
The UI is made of three buttons: Hit, Stand and Start a different Video game.
Allows declare many of the UI factors.
We'll bind to the AnymoteClientService.
The AnymoteClientService handles conversation with Google Tv set.
While in the onServiceConnected callback We'll move an implementation of ClientListener blankets It doesn't matter how usually you wish and repair on the attachClientListener technique of the AnymoteClientService.
I will add an Intent to launch the BlackJack app inside the onConnected callback.
Hence the BlackJack app is going to be launched on Google Tv set the moment the link is founded.
Upcoming We're going to set up the onClickListeners with the Strike, Stand and New Video game buttons.
The onClickListeners will probably be set up to send out keyEvents with the AnymoteSender.
With the Hit button We are going to mail keyEvent H, to the Stand We'll send out keyEvent S and the like.
.
Allow us to see a quick demo of your application.
.
My network right here blocks mDNS broadcasts so I'll enter the IP deal with of Google Television manually.
.
The pairing code is demonstrated on Google Television set.
I will enter this on my telephone and once the relationship is recognized I'm able to use my mobile phone to be a controller for taking part in BlackJack on Google Television set.