Skip to content
Browse files

[TaskyL10n] rename localized iOS example

  • Loading branch information...
1 parent 1e9b4d6 commit aef0aaa233d2527180ea5e13d4796eb25f07884a @conceptdev committed Jul 3, 2012
Showing with 50 additions and 1,616 deletions.
  1. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/About.txt
  2. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/BL/About.txt
  3. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/BL/Contracts/BusinessEntityBase.cs
  4. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/BL/Contracts/IBusinessEntity.cs
  5. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/BL/Managers/TaskManager.cs
  6. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/BL/Task.cs
  7. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/DAL/About.txt
  8. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/DAL/TaskRepository.cs
  9. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/DL/About.txt
  10. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/DL/SQLite.Implementation.cs
  11. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/DL/SQLite.cs
  12. 0 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/DL/TaskDatabase.cs
  13. +2 −3 {TaskyPro → TaskyL10n}/Tasky.Core.Portable/Tasky.Core.Portable.csproj
  14. +47 −0 TaskyL10n/TaskyL10n.sln
  15. 0 {TaskyPro → TaskyL10n}/TaskyiOS/AL/EditingSource.cs
  16. 0 {TaskyPro → TaskyL10n}/TaskyiOS/AL/LocalizableBindingContext.cs
  17. 0 {TaskyPro → TaskyL10n}/TaskyiOS/AL/TaskDialog.cs
  18. 0 {TaskyPro → TaskyL10n}/TaskyiOS/AppDelegate.cs
  19. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Default-Landscape~ipad.png
  20. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Default-Portrait~ipad.png
  21. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Default.png
  22. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Default@2x.png
  23. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Images/Icons/114_icon.png
  24. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Images/Icons/29_icon.png
  25. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Images/Icons/50_icon.png
  26. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Images/Icons/512_icon.png
  27. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Images/Icons/57_icon.png
  28. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Images/Icons/58_icon.png
  29. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Images/Icons/72_icon.png
  30. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Info.plist
  31. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Main.cs
  32. 0 {TaskyPro → TaskyL10n}/TaskyiOS/Screens/iPhone/Home/controller_iPhone.cs
  33. 0 {TaskyPro → TaskyL10n}/TaskyiOS/TaskyiOS.csproj
  34. 0 {TaskyPro → TaskyL10n}/TaskyiOS/en.lproj/Localizable.strings
  35. 0 {TaskyPro → TaskyL10n}/TaskyiOS/es.lproj/Localizable.strings
  36. 0 {TaskyPro → TaskyL10n}/TaskyiOS/ja.lproj/Localizable.strings
  37. BIN TaskyPro/Dependencies/Community.CsharpSqlite/Community.CsharpSqlite.WP7.dll
  38. BIN TaskyPro/Dependencies/Microsoft.Phone.Controls.Toolkit/Microsoft.Phone.Controls.Toolkit.dll
  39. +0 −55 TaskyPro/TaskyAndroid/Adapters/TaskListAdapter.cs
  40. +0 −34 TaskyPro/TaskyAndroid/Application.cs
  41. +0 −19 TaskyPro/TaskyAndroid/Assets/AboutAssets.txt
  42. +0 −6 TaskyPro/TaskyAndroid/Properties/AndroidManifest.xml
  43. +0 −30 TaskyPro/TaskyAndroid/Properties/AssemblyInfo.cs
  44. +0 −44 TaskyPro/TaskyAndroid/Resources/AboutResources.txt
  45. +0 −115 TaskyPro/TaskyAndroid/Resources/Resource.designer.cs
  46. BIN TaskyPro/TaskyAndroid/Resources/drawable-hdpi/launcher.png
  47. BIN TaskyPro/TaskyAndroid/Resources/drawable-ldpi/launcher.png
  48. BIN TaskyPro/TaskyAndroid/Resources/drawable-mdpi/launcher.png
  49. BIN TaskyPro/TaskyAndroid/Resources/drawable-xhdpi/launcher.png
  50. +0 −61 TaskyPro/TaskyAndroid/Resources/drawable/bluebutton.axml
  51. +0 −17 TaskyPro/TaskyAndroid/Resources/layout/HomeScreen.axml
  52. +0 −35 TaskyPro/TaskyAndroid/Resources/layout/TaskDetails.axml
  53. +0 −17 TaskyPro/TaskyAndroid/Resources/layout/TaskListItem.axml
  54. +0 −5 TaskyPro/TaskyAndroid/Resources/values/Strings.xml
  55. +0 −70 TaskyPro/TaskyAndroid/Screens/HomeScreen.cs
  56. +0 −90 TaskyPro/TaskyAndroid/Screens/TaskDetailsScreen.cs
  57. +1 −0 TaskyPro/TaskyAndroid/TaskyAndroid.csproj
  58. +0 −70 TaskyPro/TaskyPro.sln
  59. +0 −29 TaskyPro/TaskyProAndroid.sln
  60. +0 −19 TaskyPro/TaskyWP7/App.xaml
  61. +0 −151 TaskyPro/TaskyWP7/App.xaml.cs
  62. BIN TaskyPro/TaskyWP7/ApplicationIcon.png
  63. BIN TaskyPro/TaskyWP7/Background.png
  64. +0 −132 TaskyPro/TaskyWP7/DL/ClassDiagram.cd
  65. BIN TaskyPro/TaskyWP7/DL/ClassDiagram.png
  66. +0 −77 TaskyPro/TaskyWP7/MainPage.xaml
  67. +0 −44 TaskyPro/TaskyWP7/MainPage.xaml.cs
  68. +0 −6 TaskyPro/TaskyWP7/Properties/AppManifest.xml
  69. +0 −37 TaskyPro/TaskyWP7/Properties/AssemblyInfo.cs
  70. +0 −35 TaskyPro/TaskyWP7/Properties/WMAppManifest.xml
  71. BIN TaskyPro/TaskyWP7/SplashScreenImage.jpg
  72. +0 −73 TaskyPro/TaskyWP7/TaskDetailsPage.xaml
  73. +0 −60 TaskyPro/TaskyWP7/TaskDetailsPage.xaml.cs
  74. +0 −131 TaskyPro/TaskyWP7/TaskyWP7.csproj
  75. +0 −78 TaskyPro/TaskyWP7/ViewModels/TaskListViewModel.cs
  76. +0 −45 TaskyPro/TaskyWP7/ViewModels/TaskViewModel.cs
  77. +0 −28 TaskyPro/TaskyWP7/ViewModels/ViewModelBase.cs
View
0 TaskyPro/Tasky.Core.Portable/About.txt → TaskyL10n/Tasky.Core.Portable/About.txt
File renamed without changes.
View
0 TaskyPro/Tasky.Core.Portable/BL/About.txt → TaskyL10n/Tasky.Core.Portable/BL/About.txt
File renamed without changes.
View
0 ...rtable/BL/Contracts/BusinessEntityBase.cs → ...rtable/BL/Contracts/BusinessEntityBase.cs
File renamed without changes.
View
0 ....Portable/BL/Contracts/IBusinessEntity.cs → ....Portable/BL/Contracts/IBusinessEntity.cs
File renamed without changes.
View
0 ....Core.Portable/BL/Managers/TaskManager.cs → ....Core.Portable/BL/Managers/TaskManager.cs
File renamed without changes.
View
0 TaskyPro/Tasky.Core.Portable/BL/Task.cs → TaskyL10n/Tasky.Core.Portable/BL/Task.cs
File renamed without changes.
View
0 TaskyPro/Tasky.Core.Portable/DAL/About.txt → TaskyL10n/Tasky.Core.Portable/DAL/About.txt
File renamed without changes.
View
0 ...Tasky.Core.Portable/DAL/TaskRepository.cs → ...Tasky.Core.Portable/DAL/TaskRepository.cs
File renamed without changes.
View
0 TaskyPro/Tasky.Core.Portable/DL/About.txt → TaskyL10n/Tasky.Core.Portable/DL/About.txt
File renamed without changes.
View
0 ...Core.Portable/DL/SQLite.Implementation.cs → ...Core.Portable/DL/SQLite.Implementation.cs
File renamed without changes.
View
0 TaskyPro/Tasky.Core.Portable/DL/SQLite.cs → TaskyL10n/Tasky.Core.Portable/DL/SQLite.cs
File renamed without changes.
View
0 ...ro/Tasky.Core.Portable/DL/TaskDatabase.cs → ...0n/Tasky.Core.Portable/DL/TaskDatabase.cs
File renamed without changes.
View
5 ....Core.Portable/Tasky.Core.Portable.csproj → ....Core.Portable/Tasky.Core.Portable.csproj
@@ -14,6 +14,8 @@
<TargetFrameworkProfile>Profile2</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <ProductVersion>10.0.0</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -50,14 +52,12 @@
<Compile Include="BL\Contracts\BusinessEntityBase.cs" />
<Compile Include="BL\Contracts\IBusinessEntity.cs" />
<Compile Include="DAL\TaskRepository.cs" />
-
</ItemGroup>
<ItemGroup>
<None Include="DL\About.txt" />
<None Include="DAL\About.txt" />
<None Include="BL\About.txt" />
<None Include="About.txt" />
-
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
@@ -67,5 +67,4 @@
<Target Name="AfterBuild">
</Target>
-->
-
</Project>
View
47 TaskyL10n/TaskyL10n.sln
@@ -0,0 +1,47 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TaskyiOS", "TaskyiOS\TaskyiOS.csproj", "{08FAE550-E302-4022-A871-17E0462E99F3}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tasky.Core.Portable", "Tasky.Core.Portable\Tasky.Core.Portable.csproj", "{dbecb1bb-1cb3-4726-aba3-f3cd716b6d86}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|iPhone = Debug|iPhone
+ Debug|iPhoneSimulator = Debug|iPhoneSimulator
+ Release|Any CPU = Release|Any CPU
+ Release|iPhone = Release|iPhone
+ Release|iPhoneSimulator = Release|iPhoneSimulator
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|iPhone.ActiveCfg = Debug|iPhone
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|iPhone.Build.0 = Debug|iPhone
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Release|Any CPU.Build.0 = Release|iPhoneSimulator
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Release|iPhone.ActiveCfg = Release|iPhone
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Release|iPhone.Build.0 = Release|iPhone
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
+ {08FAE550-E302-4022-A871-17E0462E99F3}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
+ {dbecb1bb-1cb3-4726-aba3-f3cd716b6d86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {dbecb1bb-1cb3-4726-aba3-f3cd716b6d86}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {dbecb1bb-1cb3-4726-aba3-f3cd716b6d86}.Debug|iPhone.ActiveCfg = Debug|Any CPU
+ {dbecb1bb-1cb3-4726-aba3-f3cd716b6d86}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+ {dbecb1bb-1cb3-4726-aba3-f3cd716b6d86}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {dbecb1bb-1cb3-4726-aba3-f3cd716b6d86}.Release|Any CPU.Build.0 = Release|Any CPU
+ {dbecb1bb-1cb3-4726-aba3-f3cd716b6d86}.Release|iPhone.ActiveCfg = Release|Any CPU
+ {dbecb1bb-1cb3-4726-aba3-f3cd716b6d86}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
+ {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(MonoDevelopProperties) = preSolution
+ StartupItem = TaskyiOS\TaskyiOS.csproj
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
View
0 TaskyPro/TaskyiOS/AL/EditingSource.cs → TaskyL10n/TaskyiOS/AL/EditingSource.cs
File renamed without changes.
View
0 .../TaskyiOS/AL/LocalizableBindingContext.cs → .../TaskyiOS/AL/LocalizableBindingContext.cs
File renamed without changes.
View
0 TaskyPro/TaskyiOS/AL/TaskDialog.cs → TaskyL10n/TaskyiOS/AL/TaskDialog.cs
File renamed without changes.
View
0 TaskyPro/TaskyiOS/AppDelegate.cs → TaskyL10n/TaskyiOS/AppDelegate.cs
File renamed without changes.
View
0 TaskyPro/TaskyiOS/Default-Landscape~ipad.png → ...yL10n/TaskyiOS/Default-Landscape~ipad.png
File renamed without changes
View
0 TaskyPro/TaskyiOS/Default-Portrait~ipad.png → TaskyL10n/TaskyiOS/Default-Portrait~ipad.png
File renamed without changes
View
0 TaskyPro/TaskyiOS/Default.png → TaskyL10n/TaskyiOS/Default.png
File renamed without changes
View
0 TaskyPro/TaskyiOS/Default@2x.png → TaskyL10n/TaskyiOS/Default@2x.png
File renamed without changes
View
0 TaskyPro/TaskyiOS/Images/Icons/114_icon.png → TaskyL10n/TaskyiOS/Images/Icons/114_icon.png
File renamed without changes
View
0 TaskyPro/TaskyiOS/Images/Icons/29_icon.png → TaskyL10n/TaskyiOS/Images/Icons/29_icon.png
File renamed without changes
View
0 TaskyPro/TaskyiOS/Images/Icons/50_icon.png → TaskyL10n/TaskyiOS/Images/Icons/50_icon.png
File renamed without changes
View
0 TaskyPro/TaskyiOS/Images/Icons/512_icon.png → TaskyL10n/TaskyiOS/Images/Icons/512_icon.png
File renamed without changes
View
0 TaskyPro/TaskyiOS/Images/Icons/57_icon.png → TaskyL10n/TaskyiOS/Images/Icons/57_icon.png
File renamed without changes
View
0 TaskyPro/TaskyiOS/Images/Icons/58_icon.png → TaskyL10n/TaskyiOS/Images/Icons/58_icon.png
File renamed without changes
View
0 TaskyPro/TaskyiOS/Images/Icons/72_icon.png → TaskyL10n/TaskyiOS/Images/Icons/72_icon.png
File renamed without changes
View
0 TaskyPro/TaskyiOS/Info.plist → TaskyL10n/TaskyiOS/Info.plist
File renamed without changes.
View
0 TaskyPro/TaskyiOS/Main.cs → TaskyL10n/TaskyiOS/Main.cs
File renamed without changes.
View
0 .../Screens/iPhone/Home/controller_iPhone.cs → .../Screens/iPhone/Home/controller_iPhone.cs
File renamed without changes.
View
0 TaskyPro/TaskyiOS/TaskyiOS.csproj → TaskyL10n/TaskyiOS/TaskyiOS.csproj
File renamed without changes.
View
0 ...Pro/TaskyiOS/en.lproj/Localizable.strings → ...10n/TaskyiOS/en.lproj/Localizable.strings
File renamed without changes.
View
0 ...Pro/TaskyiOS/es.lproj/Localizable.strings → ...10n/TaskyiOS/es.lproj/Localizable.strings
File renamed without changes.
View
0 ...Pro/TaskyiOS/ja.lproj/Localizable.strings → ...10n/TaskyiOS/ja.lproj/Localizable.strings
File renamed without changes.
View
BIN TaskyPro/Dependencies/Community.CsharpSqlite/Community.CsharpSqlite.WP7.dll
Binary file not shown.
View
BIN TaskyPro/Dependencies/Microsoft.Phone.Controls.Toolkit/Microsoft.Phone.Controls.Toolkit.dll
Binary file not shown.
View
55 TaskyPro/TaskyAndroid/Adapters/TaskListAdapter.cs
@@ -1,55 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Android.Widget;
-using Tasky.BL;
-using Android.App;
-using Android;
-
-namespace TaskyAndroid.Adapters {
- public class TaskListAdapter : BaseAdapter<Task> {
- protected Activity context = null;
- protected IList<Task> tasks = new List<Task>();
-
- public TaskListAdapter (Activity context, IList<Task> tasks) : base ()
- {
- this.context = context;
- this.tasks = tasks;
- }
-
- public override Task this[int position]
- {
- get { return tasks[position]; }
- }
-
- public override long GetItemId (int position)
- {
- return position;
- }
-
- public override int Count
- {
- get { return tasks.Count; }
- }
-
- public override Android.Views.View GetView (int position, Android.Views.View convertView, Android.Views.ViewGroup parent)
- {
- // Get our object for position
- var item = tasks[position];
-
- //Try to reuse convertView if it's not null, otherwise inflate it from our item layout
- // gives us some performance gains by not always inflating a new view
- // will sound familiar to MonoTouch developers with UITableViewCell.DequeueReusableCell()
- var view = (convertView ??
- context.LayoutInflater.Inflate(
- Android.Resource.Layout.SimpleListItemChecked,
- parent,
- false)) as CheckedTextView;
-
- view.SetText (item.Name==""?"<new task>":item.Name, TextView.BufferType.Normal);
- view.Checked = item.Done;
-
- //Finally return the view
- return view;
- }
- }
-}
View
34 TaskyPro/TaskyAndroid/Application.cs
@@ -1,34 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-using Android.App;
-using Tasky.BL.Managers;
-using Tasky.DL.SQLite;
-using System.IO;
-
-namespace TaskyAndroid {
- [Application]
- public class TaskyApp : Application {
- public static TaskyApp Current { get; private set; }
-
- public TaskManager TaskMgr { get; set; }
- Connection conn;
-
- public TaskyApp(IntPtr handle, global::Android.Runtime.JniHandleOwnership transfer)
- : base(handle, transfer) {
- Current = this;
- }
-
- public override void OnCreate()
- {
- base.OnCreate();
-
- var sqliteFilename = "TaskDB.db3";
- string libraryPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
- var path = Path.Combine(libraryPath, sqliteFilename);
- conn = new Connection(path);
-
- TaskMgr = new TaskManager(conn);
- }
- }
-}
View
19 TaskyPro/TaskyAndroid/Assets/AboutAssets.txt
@@ -1,19 +0,0 @@
-Any raw assets you want to be deployed with your application can be placed in
-this directory (and child directories) and given a Build Action of "AndroidAsset".
-
-These files will be deployed with you package and will be accessible using Android's
-AssetManager, like this:
-
-public class ReadAsset : Activity
-{
- protected override void OnCreate (Bundle bundle)
- {
- base.OnCreate (bundle);
-
- InputStream input = Assets.Open ("my_asset.txt");
- }
-}
-
-Additionally, some Android functions will automatically load asset files:
-
-Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
View
6 TaskyPro/TaskyAndroid/Properties/AndroidManifest.xml
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.samples.taskydroid">
- <application android:label="Tasky" android:debuggable="true">
- </application>
- <uses-sdk android:minSdkVersion="8" />
-</manifest>
View
30 TaskyPro/TaskyAndroid/Properties/AssemblyInfo.cs
@@ -1,30 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using Android.App;
-
-// Information about this assembly is defined by the following attributes.
-// Change them to the values specific to your project.
-
-[assembly: AssemblyTitle("TaskyAndroid")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("xamarin")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
-// The form "{Major}.{Minor}.*" will automatically update the build and revision,
-// and "{Major}.{Minor}.{Build}.*" will update just the revision.
-
-[assembly: AssemblyVersion("1.0.*")]
-
-// The following attributes are used to specify the signing key for the assembly,
-// if desired. See the Mono documentation for more information about signing.
-
-//[assembly: AssemblyDelaySign(false)]
-//[assembly: AssemblyKeyFile("")]
-
-// This app uses the internet, this can be removed if not needed
-[assembly: UsesPermission("android.permission.INTERNET")]
View
44 TaskyPro/TaskyAndroid/Resources/AboutResources.txt
@@ -1,44 +0,0 @@
-Images, layout descriptions, binary blobs and string dictionaries can be included
-in your application as resource files. Various Android APIs are designed to
-operate on the resource IDs instead of dealing with images, strings or binary blobs
-directly.
-
-For example, a sample Android app that contains a user interface layout (main.axml),
-an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
-would keep its resources in the "Resources" directory of the application:
-
-Resources/
- drawable/
- icon.png
-
- layout/
- main.axml
-
- values/
- strings.xml
-
-In order to get the build system to recognize Android resources, set the build action to
-"AndroidResource". The native Android APIs do not operate directly with filenames, but
-instead operate on resource IDs. When you compile an Android application that uses resources,
-the build system will package the resources for distribution and generate a class called "R"
-(this is an Android convention) that contains the tokens for each one of the resources
-included. For example, for the above Resources layout, this is what the R class would expose:
-
-public class R {
- public class drawable {
- public const int icon = 0x123;
- }
-
- public class layout {
- public const int main = 0x456;
- }
-
- public class strings {
- public const int first_string = 0xabc;
- public const int second_string = 0xbcd;
- }
-}
-
-You would then use R.drawable.icon to reference the drawable/icon.png file, or R.layout.main
-to reference the layout/main.axml file, or R.strings.first_string to reference the first
-string in the dictionary file values/strings.xml.
View
115 TaskyPro/TaskyAndroid/Resources/Resource.designer.cs
@@ -1,115 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.269
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace TaskyAndroid
-{
-
-
- public partial class Resource
- {
-
- public partial class Attribute
- {
-
- private Attribute()
- {
- }
- }
-
- public partial class Drawable
- {
-
- // aapt resource value: 0x7f020000
- public const int bluebutton = 2130837504;
-
- // aapt resource value: 0x7f020001
- public const int launcher = 2130837505;
-
- private Drawable()
- {
- }
- }
-
- public partial class Id
- {
-
- // aapt resource value: 0x7f050002
- public const int NameLabel = 2131034114;
-
- // aapt resource value: 0x7f050005
- public const int NotesLabel = 2131034117;
-
- // aapt resource value: 0x7f050003
- public const int TaskDetailsHeader = 2131034115;
-
- // aapt resource value: 0x7f050000
- public const int btnAddTask = 2131034112;
-
- // aapt resource value: 0x7f050008
- public const int btnCancelDelete = 2131034120;
-
- // aapt resource value: 0x7f050009
- public const int btnSave = 2131034121;
-
- // aapt resource value: 0x7f050007
- public const int chkDone = 2131034119;
-
- // aapt resource value: 0x7f05000a
- public const int lstItemTask = 2131034122;
-
- // aapt resource value: 0x7f050001
- public const int lstTasks = 2131034113;
-
- // aapt resource value: 0x7f05000b
- public const int txtDescription = 2131034123;
-
- // aapt resource value: 0x7f050004
- public const int txtName = 2131034116;
-
- // aapt resource value: 0x7f050006
- public const int txtNotes = 2131034118;
-
- private Id()
- {
- }
- }
-
- public partial class Layout
- {
-
- // aapt resource value: 0x7f030000
- public const int HomeScreen = 2130903040;
-
- // aapt resource value: 0x7f030001
- public const int TaskDetails = 2130903041;
-
- // aapt resource value: 0x7f030002
- public const int TaskListItem = 2130903042;
-
- private Layout()
- {
- }
- }
-
- public partial class String
- {
-
- // aapt resource value: 0x7f040001
- public const int app_name = 2130968577;
-
- // aapt resource value: 0x7f040000
- public const int hello = 2130968576;
-
- private String()
- {
- }
- }
- }
-}
View
BIN TaskyPro/TaskyAndroid/Resources/drawable-hdpi/launcher.png
Deleted file not rendered
View
BIN TaskyPro/TaskyAndroid/Resources/drawable-ldpi/launcher.png
Deleted file not rendered
View
BIN TaskyPro/TaskyAndroid/Resources/drawable-mdpi/launcher.png
Deleted file not rendered
View
BIN TaskyPro/TaskyAndroid/Resources/drawable-xhdpi/launcher.png
Deleted file not rendered
View
61 TaskyPro/TaskyAndroid/Resources/drawable/bluebutton.axml
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<selector
- xmlns:android="http://schemas.android.com/apk/res/android">
-
- <item android:state_pressed="true" >
- <shape>
- <gradient
- android:startColor="#FF2675AA"
- android:endColor="#FF2675FF"
- android:angle="270" />
- <stroke
- android:width="3dp"
- android:color="#FFACA899" />
- <corners
- android:radius="3dp" />
- <padding
- android:left="10dp"
- android:top="10dp"
- android:right="10dp"
- android:bottom="10dp" />
- </shape>
- </item>
-
- <item android:state_focused="true" >
- <shape>
- <gradient
- android:endColor="#FFF7BE45"
- android:startColor="#FFF7D896"
- android:angle="270" />
- <stroke
- android:width="3dp"
- android:color="#FFACA899" />
- <corners
- android:radius="3dp" />
- <padding
- android:left="10dp"
- android:top="10dp"
- android:right="10dp"
- android:bottom="10dp" />
- </shape>
- </item>
-
- <item>
- <shape>
- <gradient
- android:startColor="#FF2675AA"
- android:endColor="#FF2675FF"
- android:angle="270" />
- <stroke
- android:width="3dp"
- android:color="#FFACA899" />
- <corners
- android:radius="3dp" />
- <padding
- android:left="10dp"
- android:top="10dp"
- android:right="10dp"
- android:bottom="10dp" />
- </shape>
- </item>
-</selector>
View
17 TaskyPro/TaskyAndroid/Resources/layout/HomeScreen.axml
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
-<Button android:id="@+id/btnAddTask"
- android:text="Add Task"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- />
-<ListView android:id="@+id/lstTasks"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
-</ListView>
-</LinearLayout>
View
35 TaskyPro/TaskyAndroid/Resources/layout/TaskDetails.axml
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- >
-
-<!--TextView android:id="@+id/TaskDetailsHeader" android:text="Task Details" android:layout_width="fill_parent" android:layout_height="wrap_content"/-->
-
-<TextView android:id="@+id/NameLabel" android:text="Name:" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@+id/TaskDetailsHeader"/>
-<EditText android:id="@+id/txtName" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@+id/NameLabel" android:imeOptions="actionNext" android:maxLines="1"/>
-<TextView android:id="@+id/NotesLabel" android:text="Notes:" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@+id/txtName"/>
-<EditText android:id="@+id/txtNotes" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@+id/NotesLabel" android:maxLines="1" android:imeOptions="actionDone"/>
-
-<CheckBox
- android:id="@+id/chkDone"
- android:layout_below="@+id/txtNotes"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Done" />
-<Button
- android:id="@+id/btnCancelDelete"
- android:text="Cancel"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/chkDone"
-/>
-<Button android:id="@+id/btnSave" android:text="Save"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:paddingTop="10dip"
- android:paddingBottom="10dip"
- android:layout_below="@+id/btnCancelDelete"/>
-
-
-</RelativeLayout>
View
17 TaskyPro/TaskyAndroid/Resources/layout/TaskListItem.axml
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:id="@+id/lstItemTask"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
- <TextView
- android:id="@+id/txtName"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="TextView"/>
- <TextView
- android:id="@+id/txtDescription"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="TextView"/>
-</LinearLayout>
View
5 TaskyPro/TaskyAndroid/Resources/values/Strings.xml
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <string name="hello">Hello World, Click Me!</string>
- <string name="app_name">TaskyAndroid</string>
-</resources>
View
70 TaskyPro/TaskyAndroid/Screens/HomeScreen.cs
@@ -1,70 +0,0 @@
-using System.Collections.Generic;
-using Android.App;
-using Android.Content;
-using Android.OS;
-using Android.Widget;
-using Tasky.BL;
-using Android.Graphics;
-using Android.Views;
-
-namespace TaskyAndroid.Screens {
- [Activity (Label = "TaskyPro", MainLauncher = true, Icon="@drawable/launcher")]
- public class HomeScreen : Activity {
- protected Adapters.TaskListAdapter taskList;
- protected IList<Task> tasks;
- protected Button addTaskButton = null;
- protected ListView taskListView = null;
-
- protected override void OnCreate (Bundle bundle)
- {
- base.OnCreate (bundle);
-
-
- View titleView = Window.FindViewById(Android.Resource.Id.Title);
- if (titleView != null) {
- IViewParent parent = titleView.Parent;
- if (parent != null && (parent is View)) {
- View parentView = (View)parent;
- parentView.SetBackgroundColor(Color.Rgb(0x26, 0x75 ,0xFF)); //38, 117 ,255
- }
- }
-
-
- // set our layout to be the home screen
- SetContentView(Resource.Layout.HomeScreen);
-
- //Find our controls
- taskListView = FindViewById<ListView> (Resource.Id.lstTasks);
- addTaskButton = FindViewById<Button> (Resource.Id.btnAddTask);
-
- // wire up add task button handler
- if(addTaskButton != null) {
- addTaskButton.Click += (sender, e) => {
- StartActivity(typeof(TaskDetailsScreen));
- };
- }
-
- // wire up task click handler
- if(taskListView != null) {
- taskListView.ItemClick += (object sender, AdapterView.ItemClickEventArgs e) => {
- var taskDetails = new Intent (this, typeof (TaskDetailsScreen));
- taskDetails.PutExtra ("TaskID", tasks[e.Position].ID);
- StartActivity (taskDetails);
- };
- }
- }
-
- protected override void OnResume ()
- {
- base.OnResume ();
-
- tasks = TaskyApp.Current.TaskMgr.GetTasks();
-
- // create our adapter
- taskList = new Adapters.TaskListAdapter(this, tasks);
-
- //Hook up our adapter to our ListView
- taskListView.Adapter = taskList;
- }
- }
-}
View
90 TaskyPro/TaskyAndroid/Screens/TaskDetailsScreen.cs
@@ -1,90 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-using Android.App;
-using Android.Content;
-using Android.OS;
-using Android.Runtime;
-using Android.Widget;
-using Android.Graphics;
-using Android.Views;
-
-using Tasky.BL;
-
-namespace TaskyAndroid.Screens {
- //TODO: implement proper lifecycle methods
- [Activity (Label = "Task Details")]
- public class TaskDetailsScreen : Activity {
- protected Task task = new Task();
- protected Button cancelDeleteButton = null;
- protected EditText notesTextEdit = null;
- protected EditText nameTextEdit = null;
- protected Button saveButton = null;
- CheckBox doneCheckbox;
-
- protected override void OnCreate (Bundle bundle)
- {
- base.OnCreate (bundle);
-
- View titleView = Window.FindViewById(Android.Resource.Id.Title);
- if (titleView != null) {
- IViewParent parent = titleView.Parent;
- if (parent != null && (parent is View)) {
- View parentView = (View)parent;
- parentView.SetBackgroundColor(Color.Rgb(0x26, 0x75 ,0xFF)); //38, 117 ,255
- }
- }
-
- int taskID = Intent.GetIntExtra("TaskID", 0);
- if(taskID > 0) {
- task = TaskyApp.Current.TaskMgr.GetTask(taskID);
- }
-
- // set our layout to be the home screen
- SetContentView(Resource.Layout.TaskDetails);
- nameTextEdit = FindViewById<EditText>(Resource.Id.txtName);
- notesTextEdit = FindViewById<EditText>(Resource.Id.txtNotes);
- saveButton = FindViewById<Button>(Resource.Id.btnSave);
- doneCheckbox = FindViewById<CheckBox>(Resource.Id.chkDone);
-
- // find all our controls
- cancelDeleteButton = FindViewById<Button>(Resource.Id.btnCancelDelete);
-
-
- // set the cancel delete based on whether or not it's an existing task
- if(cancelDeleteButton != null)
- { cancelDeleteButton.Text = (task.ID == 0 ? "Cancel" : "Delete"); }
-
- // name
- if(nameTextEdit != null) { nameTextEdit.Text = task.Name; }
-
- // notes
- if(notesTextEdit != null) { notesTextEdit.Text = task.Notes; }
-
- if(doneCheckbox != null) { doneCheckbox.Checked = task.Done; }
-
- // button clicks
- cancelDeleteButton.Click += (sender, e) => { CancelDelete(); };
- saveButton.Click += (sender, e) => { Save(); };
- }
-
- protected void Save()
- {
- task.Name = nameTextEdit.Text;
- task.Notes = notesTextEdit.Text;
- task.Done = doneCheckbox.Checked;
- TaskyApp.Current.TaskMgr.SaveTask(task);
- Finish();
- }
-
- protected void CancelDelete()
- {
- if(task.ID != 0) {
- TaskyApp.Current.TaskMgr.DeleteTask(task.ID);
- }
- Finish();
- }
- }
-}
View
1 TaskyPro/TaskyAndroid/TaskyAndroid.csproj
@@ -44,6 +44,7 @@
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
+ <AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
View
70 TaskyPro/TaskyPro.sln
@@ -1,70 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TaskyiOS", "TaskyiOS\TaskyiOS.csproj", "{08FAE550-E302-4022-A871-17E0462E99F3}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TaskyAndroid", "TaskyAndroid\TaskyAndroid.csproj", "{82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TaskyWP7", "TaskyWP7\TaskyWP7.csproj", "{8FD09DFC-EE0E-448C-8E0A-6FD727332081}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tasky.Core.Portable", "Tasky.Core.Portable\Tasky.Core.Portable.csproj", "{DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|iPhone = Debug|iPhone
- Debug|iPhoneSimulator = Debug|iPhoneSimulator
- Release|Any CPU = Release|Any CPU
- Release|iPhone = Release|iPhone
- Release|iPhoneSimulator = Release|iPhoneSimulator
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
- {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
- {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|iPhone.ActiveCfg = Debug|iPhone
- {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|iPhone.Build.0 = Debug|iPhone
- {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
- {08FAE550-E302-4022-A871-17E0462E99F3}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
- {08FAE550-E302-4022-A871-17E0462E99F3}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator
- {08FAE550-E302-4022-A871-17E0462E99F3}.Release|Any CPU.Build.0 = Release|iPhoneSimulator
- {08FAE550-E302-4022-A871-17E0462E99F3}.Release|iPhone.ActiveCfg = Release|iPhone
- {08FAE550-E302-4022-A871-17E0462E99F3}.Release|iPhone.Build.0 = Release|iPhone
- {08FAE550-E302-4022-A871-17E0462E99F3}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
- {08FAE550-E302-4022-A871-17E0462E99F3}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Debug|iPhone.ActiveCfg = Debug|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Debug|iPhone.Build.0 = Debug|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Release|Any CPU.Build.0 = Release|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Release|iPhone.ActiveCfg = Release|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Release|iPhone.Build.0 = Release|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
- {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
- {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Debug|iPhone.ActiveCfg = Debug|Any CPU
- {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
- {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Release|Any CPU.Build.0 = Release|Any CPU
- {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Release|Any CPU.Deploy.0 = Release|Any CPU
- {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Release|iPhone.ActiveCfg = Release|Any CPU
- {8FD09DFC-EE0E-448C-8E0A-6FD727332081}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Debug|iPhone.ActiveCfg = Debug|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Release|Any CPU.Build.0 = Release|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Release|iPhone.ActiveCfg = Release|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(MonoDevelopProperties) = preSolution
- StartupItem = TaskyiOS\TaskyiOS.csproj
- EndGlobalSection
-EndGlobal
View
29 TaskyPro/TaskyProAndroid.sln
@@ -1,29 +0,0 @@
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TaskyAndroid", "TaskyAndroid\TaskyAndroid.csproj", "{82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tasky.Core.Portable", "Tasky.Core.Portable\Tasky.Core.Portable.csproj", "{DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {82F04C1E-2F0D-4396-ADC3-BC9EADEE8E7E}.Release|Any CPU.Build.0 = Release|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(MonoDevelopProperties) = preSolution
- StartupItem = TaskyAndroid\TaskyAndroid.csproj
- EndGlobalSection
-EndGlobal
View
19 TaskyPro/TaskyWP7/App.xaml
@@ -1,19 +0,0 @@
-<Application
- x:Class="TaskyWP7.App"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
- xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone">
-
- <!--Application Resources-->
- <Application.Resources>
- </Application.Resources>
-
- <Application.ApplicationLifetimeObjects>
- <!--Required object that handles lifetime events for the application-->
- <shell:PhoneApplicationService
- Launching="Application_Launching" Closing="Application_Closing"
- Activated="Application_Activated" Deactivated="Application_Deactivated"/>
- </Application.ApplicationLifetimeObjects>
-
-</Application>
View
151 TaskyPro/TaskyWP7/App.xaml.cs
@@ -1,151 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Navigation;
-using System.Windows.Shapes;
-using Microsoft.Phone.Controls;
-using Microsoft.Phone.Shell;
-using Tasky.BL.Managers;
-using Tasky.DL.SQLite;
-
-namespace TaskyWP7 {
- public partial class App : Application {
- /// <summary>
- /// Provides easy access to the root frame of the Phone Application.
- /// </summary>
- /// <returns>The root frame of the Phone Application.</returns>
- public PhoneApplicationFrame RootFrame { get; private set; }
-
-
- public TaskManager TaskMgr { get; set; }
- Connection conn;
-
- /// <summary>
- /// Constructor for the Application object.
- /// </summary>
- public App()
- {
- // Global handler for uncaught exceptions.
- UnhandledException += Application_UnhandledException;
-
- // Standard Silverlight initialization
- InitializeComponent();
-
- // Phone-specific initialization
- InitializePhoneApplication();
-
-
- var sqliteFilename = "TaskDB.db3";
- conn = new Connection(sqliteFilename);
-
- TaskMgr = new TaskManager(conn);
-
-
-
- // Show graphics profiling information while debugging.
- if (System.Diagnostics.Debugger.IsAttached) {
- // Display the current frame rate counters.
- Application.Current.Host.Settings.EnableFrameRateCounter = true;
-
- // Show the areas of the app that are being redrawn in each frame.
- //Application.Current.Host.Settings.EnableRedrawRegions = true;
-
- // Enable non-production analysis visualization mode,
- // which shows areas of a page that are handed off to GPU with a colored overlay.
- //Application.Current.Host.Settings.EnableCacheVisualization = true;
-
- // Disable the application idle detection by setting the UserIdleDetectionMode property of the
- // application's PhoneApplicationService object to Disabled.
- // Caution:- Use this under debug mode only. Application that disables user idle detection will continue to run
- // and consume battery power when the user is not using the phone.
- PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
- }
-
- }
-
- // Code to execute when the application is launching (eg, from Start)
- // This code will not execute when the application is reactivated
- private void Application_Launching(object sender, LaunchingEventArgs e)
- {
- }
-
- // Code to execute when the application is activated (brought to foreground)
- // This code will not execute when the application is first launched
- private void Application_Activated(object sender, ActivatedEventArgs e)
- {
- }
-
- // Code to execute when the application is deactivated (sent to background)
- // This code will not execute when the application is closing
- private void Application_Deactivated(object sender, DeactivatedEventArgs e)
- {
- }
-
- // Code to execute when the application is closing (eg, user hit Back)
- // This code will not execute when the application is deactivated
- private void Application_Closing(object sender, ClosingEventArgs e)
- {
- }
-
- // Code to execute if a navigation fails
- private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
- {
- if (System.Diagnostics.Debugger.IsAttached) {
- // A navigation has failed; break into the debugger
- System.Diagnostics.Debugger.Break();
- }
- }
-
- // Code to execute on Unhandled Exceptions
- private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
- {
- if (System.Diagnostics.Debugger.IsAttached) {
- // An unhandled exception has occurred; break into the debugger
- System.Diagnostics.Debugger.Break();
- }
- }
-
- #region Phone application initialization
-
- // Avoid double-initialization
- private bool phoneApplicationInitialized = false;
-
- // Do not add any additional code to this method
- private void InitializePhoneApplication()
- {
- if (phoneApplicationInitialized)
- return;
-
- // Create the frame but don't set it as RootVisual yet; this allows the splash
- // screen to remain active until the application is ready to render.
- RootFrame = new PhoneApplicationFrame();
- RootFrame.Navigated += CompleteInitializePhoneApplication;
-
- // Handle navigation failures
- RootFrame.NavigationFailed += RootFrame_NavigationFailed;
-
- // Ensure we don't initialize again
- phoneApplicationInitialized = true;
- }
-
- // Do not add any additional code to this method
- private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e)
- {
- // Set the root visual to allow the application to render
- if (RootVisual != RootFrame)
- RootVisual = RootFrame;
-
- // Remove this handler since it is no longer needed
- RootFrame.Navigated -= CompleteInitializePhoneApplication;
- }
-
- #endregion
- }
-}
View
BIN TaskyPro/TaskyWP7/ApplicationIcon.png
Deleted file not rendered
View
BIN TaskyPro/TaskyWP7/Background.png
Deleted file not rendered
View
132 TaskyPro/TaskyWP7/DL/ClassDiagram.cd
@@ -1,132 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<ClassDiagram MajorVersion="1" MinorVersion="1">
- <Comment CommentText="Abstract classes in Portable, implemented in each platform project (link to common .implementation source that uses compiler directives for platform-specific code)">
- <Position X="3.225" Y="0.5" Height="0.681" Width="3.601" />
- </Comment>
- <Comment CommentText="These classes only in the implementation.">
- <Position X="10" Y="0.5" Height="0.516" Width="1.604" />
- </Comment>
- <Class Name="Tasky.DL.SQLite.SQLiteException" Collapsed="true">
- <Position X="10" Y="3.75" Width="1.5" />
- <TypeIdentifier>
- <HashCode>AAAAAAAAAAAAACAAAAAAAAQAAAAAAAAAAAAAAAAAAAA=</HashCode>
- <FileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</FileName>
- </TypeIdentifier>
- </Class>
- <Class Name="Tasky.DL.SQLite.Connection">
- <Position X="0.5" Y="0.5" Width="2.25" />
- <Compartments>
- <Compartment Name="Nested Types" Collapsed="false" />
- </Compartments>
- <NestedTypes>
- <Class Name="Tasky.DL.SQLite.Connection.TableInfo" Collapsed="true">
- <TypeIdentifier>
- <NewMemberFileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</NewMemberFileName>
- </TypeIdentifier>
- </Class>
- </NestedTypes>
- <TypeIdentifier>
- <HashCode>AAQAEEABAAAAgAZLBAAEQAAQCAUAABoAAQAIgACAAAU=</HashCode>
- <FileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</FileName>
- </TypeIdentifier>
- </Class>
- <Class Name="Tasky.DL.SQLite.TableMapping" Collapsed="true">
- <Position X="7.25" Y="5" Width="1.5" />
- <NestedTypes>
- <Class Name="Tasky.DL.SQLite.TableMapping.Column" Collapsed="true">
- <TypeIdentifier>
- <NewMemberFileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</NewMemberFileName>
- </TypeIdentifier>
- </Class>
- <Class Name="Tasky.DL.SQLite.TableMapping.PropColumn" Collapsed="true">
- <TypeIdentifier>
- <NewMemberFileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</NewMemberFileName>
- </TypeIdentifier>
- </Class>
- </NestedTypes>
- <TypeIdentifier>
- <HashCode>AAAAAEAACCgCAUAQgAAAQAAACAAAAgAAAAAACQgAAAA=</HashCode>
- <FileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</FileName>
- </TypeIdentifier>
- </Class>
- <Class Name="Tasky.DL.SQLite.Orm" Collapsed="true">
- <Position X="10" Y="2" Width="1.5" />
- <TypeIdentifier>
- <HashCode>AAAAEAAAAAAAAAAAABgAAAAgAAAAAAgAAAAAAAACAAE=</HashCode>
- <FileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</FileName>
- </TypeIdentifier>
- </Class>
- <Class Name="Tasky.DL.SQLite.SQLiteCommand" Collapsed="true">
- <Position X="7.25" Y="3.5" Width="1.5" />
- <NestedTypes>
- <Class Name="Tasky.DL.SQLite.SQLiteCommand.Binding" Collapsed="true">
- <TypeIdentifier>
- <NewMemberFileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</NewMemberFileName>
- </TypeIdentifier>
- </Class>
- </NestedTypes>
- <TypeIdentifier>
- <HashCode>AAAAgAAAAAAAQAYEAAABAEBBAAAAgAABAAAEEAAACAA=</HashCode>
- <FileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</FileName>
- </TypeIdentifier>
- </Class>
- <Class Name="Tasky.DL.SQLite.PreparedSqlLiteInsertCommand" Collapsed="true" BaseTypeListCollapsed="true">
- <Position X="10" Y="3" Width="2.5" />
- <TypeIdentifier>
- <HashCode>gAAAEAAAACAAQAUAAAAAAEACAAAAAAAAAAAAAAAAAAA=</HashCode>
- <FileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</FileName>
- </TypeIdentifier>
- <Lollipop Position="0.2" Collapsed="true" />
- </Class>
- <Class Name="Tasky.DL.SQLite.TableQuery&lt;T&gt;" Collapsed="true" BaseTypeListCollapsed="true">
- <Position X="7.25" Y="1.75" Width="1.5" />
- <TypeIdentifier>
- <HashCode>AKAAAAAAAIAAAFMAIAAAQAQABAGIAEAQAgHAAAAAEBA=</HashCode>
- <FileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</FileName>
- </TypeIdentifier>
- <Lollipop Position="0.2" Collapsed="true" />
- </Class>
- <Class Name="Tasky.DL.SQLite.SQLite3" Collapsed="true">
- <Position X="10" Y="1.25" Width="1.5" />
- <NestedTypes>
- <Enum Name="Tasky.DL.SQLite.SQLite3.Result" Collapsed="true">
- <TypeIdentifier>
- <NewMemberFileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</NewMemberFileName>
- </TypeIdentifier>
- </Enum>
- <Enum Name="Tasky.DL.SQLite.SQLite3.ConfigOption" Collapsed="true">
- <TypeIdentifier>
- <NewMemberFileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</NewMemberFileName>
- </TypeIdentifier>
- </Enum>
- <Enum Name="Tasky.DL.SQLite.SQLite3.ColType" Collapsed="true">
- <TypeIdentifier>
- <NewMemberFileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</NewMemberFileName>
- </TypeIdentifier>
- </Enum>
- </NestedTypes>
- <TypeIdentifier>
- <HashCode>AIJAAEgAAAgALQoCCBlAAAAUYQAAgAAAMAAACACCBAA=</HashCode>
- <FileName>C:\ProjectsGit\mobile-samples\TaskyPro\Tasky.Core.Portable\DL\SQLite.Implementation.cs</FileName>
- </TypeIdentifier>
- </Class>
- <Class Name="Tasky.DL.SQLiteBase.SQLiteConnection">
- <Position X="3.25" Y="1.75" Width="1.5" />
- <TypeIdentifier />
- <Lollipop Position="0.2" />
- </Class>
- <Class Name="Tasky.DL.SQLiteBase.TableQuery&lt;T&gt;">
- <Position X="5.25" Y="1.75" Width="1.5" />
- <TypeIdentifier />
- <Lollipop Position="0.2" />
- </Class>
- <Class Name="Tasky.DL.SQLiteBase.TableMapping">
- <Position X="5.25" Y="5" Width="1.5" />
- <TypeIdentifier />
- </Class>
- <Class Name="Tasky.DL.SQLiteBase.SQLiteCommand">
- <Position X="5.25" Y="3.5" Width="1.5" />
- <TypeIdentifier />
- </Class>
- <Font Name="Segoe UI" Size="9" />
-</ClassDiagram>
View
BIN TaskyPro/TaskyWP7/DL/ClassDiagram.png
Deleted file not rendered
View
77 TaskyPro/TaskyWP7/MainPage.xaml
@@ -1,77 +0,0 @@
-<phone:PhoneApplicationPage
- x:Class="TaskyWP7.MainPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
- xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
- mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="696"
- FontFamily="{StaticResource PhoneFontFamilyNormal}"
- FontSize="{StaticResource PhoneFontSizeNormal}"
- Foreground="{StaticResource PhoneForegroundBrush}"
- SupportedOrientations="Portrait" Orientation="Portrait"
- shell:SystemTray.IsVisible="True">
-
- <!--LayoutRoot is the root grid where all page content is placed-->
- <Grid x:Name="LayoutRoot" Background="Transparent">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
-
- <!--TitlePanel contains the name of the application and page title-->
- <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
- <TextBlock x:Name="ApplicationTitle" Text="TASKY" Style="{StaticResource PhoneTextNormalStyle}"/>
- <TextBlock x:Name="PageTitle" Text="task list" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
- </StackPanel>
-
- <ListBox Grid.Row="1"
- ItemsSource="{Binding Items}"
- Visibility="{Binding ListVisibility}">
- <ListBox.ItemTemplate>
- <DataTemplate>
- <Grid
- Margin="{Binding Margin}"
- toolkit:TiltEffect.IsTiltEnabled="True"
- Width="400"
- Tap="HandleTaskTap">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto" />
- <RowDefinition Height="Auto" />
- </Grid.RowDefinitions>
-
- <TextBlock
- Grid.Row="0"
- Grid.Column="0"
- Foreground="White"
- Style="{StaticResource PhoneTextLargeStyle}"
- Margin="0,0,0,0"
- Text="{Binding Name}" />
- <TextBlock
- Grid.Row="1"
- Grid.Column="0"
- Foreground="LightGray"
- Margin="0,0,0,0"
- Text="{Binding Notes}" />
- </Grid>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- </Grid>
-
- <phone:PhoneApplicationPage.ApplicationBar>
- <shell:ApplicationBar Opacity="1" IsVisible="True" IsMenuEnabled="True">
-
- <shell:ApplicationBarIconButton
- IconUri="/Images/appbar.add.rest.jpg"
- Text="add"
- Click="HandleAdd"/>
-
- </shell:ApplicationBar>
-
- </phone:PhoneApplicationPage.ApplicationBar>
-
-
-</phone:PhoneApplicationPage>
View
44 TaskyPro/TaskyWP7/MainPage.xaml.cs
@@ -1,44 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Shapes;
-using Microsoft.Phone.Controls;
-
-namespace TaskyWP7 {
- public partial class MainPage : PhoneApplicationPage {
- // Constructor
- public MainPage()
- {
- InitializeComponent();
-
- DataContext = new TaskListViewModel();
- Loaded += new RoutedEventHandler(MainPage_Loaded);
- }
-
- void MainPage_Loaded(object sender, RoutedEventArgs e)
- {
- ((TaskListViewModel)DataContext).BeginUpdate(Dispatcher);
- }
-
- private void HandleAdd(object sender, EventArgs e)
- {
- NavigationService.Navigate(new Uri("/TaskDetailsPage.xaml?id=-1", UriKind.RelativeOrAbsolute));
- }
-
- private void HandleTaskTap(object sender, System.Windows.Input.GestureEventArgs e)
- {
- var item = ((Grid)sender).DataContext as TaskViewModel;
-
- if (item != null) {
- NavigationService.Navigate(new Uri("/TaskDetailsPage.xaml?id=" + item.ID, UriKind.RelativeOrAbsolute));
- }
- }
- }
-}
View
6 TaskyPro/TaskyWP7/Properties/AppManifest.xml
@@ -1,6 +0,0 @@
-<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
->
- <Deployment.Parts>
- </Deployment.Parts>
-</Deployment>
View
37 TaskyPro/TaskyWP7/Properties/AssemblyInfo.cs
@@ -1,37 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using System.Resources;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("TaskyWP7")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("TaskyWP7")]
-[assembly: AssemblyCopyright("Copyright © 2012")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("34fa2e2e-440b-4778-abf7-4d5d09dcff14")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-[assembly: NeutralResourcesLanguageAttribute("en-US")]
View
35 TaskyPro/TaskyWP7/Properties/WMAppManifest.xml
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.1">
- <App xmlns="" ProductID="{49197790-5240-4beb-82a9-784654fd56bd}" Title="TaskyWP7" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="TaskyWP7 author" Description="Sample description" Publisher="TaskyWP7">
- <IconPath IsRelative="true" IsResource="false">ApplicationIcon.png</IconPath>
- <Capabilities>
- <Capability Name="ID_CAP_GAMERSERVICES"/>
- <Capability Name="ID_CAP_IDENTITY_DEVICE"/>
- <Capability Name="ID_CAP_IDENTITY_USER"/>
- <Capability Name="ID_CAP_LOCATION"/>
- <Capability Name="ID_CAP_MEDIALIB"/>
- <Capability Name="ID_CAP_MICROPHONE"/>
- <Capability Name="ID_CAP_NETWORKING"/>
- <Capability Name="ID_CAP_PHONEDIALER"/>
- <Capability Name="ID_CAP_PUSH_NOTIFICATION"/>
- <Capability Name="ID_CAP_SENSORS"/>
- <Capability Name="ID_CAP_WEBBROWSERCOMPONENT"/>
- <Capability Name="ID_CAP_ISV_CAMERA"/>
- <Capability Name="ID_CAP_CONTACTS"/>
- <Capability Name="ID_CAP_APPOINTMENTS"/>
- </Capabilities>
- <Tasks>
- <DefaultTask Name ="_default" NavigationPage="MainPage.xaml"/>
- </Tasks>
- <Tokens>
- <PrimaryToken TokenID="TaskyWP7Token" TaskName="_default">
- <TemplateType5>
- <BackgroundImageURI IsRelative="true" IsResource="false">Background.png</BackgroundImageURI>
- <Count>0</Count>
- <Title>TaskyWP7</Title>
- </TemplateType5>
- </PrimaryToken>
- </Tokens>
- </App>
-</Deployment>
View
BIN TaskyPro/TaskyWP7/SplashScreenImage.jpg
Deleted file not rendered
View
73 TaskyPro/TaskyWP7/TaskDetailsPage.xaml
@@ -1,73 +0,0 @@
-<phone:PhoneApplicationPage
- x:Class="TaskyWP7.TaskDetailsPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
- xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- FontFamily="{StaticResource PhoneFontFamilyNormal}"
- FontSize="{StaticResource PhoneFontSizeNormal}"
- Foreground="{StaticResource PhoneForegroundBrush}"
- SupportedOrientations="Portrait" Orientation="Portrait"
- mc:Ignorable="d" d:DesignHeight="696" d:DesignWidth="480"
- shell:SystemTray.IsVisible="True">
-
- <!--LayoutRoot is the root grid where all page content is placed-->
- <Grid x:Name="LayoutRoot" Background="Transparent">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
-
- <!--TitlePanel contains the name of the application and page title-->
- <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
- <TextBlock x:Name="ApplicationTitle" Text="TASKY" Style="{StaticResource PhoneTextNormalStyle}"/>
- <TextBlock x:Name="PageTitle" Text="{Binding Name}" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
- </StackPanel>
-
- <!--ContentPanel - place additional content here-->
- <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
-
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
-
- <TextBox
- Grid.Row="0" Grid.Column="0"
- x:Name="NameText"
- Text="{Binding Name,Mode=TwoWay}"></TextBox>
- <TextBox
- Grid.Row="1" Grid.Column="0"
- x:Name="NotesText"
- Text="{Binding Notes,Mode=TwoWay}"></TextBox>
- <CheckBox
- Grid.Row="2" Grid.Column="0"
- x:Name="DoneCheck"
- IsChecked="{Binding Done,Mode=TwoWay}"
- />
- </Grid>
- </Grid>
-
-
- <phone:PhoneApplicationPage.ApplicationBar>
- <shell:ApplicationBar Opacity="1" IsVisible="True" IsMenuEnabled="True">
-
- <shell:ApplicationBarIconButton
- IconUri="/Images/appbar.add.rest.jpg"
- Text="save"
- Click="HandleSave"/>
-
- <shell:ApplicationBarIconButton
- IconUri="/Images/appbar.add.rest.jpg"
- Text="delete"
- Click="HandleDelete"/>
-
- </shell:ApplicationBar>
-
- </phone:PhoneApplicationPage.ApplicationBar>
-
-</phone:PhoneApplicationPage>
View
60 TaskyPro/TaskyWP7/TaskDetailsPage.xaml.cs
@@ -1,60 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Shapes;
-using Microsoft.Phone.Controls;
-using Tasky.BL.Managers;
-using Tasky.BL;
-
-namespace TaskyWP7 {
- public partial class TaskDetailsPage : PhoneApplicationPage {
- public TaskDetailsPage()
- {
- InitializeComponent();
- }
-
- protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
- {
- base.OnNavigatedTo(e);
-
- if (e.NavigationMode == System.Windows.Navigation.NavigationMode.New) {
- var vm = new TaskViewModel();
- var task = default(Task);
-
- if (NavigationContext.QueryString.ContainsKey("id")) {
- var id = int.Parse(NavigationContext.QueryString["id"]);
- task = (App.Current as TaskyWP7.App).TaskMgr.GetTask(id);
- }
-
- if (task != null) {
- vm.Update(task);
- }
-
- DataContext = vm;
- }
- }
-
- private void HandleSave(object sender, EventArgs e)
- {
- var taskvm = (TaskViewModel)DataContext;
- var task = taskvm.GetTask();
- (App.Current as TaskyWP7.App).TaskMgr.SaveTask(task);
- }
-
- private void HandleDelete(object sender, EventArgs e)
- {
- var taskvm = (TaskViewModel)DataContext;
- if (taskvm.ID >= 0)
- (App.Current as TaskyWP7.App).TaskMgr.DeleteTask(taskvm.ID);
-
- NavigationService.GoBack();
- }
- }
-}
View
131 TaskyPro/TaskyWP7/TaskyWP7.csproj
@@ -1,131 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>10.0.20506</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectGuid>{8FD09DFC-EE0E-448C-8E0A-6FD727332081}</ProjectGuid>
- <ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>TaskyWP7</RootNamespace>
- <AssemblyName>TaskyWP7</AssemblyName>
- <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
- <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion>
- <TargetFrameworkProfile>WindowsPhone71</TargetFrameworkProfile>
- <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
- <SilverlightApplication>true</SilverlightApplication>
- <SupportedCultures>
- </SupportedCultures>
- <XapOutputs>true</XapOutputs>
- <GenerateSilverlightManifest>true</GenerateSilverlightManifest>
- <XapFilename>TaskyWP7.xap</XapFilename>
- <SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate>
- <SilverlightAppEntry>TaskyWP7.App</SilverlightAppEntry>
- <ValidateXaml>true</ValidateXaml>
- <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>Bin\Debug</OutputPath>
- <DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
- <NoStdLib>true</NoStdLib>
- <NoConfig>true</NoConfig>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>Bin\Release</OutputPath>
- <DefineConstants>TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants>
- <NoStdLib>true</NoStdLib>
- <NoConfig>true</NoConfig>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="Community.CsharpSqlite.WP7">
- <HintPath>..\Dependencies\Community.CsharpSqlite\Community.CsharpSqlite.WP7.dll</HintPath>
- </Reference>
- <Reference Include="Microsoft.Phone" />
- <Reference Include="Microsoft.Phone.Controls.Toolkit">
- <HintPath>..\Dependencies\Microsoft.Phone.Controls.Toolkit\Microsoft.Phone.Controls.Toolkit.dll</HintPath>
- </Reference>
- <Reference Include="Microsoft.Phone.Interop" />
- <Reference Include="System.Windows" />
- <Reference Include="system" />
- <Reference Include="System.Core" />
- <Reference Include="System.Net" />
- <Reference Include="System.Xml" />
- <Reference Include="mscorlib.extensions" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="..\Tasky.Core.Portable\DL\SQLite.Implementation.cs">
- <Link>DL\SQLite.Implementation.cs</Link>
- </Compile>
- <Compile Include="App.xaml.cs">
- <DependentUpon>App.xaml</DependentUpon>
- </Compile>
- <Compile Include="MainPage.xaml.cs">
- <DependentUpon>MainPage.xaml</DependentUpon>
- </Compile>
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="TaskDetailsPage.xaml.cs">
- <DependentUpon>TaskDetailsPage.xaml</DependentUpon>
- </Compile>
- <Compile Include="ViewModels\TaskListViewModel.cs" />
- <Compile Include="ViewModels\TaskViewModel.cs" />
- <Compile Include="ViewModels\ViewModelBase.cs" />
- </ItemGroup>
- <ItemGroup>
- <ApplicationDefinition Include="App.xaml">
- <SubType>Designer</SubType>
- <Generator>MSBuild:Compile</Generator>
- </ApplicationDefinition>
- <Page Include="MainPage.xaml">
- <SubType>Designer</SubType>
- <Generator>MSBuild:Compile</Generator>
- </Page>
- <Page Include="TaskDetailsPage.xaml">
- <SubType>Designer</SubType>
- <Generator>MSBuild:Compile</Generator>
- </Page>
- </ItemGroup>
- <ItemGroup>
- <None Include="DL\ClassDiagram.cd" />
- <None Include="Properties\AppManifest.xml" />
- <None Include="Properties\WMAppManifest.xml" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="ApplicationIcon.png">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="Background.png">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="SplashScreenImage.jpg" />
- </ItemGroup>
- <ItemGroup>
- <Folder Include="Images\" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\Tasky.Core.Portable\Tasky.Core.Portable.csproj">
- <Project>{DBECB1BB-1CB3-4726-ABA3-F3CD716B6D86}</Project>
- <Name>Tasky.Core.Portable</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" />
- <Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
- <ProjectExtensions />
-</Project>
View
78 TaskyPro/TaskyWP7/ViewModels/TaskListViewModel.cs
@@ -1,78 +0,0 @@
-using System;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Shapes;
-using System.ComponentModel;
-using System.Windows.Threading;
-using Tasky.BL;
-using System.Collections.ObjectModel;
-using Tasky.BL.Managers;
-using System.Threading;
-using System.Collections.Generic;
-using System.Linq;
-
-namespace TaskyWP7 {
- public class TaskListViewModel : ViewModelBase {
-
- public ObservableCollection<TaskViewModel> Items { get; private set; }
-
- public bool IsUpdating { get; set; }
- public Visibility ListVisibility { get; set; }
- public Visibility NoDataVisibility { get; set; }
-
- public Visibility UpdatingVisibility
- {
- get
- {
- return (IsUpdating || Items == null || Items.Count == 0) ? Visibility.Visible : Visibility.Collapsed;
- }
- }
-
- Dispatcher dispatcher;
-
- public void BeginUpdate(Dispatcher dispatcher) {
- this.dispatcher = dispatcher;
-
- IsUpdating = true;
-
- ThreadPool.QueueUserWorkItem(delegate {
- var entries = (App.Current as TaskyWP7.App).TaskMgr.GetTasks();
- PopulateData(entries);
- });
- }
-
- void PopulateData(IEnumerable<Task> entries)
- {
- dispatcher.BeginInvoke(delegate {
- //
- // Set all the news items
- //
- Items = new ObservableCollection<TaskViewModel>(
- from e in entries
- select new TaskViewModel(e));
-
- //
- // Update the properties
- //
- OnPropertyChanged("Items");
-
- ListVisibility = Items.Count > 0 ? Visibility.Visible : Visibility.Collapsed;
- NoDataVisibility = Items.Count == 0 ? Visibility.Visible : Visibility.Collapsed;
-
- OnPropertyChanged("ListVisibility");
- OnPropertyChanged("NoDataVisibility");
- OnPropertyChanged("IsUpdating");
- OnPropertyChanged("UpdatingVisibility");
- });
- }
-
-
-
- }
-}
View
45 TaskyPro/TaskyWP7/ViewModels/TaskViewModel.cs
@@ -1,45 +0,0 @@
-using System;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Shapes;
-using Tasky.BL;
-
-namespace TaskyWP7 {
- public class TaskViewModel : ViewModelBase {
- public int ID { get; set; }
- public string Name { get; set; }
- public string Notes { get; set; }
- public bool Done { get; set; }
-
- public TaskViewModel ()
- {
- }
- public TaskViewModel (Task item)
- {
- Update (item);
- }
-
- public void Update (Task item)
- {
- ID = item.ID;
- Name = item.Name;
- Notes = item.Notes;
- Done = item.Done;
- }
-
- public Task GetTask() {
- return new Task {
- ID = this.ID,
- Name = this.Name,
- Notes = this.Notes,
- Done = this.Done
- };
- }
- }
-}
View
28 TaskyPro/TaskyWP7/ViewModels/ViewModelBase.cs
@@ -1,28 +0,0 @@
-using System;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Shapes;
-using System.ComponentModel;
-
-namespace TaskyWP7 {
- public class ViewModelBase : INotifyPropertyChanged {
-
-#region IPropertyChanged
- public event PropertyChangedEventHandler PropertyChanged;
-
- protected virtual void OnPropertyChanged(string propertyName)
- {
- PropertyChangedEventHandler handler = PropertyChanged;
- if (handler != null) {
- handler(this, new PropertyChangedEventArgs(propertyName));
- }
- }
-#endregion
- }
-}

0 comments on commit aef0aaa

Please sign in to comment.
Something went wrong with that request. Please try again.