IWafflePlugin.java :  » Framework » jswaffle » com » kujirahand » jsWaffle » model » Android Open Source

Android Open Source » Framework » jswaffle 
jswaffle » com » kujirahand » jsWaffle » model » IWafflePlugin.java
package com.kujirahand.jsWaffle.model;

import com.kujirahand.jsWaffle.WaffleActivity;
import android.content.Intent;
import android.webkit.WebView;


/**
 * jsWaffle Plugin Interfalce
 * @author kujira
 *
 */

public interface IWafflePlugin {
  /* initialize method */
  void setWebView(WebView web);
  void setContext(WaffleActivity app);
  /* activity events */
  void onPause();
  void onResume();
  // void onUnload(); // Android1.6 not supported
  void onDestroy(); // To remove listener from system
  void onActivityResult(int requestCode, int resultCode, Intent intent);
  /* webview event */
  void onPageStarted(String url);
  void onPageFinished(String url);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.