<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<DesignDeviceName>Samsung Galaxy Tab 8</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>1280</PageWidth>
	<PageHeight>800</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<ResponsiveSize>False</ResponsiveSize>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<LanguageCode>en</LanguageCode>
	<DisplayMode>standalone</DisplayMode>
	<ServiceWorker>Offline page</ServiceWorker>
	<ThemeColor>#000000</ThemeColor>
	<PwaScope>/</PwaScope>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</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>
	<Components>
		<FunctionList name="Subroutines"/>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<Components>
						<Image id="Image1">
							<left>230px</left>
							<top>45px</top>
							<style>border-color:#000;border-style:solid;border-width:1px;max-height:400px;max-width:400px</style>
						</Image>
						<FileInput id="FileInput1">
							<left>50px</left>
							<top>45px</top>
							<width>145px</width>
							<height>45px</height>
							<style>color:#fff</style>
							<prop_name>fileInputImg</prop_name>
							<change>.Load the image file and encodes it to Base64
LocalBinaryFileToBase64Var &quot;FileInput1&quot; [myImage]
.we need to wait a little bit for the file to be loaded
Wait 300
  .An image object or &lt;img&gt; HTML tag can show Base64 enconded images directly.
  SetObjectAttribute &quot;Image1&quot; &quot;src&quot; [myImage]
EndWait</change>
							<caption>Load Image</caption>
							<accept>.jpg</accept>
						</FileInput>
						<Container id="Container1">
							<left>225px</left>
							<top>15px</top>
							<width>515px</width>
							<height>25px</height>
							<html>Image: (it has a max-width and max-height value to avoid showing huge images)</html>
						</Container>
						<TextArea id="TextArea1">
							<left>230px</left>
							<top>410px</top>
							<width>1020px</width>
							<height>355px</height>
							<variable>[myImage]</variable>
							<place_holder>Base64 encoded image</place_holder>
						</TextArea>
						<PushButton id="PushButton1">
							<left>50px</left>
							<top>100px</top>
							<width>145px</width>
							<height>45px</height>
							<caption>Download Image</caption>
							<click>Base64ToLocalFile [myImage] &quot;final-image.jpg&quot;</click>
						</PushButton>
						<Container id="Container2">
							<left>230px</left>
							<top>380px</top>
							<width>495px</width>
							<height>25px</height>
							<html>This is the Base64 enconded image (text format) you can store in a database</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>1280px</width>
							<height>800px</height>
							<close_button>False</close_button>
							<kind>custom</kind>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
