Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > b64341fd916d5fe12e48588c49f64ae1 > files > 184

anyremote-doc-4.18.1-1mdv2010.0.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

	<title>anyRemote &middot; Control your computer with your phone</title>

	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<meta name="description" content="anyRemote project page - Bluetooth remote control tool" />

	<link rel="stylesheet" href="data/master.css" type="text/css" media="all" title="Default Style" charset="utf-8" />
	<script src="data/effects.js" type="text/javascript" charset="utf-8"></script>

	<link rel="alternate" title="Feed" href="data/feed.xml" type="application/rss+xml" />

	<link rel="icon" href="data/logo-favicon.png" type="image/png" />
	<link rel="shortcut icon" href="data/logo-favicon.png" type="image/png" />

</head>

<body id="docs">

	<a class="skip" name="top">&nbsp;</a>
	<a class="skip" href="#content">Skip to content</a>

	<div id="head">
		<div id="logo">
			<h1><a href="index.html"><img src="data/logo-head.png" alt="logo" /> anyRemote</a></h1>
		</div>
		<div id="navigation"><div class="padding">
			<a href="index.html"><span>About</span></a>
			<a href="frontend.html"><span>Screenshots</span></a>
			<a href="dload.html"><span>Download</span></a>
			<a href="docs.html" class="active"><span>Documentation</span></a>
			<a href="faq.html"><span>FAQ</span></a>
			<a href="contacts.html"><span>Contact</span></a>
			<a href="thanks.html"><span>Special Thanks</span></a>
		</div></div>
	</div>

	<div id="sidebar"><div class="padding">
		<dl class="info">
			<dt>Information</dt>
			<dd>
				<p>Please use the two sidebar boxes below to browse through the anyRemote Documentation!</p>
			</dd>
		</dl>
		<dl class="docs">
			<dt>Documentation</dt>
			<dd>
				<ul>
					<li><a href="pre-setup.html">Before install</a></li>
					<li><a href="pre.html">Software prerequisites</a></li>
					<li><a href="install.html">Compilation and installation</a></li>
					<li><a href="mode.html">Which mode to choose ?</a></li>
					<li><strong>Setup</strong>
						<ul>
							<li><a href="setup-at.html">Setup: AT mode</a>
								<ul>
									<li><a href="event.html">Event reporting</a></li>
									<li><a href="ckpd-emulation.html">Keypad emulation events</a></li>
								</ul>
							</li>
							<li><a href="setup-server.html">Setup: Server mode</a></li>
						</ul>
					</li>
					<li><a href="use.html">How to use anyRemote</a>
						<ul>
							<li><a href="use-jc.html">Java Client</a></li>
							<li><a href="web.html">Web Interface</a></li>
							<li><a href="cfg-howto.html">How to create simple configuration file</a></li>
							<li><a href="bemused.html">Bemused Support</a></li>
						</ul>
					</li>
					<li><a href="devices.html">Tested devices</a></li>
					<li><a href="phones.html">Phone specific details</a></li>
					<li><a href="tips-tricks.html">Tips &amp; tricks</a></li>
					<li><a href="man.html">Man page</a></li>
				</ul>
			</dd>
		</dl>
		<dl class="docs-advanced">
			<dt>Advanced</dt>
			<dd>
				<ul>
					<li><a href="http://elpraga.googlepages.com/HOWTOstartanyRemoteatboottime.html">miniHOWTO: start anyRemote at boot time and create a multimedia computer</a> (externally maintained)</li>
					<li><strong>Format of configuration files</strong>
						<ul>
							<li><strong>Server mode</strong>
								<ul>
									<li><a href="conf-server.html">Configuration file format</a></li>
									<li><a href="conf-server-ex.html">Configuration file examples</a></li>

									<li><a href="set.html">Set(...) / ExecAndSet(...) commands</a></li>
									<li><a href="set-fm.html">Set(filemanager ... ) command</a></li>
									<li><a href="set-icons.html">Set(icons ...) command and available icon set</a></li>
									<li><a href="set-list.html">Set(list ... ) and Set(iconlist ... ) commands</a></li>
									<li><a href="set-menu.html">Set(menu ... ) command</a></li>
									<li><a href="set-parameter.html">Set(parameter, ... ) commands</a></li>
									<li><a href="set-text.html">Set(text ... ) command</a></li>
									<li><a href="set-window.html">Set(image ... ) command</a></li>
								</ul>
							</li>
							<li><strong>AT mode</strong>
								<ul>
									<li><a href="conf-at.html">Configurational file format</a></li>
									<li><a href="conf-at-ex.html">Configurational file examples</a></li>
								</ul>
							</li>
							<li><strong>Common</strong>
								<ul>
									<li><a href="make.html">Make(...) command</a></li>
									<li><a href="emulate.html">Emulate(...) command</a></li>
									<li><a href="vars.html">Variable substitution</a></li>
									<li><a href="ev-handlers.html">Event handlers</a></li>
									<li><a href="icon-themes.html">Icon themes for java client</a></li>
								</ul>
							</li>
						</ul>
					</li>
					<li><a href="dcop.html">DCOP support by kAnyRemote</a></li>
				        <li><a href="ir.html">anyRemote and InfraRed</a></li>
				</ul>
			</dd>
		</dl>
		<dl class="contact">
			<dt>Contact</dt>
			<dd>
				<p>We will be pleased for any questions, suggestions, patches and examples of configuration files!</p>
				<ul>
					<li>Post in the <a href="http://sourceforge.net/forum/?group_id=162923">Forum</a></li>
					<li>Please, send e-mails to  <a href="mailto:anyremote&#64;mail&#46;ru">anyremote&#64;mail&#46;ru</a></li>
				</ul>
			</dd>
		</dl>
		<!--HOSTINGLOGO-->
	</div></div> <!-- sidebar -->

	<div id="content"><div class="padding">

		<a class="skip" name="content">&nbsp;</a>

		<h1>Set(image ... ) command</h1>

		<p><img class="float-right" alt="Image view screen" src="data/view-screen.jpg" />
		This command used to show images on screen of cell phone.</p>

		<h2>Format</h2>
		
		<p><strong>Set(image,window,_image_file_name)</strong> or</p>
		<p><strong>ExecAndSet(image,window, ... command to determine image file name ...)</strong> or</p>
		<p><strong>Set(image,icon,_icon_name_,_image_file_name_)</strong> or</p>
		<p><strong>ExecAndSet(image,icon,_icon_name_, ... command to determine image file name ...)</strong> or</p>
		<p><strong>Set(image,show|close|cursor|nocursor|dynamic_cursor|set_cursor)</strong> or</p>
		<p><strong>Set(image,remove_all|clear_cache)</strong></p>

		<h2>Usage</h2>

		<h3>Set(image,window ...)</h3>

		<p>Command <strong>Set(image,window,_image_file_name)</strong> used to show image on screen of cell phone. Of cource in most cases this should be ExecAndSet(...) variant of command. See cfg-example/Server-mode/winManager.cfg for details.</p>
		
		<pre>1=ExecAndSet(image,window,echo "$IMAGE_DIR/image.png")</pre>

		<h3>Set(image,show)</h3>

		<p>Command <strong>Set(image,show)</strong> used to show previously uploaded image.</p>
		
		<pre>2=Set(image,show)</pre>

		<h3>Set(image,close)</h3>

		<p>Command <strong>Set(image,close)</strong> used to close screen with image and return back to main screen.</p>
		
		<pre>3=Set(image,close)</pre>

		<h3>Set(image,cursor|nocursor)</h3>

		<p>Command <strong>Set(image,cursor|nocursor)</strong> used to specify should or should not the cursor cross will be drawn over the image. If this option is set to "cursor" then it will be possible to move cursor cross with the joystick keys and if user pushes the joystick key, then two replies PressedX(x_coord,) and PressedY(y_coord,) will be sent. PressedX() event will be first one.</p>

		<pre>4=Set(image,nocursor)</pre>

		<h3>Set(image,dynamic_cursor)</h3>

		<p>Command <strong>Set(image,dynamic_cursor)</strong> Is similar to <strong>Set(image,cursor)</strong>, but each time user press joystrick key two replies PosX(x_coord,) and PosY(y_coord,) will be sent. PosX() event will be first one.</p>

		<pre>5=Set(image,dynamic_cursor)</pre>

		<h3>Set(image,set_cursor ...)</h3>

		<p>Command <strong>Set(image,set_cursor, x_coord, y_coord)</strong> used to set cursor position on screen of cell phone.</p>
		
		<pre>6=Set(image,set_cursor,0,0)</pre>

                <p>To retrieve current cursor position use <a href="conf-server.html">Get(cursor)</a> command.</p>
		
                <h3><a name="image-icon">Set(image,icon ...)</a></h3>

		<p>Command <strong>Set(image,icon,_icon_name_,_image_file_name)</strong> used to upload 16x16, 32x32 or 64x64 icons, which could be used in Set(icons,...) command. Of cource in most cases this should be ExecAndSet(...) variant of command. See cfg-example/Server-mode/iconUpload.cfg for details.</p>
                
		<pre>7=ExecAndSet(image,icon,echo "$IMAGE_NAME,$IMAGE_DIR/image.png")</pre>
		
		<p>Only 16x16, 32x32 or 64x64 PNG icons could be uploaded. There is no way to show the list of uploaded icons. 
	        <p>All uploaded icons could be removed by Set(image,remove_all) command.</p>
	        <p>All icons used by java client cached in phone's memory. It is possible to cleanup that cache by Set(image,clear_cache) command.</p>

		<h3>Icon auto-uploading</h3>
                
		<p>Starting from anyRemote-4.16/anyremote-J2ME-client-4.13 icon auto-uploading is supported. So, if there is a command</p>
                <p>So, if there is a command</p>
		<pre>1=Set(icons,TheTitle,1,my-new-icon);</pre>
		<p> and <strong>my-new-icon.png</strong> is absent in java client, then anyRemote will search it in 
		<a href="vars.html">$(CfgDir)</a>/Icons/_icon_size_ directory and automatially upload it to the phone if found (_icon_size_ can be 16,32 or 64).</p>
		<p>It is not recommended to use this feature on Samsung's because of <a href="phones.html#G600">terrible upload speed</a>.</p> 		

		<h3>Set(image,remove_all)</h3>

		<p>Command <strong>Set(image,remove_all)</strong> used to remove all previously uploaded icons.</p>
		
		<pre>0=Set(image,remove_all)</pre>

		<h3>Set(image,clear_cache)</h3>

		<p>Command <strong>Set(image,clear_cache)</strong> used to cleanup cache of used icons on java client.</p>
		
		<pre>1=Set(image,clear_cache)</pre>

		<h2>Retrieving size of the screen</h2>

		<p>To retrive size of the screen of the cellphone it is possible to use <a href="conf-server.html#sec-get">Get(screen_size)</a> command.</p>

	</div></div> <!-- content -->

	<div id="foot">
		<p>Maintained by <a href="mailto:anyremote&#64;mail&#46;ru">anyRemote</a>. Website by <a href="http://www.martinlettner.info">m.lettner</a>.</p>
	</div>

</body>
</html>