Initial Samsung watch app
2
Samsung/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/.metadata/
|
||||
.buildResult
|
||||
25
Samsung/HomeMonitor/.project
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>HomeMonitor</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>json.validation.builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.tizen.web.project.builder.WebWidgetBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>json.validation.nature</nature>
|
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||
<nature>org.tizen.web.project.builder.WebWidgetNature</nature>
|
||||
<nature>org.tizen.web.project.builder.WebNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
18
Samsung/HomeMonitor/.settings/.jsdtscope
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="">
|
||||
<attributes>
|
||||
<attribute name="provider" value="org.eclipse.wst.jsdt.web.core.internal.project.ModuleSourcePathProvider"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
|
||||
<attributes>
|
||||
<attribute name="hide" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.tizen.web.project.initializer.WebWidgetECMA3LibraryInitializer"/>
|
||||
<classpathentry kind="con" path="org.tizen.web.project.initializer.WebWidgetTizenLibraryInitializer"/>
|
||||
<classpathentry kind="con" path="org.tizen.web.project.initializer.ext.RESTSupport"/>
|
||||
<classpathentry kind="output" path=""/>
|
||||
</classpath>
|
||||
@@ -0,0 +1,2 @@
|
||||
css-profile/<project>=org.eclipse.wst.css.core.cssprofile.css3
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1 @@
|
||||
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
|
||||
@@ -0,0 +1 @@
|
||||
Window
|
||||
16
Samsung/HomeMonitor/.sign/.manifest.tmp
Normal file
@@ -0,0 +1,16 @@
|
||||
.vscode/launch.json__DEL__0uRQnanRSUnd9Oq5lW8amg++ggDBrt9/eS0BlpG6C9c=
|
||||
.vscode/tasks.json__DEL__+8g1NekbkFu8hTdyPcUpVunSd8rdNcZHG383A8zSZ28=
|
||||
build.ps1__DEL__pU48QohI6oUd9EEMLmeshV9EwvIDUcodXXX/yi/jNcg=
|
||||
config.xml__DEL__HgXGR8StobJzVT4+AbPHOA054qDFg+eSqbGWXT+oltA=
|
||||
icon.png__DEL__vPjxjOppORd6hn9Bw4sh06gqtDoJzoFbV/8e9FyIdvk=
|
||||
index.html__DEL__xkcWZSnw1CbWWJHTI3u4LO4ptkTESbElI2UOx+mCfRM=
|
||||
launch.ps1__DEL__fqTS+jF01wh8+Vn557kzS7+CxcoLEFmabpTrBdPIBTg=
|
||||
widget/Power/css/style.css__DEL__8+w2dqnW48J1yGtKyoCjwvKDhLQ4zWjpB9Q2cQCwNcs=
|
||||
widget/Power/index.html__DEL__era6A42TuZeikZia0wVNJmQrh62H0c7rMC8/6v3sMxg=
|
||||
widget/Power/js/main.js__DEL__4V6wNgJwWDEywrlZm8qLzzC3M3ol/7p87Euxw3W0Hmw=
|
||||
widget/Power/preview.png__DEL__Bh0oq+JRTpgSaAfBqA+NrRvcYke2QhsvqqcDC8NvTSk=
|
||||
widget/Weather/css/style.css__DEL__8+w2dqnW48J1yGtKyoCjwvKDhLQ4zWjpB9Q2cQCwNcs=
|
||||
widget/Weather/index.html__DEL__VXP8c0ljMCRikTndGxXspJ4QkGxYAPA/qq/CDIaPBNw=
|
||||
widget/Weather/js/main.js__DEL__rS1OAohngQNnhEHl1kdKxu4n51nxL78CxY1C0xU5pH4=
|
||||
widget/Weather/preview.png__DEL__Bh0oq+JRTpgSaAfBqA+NrRvcYke2QhsvqqcDC8NvTSk=
|
||||
author-signature.xml__DEL__Looxb5zSz6UcxnRCZ3cVtBZN7gwZqtiZKRm3Zi3PMSs=
|
||||
114
Samsung/HomeMonitor/.sign/author-signature.xml
Normal file
@@ -0,0 +1,114 @@
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AuthorSignature">
|
||||
<SignedInfo>
|
||||
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
|
||||
<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
|
||||
<Reference URI=".vscode%2Flaunch.json">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>0uRQnanRSUnd9Oq5lW8amg++ggDBrt9/eS0BlpG6C9c=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI=".vscode%2Ftasks.json">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>+8g1NekbkFu8hTdyPcUpVunSd8rdNcZHG383A8zSZ28=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="build.ps1">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>pU48QohI6oUd9EEMLmeshV9EwvIDUcodXXX/yi/jNcg=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="config.xml">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>HgXGR8StobJzVT4+AbPHOA054qDFg+eSqbGWXT+oltA=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="icon.png">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>vPjxjOppORd6hn9Bw4sh06gqtDoJzoFbV/8e9FyIdvk=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="index.html">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>xkcWZSnw1CbWWJHTI3u4LO4ptkTESbElI2UOx+mCfRM=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="launch.ps1">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>fqTS+jF01wh8+Vn557kzS7+CxcoLEFmabpTrBdPIBTg=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FPower%2Fcss%2Fstyle.css">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>8+w2dqnW48J1yGtKyoCjwvKDhLQ4zWjpB9Q2cQCwNcs=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FPower%2Findex.html">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>era6A42TuZeikZia0wVNJmQrh62H0c7rMC8/6v3sMxg=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FPower%2Fjs%2Fmain.js">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>4V6wNgJwWDEywrlZm8qLzzC3M3ol/7p87Euxw3W0Hmw=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FPower%2Fpreview.png">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>Bh0oq+JRTpgSaAfBqA+NrRvcYke2QhsvqqcDC8NvTSk=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FWeather%2Fcss%2Fstyle.css">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>8+w2dqnW48J1yGtKyoCjwvKDhLQ4zWjpB9Q2cQCwNcs=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FWeather%2Findex.html">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>VXP8c0ljMCRikTndGxXspJ4QkGxYAPA/qq/CDIaPBNw=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FWeather%2Fjs%2Fmain.js">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>rS1OAohngQNnhEHl1kdKxu4n51nxL78CxY1C0xU5pH4=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FWeather%2Fpreview.png">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>Bh0oq+JRTpgSaAfBqA+NrRvcYke2QhsvqqcDC8NvTSk=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="#prop">
|
||||
<Transforms>
|
||||
<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
|
||||
</Transforms>
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
|
||||
</Reference>
|
||||
</SignedInfo>
|
||||
<SignatureValue>
|
||||
meS0idpppk+6tfWo1Idb1aIwG0iIwPVzZiHNp8Gg9Wh/Cfb65ic4nrebKV7lTySYVcWPkRk6bK0/
|
||||
hjW+j6Uy69TqymHHg18aAxbmpIQ8mkjdgm0nOVO9vyQZm71elpOWH6u9usHCUGXqgQBa2rTjL6Rk
|
||||
5sB7BytmzuFs5946EOY=
|
||||
</SignatureValue>
|
||||
<KeyInfo>
|
||||
<X509Data>
|
||||
<X509Certificate>
|
||||
MIIClTCCAX2gAwIBAgIGAW4xcbcgMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
|
||||
c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
|
||||
ZWxvcGVycyBDQTAeFw0xOTExMDMxMzI2MDZaFw0yNzAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
|
||||
dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAs45GeGOt5YkpnhCi2XDgxIeiOwyAJYow
|
||||
qXixTXBWtGLoGmNXjh9iMBea2/fN2ieBTEerx3vpfTe1n/tkgvtnlzSQIsD9ebHNucGvSTpLXOro
|
||||
TUnRoifZob3nFCsQkjP5oGPMYJemMtnxE8Q4I2FEe0YWiBi1F++askRCd61v9F8CAwEAAaMyMDAw
|
||||
DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
|
||||
AQEFBQADggEBAIcmu4RKlGBfO87N73ZfjO8hRf//YiTB7ch1mquP6UB0NQ+9VguTRgWnnrb+eUC1
|
||||
x8vc+fLqMeVS0NQ2rRszQFkQQxbNusGlReIZfgUMOTq+wxBzEnA63eFQah4iXNfjM0+PAmc5gPnE
|
||||
56Shibj4hKtef/fEbjRxfmydtBbv8ZWvnqAes8xRgpSYgC7pjbQmZGV2fUw8qB52HMJeo1y36EYd
|
||||
8zQaMAy6/fGRJc0fXXPjyoQ6i779zeZ83+Y4Vn5Eoc/gWAat39QkxZhiZH83we1pHh0rNIZbVMwf
|
||||
zTYClDXAzZS9heBM/B3xA9azOWXrXIOudim9RKGqjmoF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GPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
|
||||
+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
|
||||
W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
|
||||
</X509Certificate>
|
||||
</X509Data>
|
||||
</KeyInfo>
|
||||
<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#AuthorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
|
||||
</Signature>
|
||||
116
Samsung/HomeMonitor/.sign/signature1.xml
Normal file
@@ -0,0 +1,116 @@
|
||||
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="DistributorSignature">
|
||||
<SignedInfo>
|
||||
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
|
||||
<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"></SignatureMethod>
|
||||
<Reference URI=".vscode%2Flaunch.json">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>0uRQnanRSUnd9Oq5lW8amg++ggDBrt9/eS0BlpG6C9c=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI=".vscode%2Ftasks.json">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>+8g1NekbkFu8hTdyPcUpVunSd8rdNcZHG383A8zSZ28=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="author-signature.xml">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>Looxb5zSz6UcxnRCZ3cVtBZN7gwZqtiZKRm3Zi3PMSs=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="build.ps1">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>pU48QohI6oUd9EEMLmeshV9EwvIDUcodXXX/yi/jNcg=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="config.xml">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>HgXGR8StobJzVT4+AbPHOA054qDFg+eSqbGWXT+oltA=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="icon.png">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>vPjxjOppORd6hn9Bw4sh06gqtDoJzoFbV/8e9FyIdvk=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="index.html">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>xkcWZSnw1CbWWJHTI3u4LO4ptkTESbElI2UOx+mCfRM=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="launch.ps1">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>fqTS+jF01wh8+Vn557kzS7+CxcoLEFmabpTrBdPIBTg=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FPower%2Fcss%2Fstyle.css">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>8+w2dqnW48J1yGtKyoCjwvKDhLQ4zWjpB9Q2cQCwNcs=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FPower%2Findex.html">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>era6A42TuZeikZia0wVNJmQrh62H0c7rMC8/6v3sMxg=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FPower%2Fjs%2Fmain.js">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>4V6wNgJwWDEywrlZm8qLzzC3M3ol/7p87Euxw3W0Hmw=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FPower%2Fpreview.png">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>Bh0oq+JRTpgSaAfBqA+NrRvcYke2QhsvqqcDC8NvTSk=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FWeather%2Fcss%2Fstyle.css">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>8+w2dqnW48J1yGtKyoCjwvKDhLQ4zWjpB9Q2cQCwNcs=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FWeather%2Findex.html">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>VXP8c0ljMCRikTndGxXspJ4QkGxYAPA/qq/CDIaPBNw=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FWeather%2Fjs%2Fmain.js">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>rS1OAohngQNnhEHl1kdKxu4n51nxL78CxY1C0xU5pH4=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="widget%2FWeather%2Fpreview.png">
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>Bh0oq+JRTpgSaAfBqA+NrRvcYke2QhsvqqcDC8NvTSk=</DigestValue>
|
||||
</Reference>
|
||||
<Reference URI="#prop">
|
||||
<Transforms>
|
||||
<Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"></Transform>
|
||||
</Transforms>
|
||||
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod>
|
||||
<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
|
||||
</Reference>
|
||||
</SignedInfo>
|
||||
<SignatureValue>
|
||||
MollGOhi83yqL226rwYi0Qf9+BZBiOfvDvu/sOtWZSkTg/WmNG0OjhiqbJm3+9hBr6iHJTzBBVlW
|
||||
pj/GN8lZO0Iv5MIh7JDhpfNmHf6uT5D56dCiPOLiJGfNjWFJtE07Bly9skSYBopJPEZO7Mm9HchQ
|
||||
tq44vraZU4zzzBlBZvU=
|
||||
</SignatureValue>
|
||||
<KeyInfo>
|
||||
<X509Data>
|
||||
<X509Certificate>
|
||||
MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
|
||||
BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
|
||||
CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
|
||||
aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
|
||||
MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
|
||||
IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
|
||||
YyBEa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4GNADCBiQKBgQDe
|
||||
OTS/3nXvkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+x6jl1raGK2Y1sp2Gdvpjc/z92yzAp
|
||||
bE/UVLPh/tRNZPeGhzU4ejDDm7kzdr2f7Ia0U98K+OoY12ucwg7TYNItj9is7Cj4blGfuMDzd2ah
|
||||
2AgnCGlwNwV/pv+uVQIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBACqJ
|
||||
KO33YdoGudwanZIxMdXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
|
||||
yc3qckGm19dW+4xdlkekon7pViEBWuyHw8OWv3RXtTum1+PGHjBJ2eYY4ZKIpz73U/1NC16sTB/0
|
||||
VhfnkHwPltmrpYVe
|
||||
</X509Certificate>
|
||||
</X509Data>
|
||||
</KeyInfo>
|
||||
<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp:Role></SignatureProperty><SignatureProperty Id="identifier" Target="#DistributorSignature"><dsp:Identifier></dsp:Identifier></SignatureProperty></SignatureProperties></Object>
|
||||
</Signature>
|
||||
11
Samsung/HomeMonitor/.tproject
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<tproject xmlns="http://www.tizen.org/tproject">
|
||||
<platforms>
|
||||
<platform>
|
||||
<name>wearable-4.0</name>
|
||||
</platform>
|
||||
</platforms>
|
||||
<package>
|
||||
<blacklist/>
|
||||
</package>
|
||||
</tproject>
|
||||
12
Samsung/HomeMonitor/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "PowerShell",
|
||||
"request": "launch",
|
||||
"name": "Launch",
|
||||
"script": "./launch.ps1",
|
||||
"args": []
|
||||
}
|
||||
]
|
||||
}
|
||||
14
Samsung/HomeMonitor/.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build",
|
||||
"type": "shell",
|
||||
"command": "./build.ps1",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
7
Samsung/HomeMonitor/build.ps1
Normal file
@@ -0,0 +1,7 @@
|
||||
tizen build-web
|
||||
tizen package -t wgt -- .buildResult/
|
||||
|
||||
$sdb = 'C:\tizen-studio\tools\sdb'
|
||||
|
||||
& $sdb install .buildResult/HomeMonitor.wgt
|
||||
& $sdb shell "app_launcher -s M5aPw28OEp.HomeMonitor.Power"
|
||||
23
Samsung/HomeMonitor/config.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/HomeMonitor" version="1.0.0">
|
||||
<tizen:app-widget id="M5aPw28OEp.HomeMonitor.Power" primary="true">
|
||||
<tizen:widget-label>Power</tizen:widget-label>
|
||||
<tizen:widget-content src="widget/Power/index.html">
|
||||
<tizen:widget-size preview="widget/Power/preview.png">2x2</tizen:widget-size>
|
||||
</tizen:widget-content>
|
||||
</tizen:app-widget>
|
||||
<tizen:app-widget id="M5aPw28OEp.HomeMonitor.Weather" primary="false">
|
||||
<tizen:widget-label>Weather</tizen:widget-label>
|
||||
<tizen:widget-content src="widget/Weather/index.html">
|
||||
<tizen:widget-size preview="widget/Weather/preview.png">2x2</tizen:widget-size>
|
||||
</tizen:widget-content>
|
||||
</tizen:app-widget>
|
||||
<tizen:application id="M5aPw28OEp.HomeMonitor" package="M5aPw28OEp" required_version="4.0"/>
|
||||
<content src="index.html"/>
|
||||
<feature name="http://tizen.org/feature/screen.size.normal"/>
|
||||
<icon src="icon.png"/>
|
||||
<name>HomeMonitor</name>
|
||||
<name xml:lang="en-us">Home Monitor</name>
|
||||
<tizen:privilege name="http://tizen.org/privilege/internet"/>
|
||||
<tizen:profile name="wearable"/>
|
||||
</widget>
|
||||
BIN
Samsung/HomeMonitor/icon.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
56
Samsung/HomeMonitor/index.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
||||
<meta name="description" content="Tizen Wearable Web Widget template generated by Samsung Wearable Web IDE" />
|
||||
|
||||
<title>Tizen Wearable Web IDE - Tizen Wearable - Tizen Wearable Web Widget Application</title>
|
||||
<style>
|
||||
* {
|
||||
font-family: Verdana, Lucida Sans, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 20px 20px;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
.contents {
|
||||
display: flex;
|
||||
display: -webkit-flex;
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
height: 320px;
|
||||
}
|
||||
|
||||
.content_text {
|
||||
font-weight: bold;
|
||||
font-size: 2em;
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
window.onload = function () {
|
||||
document.addEventListener('tizenhwkey', function (e) {
|
||||
if (e.keyName === "back") {
|
||||
try {
|
||||
tizen.application.getCurrentApplication().exit();
|
||||
} catch (ignore) {
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class=contents>
|
||||
<div style='margin:auto;'>
|
||||
<span class=content_text id=textbox>Try to add a widget on the home</span>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
4
Samsung/HomeMonitor/launch.ps1
Normal file
@@ -0,0 +1,4 @@
|
||||
$sdb = 'C:\tizen-studio\tools\sdb'
|
||||
|
||||
& $sdb install .buildResult/HomeMonitor.wgt
|
||||
& $sdb shell "app_launcher -s M5aPw28OEp.HomeMonitor.Power"
|
||||
41
Samsung/HomeMonitor/widget/Power/css/style.css
Normal file
@@ -0,0 +1,41 @@
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
position: relative;
|
||||
margin-top: 55px;
|
||||
}
|
||||
|
||||
.row {
|
||||
text-align: center;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.image {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.text {
|
||||
font-size: 40px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
#consumption-value {
|
||||
padding-left: 4px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
}
|
||||
|
||||
#generation-value {
|
||||
padding-left: 14px;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
BIN
Samsung/HomeMonitor/widget/Power/images/power.png
Normal file
|
After Width: | Height: | Size: 470 B |
BIN
Samsung/HomeMonitor/widget/Power/images/sun.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
29
Samsung/HomeMonitor/widget/Power/index.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||
<script src="js/main.js"></script>
|
||||
</head>
|
||||
|
||||
<body id="body">
|
||||
<div class="row">
|
||||
<div class="image">
|
||||
<img src="images/power.png" height="60" width="60">
|
||||
</div>
|
||||
<div id="consumption-value" class="text">
|
||||
----
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="image">
|
||||
<img src="images/sun.png" height="60" width="60">
|
||||
</div>
|
||||
<div id="generation-value" class="text">
|
||||
----
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
53
Samsung/HomeMonitor/widget/Power/js/main.js
Normal file
@@ -0,0 +1,53 @@
|
||||
(function () {
|
||||
var ADDRESS = "http://home.kaczorzoo.net/api/power/status/recent";
|
||||
|
||||
function getDataFromXML() {
|
||||
document.getElementById("generation-value").textContent = "----";
|
||||
document.getElementById("consumption-value").textContent = "----";
|
||||
|
||||
setTimeout(function () {
|
||||
try {
|
||||
var xmlhttp = new XMLHttpRequest();
|
||||
|
||||
xmlhttp.open("GET", ADDRESS, true);
|
||||
xmlhttp.onreadystatechange = function () {
|
||||
if (xmlhttp.readyState === 4 && xmlhttp.status === 200) {
|
||||
var xmlDoc = xmlhttp.response;
|
||||
|
||||
var data = JSON.parse(xmlDoc);
|
||||
|
||||
document.getElementById("generation-value").textContent = (data.generation < 0 ? 0 : data.generation) + ' W';
|
||||
document.getElementById("consumption-value").textContent = data.consumption + ' W';
|
||||
|
||||
xmlhttp = null;
|
||||
} else {
|
||||
document.getElementById("generation-value").textContent = "Error";
|
||||
document.getElementById("consumption-value").textContent = "Error";
|
||||
}
|
||||
};
|
||||
|
||||
xmlhttp.send();
|
||||
}
|
||||
catch (e) {
|
||||
document.getElementById("generation-value").textContent = "Error";
|
||||
document.getElementById("consumption-value").textContent = "Error";
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
|
||||
function handleVisibilityChange() {
|
||||
if (document.visibilityState === 'visible') {
|
||||
getDataFromXML();
|
||||
}
|
||||
}
|
||||
|
||||
function init() {
|
||||
document.getElementById("body").addEventListener("click", getDataFromXML);
|
||||
|
||||
document.addEventListener("visibilitychange", handleVisibilityChange);
|
||||
|
||||
getDataFromXML();
|
||||
}
|
||||
|
||||
window.onload = init;
|
||||
}());
|
||||
BIN
Samsung/HomeMonitor/widget/Power/preview.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
33
Samsung/HomeMonitor/widget/Weather/css/style.css
Normal file
@@ -0,0 +1,33 @@
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
position: relative;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.row {
|
||||
text-align: center;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.image {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.text {
|
||||
font-size: 40px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.left-text {
|
||||
padding-right: 10px;
|
||||
}
|
||||
BIN
Samsung/HomeMonitor/widget/Weather/images/humidity.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Samsung/HomeMonitor/widget/Weather/images/light.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Samsung/HomeMonitor/widget/Weather/images/pressure.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Samsung/HomeMonitor/widget/Weather/images/temperature.png
Normal file
|
After Width: | Height: | Size: 856 B |
45
Samsung/HomeMonitor/widget/Weather/index.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||
<script src="js/main.js"></script>
|
||||
</head>
|
||||
|
||||
<body id="body">
|
||||
<div class="row">
|
||||
<div class="image">
|
||||
<img src="images/temperature.png" height="60" width="60">
|
||||
</div>
|
||||
<div id="temperature-value" class="text left-text">
|
||||
----
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="image">
|
||||
<img src="images/humidity.png" height="60" width="60">
|
||||
</div>
|
||||
<div id="humidity-value" class="text">
|
||||
----
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="image">
|
||||
<img src="images/pressure.png" height="60" width="60">
|
||||
</div>
|
||||
<div id="pressure-value" class="text left-text">
|
||||
----
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="image">
|
||||
<img src="images/light.png" height="60" width="60">
|
||||
</div>
|
||||
<div id="light-value" class="text">
|
||||
----
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
61
Samsung/HomeMonitor/widget/Weather/js/main.js
Normal file
@@ -0,0 +1,61 @@
|
||||
(function () {
|
||||
var ADDRESS = "http://home.kaczorzoo.net/api/weather/readings/recent";
|
||||
|
||||
function getDataFromXML() {
|
||||
document.getElementById("temperature-value").textContent = "----";
|
||||
document.getElementById("humidity-value").textContent = "----";
|
||||
document.getElementById("pressure-value").textContent = "----";
|
||||
document.getElementById("light-value").textContent = "----";
|
||||
|
||||
setTimeout(function () {
|
||||
try {
|
||||
var xmlhttp = new XMLHttpRequest();
|
||||
|
||||
xmlhttp.open("GET", ADDRESS, true);
|
||||
xmlhttp.onreadystatechange = function () {
|
||||
if (xmlhttp.readyState === 4 && xmlhttp.status === 200) {
|
||||
var xmlDoc = xmlhttp.response;
|
||||
|
||||
var data = JSON.parse(xmlDoc);
|
||||
|
||||
document.getElementById("temperature-value").textContent = data.humidityTemperature.toFixed(1) + '°F';
|
||||
document.getElementById("humidity-value").textContent = data.humidity.toFixed(1) + '%';
|
||||
document.getElementById("pressure-value").textContent = (data.pressure / 33.864 / 100).toFixed(1) + '"';
|
||||
document.getElementById("light-value").textContent = data.lightLevel.toFixed(1) + '%';
|
||||
|
||||
xmlhttp = null;
|
||||
} else {
|
||||
document.getElementById("temperature-value").textContent = "Error";
|
||||
document.getElementById("humidity-value").textContent = "Error";
|
||||
document.getElementById("pressure-value").textContent = "Error";
|
||||
document.getElementById("light-value").textContent = "Error";
|
||||
}
|
||||
};
|
||||
|
||||
xmlhttp.send();
|
||||
}
|
||||
catch (e) {
|
||||
document.getElementById("temperature-value").textContent = "Error";
|
||||
document.getElementById("humidity-value").textContent = "Error";
|
||||
document.getElementById("pressure-value").textContent = "Error";
|
||||
document.getElementById("light-value").textContent = "Error";
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
|
||||
function handleVisibilityChange() {
|
||||
if (document.visibilityState === 'visible') {
|
||||
getDataFromXML();
|
||||
}
|
||||
}
|
||||
|
||||
function init() {
|
||||
document.getElementById("body").addEventListener("click", getDataFromXML);
|
||||
|
||||
document.addEventListener("visibilitychange", handleVisibilityChange);
|
||||
|
||||
getDataFromXML();
|
||||
}
|
||||
|
||||
window.onload = init;
|
||||
}());
|
||||
BIN
Samsung/HomeMonitor/widget/Weather/preview.png
Normal file
|
After Width: | Height: | Size: 14 KiB |