{"action":"created","issue":{"url":"https://api.github.com/repos/Sable/soot/issues/582","repository_url":"https://api.github.com/repos/Sable/soot","labels_url":"https://api.github.com/repos/Sable/soot/issues/582/labels{/name}","comments_url":"https://api.github.com/repos/Sable/soot/issues/582/comments","events_url":"https://api.github.com/repos/Sable/soot/issues/582/events","html_url":"https://github.com/Sable/soot/issues/582","id":151800596,"number":582,"title":"Create a class into Android apk by instrumenting.","user":{"login":"roylin1994","id":15721702,"avatar_url":"https://avatars.githubusercontent.com/u/15721702?v=3","gravatar_id":"","url":"https://api.github.com/users/roylin1994","html_url":"https://github.com/roylin1994","followers_url":"https://api.github.com/users/roylin1994/followers","following_url":"https://api.github.com/users/roylin1994/following{/other_user}","gists_url":"https://api.github.com/users/roylin1994/gists{/gist_id}","starred_url":"https://api.github.com/users/roylin1994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roylin1994/subscriptions","organizations_url":"https://api.github.com/users/roylin1994/orgs","repos_url":"https://api.github.com/users/roylin1994/repos","events_url":"https://api.github.com/users/roylin1994/events{/privacy}","received_events_url":"https://api.github.com/users/roylin1994/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sable/soot/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-29T06:19:18Z","updated_at":"2016-05-03T13:50:18Z","closed_at":null,"body":"I want to create a class into Android apk with instrument.But I don't konw well about Soot.\r\nhttps://github.com/Sable/soot/wiki/Instrumenting-Android-Apps-with-Soot\r\nhttps://github.com/Sable/soot/wiki/Creating-a-class-from-scratch\r\nThe two links above is the only thing I can learn from,but I don't know how to combine them to do my work.\r\nCan someone help me ?"},"comment":{"url":"https://api.github.com/repos/Sable/soot/issues/comments/216533178","html_url":"https://github.com/Sable/soot/issues/582#issuecomment-216533178","issue_url":"https://api.github.com/repos/Sable/soot/issues/582","id":216533178,"user":{"login":"StevenArzt","id":2691304,"avatar_url":"https://avatars.githubusercontent.com/u/2691304?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenArzt","html_url":"https://github.com/StevenArzt","followers_url":"https://api.github.com/users/StevenArzt/followers","following_url":"https://api.github.com/users/StevenArzt/following{/other_user}","gists_url":"https://api.github.com/users/StevenArzt/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenArzt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenArzt/subscriptions","organizations_url":"https://api.github.com/users/StevenArzt/orgs","repos_url":"https://api.github.com/users/StevenArzt/repos","events_url":"https://api.github.com/users/StevenArzt/events{/privacy}","received_events_url":"https://api.github.com/users/StevenArzt/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T13:50:18Z","updated_at":"2016-05-03T13:50:18Z","body":"You can create a new instance of SootClass and add it to your Soot scene. When Soot then writes out its transformed classes, your new SootClass will also be written into the APK.\r\n\r\nFor more information on app instrumentation with Soot, you can read section 5 and 6 in this paper: https://www.informatik.tu-darmstadt.de/fileadmin/user_upload/Group_EC-Spride/Publikationen/Instrumenting_Android_and_Java_Applications_as_Easy_as_abc.pdf"}}