how to do Implementation of Android TvView -
i have started working on android smart tv. have make tvview, know leanback library gives lot of stuff work android smart tv. last day have tried work tvview perform streaming of channels. have included android-support-leanback17 . still getting error no class definition found. appreciated . want know library support tvview. in advance
this logcat
11-27 09:25:10.684: e/androidruntime(16203): fatal exception: main 11-27 09:25:10.684: e/androidruntime(16203): java.lang.noclassdeffounderror: android.media.tv.tvview 11-27 09:25:10.684: e/androidruntime(16203): @ com.example.tvtest.mainactivity.oncreate(mainactivity.java:25) 11-27 09:25:10.684: e/androidruntime(16203): @ android.app.activity.performcreate(activity.java:5104) 11-27 09:25:10.684: e/androidruntime(16203): @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1080) 11-27 09:25:10.684: e/androidruntime(16203): @ android.app.activitythread.performlaunchactivity(activitythread.java:2144) 11-27 09:25:10.684: e/androidruntime(16203): @ android.app.activitythread.handlelaunchactivity(activitythread.java:2230) 11-27 09:25:10.684: e/androidruntime(16203): @ android.app.activitythread.access$600(activitythread.java:141) 11-27 09:25:10.684: e/androidruntime(16203): @ android.app.activitythread$h.handlemessage(activitythread.java:1234) 11-27 09:25:10.684: e/androidruntime(16203): @ android.os.handler.dispatchmessage(handler.java:99) 11-27 09:25:10.684: e/androidruntime(16203): @ android.os.looper.loop(looper.java:137) 11-27 09:25:10.684: e/androidruntime(16203): @ android.app.activitythread.main(activitythread.java:5041) 11-27 09:25:10.684: e/androidruntime(16203): @ java.lang.reflect.method.invokenative(native method) 11-27 09:25:10.684: e/androidruntime(16203): @ java.lang.reflect.method.invoke(method.java:511) 11-27 09:25:10.684: e/androidruntime(16203): @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:829) 11-27 09:25:10.684: e/androidruntime(16203): @ com.android.internal.os.zygoteinit.main(zygoteinit.java:596) 11-27 09:25:10.684: e/androidruntime(16203): @ dalvik.system.nativestart.main(native method)
i'm assuming want allow users watch content , if so, not implement tvview. google provides 'live channels' app display channels provided via tvinputframework. app hidden until app implementing tvinputframework installed.
google has released sample app implementing tvinputframework publish channels can watched in live channels app.
documentation outlining tvinputframework: http://developer.android.com/training/tv/tif/index.html
i hope @ least point in right direction if doesn't directly answer question.
Comments
Post a Comment