victordiaz / PHONK

PHONK is a coding playground for new and old Android devices
https://phonk.app
GNU General Public License v3.0
463 stars 25 forks source link

Add better support for Android TV ? #69

Open SuperUserNameMan opened 4 years ago

SuperUserNameMan commented 4 years ago

Hello again,

I don't know if Android TV are part of your goal, but I was curious to test Phonk on my Android TV 5.1.

I could not try all examples, but here is a list of some issues I've found so far :

If you want me to do more tests on this device, or provide more information, don't be afraid to ask me ! :-)

SuperUserNameMan commented 4 years ago

It's actually an Android TV but it is detected as a tablet :

device

model name: QM152E
type: tablet
manufacturer: PHILIPS

screen

screen resolution: 1280 x 720
screen dpi: 213
screen: true
brightness: 102
orientation: landscape

script

running script: none

other

total memory: 28966823
used memory: 27155799
battery level: 100
victordiaz commented 4 years ago

Hi @SuperUserNameMan Thanks for the report! I can change a few things I think to make it a bit more compatible although I don't have any Android TV!

victordiaz commented 4 years ago

I modified a bit PHONK so now the script will launch with the same orientation as it was previously. It should improve the 4th point. I think for the LibPd example I can modify it so it wont need the accelerometer :)

SuperUserNameMan commented 4 years ago

@victordiaz :

I modified a bit PHONK so now the script will launch with the same orientation as it was previously

yes it works :-) Only the Processing example keeps displaying in portrait.

I can change a few things I think to make it a bit more compatible although I don't have any Android TV!

I don't know if there will be a lot of Android TV owners among the present and future PHONK! community. But I personally find it quite cool to know these deprecating Android TV will keep the potential to easily become a computer for a young (or older) programmer thanks to PHONK.

Regarding Android TVs or smart TV in general, that's not something i would recommend to buy to anyone, because it deprecates too fast. (I had to hack it recently to make youtube work again).

When I will have more free time, I will give a look at PHONK source code and see how I could contribute more effectively to help you extend compatibility to Android TVs.

:-)