Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
140 changes: 0 additions & 140 deletions SimpleLifeCounter.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLifeCounter.Droid", "
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLifeCounter.iOS", "SimpleLifeCounter\SimpleLifeCounter.iOS\SimpleLifeCounter.iOS.csproj", "{24AEDB96-FF78-445C-9351-64EE0C39B4C0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLifeCounter.WinPhone", "SimpleLifeCounter\SimpleLifeCounter.WinPhone\SimpleLifeCounter.WinPhone.csproj", "{3DF25E8A-077C-437B-8102-B6177C0065CF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLifeCounter.Windows", "SimpleLifeCounter\SimpleLifeCounter.Windows\SimpleLifeCounter.Windows.csproj", "{76B0C785-E5E5-489E-9CB8-3092F150989A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLifeCounter", "SimpleLifeCounter\SimpleLifeCounter\SimpleLifeCounter.csproj", "{05779811-3A1D-40E7-B68F-4454FB0DD859}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F074A01E-0205-4973-A940-4CFA7B7FE62E}"
Expand Down Expand Up @@ -156,142 +152,6 @@ Global
{24AEDB96-FF78-445C-9351-64EE0C39B4C0}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
{24AEDB96-FF78-445C-9351-64EE0C39B4C0}.Release|x64.ActiveCfg = Release|iPhone
{24AEDB96-FF78-445C-9351-64EE0C39B4C0}.Release|x86.ActiveCfg = Release|iPhone
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|ARM.ActiveCfg = Release|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|ARM.Build.0 = Release|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|ARM.Deploy.0 = Release|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhone.Deploy.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x64.Build.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x64.Deploy.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x86.ActiveCfg = Release|x86
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x86.Build.0 = Release|x86
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x86.Deploy.0 = Release|x86
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|Any CPU.Build.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|Any CPU.Deploy.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|ARM.ActiveCfg = Release|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|ARM.Build.0 = Release|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|ARM.Deploy.0 = Release|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhone.Build.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhone.Deploy.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhoneSimulator.Deploy.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x64.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x64.Build.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x64.Deploy.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x86.ActiveCfg = Release|x86
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x86.Build.0 = Release|x86
{3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x86.Deploy.0 = Release|x86
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|ARM.ActiveCfg = Debug|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|ARM.Build.0 = Debug|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|ARM.Deploy.0 = Debug|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhone.Build.0 = Debug|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhone.Deploy.0 = Debug|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x64.ActiveCfg = Debug|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x64.Build.0 = Debug|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x64.Deploy.0 = Debug|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x86.ActiveCfg = Debug|x86
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x86.Build.0 = Debug|x86
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x86.Deploy.0 = Debug|x86
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|ARM.ActiveCfg = Release|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|ARM.Build.0 = Release|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|ARM.Deploy.0 = Release|ARM
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhone.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhone.Build.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhone.Deploy.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x64.ActiveCfg = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x64.Build.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x64.Deploy.0 = Release|Any CPU
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x86.ActiveCfg = Release|x86
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x86.Build.0 = Release|x86
{3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x86.Deploy.0 = Release|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|ARM.ActiveCfg = Release|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|ARM.Build.0 = Release|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|ARM.Deploy.0 = Release|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhone.Deploy.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x64.ActiveCfg = Release|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x64.Build.0 = Release|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x64.Deploy.0 = Release|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x86.ActiveCfg = Release|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x86.Build.0 = Release|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x86.Deploy.0 = Release|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|Any CPU.Build.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|Any CPU.Deploy.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|ARM.ActiveCfg = Release|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|ARM.Build.0 = Release|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|ARM.Deploy.0 = Release|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhone.Build.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhone.Deploy.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhoneSimulator.Deploy.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x64.ActiveCfg = Release|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x64.Build.0 = Release|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x64.Deploy.0 = Release|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x86.ActiveCfg = Release|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x86.Build.0 = Release|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x86.Deploy.0 = Release|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|ARM.ActiveCfg = Debug|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|ARM.Build.0 = Debug|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|ARM.Deploy.0 = Debug|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhone.Build.0 = Debug|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhone.Deploy.0 = Debug|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x64.ActiveCfg = Debug|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x64.Build.0 = Debug|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x64.Deploy.0 = Debug|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x86.ActiveCfg = Debug|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x86.Build.0 = Debug|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x86.Deploy.0 = Debug|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|ARM.ActiveCfg = Release|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|ARM.Build.0 = Release|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|ARM.Deploy.0 = Release|ARM
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhone.ActiveCfg = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhone.Build.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhone.Deploy.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x64.ActiveCfg = Release|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x64.Build.0 = Release|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x64.Deploy.0 = Release|x64
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x86.ActiveCfg = Release|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x86.Build.0 = Release|x86
{76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x86.Deploy.0 = Release|x86
{05779811-3A1D-40E7-B68F-4454FB0DD859}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{05779811-3A1D-40E7-B68F-4454FB0DD859}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{05779811-3A1D-40E7-B68F-4454FB0DD859}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
Expand Down
20 changes: 14 additions & 6 deletions SimpleLifeCounter/SimpleLifeCounter.Droid/MainActivity.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System;


using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Prism.Unity;
using Microsoft.Practices.Unity;


namespace SimpleLifeCounter.Droid
{
Expand All @@ -14,16 +14,24 @@ public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicat
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);

// 横画面に固定
this.RequestedOrientation = ScreenOrientation.SensorLandscape;

// スリープモードにしない制御
this.Window.SetFlags(WindowManagerFlags.KeepScreenOn, WindowManagerFlags.KeepScreenOn);

base.OnCreate(bundle);

global::Xamarin.Forms.Forms.Init(this, bundle);
LoadApplication(new App());
LoadApplication(new App(new AndroidInitializer()));
}
}
public class AndroidInitializer : IPlatformInitializer
{
public void RegisterTypes(IUnityContainer container)
{
container.RegisterType<ISaveAndLoad, SaveAndLoad_Android>(new ContainerControlledLifetimeManager());
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" package="jp.outlook.aki_lua87.SimpleLifeCounter" android:versionCode="11" android:versionName="1.0.2">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" package="jp.outlook.aki_lua87.SimpleLifeCounter" android:versionCode="12" android:versionName="1.0.2.1">
<uses-sdk android:minSdkVersion="19" />
<application android:label="ライフカウンターくん for MTG"></application>
</manifest>
Loading