I'm developing Sony smart watch extension and need to control over led. I have implemented active low power mode so watch back light can never go off. SO far its working good. But now i need to light the led when new data come from mobile app to watch. I am able to have that data in watch but at the same time i want to light the back light ON. I searched on official documentation and come to know about CONTROl_LED_INTENT in this link
I am calling this snippet at the time of data insertion
Intent intent = new Intent(Control.Intents. CONTROL_LED_INTENT); intent.putExtra(Control.Intents.EXTRA_ON_DURATION, 20); intent.putExtra(Control.Intents.EXTRA_OFF_DURATION, 50); intent.putExtra(Control.Intents.EXTRA_REPEATS, 2); intent.putExtra(Control.Intents.EXTRA_LED_COLOR, 1);
sendToHostApp(intent);
but not able to turn light on. How can i make light on.