开发者

On start-up of google tv, show live tv? Start service on boot?

I am pretty new at android development and am working on an android app for google tv. my current hurdle is that i want to start the Live TV app as soon right after the GTV starts.

I am thinking that it would be a Service that loads on startup that tells the开发者_运维问答 Live TV app to start, but i don't know if a Service at startup is possible, nor do i know how to target the Live TV app.

any ideas or suggestions?


My workaround was to make LiveTV be the start up application (Set up in the Google TV UI). Then, I set my service to start on boot, explained here.

http://www.androidcompetencycenter.com/2009/06/start-service-at-boot/


A user can set the startup application from the UI. If setting LiveTV to be the startup app isn't enough (it's the default), you can have your app start, then launch Live TV.

You can also have services that start at launch do it, just as you can on any Android platform.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜