stt_create error -13 : PERMISSION DENIED

stt_create error -13 : PERMISSION DENIED

BY 05 Nov 2018 Native Application Development

Hello

I’m developing an app that use STT.

and I’m so painful that My app could’t create stt handle becouse of error code -13 (permission denied).

 

I followed contents of TIZEN guide in developer page.

 1. I included header file (#include <stt.h>)

2. for satisfing prerequisite of stt_create,I made certification that has public privlevel.

3. in TIZEN menifest editor, I added recorder privilege.   

But whenever checking log,  error code is same.

Give me a help if you know how to solve this problem…

 

 

/*create_stt_handle function*/

stt_h
create_stt_handle(appdata_s *ad)
{
    stt_h stt;
    int ret;

    ret = stt_create(&stt);

    if (STT_ERROR_NONE != ret)
    dlog_print(DLOG_INFO, “CMS”, “%s err = %d”, __func__, ret);    // Log result : create_stt_handle err = -13
    else {
    stt_set_state_changed_cb(stt,state_changed_cb,ad);
    stt_prepare(stt);
}
    return stt;

}

 

 

안녕하세요. STT 기능을 이용하는 앱을 개발하고 있는 학생입니다.

stt_create 함수를 이용하려고 하는데 지속적으로 -13에러 (permission denied)를 얻어서 해결책을 문의드립니다.

1. stt 헤더파일을 등록 후

2. public 레벨의 certification을 생성했습니다. (생성 후에 특별한 다른 작업 없이 자동으로 app에 권한을 부여하는 것 맞나요?)

3. menifest editor에서 recorder 권한을 등록했습니다. (이것도 등록 이후에 코드작업이 따로 필요없다고 알고 있습니다.)

 

stt_create 함수에 나와있는 조건을 모두 충족시킨 것 같은데 왜 계속 접근거부가 되는건지 이해할수가 없습니다.

제가 어떤걸 놓쳤는지 알려주시면 정말 감사하겠습니다.

Written by