2

I would like to get JavaScript to trigger an android event through a webview/WebChromeClient where the android device (can be potentially offline) would send the form back to the server. (I'm using jQuery mobile)

I'm thinking that to handle the offline issue I will have to save the form data to an XML file to submit at a later date.

How do I go about doing this? If it's even possible?

Khoa Nguyen
  • 1,319
  • 7
  • 21
Tyler Wall
  • 3,747
  • 7
  • 37
  • 52

1 Answers1

2

Check this Need to call an activity back from javascript interface made for WebView

Community
  • 1
  • 1
Karan
  • 12,724
  • 6
  • 40
  • 33