Back to project page SysLog.
The source code is released under:
GNU General Public License
If you think the Android project SysLog listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package jackpal.androidterm.emulatorview.compat; /* ww w. j a va 2 s . c o m*/ import android.content.Context; import android.text.ClipboardManager; @SuppressWarnings("deprecation") public class ClipboardManagerCompatV1 implements ClipboardManagerCompat { private final ClipboardManager clip; public ClipboardManagerCompatV1(Context context) { clip = (ClipboardManager) context.getApplicationContext() .getSystemService(Context.CLIPBOARD_SERVICE); } @Override public CharSequence getText() { return clip.getText(); } @Override public boolean hasText() { return clip.hasText(); } @Override public void setText(CharSequence text) { clip.setText(text); } }