http://kwiksher.com/gitbook/ch02/TVTest.zip
kInputDevices:initGroup()
kInputDevices:setButton(layer.btn1)
kInputDevices:setButton(layer.btn2)
kInputDevices:setButton(layer.Settings)
kInputDevices:setButton(layer.NaviBtn)
it is better for setting page to show the list of connected controller and the setup page to show the key assignment of controller. The key assignment can be editable. Sample lua files for table UI are available
Name:controllersTable assets/extLib/controllersTableUI.lua
Name:keyAssignTable assets/extLib/keyAssignTableUI.lua
android(FireTV)
tvos(appleTV)
Windows
OSX
these .ico and .icns files are created with the following commands in Termnal app. Plese make icon_xx.png files and install image magic to Window PC
mac_icon.command
rm -r icon.iconset
cp -r desktop_icon-assets icon.iconset
cd icon.iconset
rm icon_48x48.png
cp icon_32x32.png icon_16x16@2x.png
mv icon_64x64.png icon_32x32@2x.png
cp icon_256x256.png icon_128x128@2x.png
cp icon_512x512.png icon_256x256@2x.png
mv icon_1024x1024.png icon_512x512@2x.png
cd ..
iconutil --convert icns --output Icon-osx.icns icon.iconset
win_icon.bat
set MYDIR=desktop_icon-assets
set ICON_FILE=Icon-win32.ico
convert ./%MYDIR%/icon_16x16.png ./%MYDIR%/icon_32x32.png ./%MYDIR%/icon_48x48.png %ICON_FILE%
Image Magick http://www.imagemagick.org/
Parallax Previewer App https://developer.apple.com/library/tvos/documentation/General/Conceptual/AppleTV_PG/CreatingParallaxArtwork.html#//apple_ref/doc/uid/TP40015241-CH19-SW1
Corona SDK does not need .lsr file to buld TVOS app. it needs those Logo.png
PSD files - Image assets from layers https://helpx.adobe.com/photoshop/using/generate-assets-layers.html
you need a real device to test app. Corona SDK does not support XCode simulator for apple TV yet.
adb install -r your_app.apk
OSX app needs to be built with Corona SDK on Mac
FireStarter is a good app launcher
http://www.htpcbeginner.com/install-firestarter-on-fire-tv-without-adb-and-computer/
the size of Apple TV apps to 200MB
https://www.macstories.net/news/interesting-apple-tv-tidbits-app-size-limits-parallax-icons-more/
AppleTV system.DocumentsDirectory is not exsits. Instead System.CacheDirectory is used for saving variables or etc but the data can be reset and removed. It affects In App Purchase feature as well.
Under investigating whether it works or not about exiting app by menu button
you can use native.newVideo() for appTV, fireTV and OSX but not Windows. Windows can not play video. Possibly open another app like browser by URL scheme.
fireTV supports the features as same as android features of Corona SDK
Windows not supported
https://forums.coronalabs.com/topic/58139-how-would-i-use-a-webview/
tvos not supported