editText.setInputType(InputType.TYPE_NULL);
public boolean getDefaultEditable() {
return false;
}
или в xml к описанию EditText элемента добавить android:editable="false"
<?php
if(isset($_POST['urls'])) {
$urls = explode("\n", trim((string)$_POST['urls']));
$sh = time() % rand(1000,9999) * rand(10,99); $sh .= '.sh';
$f = fopen($sh, 'w');
foreach($urls as $k=>$v) {
fwrite($f, '/usr/bin/cutycapt --url='.trim($v).' --out=img'.$k.'.png'."\n");
}
fclose($f);
system('/usr/bin/xvfb-run --server-args="-screen 0, 1024x768x24" /bin/bash '.$sh);
foreach($urls as $k=>$v) {
echo '<img src="img'.$k.'.png">
';
}
}
?>
<form action="capt.php" method="POST">
<textarea name="urls"></textarea>
<input type="submit">
</form>
SELECT * FROM `table`
WHERE `word`=0x4841434b454420425920564c4144534f4e;