google-tv

using remote control for android TV application

佐手、 提交于 2020-02-02 16:35:28
问题 I'm developing an Android application for TV when I'm trying to test it in the real Android TV I can't navigate to any button or anything using the remote control buttons up, down, left, right. I have searched about it and I found that I have to use (Enable D-pad Navigation ) but I don't know how to use this , I didn't find any code or tutorial for it My application is so simple. It makes dynamic layout beside each other and each layout has only one button and one recycle view. 回答1: By

using remote control for android TV application

痞子三分冷 提交于 2020-02-02 16:33:12
问题 I'm developing an Android application for TV when I'm trying to test it in the real Android TV I can't navigate to any button or anything using the remote control buttons up, down, left, right. I have searched about it and I found that I have to use (Enable D-pad Navigation ) but I don't know how to use this , I didn't find any code or tutorial for it My application is so simple. It makes dynamic layout beside each other and each layout has only one button and one recycle view. 回答1: By

How to get default gateway using Ethernet, not wifi

心已入冬 提交于 2020-01-14 06:01:48
问题 i'm looking forward to know how to programmatically find the default gateway Address. i've already found default gateway Address for Wifi-Manager(getDhcpInfo()), but i don't find it in Ethernet mode. please. Help me~~ 回答1: If you like to have a two connection at a time , then you can go to the command Prompt and check your routes that are advertised . If the Route has a single default gateway then you may connect to that particular network. If it has two default gateway then you can access

Creating a single SmartTV app for multiple platforms?

好久不见. 提交于 2020-01-11 17:24:14
问题 I want to develop a SmartTV application for the GoogleTV platform and i've been browsing trough the GoogleTV Guidelines (https://developers.google.com/tv/android/). However, i don't want GoogleTV to be my only platform. I also want the same app to work on devices like Samsung SmartTV and/or LG SmartTV. But do the guidelines from Google conflict with Samsung guidelines and does the code of my application need a lot of rework to work on other devices? 回答1: I'm editing my answer. I just checked

Creating a single SmartTV app for multiple platforms?

南笙酒味 提交于 2020-01-11 17:23:29
问题 I want to develop a SmartTV application for the GoogleTV platform and i've been browsing trough the GoogleTV Guidelines (https://developers.google.com/tv/android/). However, i don't want GoogleTV to be my only platform. I also want the same app to work on devices like Samsung SmartTV and/or LG SmartTV. But do the guidelines from Google conflict with Samsung guidelines and does the code of my application need a lot of rework to work on other devices? 回答1: I'm editing my answer. I just checked

Navigation between overlays

老子叫甜甜 提交于 2020-01-06 07:57:41
问题 It´s possible that overlays on a map could receive focus from DPAD/Tab? I have two fragments, a listview and mapview, I want to get focus from the drawable of the overlay, but I´m not sure if it´s possible... 回答1: Yes, you can move from one overlay item on MapView to other but there are few things which you should consider. If you want your MapView to steer according to the Dpad directions while pressing up/down/left on Dpad, then your map will go up/down/left direction showing the map and

Is there a smaller version of the BouncyCastleProvider on android?

∥☆過路亽.° 提交于 2020-01-05 04:48:28
问题 I'm developing an android honeycomb app that requires the use of the BouncyCastle library (bcprov-jdk15-143.jar). I've included this jar in my libs folder and added it to my build path. Unfortunately, it's relatively large (1.6 Megs) and it takes several minutes for Eclipse to package it up into Dalvik byte code. This is making it very slow to develop as each time I want to test my changes, I need to wait for the packaging to finish. The requirement for BouncyCastle comes from using google's

Android-Boot Completed is not working in Broadcastreceiver

强颜欢笑 提交于 2020-01-02 09:55:54
问题 I'm using android(version 4.1.1) MeLE box(SmartTv) for developing one application, i need to start up my application when device Boot Time is completed but my device not catch up the BOOT_COMPLETED Action. If i'm use that same application in mobiles or emulator the Boot_Completion action were caught by Broadcast_receiver. if anyone known about this issue help me thanks in advance.... here is my code... manifest: <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

Can the same Android App be used for mobile phones, tablets and Google TV?

自作多情 提交于 2019-12-25 00:09:43
问题 Is it possible to develop one app that can be used on mobile phones, tablets and GoogleTV? Thanks! 回答1: Of course, you can. Actually, this is the intention of Google. That's why; you can easily define different layout settings for different screen size, dpi, etc... Note: Specials APIs of Google TV and Tablet are not yet available in the SDK. Yet, the special layout settings are available since 1.5. http://developer.android.com/guide/practices/screens_support.html AshtonBRSC, thanks for the

How to get application menu over a currently running screen

怎甘沉沦 提交于 2019-12-24 20:27:07
问题 I want to get an application menu bar on the left hand side of the screen without disturbing the task that is already running for eg.a live wallpaper or video.How can it be achieved? 回答1: Please use this service class. by starting this service from your activity you will get an image in your mobile screen. by adjusting that you can set any where in the mobile. and you can remove it by stopping the service any time. import java.io.File; import java.io.FileNotFoundException; import java.io