Back to project page dynamic-load-apk.
The source code is released under:
Apache License
If you think the Android project dynamic-load-apk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * Copyright (C) 2014 singwhatiwanna(???) <singwhatiwanna@gmail.com> */*from w w w. j a v a 2s .c o m*/ * collaborator:??,???? * * 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.ryg.dynamicload.internal; import android.content.Intent; public class DLIntent extends Intent { private String mPluginPackage; private String mPluginClass; public DLIntent() { super(); } public DLIntent(String pluginPackage) { super(); this.mPluginPackage = pluginPackage; } public DLIntent(String pluginPackage, String pluginClass) { super(); this.mPluginPackage = pluginPackage; this.mPluginClass = pluginClass; } public DLIntent(String pluginPackage, Class<?> clazz) { super(); this.mPluginPackage = pluginPackage; this.mPluginClass = clazz.getName(); } public String getPluginPackage() { return mPluginPackage; } public void setPluginPackage(String pluginPackage) { this.mPluginPackage = pluginPackage; } public String getPluginClass() { return mPluginClass; } public void setPluginClass(String pluginClass) { this.mPluginClass = pluginClass; } public void setPluginClass(Class<?> clazz) { this.mPluginClass = clazz.getName(); } }