amazon-fire-tv

How to start develop application for fire os in android studio IDE

给你一囗甜甜゛ 提交于 2019-12-01 04:58:10
问题 I am going to start develop application for fire TV i can create an application using Eclipse successfully, But when i try the same procedure to create new application which compile with Firetv SDK got some Gradle error on android studio.. i am stuck with this issues for around one week. The error is Gradle app neame project refresh failed: Unexpected lock protocol found in lock file. Expected 3, found 0. Gradle settings I searched lot about this error in google but cant get any solution

Is it possible to make Android TV app work on Amazon Fire TV?

安稳与你 提交于 2019-11-30 07:28:42
问题 Since the Android TV leanback library is apparently compatible with SDK level 17, which is what the Amazon Fire TV uses, I set the minimum SDK level on my Android TV app and installed it using ADB on my Fire TV. It actually works without any problems. However, it doesn't appear in the apps list in Settings, so I can only launch it through ADB. And when I tried to do a Live App Test in the Amazon Developer console, it won't even install. Are there some settings or something I can change to

getLaunchIntentForPackage is null for some apps

僤鯓⒐⒋嵵緔 提交于 2019-11-27 03:11:31
问题 I'm building a service that sends a list of installed apps from an Android TV or a Fire TV to a mobile phone. The phone then sends back the package name of the app it wants to launch and the service launches it. This is the code that creates the list public List<InstalledApp> GetInstalledApps(boolean isAndroid) { PackageManager pm = getPackageManager(); List<ApplicationInfo> allPackages = pm.getInstalledApplications(PackageManager.GET_META_DATA); List<InstalledApp> userPackages = new