Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Google Android additions
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Way committed Apr 13, 2013
1 parent 71ae465 commit 56a5188
Show file tree
Hide file tree
Showing 69 changed files with 2,109 additions and 28 deletions.
6 changes: 6 additions & 0 deletions GoogleMaps/GMapsAndroid/GMapsAndroid.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@ Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GMapsAndroid", "GMapsAndroid\GMapsAndroid.csproj", "{499FD469-5FBF-4D92-AC1D-064FCAFAA847}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GooglePlayServicesBinding", "GooglePlayServicesBinding\GooglePlayServicesBinding.csproj", "{1251DB1F-890B-4B49-8F6C-3A5C5EC72A42}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1251DB1F-890B-4B49-8F6C-3A5C5EC72A42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1251DB1F-890B-4B49-8F6C-3A5C5EC72A42}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1251DB1F-890B-4B49-8F6C-3A5C5EC72A42}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1251DB1F-890B-4B49-8F6C-3A5C5EC72A42}.Release|Any CPU.Build.0 = Release|Any CPU
{499FD469-5FBF-4D92-AC1D-064FCAFAA847}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{499FD469-5FBF-4D92-AC1D-064FCAFAA847}.Debug|Any CPU.Build.0 = Debug|Any CPU
{499FD469-5FBF-4D92-AC1D-064FCAFAA847}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
10 changes: 10 additions & 0 deletions GoogleMaps/GMapsAndroid/GMapsAndroid/GMapsAndroid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<AndroidApplication>True</AndroidApplication>
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
<AssemblyName>GMapsAndroid</AssemblyName>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -26,6 +28,7 @@
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<AndroidLinkMode>None</AndroidLinkMode>
<EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
Expand All @@ -51,11 +54,18 @@
<ItemGroup>
<None Include="Resources\AboutResources.txt" />
<None Include="Assets\AboutAssets.txt" />
<None Include="Properties\AndroidManifest.xml" />
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\layout\Main.axml" />
<AndroidResource Include="Resources\values\Strings.xml" />
<AndroidResource Include="Resources\drawable\Icon.png" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
<ItemGroup>
<ProjectReference Include="..\GooglePlayServicesBinding\GooglePlayServicesBinding.csproj">
<Project>{1251DB1F-890B-4B49-8F6C-3A5C5EC72A42}</Project>
<Name>GooglePlayServicesBinding</Name>
</ProjectReference>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<?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="GMapsAndroid.GMapsAndroid">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.xamarin.minihack.gmapsandroid">
<uses-sdk />
<application android:label="GMapsAndroid">
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyCYoiEYsPNn3nhZ0i5cLAHvjA1HeEqKfHk" />
</application>
<permission android:name="com.xamarin.minihack.gmapsandroid.permission.MAPS_RECEIVE" android:protectionLevel="signature" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="com.example.mapdemo.permission.MAPS_RECEIVE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
</manifest>
226 changes: 217 additions & 9 deletions GoogleMaps/GMapsAndroid/GMapsAndroid/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 12 additions & 10 deletions GoogleMaps/GMapsAndroid/GMapsAndroid/Resources/layout/Main.axml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
<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/myButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
</LinearLayout>

android:layout_height="fill_parent">
<Button
android:id="@+id/myButton"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
<fragment
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:name="com.google.android.gms.maps.MapFragment" />
</LinearLayout>
Loading

0 comments on commit 56a5188

Please sign in to comment.