{"action":"created","issue":{"url":"https://api.github.com/repos/licel/jcardsim/issues/65","labels_url":"https://api.github.com/repos/licel/jcardsim/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/licel/jcardsim/issues/65/comments","events_url":"https://api.github.com/repos/licel/jcardsim/issues/65/events","html_url":"https://github.com/licel/jcardsim/pull/65","id":60590159,"number":65,"title":"jCardSim port to Android","user":{"login":"frankmorgner","id":1266577,"avatar_url":"https://avatars.githubusercontent.com/u/1266577?v=3","gravatar_id":"","url":"https://api.github.com/users/frankmorgner","html_url":"https://github.com/frankmorgner","followers_url":"https://api.github.com/users/frankmorgner/followers","following_url":"https://api.github.com/users/frankmorgner/following{/other_user}","gists_url":"https://api.github.com/users/frankmorgner/gists{/gist_id}","starred_url":"https://api.github.com/users/frankmorgner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankmorgner/subscriptions","organizations_url":"https://api.github.com/users/frankmorgner/orgs","repos_url":"https://api.github.com/users/frankmorgner/repos","events_url":"https://api.github.com/users/frankmorgner/events{/privacy}","received_events_url":"https://api.github.com/users/frankmorgner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-11T00:06:32Z","updated_at":"2015-07-25T15:24:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/licel/jcardsim/pulls/65","html_url":"https://github.com/licel/jcardsim/pull/65","diff_url":"https://github.com/licel/jcardsim/pull/65.diff","patch_url":"https://github.com/licel/jcardsim/pull/65.patch"},"body":"I created a simple [Host Card Emulation (HCE) App for Android](https://frankmorgner.github.io/vsmartcard/ACardEmulator/README.html) which integrates jCardSim to emulate some open source java card applets. Porting jCardSim was rather straight forward:\r\n\r\n1. remove all RMI components which Android's JVM does not support\r\n2. replace bouncycastle with spongycastle\r\n3. duplicate the standard javax/smartcardio/*\r\n4. exclude APDUScriptTool.java from compilation (this is done in the build script of my App)\r\n\r\nI guess there is a better (i.e. non intrusive) method of working around the problems which propably involve some build configuration magic, what do you think?\r\n\r\nPlease note, that this is more like a request for comments than an actual pull request..."},"comment":{"url":"https://api.github.com/repos/licel/jcardsim/issues/comments/124853224","html_url":"https://github.com/licel/jcardsim/pull/65#issuecomment-124853224","issue_url":"https://api.github.com/repos/licel/jcardsim/issues/65","id":124853224,"user":{"login":"robertbachmann","id":599839,"avatar_url":"https://avatars.githubusercontent.com/u/599839?v=3","gravatar_id":"","url":"https://api.github.com/users/robertbachmann","html_url":"https://github.com/robertbachmann","followers_url":"https://api.github.com/users/robertbachmann/followers","following_url":"https://api.github.com/users/robertbachmann/following{/other_user}","gists_url":"https://api.github.com/users/robertbachmann/gists{/gist_id}","starred_url":"https://api.github.com/users/robertbachmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertbachmann/subscriptions","organizations_url":"https://api.github.com/users/robertbachmann/orgs","repos_url":"https://api.github.com/users/robertbachmann/repos","events_url":"https://api.github.com/users/robertbachmann/events{/privacy}","received_events_url":"https://api.github.com/users/robertbachmann/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T15:24:32Z","updated_at":"2015-07-25T15:24:32Z","body":"@frankmorgner, you could try the following steps (untested): \r\n\r\n1) Change the path in your .gitmodules to https://github.com/licel/jcardsim\r\n2) Add the ``mavenLocal`` repository to your gradle script.\r\n````\r\nrepositories {\r\n  mavenLocal()\r\n}\r\n````\r\n3) Use gradle's *Exec* task to run \"mvn clean install\" in the jcardsim directory.\r\n4) Import jcardsim as a gradle dependency"}}