Commit 46060fcf authored by Eric Seidel's avatar Eric Seidel

Add Fitness.apk with icon

This is just one of many steps in preparation for turning
fitness into a play-store ready app.

@abarth @collinjackson
parent 9c4ed3f8
...@@ -7,6 +7,7 @@ group("example") { ...@@ -7,6 +7,7 @@ group("example") {
deps = [ deps = [
"//sky/packages/sky/example/demo_launcher", "//sky/packages/sky/example/demo_launcher",
"//sky/packages/sky/example/fitness",
"//sky/packages/sky/example/game", "//sky/packages/sky/example/game",
"//sky/packages/sky/example/mine_digger", "//sky/packages/sky/example/mine_digger",
"//sky/packages/sky/example/rendering", "//sky/packages/sky/example/rendering",
......
...@@ -4,3 +4,5 @@ and is public domain. ...@@ -4,3 +4,5 @@ and is public domain.
Icon resources were generated using: Icon resources were generated using:
http://romannurik.github.io/AndroidAssetStudio/icons-launcher.html http://romannurik.github.io/AndroidAssetStudio/icons-launcher.html
which produces art under CC 3.0:
http://creativecommons.org/licenses/by/3.0/
...@@ -2,12 +2,17 @@ ...@@ -2,12 +2,17 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
assert(is_android)
import("//sky/build/sky_app.gni") import("//sky/build/sky_app.gni")
sky_app("fitness") { sky_app("fitness") {
apk_name = "Fitness"
main_dart = "lib/main.dart" main_dart = "lib/main.dart"
manifest = "sky.yaml" manifest = "sky.yaml"
if (is_android) {
apk_name = "Fitness"
deps = [
"//sky/packages/sky/example/fitness/apk:resources",
]
}
} }
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
found in the LICENSE file. found in the LICENSE file.
--> -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.domokit.fitness"> package="org.domokit.fitness" android:versionCode="1" android:versionName="0.0.1">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" /> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
<application android:name="org.domokit.sky.shell.SkyApplication" android:label="Fitness"> <application android:icon="@mipmap/ic_launcher" android:name="org.domokit.sky.shell.SkyApplication" android:label="Fitness">
<activity android:name="org.domokit.sky.shell.SkyActivity" <activity android:name="org.domokit.sky.shell.SkyActivity"
android:launchMode="singleTask" android:launchMode="singleTask"
android:theme="@android:style/Theme.Black.NoTitleBar" android:theme="@android:style/Theme.Black.NoTitleBar"
......
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
assert(is_android)
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
android_resources("resources") {
resource_dirs = [ "res" ]
android_manifest = "AndroidManifest.xml"
}
Icon image comes from:
https://openclipart.org/detail/22309/apple-icon
and is public domain.
Icon resources were generated using:
http://romannurik.github.io/AndroidAssetStudio/icons-launcher.html
with settings:
http://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=image&foreground.space.trim=1&foreground.space.pad=0&foreColor=607d8b%2C0&crop=0&backgroundShape=none&backColor=ffffff%2C100&effects=none
which produces art under CC 3.0:
http://creativecommons.org/licenses/by/3.0/
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
This diff was suppressed by a .gitattributes entry.
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
found in the LICENSE file. found in the LICENSE file.
--> -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.domokit.stocks"> package="org.domokit.stocks" android:versionCode="1" android:versionName="0.0.1">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" /> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment