Corona app not visible in Google TV

Hello

LG has contacted us to include our game on LG´s Featured channel at Google Play Store, this channel is only visible  on  new LG smart TVs using Google TV.

They asked us to add these lines to the manifest because it is required for the game to be visible  on those TV´s in their Google Plays Store :

android:name=“android.hardware.touchscreen” <uses-feature android:required=“false”/>
android:name=“android.hardware.faketouch” <uses-feature android:required=“false”/>

The equivalent in  Corona should be to add these lines in the file build.settings:
   usesFeatures =
         {
             {Name = “android.hardware.touchscreen”, required = false},
             {Name = “android.hardware.faketouch”, required = false},
         }

The problem is that after we have submitted the new version of our game with these changes to Google Play, Google TV devices (models cosmo and eden) remain in the list of unsupported devices in the developer console.

Any ideas?

Anyone from Corona support team  can check this issue?
LG is asking us if the problem is already solved, but our answer depends of Corona Labs.  Please do not ignore this post.
Thanks in advanced.

Hey,

Can you try lowercasing the name key so that it looks like this:

settings { android = { usesFeatures = { { name = "android.hardware.touchscreen", required = false }, { name = "android.hardware.faketouch", required = false }, } } }

Hello;
I have checked our code and it looks exactly as you pointed us.
It has always been lowercase in our app. I guess It is uppercase in the forum post due to a copy/paste conversion.  
So, this is not the issue.   Any further help would be appreciated.
Thanks in advanced.

 

Can you post your full build.settings?  Thanks.

settings = { orientation = { default = "landscapeRight", supported = { "landscapeLeft", "landscapeRight" }, }, android = { installLocation = "preferExternal", --[[usesPermissions = { "com.android.vending.BILLING", }, --]] usesFeatures = { { name = "android.hardware.touchscreen", required = false }, { name = "android.hardware.faketouch", required = false }, }, }, iphone = { plist = { UIAppFonts = { "Bangers.ttf", "Minya Nouvelle.ttf" }, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-72.png", }, CFBundleLocalizations = { "English", "Spanish", "French", "Italian", "German" }, UIApplicationExitsOnSuspend = false }, } }

I am wondering about this too. I wanted to make apps for Google TV and they force close.

Corona does not support Google TV because Corona is built with the Android NDK.

Google TV does not support apps built with the Android NDK as documented by Google here…

   https://developers.google.com/tv/android/docs/gtv_android_features#NDK

The Android NDK is used by apps that are written in C/C++, which Corona requires, because that is what the Lua interpreter, Box2D, OpenAL, and many other required features are implemented in.

Hey Joshua, bit of further info, looks as though 2013 models will support Android NDK:

https://developers.google.com/tv/faq#androidndk

I’m not a Google TV dev, so not too fussed but could there be a chance the LG model that was mentioned is in this category?

Hello, We have contacted again LG asking if  “Cosmo” and “Eden” models are 2013 models.
I will post when I have further information.
Thanks for the information and help.

Good find SegaBoy.  I didn’t know that Google recently added NDK support.  I *think* that’s the only other thing that is blocking a Corona built app from being purchasable on a Google TV based on the documentation I’ve read.  I don’t know for sure since we’ve yet to test this for ourselves.

Interestingly enough, we’re looking into updating the Corona Simulator to support a 720 and 1080 resolution TV for Ouya.  So, this should also prove useful in simulating for Google TV if we can verify that it works with Google’s newest revision.

Anyone from Corona support team  can check this issue?
LG is asking us if the problem is already solved, but our answer depends of Corona Labs.  Please do not ignore this post.
Thanks in advanced.

Hey,

Can you try lowercasing the name key so that it looks like this:

settings { android = { usesFeatures = { { name = "android.hardware.touchscreen", required = false }, { name = "android.hardware.faketouch", required = false }, } } }

Hello;
I have checked our code and it looks exactly as you pointed us.
It has always been lowercase in our app. I guess It is uppercase in the forum post due to a copy/paste conversion.  
So, this is not the issue.   Any further help would be appreciated.
Thanks in advanced.

 

Can you post your full build.settings?  Thanks.

settings = { orientation = { default = "landscapeRight", supported = { "landscapeLeft", "landscapeRight" }, }, android = { installLocation = "preferExternal", --[[usesPermissions = { "com.android.vending.BILLING", }, --]] usesFeatures = { { name = "android.hardware.touchscreen", required = false }, { name = "android.hardware.faketouch", required = false }, }, }, iphone = { plist = { UIAppFonts = { "Bangers.ttf", "Minya Nouvelle.ttf" }, CFBundleIconFile = "Icon.png", CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-72.png", }, CFBundleLocalizations = { "English", "Spanish", "French", "Italian", "German" }, UIApplicationExitsOnSuspend = false }, } }

I am wondering about this too. I wanted to make apps for Google TV and they force close.

Corona does not support Google TV because Corona is built with the Android NDK.

Google TV does not support apps built with the Android NDK as documented by Google here…

   https://developers.google.com/tv/android/docs/gtv_android_features#NDK

The Android NDK is used by apps that are written in C/C++, which Corona requires, because that is what the Lua interpreter, Box2D, OpenAL, and many other required features are implemented in.

Hey Joshua, bit of further info, looks as though 2013 models will support Android NDK:

https://developers.google.com/tv/faq#androidndk

I’m not a Google TV dev, so not too fussed but could there be a chance the LG model that was mentioned is in this category?

Hello, We have contacted again LG asking if  “Cosmo” and “Eden” models are 2013 models.
I will post when I have further information.
Thanks for the information and help.