Closed awesome1128 closed 3 years ago
Hi @awesome1128, no this library is only available in Java. Feel free to ask questions if you understand a part of the code.
What do you mean by "no this library is only available in Java"? I asked, "Do you have the same code with Java?" So you mean, you built this library with only Kotlin? No Java?
Yes sorry I meant this library is only in Kotlin, I got mixed up.
Yeah, okay no problem. Thank you for letting me know.
I have some questions.
Thank you again.
You're really kind. You did a great job. Actually, I love your library. Thank you so much!
How can I get EPG content? Do I need to get EPG content with live channels from providers? I am a bit confused. Please let me know. Thank you.
Thanks for the kind words :)
How can I get EPG content? Do I need to get EPG content with live channels from providers? I am a bit confused.
You can read it with a permission, but then your tv needs access to those channels of course. So they would be visible in the default EPG of the TV as well.
I recommend that you check the original Android EPG code, the original code this library is based on. That one is written in Java, but uses the EPG of the TV as the source of its channels. You can find parts of the code here: https://android.googlesource.com/platform/packages/apps/TV/+/android-live-tv/src/com/android/tv/guide/
The program manager is the class which reads the TV channels: https://android.googlesource.com/platform/packages/apps/TV/+/android-live-tv/src/com/android/tv/guide/ProgramManager.java
Closing because of inactivity
You did a great job. I can see , this code is built using Kotlin, but I am really not good at Kotlin. Do you have the same code in Java? Please let me know. Thanks. Shang.