If you think the Android project AndroidPlugin listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
/*
* Copyright (C) 2014 achellies/*fromwww.java2s.com*/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/package com.limemobile.app.plugin;
import android.app.Activity;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.WindowManager.LayoutParams;
import com.limemobile.app.plugin.internal.PluginClientInfo;
publicinterface IPluginActivity {
publicvoid setDelegate(Activity pluginHostActivity,
PluginClientInfo pluginPackage);
publicvoid onCreate(Bundle savedInstanceState);
publicvoid onStart();
publicvoid onRestart();
publicvoid onActivityResult(int requestCode, int resultCode, Intent data);
publicvoid onResume();
publicvoid onPause();
publicvoid onStop();
publicvoid onDestroy();
publicvoid onSaveInstanceState(Bundle outState);
publicvoid onNewIntent(Intent intent);
publicvoid onRestoreInstanceState(Bundle savedInstanceState);
publicboolean onTouchEvent(MotionEvent event);
publicboolean onKeyUp(int keyCode, KeyEvent event);
publicvoid onWindowAttributesChanged(LayoutParams params);
publicvoid onWindowFocusChanged(boolean hasFocus);
publicvoid onBackPressed();
publicboolean onCreateOptionsMenu(Menu menu);
publicboolean onOptionsItemSelected(MenuItem item);
publicvoid unbindService(ServiceConnection conn);
public String getPackageName();
}