{"action":"created","issue":{"url":"https://api.github.com/repos/aaronjwood/PortAuthority/issues/83","repository_url":"https://api.github.com/repos/aaronjwood/PortAuthority","labels_url":"https://api.github.com/repos/aaronjwood/PortAuthority/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/aaronjwood/PortAuthority/issues/83/comments","events_url":"https://api.github.com/repos/aaronjwood/PortAuthority/issues/83/events","html_url":"https://github.com/aaronjwood/PortAuthority/issues/83","id":256581014,"number":83,"title":"some Vendors name is all capitalized...","user":{"login":"Bartoloni","id":31692839,"avatar_url":"https://avatars1.githubusercontent.com/u/31692839?v=4","gravatar_id":"","url":"https://api.github.com/users/Bartoloni","html_url":"https://github.com/Bartoloni","followers_url":"https://api.github.com/users/Bartoloni/followers","following_url":"https://api.github.com/users/Bartoloni/following{/other_user}","gists_url":"https://api.github.com/users/Bartoloni/gists{/gist_id}","starred_url":"https://api.github.com/users/Bartoloni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bartoloni/subscriptions","organizations_url":"https://api.github.com/users/Bartoloni/orgs","repos_url":"https://api.github.com/users/Bartoloni/repos","events_url":"https://api.github.com/users/Bartoloni/events{/privacy}","received_events_url":"https://api.github.com/users/Bartoloni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-11T04:50:21Z","updated_at":"2017-10-04T15:53:35Z","closed_at":null,"author_association":"NONE","body":"**this can fix it to look much better...**\r\n\r\n```\r\npublic static String getMacVendor(String mac, Context context) throws IOException, SQLiteException {\r\n        Database db = new Database(context);\r\n        db.openDatabase(\"network.db\");\r\n        Cursor cursor = db.queryDatabase(\"SELECT vendor FROM ouis WHERE mac LIKE ?\", new String[]{mac});\r\n        String vendor;\r\n\r\n        if (cursor.moveToFirst()) {\r\n            vendor = (cursor.getString(cursor.getColumnIndex(\"vendor\")).toLowerCase());\r\n\r\n            vendor = vendor.replace(\"tp-link\", \"TP-Link\");\r\n            vendor = vendor.replace(\"giga-byte\", \"Giga-Byte\");\r\n            vendor = vendor.replace(\"ltd\", \"LTD\");\r\n            vendor = vendor.replace(\"hongkong\", \"Hongkong\");\r\n            vendor = vendor.replace(\"co.\", \"CO.\");\r\n            vendor = vendor.replace(\" corporation\", \" Corporation\");\r\n            vendor = vendor.replace(\"inc.\", \"INC.\");\r\n            vendor = vendor.replace(\"computer\", \"Computer\");\r\n            vendor = vendor.replace(\"corporate\", \"Corporate\");\r\n            vendor = vendor.replace(\"hon hai\", \"Hon Hai\");\r\n            vendor = vendor.replace(\"htc\", \"HTC\");\r\n            vendor = vendor.replace(\"tinno\", \"Tinno\");\r\n\r\n            vendor = vendor.substring(0, 1).toUpperCase() + vendor.substring(1); //first always uppercase!\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/aaronjwood/PortAuthority/issues/comments/334202318","html_url":"https://github.com/aaronjwood/PortAuthority/issues/83#issuecomment-334202318","issue_url":"https://api.github.com/repos/aaronjwood/PortAuthority/issues/83","id":334202318,"user":{"login":"aaronjwood","id":446283,"avatar_url":"https://avatars2.githubusercontent.com/u/446283?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronjwood","html_url":"https://github.com/aaronjwood","followers_url":"https://api.github.com/users/aaronjwood/followers","following_url":"https://api.github.com/users/aaronjwood/following{/other_user}","gists_url":"https://api.github.com/users/aaronjwood/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronjwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronjwood/subscriptions","organizations_url":"https://api.github.com/users/aaronjwood/orgs","repos_url":"https://api.github.com/users/aaronjwood/repos","events_url":"https://api.github.com/users/aaronjwood/events{/privacy}","received_events_url":"https://api.github.com/users/aaronjwood/received_events","type":"User","site_admin":false},"created_at":"2017-10-04T15:53:35Z","updated_at":"2017-10-04T15:53:35Z","author_association":"OWNER","body":"I sent a note over to the IEEE today. I'll update this thread if/when they respond."}}
{"actor":{"display_login":"aaronjwood"}}