[Tizen Application-dev] SecurityError when trying to retrieve

Diego Rangel d.allvess at gmail.com
Fri Mar 13 20:12:41 GMT 2015


Sorry,


I'm only trying get the address book in code




*    var myAddressbook;        myAddressbook = tizen.contact.*
*getDefaultAddressBook();*


I give this error

*js/main.js (19) :SecurityError: The application does not have the
privilege to call this method.*

19 is line in source code.



@McGee

Milstone? Sorry, I don't understand.

2015-03-13 16:08 GMT-04:00 McGee, Art <amcgee7 at jaguarlandrover.com>:

> Diego,
>
> I recommend you reply all so that you put your responses back on the
> Mailing list.  Are you using the latest milstone?
>
> Art
>
> On 13 March 2015 at 12:32, Diego Rangel <d.allvess at gmail.com> wrote:
>
>> Sorry,
>>
>>
>> I'm only trying get the address book in code
>>
>>
>>
>>
>> *    var myAddressbook;        myAddressbook = tizen.contact.*
>> *getDefaultAddressBook();*
>>
>>
>> I give this error
>>
>> *js/main.js (19) :SecurityError: The application does not have the
>> privilege to call this method.*
>>
>> 19 is line in source code.
>>
>>
>> 2015-03-13 15:24 GMT-04:00 McGee, Art <amcgee7 at jaguarlandrover.com>:
>>
>> Diego,
>>>
>>> Do you have some more info?  Do you have code samples of what you are
>>> trying to do besides the Config.xml?  What is the Error Message?  Your
>>> subject seems to be cut off.
>>>
>>> Thanks,
>>>
>>> Art McGee
>>>
>>> On 13 March 2015 at 11:02, Diego Rangel <d.allvess at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Sorry my english,
>>>>
>>>> I'm with the same problem.
>>>>
>>>> I know the makes enough time, but do you found the answer?
>>>>
>>>> Any idea what I am missing?
>>>>
>>>> My config.xml
>>>>
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="
>>>> http://tizen.org/ns/widgets" id="http://yourdomain/basico"
>>>> version="1.0.0" viewmodes="maximized">
>>>>     <tizen:application id="PH0lgl3Xxt.basico" package="PH0lgl3Xxt"
>>>> required_version="2.2"/>
>>>>     <content src="index.html"/>
>>>>     <feature name="http://tizen.org/feature/screen.size.all"/>
>>>>     <icon src="icon.png"/>
>>>>     <name>basico</name>
>>>>     <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
>>>>     <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
>>>> </widget>
>>>>
>>>>
>>>>
>>>>
>>>> Diego Rangel A. Gomes
>>>> Acadêmico de Engenharia da Computação.
>>>> UFAM - Universidade Federal do Amazonas.
>>>>
>>>> _______________________________________________
>>>> Application-dev mailing list
>>>> Application-dev at lists.tizen.org
>>>> https://lists.tizen.org/listinfo/application-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Art McGee*
>>> Infotainment Engineer
>>>
>>>
>>>
>>> Jaguar Land Rover North America, LLC
>>> 1419 NW 14th Ave, Portland, Oregon, 97209
>>> JaguarUSA.com <http://www.jaguarusa.com/index.html>  |  LandRoverUSA.com
>>> <http://www.landrover.com/us/en/lr/>
>>>
>>>
>>
>>
>> --
>>
>>
>>
>> Diego Rangel A. Gomes
>> Acadêmico de Engenharia da Computação.
>> UFAM - Universidade Federal do Amazonas.
>>
>
>
>
> --
> *Art McGee*
> Infotainment Engineer
>
>
>
> Jaguar Land Rover North America, LLC
> 1419 NW 14th Ave, Portland, Oregon, 97209
> JaguarUSA.com <http://www.jaguarusa.com/index.html>  |  LandRoverUSA.com
> <http://www.landrover.com/us/en/lr/>
>
>


-- 



Diego Rangel A. Gomes
Acadêmico de Engenharia da Computação.
UFAM - Universidade Federal do Amazonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/application-dev/attachments/20150313/7fef3a76/attachment-0001.html>


More information about the Application-dev mailing list