JaroslavTulach at 07:04, 26 September 2015 - 2015-09-26 07:04:50

←Older revision Revision as of 07:04, 26 September 2015
Line 1: Line 1:
Time to upgrade old [[MineSweeper]] on [[wikipedia:Google Play|Google Play]] store with new version! Today's [[I]] did it. The steps are actually still the same as a year ago. Here are the notes, useful for me and others who would consider publishing [[DukeScript]] app there:
Time to upgrade old [[MineSweeper]] on [[wikipedia:Google Play|Google Play]] store with new version! Today's [[I]] did it. The steps are actually still the same as a year ago. Here are the notes, useful for me and others who would consider publishing [[DukeScript]] app there:
-
[[MineSweeper]] is now hosted on a [[GitHub]] and the version used before releasing was [https://github.com/jtulach/minesweeper/commit/8bcb365e5b2e6d63dce15d4453b030c16a3dbb47|8bcb365]. Then it was necessary to just apply these changes:
+
[[MineSweeper]] is now hosted on a [[GitHub]] and the version used before releasing was [https://github.com/jtulach/minesweeper/commit/8bcb365e5b2e6d63dce15d4453b030c16a3dbb4 8bcb365]. Then it was necessary to just apply these changes:
<source lang="diff">
<source lang="diff">
Line 22: Line 22:
</source>
</source>
-
The final state of the repository, ready for [[GooglePlay]] upload is recorded as [https://github.com/jtulach/minesweeper/commit/35a46c493118026abe5ea2dfc702e746b624cbb0|35a46c4] changeset. After applying the patch following commands were executed:
+
The final state of the repository, ready for [[GooglePlay]] upload is recorded as [https://github.com/jtulach/minesweeper/commit/35a46c493118026abe5ea2dfc702e746b624cbb0 35a46c4] changeset. After applying the patch following commands were executed:
<source lang="bash">
<source lang="bash">

JaroslavTulach at 07:04, 26 September 2015 - 2015-09-26 07:04:11

←Older revision Revision as of 07:04, 26 September 2015
Line 1: Line 1:
-
Today I decided to publish my [[MineSweeper]] on [[wikipedia:Google Play|Google Play]] store. Here are some notes, for me and others who would consider publishing [[DukeScript]] app there:
+
Time to upgrade old [[MineSweeper]] on [[wikipedia:Google Play|Google Play]] store with new version! Today's [[I]] did it. The steps are actually still the same as a year ago. Here are the notes, useful for me and others who would consider publishing [[DukeScript]] app there:
-
The repository snapshot used:
+
[[MineSweeper]] is now hosted on a [[GitHub]] and the version used before releasing was [https://github.com/jtulach/minesweeper/commit/8bcb365e5b2e6d63dce15d4453b030c16a3dbb47|8bcb365]. Then it was necessary to just apply these changes:
-
http://source.apidesign.org/hg/html~demo/rev/fce7972a0078
+
<source lang="diff">
<source lang="diff">
Line 20: Line 19:
<sdk>
<sdk>
<platform>19</platform>
<platform>19</platform>
 +
</source>
</source>
-
After applying the patch following commands were executed:
+
The final state of the repository, ready for [[GooglePlay]] upload is recorded as [https://github.com/jtulach/minesweeper/commit/35a46c493118026abe5ea2dfc702e746b624cbb0|35a46c4] changeset. After applying the patch following commands were executed:
<source lang="bash">
<source lang="bash">
$ cd minesweeper
$ cd minesweeper
-
$ mvn clean install -Pdlvkbrwsr
+
$ mvn clean install
 +
$ cd client-android
</source>
</source>
-
Here I had to use patched version of android [[Maven]] plugin, to make sure mp3 remain uncompressed:
+
And then signing and ''zipalign''ing:
-
https://github.com/jtulach/maven-android-plugin/commit/43f7ace88fe42e5bd7243b2743403300f21fc627
+
<source lang="bash">
<source lang="bash">
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 target/mine*apk dlvkbrwsr
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 target/mine*apk dlvkbrwsr
-
$ sdk/tools/zipalign -f -v 4 ~/minesweeper-2.0.apk
+
$ sdk/tools/zipalign -f -v 4 target/mine*apk ~/minesweeper-3.0.apk
</source>
</source>
-
Looks like my application is available be at https://play.google.com/store/apps/details?id=org.apidesign.demo.minesweeper - time to publish it to [[AppStore]].
+
Looks like my application is available be at https://play.google.com/store/apps/details?id=org.apidesign.demo.minesweeper - time to re-publish it to [[AppStore]].

JaroslavTulach at 20:06, 26 July 2014 - 2014-07-26 20:06:35

←Older revision Revision as of 20:06, 26 July 2014
Line 37: Line 37:
</source>
</source>
-
Once available, the application should be at https://play.google.com/store/apps/details?id=org.apidesign.demo.minesweeper
+
Looks like my application is available be at https://play.google.com/store/apps/details?id=org.apidesign.demo.minesweeper - time to publish it to [[AppStore]].

JaroslavTulach at 04:53, 26 July 2014 - 2014-07-26 04:53:58

←Older revision Revision as of 04:53, 26 July 2014
Line 27: Line 27:
$ cd minesweeper
$ cd minesweeper
$ mvn clean install -Pdlvkbrwsr
$ mvn clean install -Pdlvkbrwsr
 +
</source>
 +
 +
Here I had to use patched version of android [[Maven]] plugin, to make sure mp3 remain uncompressed:
 +
https://github.com/jtulach/maven-android-plugin/commit/43f7ace88fe42e5bd7243b2743403300f21fc627
 +
 +
<source lang="bash">
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 target/mine*apk dlvkbrwsr
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 target/mine*apk dlvkbrwsr
$ sdk/tools/zipalign -f -v 4 ~/minesweeper-2.0.apk
$ sdk/tools/zipalign -f -v 4 ~/minesweeper-2.0.apk

JaroslavTulach at 20:50, 25 July 2014 - 2014-07-25 20:50:01

←Older revision Revision as of 20:50, 25 July 2014
Line 30: Line 30:
$ sdk/tools/zipalign -f -v 4 ~/minesweeper-2.0.apk
$ sdk/tools/zipalign -f -v 4 ~/minesweeper-2.0.apk
</source>
</source>
 +
 +
Once available, the application should be at https://play.google.com/store/apps/details?id=org.apidesign.demo.minesweeper

JaroslavTulach: New page: Today I decided to publish my MineSweeper on Google Play store. Here are some notes, for me and others who would consider publishing DukeScript app there:... - 2014-07-25 20:47:47

New page: Today I decided to publish my MineSweeper on Google Play store. Here are some notes, for me and others who would consider publishing DukeScript app there:...

New page

Today I decided to publish my [[MineSweeper]] on [[wikipedia:Google Play|Google Play]] store. Here are some notes, for me and others who would consider publishing [[DukeScript]] app there:

The repository snapshot used:
http://source.apidesign.org/hg/html~demo/rev/fce7972a0078

<source lang="diff">
diff -r fce7972a0078 minesweeper/pom.xml
--- a/minesweeper/pom.xml Fri Jul 25 21:20:27 2014 +0200
+++ b/minesweeper/pom.xml Fri Jul 25 22:45:00 2014 +0200
@@ -349,7 +349,10 @@
<resourceDirectory>target/res</resourceDirectory>
<classifier>apk</classifier>
<attachJar>false</attachJar>
- <apkDebug>debug</apkDebug>
+ <release>true</release>
+ <sign>
+ <debug>false</debug>
+ </sign>
<assetsDirectory>src/main/webapp</assetsDirectory>
<sdk>
<platform>19</platform>
</source>

After applying the patch following commands were executed:

<source lang="bash">
$ cd minesweeper
$ mvn clean install -Pdlvkbrwsr
$ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 target/mine*apk dlvkbrwsr
$ sdk/tools/zipalign -f -v 4 ~/minesweeper-2.0.apk
</source>