added update mechanism to iitcm

This commit is contained in:
Philipp Schaefer
2013-11-08 21:42:59 +01:00
parent 210a306042
commit c82803d236
3 changed files with 140 additions and 0 deletions

View File

@@ -160,4 +160,14 @@ public class IITC_JSInterface {
}
});
}
@JavascriptInterface
public void updateIitc(final String fileUrl) {
mIitc.runOnUiThread(new Runnable() {
@Override
public void run() {
mIitc.updateIitc(fileUrl);
}
});
}
}