{"action":"created","issue":{"url":"https://api.github.com/repos/PropelVentures/Cyrano/issues/91","labels_url":"https://api.github.com/repos/PropelVentures/Cyrano/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/PropelVentures/Cyrano/issues/91/comments","events_url":"https://api.github.com/repos/PropelVentures/Cyrano/issues/91/events","html_url":"https://github.com/PropelVentures/Cyrano/issues/91","id":92909017,"number":91,"title":"Step - 0 - Investigate Test2Speech Voice Style","user":{"login":"cjcornell","id":4732533,"avatar_url":"https://avatars.githubusercontent.com/u/4732533?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcornell","html_url":"https://github.com/cjcornell","followers_url":"https://api.github.com/users/cjcornell/followers","following_url":"https://api.github.com/users/cjcornell/following{/other_user}","gists_url":"https://api.github.com/users/cjcornell/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcornell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcornell/subscriptions","organizations_url":"https://api.github.com/users/cjcornell/orgs","repos_url":"https://api.github.com/users/cjcornell/repos","events_url":"https://api.github.com/users/cjcornell/events{/privacy}","received_events_url":"https://api.github.com/users/cjcornell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"dakshatechnologies","id":7022293,"avatar_url":"https://avatars.githubusercontent.com/u/7022293?v=3","gravatar_id":"","url":"https://api.github.com/users/dakshatechnologies","html_url":"https://github.com/dakshatechnologies","followers_url":"https://api.github.com/users/dakshatechnologies/followers","following_url":"https://api.github.com/users/dakshatechnologies/following{/other_user}","gists_url":"https://api.github.com/users/dakshatechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/dakshatechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakshatechnologies/subscriptions","organizations_url":"https://api.github.com/users/dakshatechnologies/orgs","repos_url":"https://api.github.com/users/dakshatechnologies/repos","events_url":"https://api.github.com/users/dakshatechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/dakshatechnologies/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/PropelVentures/Cyrano/milestones/10","html_url":"https://github.com/PropelVentures/Cyrano/milestones/Facebook%20Detect%20FB%20Friends%20via%20FB%20Location","labels_url":"https://api.github.com/repos/PropelVentures/Cyrano/milestones/10/labels","id":1131848,"number":10,"title":"Facebook Detect FB Friends via FB Location","description":"#### Overall Intent:\r\nTo detect to see if any of the user's Facebook friends (who are already their Cyrano friends) nearby - and to invite them to join Cyrano as a friend.\r\n\r\n\r\nFB=Facebook\r\nFBF=Facebook Friend\r\nFBID=Facebook ID\r\nFBF-Det=Facebook Friend Detection\r\n\r\n#### Overview\r\nThis feature should has 2 main components:\r\n1. \"Connect\" to the user's Facebook friends\r\n2. Based on the current user's GPS coordinates, detect which facebook friends are nearby within range (from user_settings)\r\n3. Show these friends in a separate \"nearby\" list\r\n4. (TBD) tap to invite as a Cyrano Friend\r\n\r\n#### Specifics\r\n\r\n1. Get FB Permissions\r\n- When a user registers for Cyrano via their FBID, we (Cyrano or Cyrano via REST/server?) we should ensure that we obtain permission to access their FB friends list, and locations of the friends.   This permission should be granted already - but make sure.\r\n\r\n2. Turn \"on\" FBF-Det in REST\r\n- Add to the user_settings, a field/parameter (facebook_friend_polling) that enables/disables FB friend detection. Add this parameter to the return string from the REST call for user settings. \r\n- There should already be a user_setting for \"range\" (in meters?)\r\n- during Cyrano POLLING, if user_settings->facebook_friend_polling=T  then, the polling routine will include a query for Facebook friends\r\n- this FB friends query should be in the form of a new REST call. \r\n\r\n- App calls the REST function using the client's current GPS coordinates and facebook_friend_range.  REST call (on server) will query facebook (using the facebook API) for the user's FB friends that have coordinates within facebook_friend_range.   Rest call returns basic information for these friends\r\n\r\n(basic information for each friend should be the same as for the BT Friends in Nearby Friends list:  Name + Photo Thumbnail.)\r\n\r\n- NOTE - before REST call returns Nearby FBFs, it shall check to see that each Nearby FBF found is not ALREADY a in my user_friend list.   (first check to see if the FBF FB id matches any user in the user table (match by FB ID).\r\n\r\n\r\nNOTE - if the FB friend is already a cyrano FRIEND  (ie - the facebook friend is already a cyrano user and a user_friend of the current user) - then the FBF should NOT appear in the friends list - otherwise this would mean the friend would appear twice in the list!\r\n\r\n3. Client Detect / Announce FBFs\r\n- during Cyrano POLLING,\r\nif user_settings->facebook_friend_polling=T  then, the polling routine will include a query for Facebook friends\r\n\r\n- Again, Cyrano App query for nearby FBFs is done via REST - then REST queries FB for my friends nearby my GPS location and returns the info to the Cyrano App.\r\n\r\n- Cyrano APP adds these names to the Nearby Friends list (not a separate list) and announces the names.\r\nNote - an icon or other visual notification should be shown in the list (and in the Friend Detail screen) that the friend is only a Facebook friend. (an \"*\" is OK for now)\r\n\r\n- Generally if user_settings->facebook_friend_polling=T, then Nearby Facebook should be handle the same as Nearby (Bluetooth) friends.  There should not be a separate list of Nearby Facebook Friends.  \r\n\r\n   - This means that the internal mute/snooze tracking should be the same for FBFs as for user_friends...\r\n\r\n- TTS Announcement should include the FB user's name, and overview info (1st sentence) from FB  (REST Call should deliver)\r\n\r\n- Detailed Friend Screen should be very similar to the regular Friend detail screen:  Name, Photo, Overview (and as much other info as we can capture and display)\r\n\r\n- NOTE - the following features are not required for this milestone, however, please read them, because they may affect the current functionality or design:\r\n\r\n   - When looking at the Friend Detail Screen, there should should be a Mute/Snooze Button, just like other friends.\r\n\r\n   - Polling routine (and \"prior state\" file) should track the FB friend in a similar manner to regular friends:  with Mute/Snooze status built-in.  Facebook ID or some other Unique Identifier should be used instead of the BTID ordinarily used for friends.\r\n\r\n   - on the Friend Detail screen, there should be a button/option to Send a Cyrano Invite to that friend, and also to add the FB  friend to their \"regular\" friend list.","creator":{"login":"cjcornell","id":4732533,"avatar_url":"https://avatars.githubusercontent.com/u/4732533?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcornell","html_url":"https://github.com/cjcornell","followers_url":"https://api.github.com/users/cjcornell/followers","following_url":"https://api.github.com/users/cjcornell/following{/other_user}","gists_url":"https://api.github.com/users/cjcornell/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcornell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcornell/subscriptions","organizations_url":"https://api.github.com/users/cjcornell/orgs","repos_url":"https://api.github.com/users/cjcornell/repos","events_url":"https://api.github.com/users/cjcornell/events{/privacy}","received_events_url":"https://api.github.com/users/cjcornell/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-05-25T19:33:34Z","updated_at":"2015-07-14T10:38:17Z","due_on":"2015-07-25T07:00:00Z","closed_at":null},"comments":5,"created_at":"2015-07-03T16:52:07Z","updated_at":"2015-07-15T08:28:33Z","closed_at":null,"body":"1. The new Text2Speech feature was partially implemented, prior - but never completed. Please try to find this code to see what has been attempted.\r\n2. Please spend a few hours (this Task) to investigate and test the Android method(s) of replacing the Text2Speech voice style used. This will determine the scope of the next step ( #71 )\r\n  - we need a recommendation as to the correct approach\r\n  - if the correct approach is too difficult on otherwise not feasible, then we will not proceed with the rest of this milestone.\r\n3. Specifically, we want the user (or the system) to be able to replace the default voice style for Android's text2speech engine with another choice (a different voice).\r\n4. The task is to find the right Android API/approach (and replacement voice style) and do a manual test.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PropelVentures/Cyrano/issues/comments/121527802","html_url":"https://github.com/PropelVentures/Cyrano/issues/91#issuecomment-121527802","issue_url":"https://api.github.com/repos/PropelVentures/Cyrano/issues/91","id":121527802,"user":{"login":"dakshatechnologies","id":7022293,"avatar_url":"https://avatars.githubusercontent.com/u/7022293?v=3","gravatar_id":"","url":"https://api.github.com/users/dakshatechnologies","html_url":"https://github.com/dakshatechnologies","followers_url":"https://api.github.com/users/dakshatechnologies/followers","following_url":"https://api.github.com/users/dakshatechnologies/following{/other_user}","gists_url":"https://api.github.com/users/dakshatechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/dakshatechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakshatechnologies/subscriptions","organizations_url":"https://api.github.com/users/dakshatechnologies/orgs","repos_url":"https://api.github.com/users/dakshatechnologies/repos","events_url":"https://api.github.com/users/dakshatechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/dakshatechnologies/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T08:28:33Z","updated_at":"2015-07-15T08:28:33Z","body":"Hello Cj \r\n\r\nI have find best 3 things that really can helpful for change the voice style . (Its really best recommendation ). > if you can then i can  start implement all these feature in your app right now  \r\n"}}