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
[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.PictureListener examples?

WebView.PictureListener examples?

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

WebView.PictureListener examples?

Postby brybam » Tue Jul 13, 2010 12:09 am

Hello,

I'm trying to implement a simple notification into my webview app. The app is right now entirely a webview and when there is a notification on the website a png image is replaced with another image. I was wondering if anyone knows of any tutorials or examples on how i might make my app have a pop up notification in the bar whenever this image changes, then i can just make the drop down bar item link to another webview activity.

Any insight at all on how i could acomplish this would be amazing. I found WebView.PictureListener and I think this is what i'm looking for. I just wish i could find some examples on how to implement it the way i'm thinking. thanks.
brybam
Developer
Developer
 
Posts: 27
Joined: Fri May 21, 2010 1:03 am

Top

Re: WebView.PictureListener examples?

Postby brybam » Thu Jul 15, 2010 7:54 pm

anyone?
brybam
Developer
Developer
 
Posts: 27
Joined: Fri May 21, 2010 1:03 am

Re: WebView.PictureListener examples?

Postby blundell » Thu Jul 15, 2010 8:56 pm

Just read up on that PictureListener that isn't what you want sadly.

I've never coded with webviews so this is all theoretical.

Could you not get the id/name/type of the picture? If so you can then start a thread that will keep asking for this then when it changes sends a message to your activity using a handler. When the handle is received your notification arrives DING.

Try this and give me some feedback
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Top

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests