-
-
Save quangson91/db8cc10d92fca0fb32c089cd49aa3da3 to your computer and use it in GitHub Desktop.
Revisions
-
pepyakin created this gist
May 21, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ public class ExampleApplication extends Application { @Override public void onCreate() { super.onCreate(); try { Class<?> cls = Class.forName("android.sec.clipboard.ClipboardUIManager"); Method m = cls.getDeclaredMethod("getInstance", Context.class); Object o = m.invoke(null, this); } catch (Exception ignored) { } } }