언어 설정

Menu
Sites
Language
WIFI_ERROR_PERMISSION_DENIED

Hi,

I'm developing a native app (for wearable device) using <wifi.h>.

I'm trying to call wifi_initialize() function, and it keeps giving the return value WIFI_ERROR_PERMISSION_DENIED...

I'm using tizen IDE ver.2.4.

Here's what I've done

   -uninstall the sdk and install again

   -use IDE ver.2.3.1.

   -check the device's developer option (debugging mode is on)

   -so many googlings...

Please help!

 

Responses

4 댓글
Alex Dem

Hi,
Try to check your manifest file, maybe you have missed:
http://tizen.org/privilege/network.set 
http://tizen.org/privilege/network.get 
appropriate privileges.
Alexey.

Kee-Hoon Kim

Hi,

That was exactly what is the problem.

I spend 3hr to find it out :(

But sincerely tks, Alexey!

Bogon Kim

You can use API and Privilege Checker functionality to fiind out proper privilege list of your applicaiton.

https://developer.tizen.org/dev-guide/native/2.3.0/org.tizen.mobile.native.appprogramming/html/ide_sdk_tools/api_privilege_checker.htm

Alex Dem

Hi,
Also, fyi, you could use Native Online Sample: '(Tutorial) Wi-Fi' as example how to manage Wi-Fi connections and monitor states.
Alexey.