problem about google-tv-Collection of common programming errors


  • Félix Saparelli
    go google-tv
    I’m writing a Go package for the Google TV Pairing Protocol. But I seem to be hitting a problem with the TLS handshake.sock, err := tls.Dial(“tcp”, “10.8.0.1:9552”, &tls.Config{InsecureSkipVerify: true})That line gives me a handshake error. The exact error message is: remote error: handshake failure. If I try the same host/port via curl, it gives curl: (35) error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure as well.Any ideas? Is the Google TV expecting a client cert ma

  • miguel
    android google-tv
    Is there a way for an Android app to tell in the Java code if it is running on GoogleTV vs tablets or phones? At the time of writing this question only applies to “fishtank” devices that are capable of running Android apps.

  • STeN
    android google-tv tv sony yahoo-widgets
    Our customer asked us for the web application demo on Sony TV. I quickly found that for Sony the situation is a bit different then on LG, Samsung or Panasonic and seems to be much worse. There is no Sony web SDK for TV developers – there was a platform called Applicast for Sony Bravia TV – but seems that it is already out-dated and released only for Japan. After searching the Internet I found that another approach is to use the Yahoo Connected TV widgets, but seems that development is limited t

  • EHarpham
    android parsing uri google-tv
    I am trying to write a simple app for Google TV which generates a random number from 1-10 then randomly selects a channel (501-510) and loads it.I have tried the official google documentation but the official sample project doesnt compile. I have also read Is the GTV Channel Listing/Change API/Sample is broken on LG G2? and tried to adapt this into the google version however the app crashes on loading.Im sure this must be a simple fix. I do not need to get information about the channel or search

  • jaxim
    android google-tv
    I would like to dynamically change the x,y coordinates of a VideoView. I would also like to change the width and height of a VideoView.I have tried the following but each try crashed my app.mVideoView.setX(nX);mVideoView.setY(nY);—————————- mVideoView.setLeft(nX);mVideoView.setTop(nY);—————————- MarginLayoutParams marginParams = new MarginLayoutParams(mVideoView.getLayoutParams()); marginParams.setMargins(nX, nY, 0, 0);RelativeLayout.LayoutParams layout

  • Art Spasky
    android flash google-tv
    I have tried thisIntent intent = new Intent(); intent.setAction(android.content.Intent.ACTION_VIEW); String pathFlash = getExternalFilesDir(null).getAbsolutePath() + File.separator + “flash/1.swf”;File file = new File(pathFlash); intent.setDataAndType(Uri.fromFile(file), “flash/*”); startActivity(intent);But it crashes the application because android cannot find the proper activity to play a flash file.I there any other way to play flash files on the google tv device?

  • Edward Thomson
    android google-tv
    I am trying to run a simple app on the Google TV emulator.The app has a jar, it is both in the build path and in the lib folder, it works on ICS and on Honeycomb 3.1 (tablet) but on the Google TV emulator, it crashes:D/dalvikvm( 1707): DexOpt: ‘Ljavax/jmdns/ServiceListener;’ has an earlier definition; blocking outAs if the lib had already been loaded.Anyone seen this before?Thanks

  • Bill the Lizard
    facebook google-tv
    I am trying to access Facebook in Google TV emulator.Facebook SDK is working on all android platforms but not on Google TV emulator. Is Facebook SDK supported on Google TV. The login page crashes. Also not able to open https://www.facebook.comIs there any specific setting we need to do?Can you please let me know is Sony gs7 Google TV opens the URL. Here is stacktrace:12-06 14:18:34.820: E/sighandler(1256): FailureSignalHandler for signal 4. Code 2. 12-06 14:18:34.820: E/sighandler(1256): Fault

  • Brian
    google-chrome google-tv
    Any ideas on how to get memory usage, Javascript errors, etc. from Chrome running on Google TV?I have a page that is getting the “Aw, snap!” error when viewed in the Chrome browser on Google TV (Logitech). The page is fairly simple, but it does load a bunch of photos, though only up to 7 at a time (the photos are loaded using JavaScript). The photos are 640×480 and ~500KB each. They are stacked and the top one fades out (using jQuery) until all are gone then a new batch is loaded. It only crashe

  • Aamir
    android google-tv android-logcat
    I am building an app for Google TV.The app runs fine on emulator but causes crashes on actual Google TV device. I am unable to see what caused the issues. I was wondering if there is any way to see the Logcat on actual google tv device so i can see what caused the crash?EDIT: code and error details can be seen herethanks

  • Jim McKeeth
    adobe-flash google-tv logitech-revue
    I’ve noticed any apps that use the Flash player via the browser to play video just fail with a flash error. For example, trying to play a video via Amazon Video On Demand (via the installed App, which just launches the browser on Amazon’s web site) results in “The following plug-in has crashed: Shockwave Flash”Some Flash ads for example work, while other Flash games crash too. I hope there is a way to update Flash and fix this.HoneyComb 3.1.0 Adobe’s Flash Version check shows I have Flash instal

  • zezba9000
    mono x86 monodroid google-tv
    First off all, i’m on OSX 10.7.3 using MonoDevelop 2.8.8.4 with MonoDroid 4.0.6 and Mono 2.10.9.So I have purchased MFA and have created the generic “Mono for Android Application” project for testing. I have checked the ABIs to “armeabi”, “armeabi-v7a” and “x86” in the Advanced tab under Option/Build/MonoForAndroidBuild. I have also set the build to release. I then go to Project/CreateAndroidProject in the fileMenu to build my apk file I will use to upload to the Logitech Revue GoogleTV device o

  • Wallace Sidhrée
    responsive-design user-agent google-tv apple-tv
    My team is considering developing for TV, and thought of designing a tailored “10-foot UI” to present our content differently on TV-sets.The only way I see it happening at this point is by sniffing user-agents to detect where the users are coming from. I see that there are some user-agents available for TVs, for instance:AppleTV:User-Agent: iTunes-AppleTV/4.1Google TV:Mozilla/5.0 (Linux; GoogleTV x.x.x; LG Google TV Build/000000) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/5

  • user1064987
    android google-tv
    I Am working on android google tv project. In My project i want to play video from html embed code show below:- <embed type=”application/x-shockwave-flash” src=”http://www.desifreetv.com/channels/tomandjerry.swf” file=”http://desifreetv.com/locked/xml-files/tomandjerry.xml” width=”707″ height=”483″ style=”undefined” id=”mpl” name=”mpl” quality=”high” allowfullscreen=”true” wmode=”opaque” menu=”false”> how i play

  • Abrahim Neil
    android google-tv
    I am trying to Launch Google TV Panoramio Android Sample in Emulator.I am using Windows XP, and using Project Build Target: Google TV Addon : Platform 3.2 (API Level – 13)Please below Screenshot:Console (Android)[2013-06-12 14:33:41 – Panoramio] Android Launch! [2013-06-12 14:33:41 – Panoramio] adb is running normally. [2013-06-12 14:33:41 – Panoramio] Performing com.google.android.panoramio.ImageGrid activity launch [2013-06-12 14:33:41 – Panoramio] Automatic Target Mode: launching new emulator

  • Mario Lenci
    java android google-tv
    I’m trying to port my application on Google TV but as soon as I started I had an InflateException on one of my xml files.On any other device I triedto run the app ( either tabs or phones ) it works without any problem but on GoogleTV it give this excpetion.EDIT the XML line isn’t realy clear wich one is in XML files because as some pointed out in comments, the inflater isn’t realy good in taking track of it. It seems to be in the included layout (see code below) around the TextView.Have anyone e

  • Sameer Mirza
    android google android-emulator unity3d google-tv
    I’m trying to run a Unity built android app on Google TV. I’ve tried various things without much luck yet. Directly pushing the .apk built by unity on to the Google TV emulator doesn’t work. I’ve also tried getting the code from unity’s Temp/StagingArea folder and bringing that to Eclipse (in Ubuntu) and running it with the emulator (following this) but this doesn’t work either. The guide works if you run the app on an AVD other than the Google TV emulator.I’ve tried different settings from Unit

  • ravuya
    android google-tv
    I’m working on Sony GTV and the Logitech revue GTV.I want to run managedQuery for the Google quicksearchbox. I found after running dumpstate, in the “Registered ContentProviders” section, that the Content_Uri is : “com.android.quicksearchbox.google”.But when I use that URI in a query:Uri uri = Uri.parse(“content://com.android.quicksearchbox.google”); Cursor mCursor = managedQuery(uri, null, null, null, null);I receive an “Unknown URI” error message.It works with a YouTube content_uri:Uri uri

Web site is in building