Supporting com.amazon.device.home both on Fire and on regular androids
Hey guys, I've implemented a cool App Widget for my app with "peek"able list entries. The problem is that now my app can't run on any device without the com.amazon.device.home (getting shared library missing error). I tried using amazon:enable-feature instead of combined with Class.forName(..) but HomeManager is not found using this method. Is there a way to support the Fire Phone AND regular android devices (maybe Kindles too)? Best regards, Nimrod
> The problem is that now my app can't run on any > device without the com.amazon.device.home (getting > shared library missing error). For this error, change your manifest use-library to have an attribute-value of required="false" You will probably also need to add in some feature detection before acting with HomeManager using PackageManager.hasSystemFeature() and PackageManager.getSystemAvailableFeatures(). ￼￼￼ Home - com.amazon.software.home API - Feature string ￼EAC - com.amazon.software.eac Euclid - com.amazon.software.euclid HeadTracking - com.amazon.software.headtracking AND ￼com.amazon.software.headtracking.filter ￼MotionGesture - com.amazon.software.motiongestures HTHs!