1

Android : How to use javascript interface to show toast?

view story
linux-howto

http://stackoverflow.com – I want to show toast from a webpage showed in a webview, like in the exemple from Google : http://developer.android.com/guide/webapps/webview.html I have created a class for this named : WebAppInterface.java : package com.test.test; import android.annotation.TargetApi; import android.app.ActionBar; import android.os.Bundle; import android.content.Context; import android.os.Build; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.NavUtils; import android.view.Gravity; import android.view.LayoutInflater; import android.view.M (HowTos)