Inx
Inx

Reputation: 2384

"Toasting" in android webbrowser?

Is it possible to create a toast-message that gets displayed in the default android webbrowser?.. or does "toasting" only work with custom WebViews?

Thanks in advance!

Upvotes: 0

Views: 250

Answers (2)

aacanakin
aacanakin

Reputation: 2913

Toasting is not a part of custom Web Views. It just works everywhere inside your apk file. If you like to toast a message when web browser is on, I think you should write an Android service that keeps track of active applications.

  • There is a toast-like message jquery plugin on this link
  • If you have your own custom web view, you can make javascript enabled. You can take a look at this link.

P.S : I believe you are not developing a native android application.

Upvotes: 1

kabuko
kabuko

Reputation: 36302

You are trying to add some functionality to the default browser. I'd recommend you consider trying to write a browser plugin: How to develop plugins for the native Android browser

Upvotes: 0

Related Questions