{"action":"created","issue":{"url":"https://api.github.com/repos/abousow123/App_Mes_Qualite_Ant_Mob_GSM/issues/5","repository_url":"https://api.github.com/repos/abousow123/App_Mes_Qualite_Ant_Mob_GSM","labels_url":"https://api.github.com/repos/abousow123/App_Mes_Qualite_Ant_Mob_GSM/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/abousow123/App_Mes_Qualite_Ant_Mob_GSM/issues/5/comments","events_url":"https://api.github.com/repos/abousow123/App_Mes_Qualite_Ant_Mob_GSM/issues/5/events","html_url":"https://github.com/abousow123/App_Mes_Qualite_Ant_Mob_GSM/issues/5","id":180408297,"number":5,"title":" New Update \"Database Operations\" ","user":{"login":"PapeFall","id":22320024,"avatar_url":"https://avatars.githubusercontent.com/u/22320024?v=3","gravatar_id":"","url":"https://api.github.com/users/PapeFall","html_url":"https://github.com/PapeFall","followers_url":"https://api.github.com/users/PapeFall/followers","following_url":"https://api.github.com/users/PapeFall/following{/other_user}","gists_url":"https://api.github.com/users/PapeFall/gists{/gist_id}","starred_url":"https://api.github.com/users/PapeFall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PapeFall/subscriptions","organizations_url":"https://api.github.com/users/PapeFall/orgs","repos_url":"https://api.github.com/users/PapeFall/repos","events_url":"https://api.github.com/users/PapeFall/events{/privacy}","received_events_url":"https://api.github.com/users/PapeFall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-30T21:42:20Z","updated_at":"2016-10-04T18:07:33Z","closed_at":null,"body":"@layely  @kaneabdou  @abousow123  @dessteyu\r\n## Tout sur la base de donnée:\r\n\r\n### 1. Plugin utilisé : \r\n   - Cordova SQLite Plugin 2\r\n   - `cordova plugin add cordova-plugin-sqlite-2`\r\n\r\n### 2. Table call_data:\r\n- horodatage `varchar - primary key`\r\n- niveau_signal `integer`\r\n- niveau_batterie `integer`\r\n- branchee `integer`\r\n- hashkey `varchar`\r\n\r\n### 3. Opérations:\r\n\r\n- Insertion: `doInsertOnDB(horodatage,niveau_signal,niveau_batterie,branchee,hashkey)`\r\n- Lecture: `getData(anonymousfunction)`\r\nanonymousfunction reçoit en argument les données de la base et les manipule .\r\n- Suppression: `doDeleteAll()` .\r\n\r\n### 4. Exemple pour la fonction anonyme:\r\n\r\n`function myAnonymous(mydata){ \r\n     //mydata is an array\r\n     alert(mydata[0].horodatage);\r\n}`\r\n\r\n## Les ressources (database.js and index.html):\r\n[ressources.zip](https://github.com/abousow123/App_Mes_Qualite_Ant_Mob_GSM/files/503851/ressources.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/abousow123/App_Mes_Qualite_Ant_Mob_GSM/issues/comments/251466726","html_url":"https://github.com/abousow123/App_Mes_Qualite_Ant_Mob_GSM/issues/5#issuecomment-251466726","issue_url":"https://api.github.com/repos/abousow123/App_Mes_Qualite_Ant_Mob_GSM/issues/5","id":251466726,"user":{"login":"layely","id":19215803,"avatar_url":"https://avatars.githubusercontent.com/u/19215803?v=3","gravatar_id":"","url":"https://api.github.com/users/layely","html_url":"https://github.com/layely","followers_url":"https://api.github.com/users/layely/followers","following_url":"https://api.github.com/users/layely/following{/other_user}","gists_url":"https://api.github.com/users/layely/gists{/gist_id}","starred_url":"https://api.github.com/users/layely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/layely/subscriptions","organizations_url":"https://api.github.com/users/layely/orgs","repos_url":"https://api.github.com/users/layely/repos","events_url":"https://api.github.com/users/layely/events{/privacy}","received_events_url":"https://api.github.com/users/layely/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T18:07:32Z","updated_at":"2016-10-04T18:07:32Z","body":"c'est le onclick qu'il ne faut pas mettre dans le html directement.\nce qu'il faut c'est d'ajouter un EventLIstner dans les fichiers js.\nLe code est sur github mnt si tu fait une modif il faut faire un commit\npush comme ça je pourait tester.\n\nLY Abdoualye Oumar\nÉtudiant en informatique\nà l'université de Thiès\n\nLe 4 octobre 2016 à 17:58, PapeFall <notifications@github.com> a écrit :\n\n> @layely <https://github.com/layely>\n> Désolé pour le retard suis occupé par un autre projet.....\n> Alors concernant ton \"bug\" , aucun rapport avec la base de donnée ou\n> database.js.\n> Toutefois teste ceci: (c'est l'index modifié (partie erreur) et un js )\n> testressources.zip\n> <https://github.com/abousow123/App_Mes_Qualite_Ant_Mob_GSM/files/509164/testressources.zip>\n> De mon côté l'ancien tout comme le nouveau code marche.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/abousow123/App_Mes_Qualite_Ant_Mob_GSM/issues/5#issuecomment-251464114>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ASU1u48vpgBDog4lcYKLbW9PTYvd8s99ks5qwpPHgaJpZM4KLiZJ>\n> .\n>\n"}}
{"actor":{"display_login":"layely"}}