how to lunch program guide directly from my app? And also how can I tune a specific channel from my app?
I've seen that tif have app linking to my app thats nice and users can come to my app. But the issue I'm having is once they on my app how can I send them to tif back to the program guide from my app? And How can I tune a specific channel programmatically from my app?
You need to get the internal channel id by querying the channels database. Then you can construct a URI and pass that to an intent.
Uri liveChannelsUri = TvContract.buildChannelUri(yourChannelId);
getActivity().startActivity(new Intent(Intent.ACTION_VIEW, liveChannelsUri));
Thank you @Fleker . Could you please also help how can I run the program guide directly from my app?
You can use the TvContract classes and run database calls to get the programs you inserted into your database for UI, but you can't get entire program guide (from other apps).
I see. But isn't there any way that I can add a program guide button on my app and once a user click on it just open the tif program guide activity. thats it. its like reverse app linking.
I just want to send a user here(picture below) from my app.

Not that I know of