PHP Classes

File: clipshow.php

Recommend this page to a friend!
  Classes of Luis Martinez Ulloa  >  PHP Termux API  >  clipshow.php  >  Download  
File: clipshow.php
Role: Example script
Content type: text/plain
Description: Clipboard Example
Class: PHP Termux API
Control Android device using Termux application
Author: By
Last change: Runtimne conditions
Date: 5 years ago
Size: 364 bytes


Class file image Download

require_once 'termuxapi.php';

$termux = new termuxapi();
$oldclip = "";
    while (
true) {

$clp = $termux->clipboard_get();
        if (
$clp !== $oldclip) {
$oldclip = $clp;
$termux->notification($clp, "clipshow", "Clipshow");

For more information send a message to info at phpclasses dot org.