Skip to content

Commit

Permalink
Ported over the ICS fix for Notepad sample
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebluestein authored and pjbeaman committed Apr 26, 2012
1 parent 6785821 commit cff2450
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions NotePad/NotePad.csproj
@@ -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>
Expand All @@ -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>
Expand All @@ -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' ">
Expand All @@ -36,7 +36,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
<AndroidLinkMode>SdkOnly</AndroidLinkMode>
</PropertyGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions NotePad/NotesDbAdapter.cs
Expand Up @@ -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;

Expand Down Expand Up @@ -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)
{
}

Expand Down

0 comments on commit cff2450

Please sign in to comment.