Code example for ClipboardManager

Methods: removePrimaryClipChangedListener

0
    } 
     
    @Override 
    public void onDestroy() { 
        stopSelf(mStartId);
        mClip.removePrimaryClipChangedListener(mClipListener);
        Log.i(TAG, "OnDestroy");
        super.onDestroy(); 
    } 
    /** 
     * @param url the HTML page 
     * @return title text (null if document isn't HTML or lacks a title tag) 
     * @throws IOException 
     */ 
    private class RetrieveTitle extends AsyncTask<String, Void, String> {
 
        /* 
         * the CASE_INSENSITIVE flag accounts for sites that use uppercase title 
         * tags. the DOTALL flag accounts for sites that have line feeds in the 
         * title text 
         */