<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 2:39 AM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, Jul 29, 2014 at 09:19:53PM +0530, Puneet Kaur wrote:<br>
> On Tue, Jul 29, 2014 at 1:27 PM, James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>> wrote:<br>
><br>
>     On Tue, Jul 29, 2014 at 12:59:48PM +0530, Puneet Kaur wrote:<br>
>     > On Tue, Jul 29, 2014 at 2:16 AM, Gonzalo Odiard <<a href="mailto:godiard@sugarlabs.org">godiard@sugarlabs.org</a>><br>
>     wrote:<br>
>     >     On Mon, Jul 28, 2014 at 4:30 PM, Puneet Kaur <<a href="mailto:puneet.gkaur@gmail.com">puneet.gkaur@gmail.com</a>><br>
>     >     wrote:<br>
>     ><br>
>     >         5. Fetching the friends details<br>
>     ><br>
>     >     What information is needed in this case? <br>
>     ><br>
>     > the names of a person's friends , and their details ( somewhat like<br>
>     > contacts we have in phone , map to the friends in sugar) <br>
><br>
>     Why is this needed?<br>
><br>
>     What will it be used for?<br>
><br>
>     Who will have access to it?<br>
><br>
><br>
><br>
> It is need to develop the contact cordova plugin : <a href="https://github.com/apache/" target="_blank">https://github.com/apache/</a><br>
> cordova-plugin-contacts/blob/master/doc/<a href="http://index.md" target="_blank">index.md</a><br>
><br>
> It will be used in case the cordova apps developed for some other platform are<br>
> ported to sugar to be run as activities and in case they use the cordova<br>
> contact plugin then the application should be able to perform on sugar the<br>
> tasks it does on other platform ( we need to see which all can be supported in<br>
> case of sugar - pick contact, find contact and create contact are a few method<br>
> provided in the api )<br>
><br>
> The cordova application ( the sugar actiivity) would be able to have access by<br>
> picking up a contact, finding one or creating it.<br>
<br>
</div></div>What control does the user have for releasing this data to the application?<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>User will be informed of this before the function goes into its task. So user can either accept ( that is allow the app to function and use the task or deny the access to his friend list)</div>
<div><br></div><div>Also it can depend on the apps , the way they are designed, if contact plugin is centric to the app and the app cant function without it then it would give an error message to the user informing the same or else if the user denies access to his friends list and the app can function its major logic without that need, then it would continue to launch and perform but without accessing the user's friend list</div>
<div><br></div><div>So basically the user has to first allow the activity by himself to let the app access his contacts else the app wont be allowed to access the user's friends list, somewhat like what happens when we install a new app from the android store, we first agree to the access that the app would have and over there they mention the various places it would be having access to and once we agree to that fact, only then are we able to install the app, so same applies to sugar too.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
--<br>
James Cameron<br>
<a href="http://quozl.linux.org.au/" target="_blank">http://quozl.linux.org.au/</a><br>
</div></div></blockquote></div><br></div></div>