Permalink
Browse files

Ported over the ICS fix for Notepad sample

  • Loading branch information...
1 parent 6785821 commit cff2450a80bd2edcebe206ed03211baa34363862 @mikebluestein mikebluestein committed with pjbeaman Feb 22, 2012
Showing with 6 additions and 6 deletions.
  1. +4 −4 NotePad/NotePad.csproj
  2. +2 −2 NotePad/NotesDbAdapter.cs
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?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>
@@ -16,7 +16,8 @@
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
- <DeployExternal>False</DeployExternal>
+ <DeployExternal>false</DeployExternal>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -26,7 +27,6 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>
<AndroidLinkMode>None</AndroidLinkMode>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
@@ -36,7 +36,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
+ <AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
</PropertyGroup>
<ItemGroup>
@@ -35,7 +35,7 @@ public class NotesDbAdapter
"create table notes (_id integer primary key autoincrement, "
+ "title text not null, body text not null);";
- private const string DatabaseName = "data";
+ private const string DBName = "data";
private const string DatabaseTable = "notes";
private const int DatabaseVersion = 2;
@@ -156,7 +156,7 @@ public bool UpdateNote(long rowId, string title, string body)
private class DatabaseHelper : SQLiteOpenHelper
{
internal DatabaseHelper(Context context)
- : base(context, DatabaseName, null, DatabaseVersion)
+ : base(context, DBName, null, DatabaseVersion)
{
}

0 comments on commit cff2450

Please sign in to comment.