{"action":"created","issue":{"url":"https://api.github.com/repos/tamir7/Bleep/issues/1","labels_url":"https://api.github.com/repos/tamir7/Bleep/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tamir7/Bleep/issues/1/comments","events_url":"https://api.github.com/repos/tamir7/Bleep/issues/1/events","html_url":"https://github.com/tamir7/Bleep/issues/1","id":109704692,"number":1,"title":"Thank You","user":{"login":"vptcr","id":8411096,"avatar_url":"https://avatars.githubusercontent.com/u/8411096?v=3","gravatar_id":"","url":"https://api.github.com/users/vptcr","html_url":"https://github.com/vptcr","followers_url":"https://api.github.com/users/vptcr/followers","following_url":"https://api.github.com/users/vptcr/following{/other_user}","gists_url":"https://api.github.com/users/vptcr/gists{/gist_id}","starred_url":"https://api.github.com/users/vptcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vptcr/subscriptions","organizations_url":"https://api.github.com/users/vptcr/orgs","repos_url":"https://api.github.com/users/vptcr/repos","events_url":"https://api.github.com/users/vptcr/events{/privacy}","received_events_url":"https://api.github.com/users/vptcr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-04T21:06:24Z","updated_at":"2015-10-04T22:39:49Z","closed_at":null,"body":"Hi Tamir,\r\n\r\nCan you provide a bit of a documentation to use this API?\r\n\r\nThank you.\r\n"},"comment":{"url":"https://api.github.com/repos/tamir7/Bleep/issues/comments/145395210","html_url":"https://github.com/tamir7/Bleep/issues/1#issuecomment-145395210","issue_url":"https://api.github.com/repos/tamir7/Bleep/issues/1","id":145395210,"user":{"login":"tamir7","id":2523183,"avatar_url":"https://avatars.githubusercontent.com/u/2523183?v=3","gravatar_id":"","url":"https://api.github.com/users/tamir7","html_url":"https://github.com/tamir7","followers_url":"https://api.github.com/users/tamir7/followers","following_url":"https://api.github.com/users/tamir7/following{/other_user}","gists_url":"https://api.github.com/users/tamir7/gists{/gist_id}","starred_url":"https://api.github.com/users/tamir7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamir7/subscriptions","organizations_url":"https://api.github.com/users/tamir7/orgs","repos_url":"https://api.github.com/users/tamir7/repos","events_url":"https://api.github.com/users/tamir7/events{/privacy}","received_events_url":"https://api.github.com/users/tamir7/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T22:39:49Z","updated_at":"2015-10-04T22:39:49Z","body":"It's a work in progress, but I didn't have time to work on it in a while. It's not yet ready for general use, and not been tested.\r\n\r\nBut the idea is as follows:\r\nIn your app onCreate:\r\nBleep.initialize(context);\r\n\r\nThen wherever you want to scan:\r\nBleScanner.getScanner().scan();\r\n\r\nThe task will return with a list of BleScanResult from which you can do:\r\nBleDevice device = new BleDevice(results.get(0).getDevice());\r\n\r\nwith the device object you can do all operations like: connect, readChar and such. I was planning to implement both callbacks and bolts tasks API, but right now, only the bolts tasks API is implemented.\r\n\r\nFor more info on the API look at: \r\n\r\nhttps://github.com/BoltsFramework/Bolts-Android\r\n\r\nCheers.\r\n"}}