// Compile-only stub (API level 10 signatures). Never packaged into the APK. package android.widget; public class Toast { Toast() { throw new RuntimeException("Stub!"); } public static Toast makeText(android.content.Context context, CharSequence text, int duration) { throw new RuntimeException("Stub!"); } public void show() { throw new RuntimeException("Stub!"); } }