Adding profile for Android execution minesweeper
authorJaroslav Tulach <jtulach@netbeans.org>
Tue, 11 Feb 2014 16:53:26 +0100
branchminesweeper
changeset 810d274f085dac
parent 80 ec060bb2b997
child 82 28985adb4f62
Adding profile for Android execution
minesweeper/AndroidManifest.xml
minesweeper/nbactions-dlvkbrwsr.xml
minesweeper/pom.xml
minesweeper/res/drawable-hdpi/ic_launcher.png
minesweeper/res/drawable-mdpi/ic_launcher.png
minesweeper/res/drawable-xhdpi/ic_launcher.png
minesweeper/res/drawable-xxhdpi/ic_launcher.png
minesweeper/res/layout/activity_main.xml
minesweeper/res/menu/main.xml
minesweeper/res/values-sw600dp/dimens.xml
minesweeper/res/values-sw720dp-land/dimens.xml
minesweeper/res/values-v11/styles.xml
minesweeper/res/values-v14/styles.xml
minesweeper/res/values/dimens.xml
minesweeper/res/values/strings.xml
minesweeper/res/values/styles.xml
minesweeper/src/main/webapp/pages/mines-phone-small.css
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/minesweeper/AndroidManifest.xml	Tue Feb 11 16:53:26 2014 +0100
     1.3 @@ -0,0 +1,55 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<!--
     1.6 +
     1.7 +    The MIT License (MIT)
     1.8 +
     1.9 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    1.10 +
    1.11 +    Permission is hereby granted, free of charge, to any person obtaining a copy
    1.12 +    of this software and associated documentation files (the "Software"), to deal
    1.13 +    in the Software without restriction, including without limitation the rights
    1.14 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    1.15 +    copies of the Software, and to permit persons to whom the Software is
    1.16 +    furnished to do so, subject to the following conditions:
    1.17 +
    1.18 +    The above copyright notice and this permission notice shall be included in
    1.19 +    all copies or substantial portions of the Software.
    1.20 +
    1.21 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    1.22 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    1.23 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    1.24 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    1.25 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    1.26 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    1.27 +    THE SOFTWARE.
    1.28 +
    1.29 +-->
    1.30 +<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    1.31 +    package="org.apidesign.demo.minesweeper"
    1.32 +    android:versionCode="1"
    1.33 +    android:versionName="1.0-SNAPSHOT" >
    1.34 +
    1.35 +    <uses-sdk
    1.36 +        android:minSdkVersion="8"
    1.37 +        android:targetSdkVersion="16" />
    1.38 +
    1.39 +    <uses-permission android:name="android.permission.INTERNET" />
    1.40 +    <application
    1.41 +        android:allowBackup="true"
    1.42 +        android:icon="@drawable/ic_launcher"
    1.43 +        android:label="@string/app_name"
    1.44 +        android:theme="@style/AppTheme">
    1.45 +        <activity android:name="org.apidesign.html.dlvkbrwsr.DlvkBrwsr" 
    1.46 +                  android:configChanges="orientation|screenSize">
    1.47 +            <intent-filter>
    1.48 +                <action android:name="android.intent.action.MAIN" />
    1.49 +
    1.50 +                <category android:name="android.intent.category.LAUNCHER" />
    1.51 +            </intent-filter>
    1.52 +        </activity>
    1.53 +        <meta-data android:name="loadPage" android:value="file:///android_asset/pages/index.html" />
    1.54 +        <meta-data android:name="loadClass" android:value="org.apidesign.demo.minesweeper.Main" />
    1.55 +        <meta-data android:name="invoke" android:value="onPageLoad" />
    1.56 +    </application>
    1.57 +    
    1.58 +</manifest>
    1.59 \ No newline at end of file
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/minesweeper/nbactions-dlvkbrwsr.xml	Tue Feb 11 16:53:26 2014 +0100
     2.3 @@ -0,0 +1,36 @@
     2.4 +<?xml version="1.0" encoding="UTF-8"?>
     2.5 +<!--
     2.6 +
     2.7 +    The MIT License (MIT)
     2.8 +
     2.9 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    2.10 +
    2.11 +    Permission is hereby granted, free of charge, to any person obtaining a copy
    2.12 +    of this software and associated documentation files (the "Software"), to deal
    2.13 +    in the Software without restriction, including without limitation the rights
    2.14 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    2.15 +    copies of the Software, and to permit persons to whom the Software is
    2.16 +    furnished to do so, subject to the following conditions:
    2.17 +
    2.18 +    The above copyright notice and this permission notice shall be included in
    2.19 +    all copies or substantial portions of the Software.
    2.20 +
    2.21 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    2.22 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    2.23 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    2.24 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    2.25 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    2.26 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    2.27 +    THE SOFTWARE.
    2.28 +
    2.29 +-->
    2.30 +<actions>
    2.31 +    <action>
    2.32 +        <actionName>run</actionName>
    2.33 +        <goals>
    2.34 +            <goal>package</goal>
    2.35 +            <goal>android:deploy</goal>
    2.36 +            <goal>android:run</goal>
    2.37 +        </goals>
    2.38 +    </action>
    2.39 +</actions>
     3.1 --- a/minesweeper/pom.xml	Mon Feb 10 17:22:14 2014 +0100
     3.2 +++ b/minesweeper/pom.xml	Tue Feb 11 16:53:26 2014 +0100
     3.3 @@ -78,6 +78,11 @@
     3.4          <version>${net.java.html.version}</version>
     3.5      </dependency>
     3.6      <dependency>
     3.7 +        <groupId>org.netbeans.html</groupId>
     3.8 +        <artifactId>ko4j</artifactId>
     3.9 +        <version>${net.java.html.version}</version>
    3.10 +    </dependency>
    3.11 +    <dependency>
    3.12        <groupId>org.testng</groupId>
    3.13        <artifactId>testng</artifactId>
    3.14        <version>6.7</version>
    3.15 @@ -115,12 +120,6 @@
    3.16            <dependencies>
    3.17              <dependency>
    3.18                  <groupId>org.netbeans.html</groupId>
    3.19 -                <artifactId>ko4j</artifactId>
    3.20 -                <version>${net.java.html.version}</version>
    3.21 -                <scope>runtime</scope>
    3.22 -            </dependency>
    3.23 -            <dependency>
    3.24 -                <groupId>org.netbeans.html</groupId>
    3.25                  <artifactId>net.java.html.boot.fx</artifactId>
    3.26                  <version>${net.java.html.version}</version>
    3.27                  <scope>runtime</scope>
    3.28 @@ -205,5 +204,100 @@
    3.29                </dependency>
    3.30            </dependencies>
    3.31        </profile>
    3.32 +      <profile>
    3.33 +          <id>dlvkbrwsr</id>
    3.34 +          <activation>
    3.35 +              <property>
    3.36 +                  <name>android.sdk.path</name>
    3.37 +              </property>
    3.38 +          </activation>
    3.39 +          <properties>
    3.40 +              <platform.version>4.1.1.4</platform.version>
    3.41 +              <android.plugin.version>3.7.0</android.plugin.version>
    3.42 +              <debug>false</debug>
    3.43 +          </properties>
    3.44 +          <dependencies>
    3.45 +              <dependency>
    3.46 +                  <groupId>com.google.android</groupId>
    3.47 +                  <artifactId>android</artifactId>
    3.48 +                  <version>${platform.version}</version>
    3.49 +                  <scope>provided</scope>
    3.50 +              </dependency>
    3.51 +              <dependency>
    3.52 +                  <groupId>org.netbeans.html</groupId>
    3.53 +                  <artifactId>ko-ws-tyrus</artifactId>
    3.54 +                  <version>${net.java.html.version}</version>
    3.55 +                  <exclusions>
    3.56 +                      <exclusion>
    3.57 +                          <artifactId>org.json-osgi</artifactId>
    3.58 +                          <groupId>de.twentyeleven.skysail</groupId>
    3.59 +                      </exclusion>
    3.60 +                  </exclusions>
    3.61 +              </dependency>
    3.62 +              <dependency>
    3.63 +                  <groupId>org.apidesign.html</groupId>
    3.64 +                  <artifactId>dlvkbrwsr</artifactId>
    3.65 +                  <version>0.1-SNAPSHOT</version>
    3.66 +                  <type>jar</type>
    3.67 +              </dependency>
    3.68 +          </dependencies>
    3.69 +          <build>
    3.70 +              <plugins>
    3.71 +                  <plugin>
    3.72 +                      <groupId>com.jayway.maven.plugins.android.generation2</groupId>
    3.73 +                      <artifactId>android-maven-plugin</artifactId>
    3.74 +                      <version>${android.plugin.version}</version>
    3.75 +                      <extensions>true</extensions>
    3.76 +                      <configuration>
    3.77 +                          <classifier>apk</classifier>
    3.78 +                          <attachJar>false</attachJar>
    3.79 +                          <apkDebug>debug</apkDebug>
    3.80 +                          <assetsDirectory>src/main/webapp</assetsDirectory>
    3.81 +                          <sdk>
    3.82 +                              <platform>16</platform>
    3.83 +                          </sdk>
    3.84 +                          <apk>
    3.85 +                              <metaIncludes>
    3.86 +                                  <metaInclude>services/org.apidesign.**</metaInclude>
    3.87 +                              </metaIncludes>
    3.88 +                          </apk>
    3.89 +                          <file>${project.build.directory}/${project.build.finalName}.apk</file>
    3.90 +                      </configuration>
    3.91 +                      <executions>
    3.92 +                          <execution>
    3.93 +                              <id>apk</id>
    3.94 +                              <goals>
    3.95 +                                  <goal>apk</goal>
    3.96 +                                  <goal>dex</goal>
    3.97 +                              </goals>
    3.98 +                          </execution>
    3.99 +                      </executions>
   3.100 +                  </plugin>
   3.101 +                  <plugin>
   3.102 +                      <groupId>org.apache.maven.plugins</groupId>
   3.103 +                      <artifactId>maven-install-plugin</artifactId>
   3.104 +                      <version>2.5.1</version>
   3.105 +                      <configuration>
   3.106 +                          <groupId>${project.groupId}</groupId>
   3.107 +                          <artifactId>${project.artifactId}</artifactId>
   3.108 +                          <version>${project.version}</version>
   3.109 +                          <file>${project.build.directory}/${project.build.finalName}.apk</file>
   3.110 +                          <packaging>apk</packaging>
   3.111 +                          <skip>true</skip>
   3.112 +                      </configuration>
   3.113 +                      <executions>
   3.114 +                          <execution>
   3.115 +                              <id>install-apk</id>
   3.116 +                              <phase>install</phase>
   3.117 +                              <goals>
   3.118 +                                  <goal>install-file</goal>
   3.119 +                              </goals>
   3.120 +                          </execution>
   3.121 +                      </executions>
   3.122 +                  </plugin>
   3.123 +              </plugins>
   3.124 +          </build>
   3.125 +          
   3.126 +      </profile>
   3.127    </profiles>  
   3.128  </project>
     4.1 Binary file minesweeper/res/drawable-hdpi/ic_launcher.png has changed
     5.1 Binary file minesweeper/res/drawable-mdpi/ic_launcher.png has changed
     6.1 Binary file minesweeper/res/drawable-xhdpi/ic_launcher.png has changed
     7.1 Binary file minesweeper/res/drawable-xxhdpi/ic_launcher.png has changed
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/minesweeper/res/layout/activity_main.xml	Tue Feb 11 16:53:26 2014 +0100
     8.3 @@ -0,0 +1,40 @@
     8.4 +<!--
     8.5 +
     8.6 +    The MIT License (MIT)
     8.7 +
     8.8 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     8.9 +
    8.10 +    Permission is hereby granted, free of charge, to any person obtaining a copy
    8.11 +    of this software and associated documentation files (the "Software"), to deal
    8.12 +    in the Software without restriction, including without limitation the rights
    8.13 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    8.14 +    copies of the Software, and to permit persons to whom the Software is
    8.15 +    furnished to do so, subject to the following conditions:
    8.16 +
    8.17 +    The above copyright notice and this permission notice shall be included in
    8.18 +    all copies or substantial portions of the Software.
    8.19 +
    8.20 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    8.21 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    8.22 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    8.23 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    8.24 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    8.25 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    8.26 +    THE SOFTWARE.
    8.27 +
    8.28 +-->
    8.29 +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    8.30 +    android:layout_width="match_parent"
    8.31 +    android:layout_height="match_parent"
    8.32 +    android:paddingBottom="@dimen/activity_vertical_margin"
    8.33 +    android:paddingLeft="@dimen/activity_horizontal_margin"
    8.34 +    android:paddingRight="@dimen/activity_horizontal_margin"
    8.35 +    android:paddingTop="@dimen/activity_vertical_margin" >
    8.36 +    
    8.37 +    <Button android:layout_width="wrap_content"
    8.38 +       android:layout_height="wrap_content"
    8.39 +       android:text="@string/hello_world"
    8.40 +       android:onClick="click"
    8.41 +    />
    8.42 +    
    8.43 +</RelativeLayout>
    8.44 \ No newline at end of file
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/minesweeper/res/menu/main.xml	Tue Feb 11 16:53:26 2014 +0100
     9.3 @@ -0,0 +1,34 @@
     9.4 +<!--
     9.5 +
     9.6 +    The MIT License (MIT)
     9.7 +
     9.8 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     9.9 +
    9.10 +    Permission is hereby granted, free of charge, to any person obtaining a copy
    9.11 +    of this software and associated documentation files (the "Software"), to deal
    9.12 +    in the Software without restriction, including without limitation the rights
    9.13 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    9.14 +    copies of the Software, and to permit persons to whom the Software is
    9.15 +    furnished to do so, subject to the following conditions:
    9.16 +
    9.17 +    The above copyright notice and this permission notice shall be included in
    9.18 +    all copies or substantial portions of the Software.
    9.19 +
    9.20 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    9.21 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    9.22 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    9.23 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    9.24 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    9.25 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    9.26 +    THE SOFTWARE.
    9.27 +
    9.28 +-->
    9.29 +<menu xmlns:android="http://schemas.android.com/apk/res/android" >
    9.30 +
    9.31 +    <item
    9.32 +        android:id="@+id/action_settings"
    9.33 +        android:orderInCategory="100"
    9.34 +        android:showAsAction="never"
    9.35 +        android:title="@string/action_settings"/>
    9.36 +
    9.37 +</menu>
    9.38 \ No newline at end of file
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/minesweeper/res/values-sw600dp/dimens.xml	Tue Feb 11 16:53:26 2014 +0100
    10.3 @@ -0,0 +1,33 @@
    10.4 +<!--
    10.5 +
    10.6 +    The MIT License (MIT)
    10.7 +
    10.8 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    10.9 +
   10.10 +    Permission is hereby granted, free of charge, to any person obtaining a copy
   10.11 +    of this software and associated documentation files (the "Software"), to deal
   10.12 +    in the Software without restriction, including without limitation the rights
   10.13 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   10.14 +    copies of the Software, and to permit persons to whom the Software is
   10.15 +    furnished to do so, subject to the following conditions:
   10.16 +
   10.17 +    The above copyright notice and this permission notice shall be included in
   10.18 +    all copies or substantial portions of the Software.
   10.19 +
   10.20 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   10.21 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   10.22 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   10.23 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   10.24 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   10.25 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   10.26 +    THE SOFTWARE.
   10.27 +
   10.28 +-->
   10.29 +<resources>
   10.30 +
   10.31 +    <!--
   10.32 +         Customize dimensions originally defined in res/values/dimens.xml (such as
   10.33 +         screen margins) for sw600dp devices (e.g. 7" tablets) here.
   10.34 +    -->
   10.35 +
   10.36 +</resources>
   10.37 \ No newline at end of file
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/minesweeper/res/values-sw720dp-land/dimens.xml	Tue Feb 11 16:53:26 2014 +0100
    11.3 @@ -0,0 +1,34 @@
    11.4 +<!--
    11.5 +
    11.6 +    The MIT License (MIT)
    11.7 +
    11.8 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    11.9 +
   11.10 +    Permission is hereby granted, free of charge, to any person obtaining a copy
   11.11 +    of this software and associated documentation files (the "Software"), to deal
   11.12 +    in the Software without restriction, including without limitation the rights
   11.13 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   11.14 +    copies of the Software, and to permit persons to whom the Software is
   11.15 +    furnished to do so, subject to the following conditions:
   11.16 +
   11.17 +    The above copyright notice and this permission notice shall be included in
   11.18 +    all copies or substantial portions of the Software.
   11.19 +
   11.20 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   11.21 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   11.22 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   11.23 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   11.24 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   11.25 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   11.26 +    THE SOFTWARE.
   11.27 +
   11.28 +-->
   11.29 +<resources>
   11.30 +
   11.31 +    <!--
   11.32 +         Customize dimensions originally defined in res/values/dimens.xml (such as
   11.33 +         screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
   11.34 +    -->
   11.35 +    <dimen name="activity_horizontal_margin">128dp</dimen>
   11.36 +
   11.37 +</resources>
   11.38 \ No newline at end of file
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/minesweeper/res/values-v11/styles.xml	Tue Feb 11 16:53:26 2014 +0100
    12.3 @@ -0,0 +1,36 @@
    12.4 +<!--
    12.5 +
    12.6 +    The MIT License (MIT)
    12.7 +
    12.8 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    12.9 +
   12.10 +    Permission is hereby granted, free of charge, to any person obtaining a copy
   12.11 +    of this software and associated documentation files (the "Software"), to deal
   12.12 +    in the Software without restriction, including without limitation the rights
   12.13 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   12.14 +    copies of the Software, and to permit persons to whom the Software is
   12.15 +    furnished to do so, subject to the following conditions:
   12.16 +
   12.17 +    The above copyright notice and this permission notice shall be included in
   12.18 +    all copies or substantial portions of the Software.
   12.19 +
   12.20 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   12.21 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   12.22 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   12.23 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   12.24 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   12.25 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   12.26 +    THE SOFTWARE.
   12.27 +
   12.28 +-->
   12.29 +<resources>
   12.30 +
   12.31 +    <!--
   12.32 +        Base application theme for API 11+. This theme completely replaces
   12.33 +        AppBaseTheme from res/values/styles.xml on API 11+ devices.
   12.34 +    -->
   12.35 +    <style name="AppBaseTheme" parent="android:Theme.Holo.Light">
   12.36 +        <!-- API 11 theme customizations can go here. -->
   12.37 +    </style>
   12.38 +
   12.39 +</resources>
   12.40 \ No newline at end of file
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/minesweeper/res/values-v14/styles.xml	Tue Feb 11 16:53:26 2014 +0100
    13.3 @@ -0,0 +1,37 @@
    13.4 +<!--
    13.5 +
    13.6 +    The MIT License (MIT)
    13.7 +
    13.8 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    13.9 +
   13.10 +    Permission is hereby granted, free of charge, to any person obtaining a copy
   13.11 +    of this software and associated documentation files (the "Software"), to deal
   13.12 +    in the Software without restriction, including without limitation the rights
   13.13 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   13.14 +    copies of the Software, and to permit persons to whom the Software is
   13.15 +    furnished to do so, subject to the following conditions:
   13.16 +
   13.17 +    The above copyright notice and this permission notice shall be included in
   13.18 +    all copies or substantial portions of the Software.
   13.19 +
   13.20 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   13.21 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   13.22 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   13.23 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   13.24 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   13.25 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   13.26 +    THE SOFTWARE.
   13.27 +
   13.28 +-->
   13.29 +<resources>
   13.30 +
   13.31 +    <!--
   13.32 +        Base application theme for API 14+. This theme completely replaces
   13.33 +        AppBaseTheme from BOTH res/values/styles.xml and
   13.34 +        res/values-v11/styles.xml on API 14+ devices.
   13.35 +    -->
   13.36 +    <style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
   13.37 +        <!-- API 14 theme customizations can go here. -->
   13.38 +    </style>
   13.39 +
   13.40 +</resources>
   13.41 \ No newline at end of file
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/minesweeper/res/values/dimens.xml	Tue Feb 11 16:53:26 2014 +0100
    14.3 @@ -0,0 +1,32 @@
    14.4 +<!--
    14.5 +
    14.6 +    The MIT License (MIT)
    14.7 +
    14.8 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    14.9 +
   14.10 +    Permission is hereby granted, free of charge, to any person obtaining a copy
   14.11 +    of this software and associated documentation files (the "Software"), to deal
   14.12 +    in the Software without restriction, including without limitation the rights
   14.13 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   14.14 +    copies of the Software, and to permit persons to whom the Software is
   14.15 +    furnished to do so, subject to the following conditions:
   14.16 +
   14.17 +    The above copyright notice and this permission notice shall be included in
   14.18 +    all copies or substantial portions of the Software.
   14.19 +
   14.20 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   14.21 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   14.22 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   14.23 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   14.24 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   14.25 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   14.26 +    THE SOFTWARE.
   14.27 +
   14.28 +-->
   14.29 +<resources>
   14.30 +
   14.31 +    <!-- Default screen margins, per the Android Design guidelines. -->
   14.32 +    <dimen name="activity_horizontal_margin">16dp</dimen>
   14.33 +    <dimen name="activity_vertical_margin">16dp</dimen>
   14.34 +
   14.35 +</resources>
   14.36 \ No newline at end of file
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/minesweeper/res/values/strings.xml	Tue Feb 11 16:53:26 2014 +0100
    15.3 @@ -0,0 +1,34 @@
    15.4 +<?xml version="1.0" encoding="utf-8"?>
    15.5 +<!--
    15.6 +
    15.7 +    The MIT License (MIT)
    15.8 +
    15.9 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
   15.10 +
   15.11 +    Permission is hereby granted, free of charge, to any person obtaining a copy
   15.12 +    of this software and associated documentation files (the "Software"), to deal
   15.13 +    in the Software without restriction, including without limitation the rights
   15.14 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   15.15 +    copies of the Software, and to permit persons to whom the Software is
   15.16 +    furnished to do so, subject to the following conditions:
   15.17 +
   15.18 +    The above copyright notice and this permission notice shall be included in
   15.19 +    all copies or substantial portions of the Software.
   15.20 +
   15.21 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   15.22 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   15.23 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   15.24 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   15.25 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   15.26 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   15.27 +    THE SOFTWARE.
   15.28 +
   15.29 +-->
   15.30 +<resources>
   15.31 +
   15.32 +    <string name="app_name">Minesweeper</string>
   15.33 +    <string name="hello">Hello m4dlvk!</string>
   15.34 +    <string name="action_settings">Settings</string>
   15.35 +    <string name="hello_world">Hello world!</string>
   15.36 +
   15.37 +</resources>
   15.38 \ No newline at end of file
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/minesweeper/res/values/styles.xml	Tue Feb 11 16:53:26 2014 +0100
    16.3 @@ -0,0 +1,45 @@
    16.4 +<!--
    16.5 +
    16.6 +    The MIT License (MIT)
    16.7 +
    16.8 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    16.9 +
   16.10 +    Permission is hereby granted, free of charge, to any person obtaining a copy
   16.11 +    of this software and associated documentation files (the "Software"), to deal
   16.12 +    in the Software without restriction, including without limitation the rights
   16.13 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   16.14 +    copies of the Software, and to permit persons to whom the Software is
   16.15 +    furnished to do so, subject to the following conditions:
   16.16 +
   16.17 +    The above copyright notice and this permission notice shall be included in
   16.18 +    all copies or substantial portions of the Software.
   16.19 +
   16.20 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   16.21 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   16.22 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   16.23 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   16.24 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   16.25 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   16.26 +    THE SOFTWARE.
   16.27 +
   16.28 +-->
   16.29 +<resources>
   16.30 +
   16.31 +    <!--
   16.32 +        Base application theme, dependent on API level. This theme is replaced
   16.33 +        by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
   16.34 +    -->
   16.35 +    <style name="AppBaseTheme" parent="android:Theme.Light">
   16.36 +        <!--
   16.37 +            Theme customizations available in newer API levels can go in
   16.38 +            res/values-vXX/styles.xml, while customizations related to
   16.39 +            backward-compatibility can go here.
   16.40 +        -->
   16.41 +    </style>
   16.42 +
   16.43 +    <!-- Application theme. -->
   16.44 +    <style name="AppTheme" parent="AppBaseTheme">
   16.45 +        <!-- All customizations that are NOT specific to a particular API-level can go here. -->
   16.46 +    </style>
   16.47 +
   16.48 +</resources>
   16.49 \ No newline at end of file
    17.1 --- a/minesweeper/src/main/webapp/pages/mines-phone-small.css	Mon Feb 10 17:22:14 2014 +0100
    17.2 +++ b/minesweeper/src/main/webapp/pages/mines-phone-small.css	Tue Feb 11 16:53:26 2014 +0100
    17.3 @@ -23,8 +23,8 @@
    17.4   */
    17.5  table.field td {
    17.6      padding: 4px;
    17.7 -    width: 20px;
    17.8 -    height: 20px;
    17.9 +    width: 18px;
   17.10 +    height: 18px;
   17.11      font-size: 1.5em;
   17.12  }
   17.13  h1 {