<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<DesignDeviceName>GenericPhone</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>320</PageWidth>
	<PageHeight>480</PageHeight>
	<AutoSizeWidth>True</AutoSizeWidth>
	<AutoSizeHeight>True</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<PublishPlatform>MobileApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<MobileBuildTarget>E:\javacript with neo\test.zip</MobileBuildTarget>
	<LanguageCode>en</LanguageCode>
	<MobileID>app.hegdji.popop4</MobileID>
	<MobileOSTypes>[AndroidOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<CustomBodyMetadata>&lt;script&gt;
function myFunction(event) {
  var x = event.touches[0].clientX;
  var y = event.touches[0].clientY;
  document.getElementById(&quot;demo&quot;).innerHTML =&quot;x:&quot;+ x + &quot;, &quot;+&quot;y:&quot; + y;
}
&lt;/script&gt;</CustomBodyMetadata>
	<startup>NeoScriptToJS</startup>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="mysubroutineOld">
					<Code>$App.x = event.touches[0].clientX;
$App.y = event.touches[0].clientY;</Code>
					<Params>[event]|STRING|parameter</Params>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
				<Function name="mysubroutine">
					<Code>BeginJS
$App.x = event.touches[0].clientX;
$App.y = event.touches[0].clientY;
EndJS
Refresh</Code>
					<Params>[event]|STRING|parameter</Params>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<style>background-color:#FFE3CF</style>
					<pageenter>refresh</pageenter>
					<Components>
						<Container id="Container1">
							<left>5%</left>
							<top>50%</top>
							<width>90%</width>
							<height>40%</height>
							<style>background-color:#fff</style>
							<html>&lt;p ontouchmove=&quot;neosubroutine.mysubroutine(event)&quot;&gt;&lt;strong&gt;mixed Javascript with VisualNeo web&lt;/strong&gt; Touch me!Lorem, ante pulvinar et platea dui. Proin eros tellus diam in integer, turpis sed wisi fusce gravida mauris, nibh. Id vestibulum at sit libero nunc lorem. Libero magna suscipit quis mi libero dolor, in ut massa, et hac felis metus massa dapibus nulla, enim adipiscing vel gravida eligendi sed&lt;/p&gt;
&lt;br&gt;
&lt;p&gt; x:[x]    y:[y] &lt;/p&gt;</html>
						</Container>
						<Container id="Container2">
							<left>5%</left>
							<top>5%</top>
							<width>90%</width>
							<height>40%</height>
							<style>background-color:#fff</style>
							<html>&lt;p ontouchmove=&quot;myFunction(event)&quot;&gt;&lt;strong&gt;Pure javascript&lt;/strong&gt; Touch this paragraph, and move the finger to trigger a function that will display the x and y coordinates of the touch, according the the document:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This example is for touch devices only.&lt;/p&gt;

&lt;p id=&quot;demo&quot;&gt;&lt;/p&gt;</html>
						</Container>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>320px</width>
							<height>480px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
