Project: titanium
Issue TIMOB-17754: Android: Throw an event after each AJAX call inside a webview
h4. Problem Description The user wants to sync a ecommerce's cart inside a webview with a view showing the number of items in the cart in the app. Therefore, he wants to have an event in the webview that throws an event when the cart is updated via AJAX. h4. Extra information We did some research, and we found some info that could be useful. http://developer.android.com/reference/android/webkit/WebViewClient.html And this method public WebResourceResponse shouldInterceptRequest (WebView view, String url) StackOverFlow mentioned that method as a way to catch ajax calls: http://stackoverflow.com/questions/3941969/android-intercept-ajax-call-from-webview
Story points: 3