@hgvyas123 I have FireTV, Ouya and Nexus Player (Androdi TV) support in my program. I'll put together some info for you.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
To tell what device you are on in your program put this at the beginning of your code...
If on TV then don't use ads, make sure also you create a touch interface - but also use the controllers - this will make your game run on the most devices.
Facebook works on everything I've tried - but the user can find it difficult to login to facebook depending on the system. Facebook scores leaderboard works across everything.
The code also sets a flag if the device is known to be slow. I use Ouya as the benchmark for the Fastest 'slow' system - it really isn't that slow though.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I've just bought an Android TV. Is it possible to detect whether it is a TV or a mobile/tablet. I'd like to exclude some cross promotional adverts on the TV version as they are not supported yet. What's the best way to do this? I can get the device info, but I would need to include a list of all the Android Manufacturers.
This is how to check with android, I think it should be added to the Gideros getdevice info - with a similar check for AppleTV...
I don't know the Gideros source well enough to add this, but I'm sure one of the others could. ( @ar2rsawseen, @hgy29, @john26 )
public static final String TAG ="DeviceTypeRuntimeCheck";
UiModeManager uiModeManager =(UiModeManager) getSystemService(UI_MODE_SERVICE);if(uiModeManager.getCurrentModeType()== Configuration.UI_MODE_TYPE_TELEVISION){
Log.d(TAG, "Running on a TV Device")}else{
Log.d(TAG, "Running on a non-TV Device")}
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@SinisterSoft Great!! If this could be added to getDeviceInfo that'll be fantastic. I've only just got the TV so just experimenting at the moment. I think this would open up a new market.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
But well, Gideros supports Android, so Android TV support is the question of modifying the exported Android project.
Additionally you can use Controller plugin to support controller, or listen to input directly using Key up and key down events
Likes: MobAmuse
https://developer.android.com/training/tv/games/index.html
modifications to Androidmanifest etc
https://deluxepixel.com
Likes: pie
https://deluxepixel.com
Likes: pie
https://deluxepixel.com
https://deluxepixel.com
https://deluxepixel.com
https://deluxepixel.com
https://deluxepixel.com
If on TV then don't use ads, make sure also you create a touch interface - but also use the controllers - this will make your game run on the most devices.
Facebook works on everything I've tried - but the user can find it difficult to login to facebook depending on the system. Facebook scores leaderboard works across everything.
The code also sets a flag if the device is known to be slow. I use Ouya as the benchmark for the Fastest 'slow' system - it really isn't that slow though.
Likes: bali001
https://deluxepixel.com
Likes: SinisterSoft
Likes: hgvyas123
https://deluxepixel.com
I don't know the Gideros source well enough to add this, but I'm sure one of the others could. ( @ar2rsawseen, @hgy29, @john26 )
Likes: simwhi, hgvyas123
https://deluxepixel.com
Likes: hgvyas123
Likes: SinisterSoft
https://deluxepixel.com
https://github.com/gideros/gideros/issues
Likes: simwhi
https://deluxepixel.com