Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Webview

Webview

Put your problem here if it does not fit any of the other categories.

Webview

Postby dswastik » Wed Mar 09, 2011 8:33 am

I am displaying a web page in web view, which has an element like this
<input type=checkbox id=a1>
Is there any way, that when this checkbox is checked/unchecked I get a notification in my activity class.
dswastik
Freshman
Freshman
 
Posts: 2
Joined: Wed Mar 09, 2011 8:30 am

Top

Re: Webview

Postby raj_J2ME » Wed Mar 09, 2011 10:00 am

dswastik wrote:I am displaying a web page in web view, which has an element like this
<input type=checkbox id=a1>
Is there any way, that when this checkbox is checked/unchecked I get a notification in my activity class.

Hey Welcome to Android Forums,

This is how you can get the notification of the event occurred,

Code: Select all
<input type="button" value="Say hello" onClick="showAndroidToast('Hello Android!')" />

<script type="text/javascript">
    function showAndroidToast(toast) {
        Android.showToast(toast);
    }
</script>


Follow the same way for the checkbox too.
Please check and revert... :)
Thanks with Regards,
Raj - The Kernel
raj_J2ME
Master Developer
Master Developer
 
Posts: 311
Joined: Tue Feb 15, 2011 7:40 am
Location: The Capital of India,

Re: Webview

Postby dswastik » Thu Mar 10, 2011 11:44 am

Thanks a lot, it worked.
dswastik
Freshman
Freshman
 
Posts: 2
Joined: Wed Mar 09, 2011 8:30 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests