I'm trying to turn on wifi from my app with the following code

 this.controller.serviceRequest('palm://com.palm.wifi', {
          method: 'setState',
          parameters:  {state: "enabled"},
          onSuccess: this.handleResponse,
          onFailure: this.handleFailure
but it doesn't work. I have read this : Luna Send - WebOS Internals but it didn't help me to find out what wrong,

Can anyone help me on this?

Thanks for answers !