From 88ee267c66933daff3a4adb1a8ab38fa6bb4fa9f Mon Sep 17 00:00:00 2001 From: Philipp Schaefer Date: Tue, 16 Apr 2013 23:48:12 +0200 Subject: [PATCH] updated HACKING.md --- mobile/HACKING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/HACKING.md b/mobile/HACKING.md index fdaa464f..71a9449e 100644 --- a/mobile/HACKING.md +++ b/mobile/HACKING.md @@ -5,7 +5,7 @@ At the moment, the Android App is a WebView which renders the normal web page. T Communication from app to script is handled by loading Javascript function calls. For example: ```iitc_view.loadUrl("javascript: window.goBack();");``` -Communication from script to app is handled by the JavascriptInterface (see /mobile/src/com/cradle/iitc\_mobile/IITC_JSInterface.java). If a method ```foo(String)``` is defined in JSInterface, it can be with by ```android.foo("Hello World")``` in the IITC script. +Communication from script to app is handled by the JavascriptInterface (see /mobile/src/com/cradle/iitc\_mobile/IITC_JSInterface.java). If a method ```foo(String)``` is defined in JSInterface, it can be called by ```android.foo("Hello World")``` in the IITC script. Debugging ---------