0

I have to create an HTML page which have more than one images. If User clicks on any image then I have to show full view of open gallery in android. I am able to create galley in android. But I cannot understand how to handle button click in html so that It will give call back to my android gallery activity.

Thanks Deepak

Sunil Kumar Sahoo
  • 53,011
  • 55
  • 178
  • 243

2 Answers2

0

Check this: http://developer.android.com/guide/webapps/webview.html

See the Binding JavaScript code to Android code section, you can bind JavaScript event to Android code:)

shihpeng
  • 5,283
  • 6
  • 37
  • 63
0

Refer to answer of get the click event from webpage in my android application

Community
  • 1
  • 1
Sunil Kumar Sahoo
  • 53,011
  • 55
  • 178
  • 243