Dongju Jung Dongju Jung - 16 days ago 5
Android Question

Phonegap 2.9 android toast plugin

What is best toast plugin in phonegap 2.9?

I used this plugin, but NOT working.

CatLog say :

exec() call to unknown plugin : ToastPlugin


Please Help me.. Thanks

Answer

Here are links (first, second) for android toast message plugin, please try if it works for you.

There are some changes that you would like to do:

  1. In res-> xml-> config.xml write this line

    <plugin name="ToastPlugin" value="org.apache.cordova.plugin.ToastPlugin"/>

  2. Set <script src="toast.js"></script> in your html page properly.