コード例 #1
0
		public override void onCreate(Bundle savedInstanceState)
		{
			base.onCreate(savedInstanceState);

			ContentView = R.layout.activity_smartclip;

			TextView tv = (TextView) findViewById(R.id.text_static);

			SlookSmartClip sc = new SlookSmartClip(tv);
			sc.clearAllMetaTag();
			sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_URL, "http://www.samsung.com"));
			sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_PLAIN_TEXT, "This is android textview."));

			Button gotoPinAll = (Button) findViewById(R.id.gotopinboard);
			gotoPinAll.OnClickListener = new OnClickListenerAnonymousInnerClassHelper(this);

		}
コード例 #2
0
        public override void onCreate(Bundle savedInstanceState)
        {
            base.onCreate(savedInstanceState);

            ContentView = R.layout.activity_smartclip;

            TextView tv = (TextView)findViewById(R.id.text_static);

            SlookSmartClip sc = new SlookSmartClip(tv);

            sc.clearAllMetaTag();
            sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_URL, "http://www.samsung.com"));
            sc.addMetaTag(new SlookSmartClipMetaTag(SlookSmartClipMetaTag.TAG_TYPE_PLAIN_TEXT, "This is android textview."));

            Button gotoPinAll = (Button)findViewById(R.id.gotopinboard);

            gotoPinAll.OnClickListener = new OnClickListenerAnonymousInnerClassHelper(this);
        }
コード例 #3
0
        internal virtual void init()
        {
            mSmartClip = new SlookSmartClip(this);

            mSmartClip.DataExtractionListener = new DataExtractionListenerAnonymousInnerClassHelper(this);
        }
コード例 #4
0
		internal virtual void init()
		{
			mSmartClip = new SlookSmartClip(this);

			mSmartClip.DataExtractionListener = new DataExtractionListenerAnonymousInnerClassHelper(this);
		}