PhilipsHue / PhilipsHueSDK-Java-MultiPlatform-Android

The Software Development Kit for Philips Hue Java Mulfi-Platform and Android (beta)
273 stars 212 forks source link

phBridge.getScene() not available in sdk 1.2.0 #38

Closed jeroenbeuz closed 7 years ago

jeroenbeuz commented 7 years ago

The new sdk version 1.2.0 does not have the getScene() method, to get a scene with it's lightstates. The method is completely gone in the PHBridge class. The PHGroupClass is also gone from the SDK. What happened? Did these get relocated?

jhvdb87 commented 7 years ago

The problem is fixed in the 1.20.1 release.

gkamperis commented 7 years ago

This was built with a different Java version target than the previous library. Most Android development is NOT Java 8.

danzada1 commented 7 years ago

Yes I am also having trouble compiling due to Java 8. Can you please rebuild with Java 7?

jhvdb87 commented 7 years ago

I changed the compliance level back to 1.6. Please let me know if this fixes your problem

gkamperis commented 7 years ago

Works great! Thanks