Any way to send HDMI-CEC commands in tvOS? - tvos

I'm curious if it's possible for an app running on an Apple TV 4 / tvOS 9 to send HDMI-CEC commands to the TV. Specifically, I'm interested in if it's possible to change the TV's input to something other than the Apple TV.
I suspect that this isn't possible with public APIs in tvOS 9, but I'm curious if there are. And I'm open to private APIs as well. (This isn't for an app that I'm planning to submit to the app store!)

No this is not possible in tvOS 9.0

Related

Adobe Air application: no popup after requestPermission() on Android 9

On Android 9, the requestPermission() method does not make appear the popup where user can grant or deny access to storage
As you probably know, since Android 6 it is necessary to do explicit request for permission to use Storage, Camera and others. Air SDK 24 introduced support for this new approach, through the requestPermission() method available in some classess (File for STORAGE permissiong, CameraRoll for CAMERA permission, ...)
Today I've discovered that the requestPermissiong() method in Android 9 does not popup the dialog windows where user is asked to accept or refuse authorization for STORAGE.
I don't know if the same problem is in Android 8 and 8.1.
For sure it works in Android 6 and 7 (I've tested it)
var file:File= File.applicationStorageDirectory
file.requestPermission()
In Android 6 and 7 (maybe aldo 8, I don't know) the code above popup the dialog windows where user can accept/refuse authorization to use storage.
In Android 9 nothing happens (the popup is not displayed)
NOTE: I'm using the latest Air SDK 32
I would suggest using a permissions ANE for better results. The AS3 was never reliable enough to use in apps. myflashlabs and distriqt, both offer solutions which work in any version.

How to implement authentication in Apple TV with TVML

I'm developing an Apple TV app.
It's almost done, but we need to add authentication function in this app. Like Youtube and HBO, TV will show a digit code, and user needs to go activate website in their PC to link with their own account.
This Apple TV app is using TVML templates to build.
I'm really confused to do this, and don't know where I should work on first.
Anyone has any ideas? Thank you!
It depends on your subscription model. If its cable based subscription service that allows you access to the content you get on TV based on your cable packages, then you need to use Adobe's service called Adobe Pass. More details on adobepass can be found here:
http://www.adobe.com/marketing-cloud/primetime-tv-platform/authentication.html
Advantage of AdobePass on TvOS devices is that it allows for single sign on across different apps and once authenticated, the user doesn't need to go through authentication across all apps using AdobePass.
If its something similar to HBO Now, YouTube, Hulu, Netflix, etc, which are standalone subscriptions and not tied to cable packages, then you can directly have a Login ViewController in the TvOS app that communicates with your backend and authenticates the User.

Check if my tvOS app has a new version available on the App Store

I'm trying the detect whether an update is available in my Apple TV app, then show the user that an update is available.
There's a great solution here for detecting this in an iOS app, but this is not working for tvOS.
Does anyone know a way to do this for tvOS?

How to display a notification in adobe air for android

I want to display notifications in my Adobe Air App for Android using Adobe Flash and Action Script 3.0 .
I want to use notifications for reminding people to update my app when a new version gets released, so how do I do this?
Thank you.
As DefinitelyNotAPlesiosaur has mentioned, using an ANE is the way to go.
You can find some free ANE's to use here:
http://www.riaxe.com/blog/200-adobe-air-anes/
but I would highly recommend district as they publish multiple well documented ANE's with example files and offer excellent support.
http://airnativeextensions.com
It sounds like you would need either Notifications or Push Notifications if your message was to appear when the user is not using the app, or Dialog if the message appears whilst the user is using the app.

How to obtain Android Device key in AIR with Action Script 3?

I am trying to make a push notification in my game using GCM through AWS.
I have bought this ANE: http://myappsnippet.com/gcm/comment-page-2/
But I cannot get the token in my device.
Can somebody help?
Adobe AIR does not have a built-in function to get any device id, because of various platforms. You should use some kind of extension, like Distriqt's Application ANE.