• 大小: 39.13MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-06-28
  • 语言: Java
  • 标签: C#  .net  android  Mono  

资源简介

C#开发安卓, 开发环境vs2010或以上版本 ,网上Mono for android资料很少,且都是英文版的。这里分享给大家是 vs2010做安卓的源码 涵盖了最初的hello android和深层的谷歌地图源码等 ,希望大家喜欢! 由于文件上传大小限制 分两次传的 有需要的私信我

资源截图

代码片段和文件信息

/*
 * Copyright (C) 2009 The Android Open Source Project
 *
 * Licensed under the Apache License Version 2.0 (the “License“);
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing software
 * distributed under the License is distributed on an “AS IS“ BASIS
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 */

using System;
using Android.App;
using Android.OS;
using Android.Views;
using Android.Widget;
using Android.Content.PM;

namespace JetBoy
{
[Activity (Label = “Jet Boy“ MainLauncher = true ScreenOrientation = ScreenOrientation.Landscape Icon = “@drawable/icon“)]
public class JetBoyActivity : Activity
{
// Handle to the thread that‘s actually running the animation.
private JetBoyThread jetboy_thread;

// GUI Widgets
private Button start_button;
private Button retry_button;
private TextView text_view;
private TextView timer_view;

protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);

// Remove the title bar
RequestWindowFeature (WindowFeatures.Notitle);

SetContentView (Resource.Layout.main);

// Look up the happy shiny buttons
start_button = FindViewById

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1489  2013-05-13 09:37  PopupMenuDemo\Activity1.cs

     文件        620  2013-05-13 09:37  PopupMenuDemo\Assets\AboutAssets.txt

     文件        230  2013-05-13 09:37  PopupMenuDemo\metadata.xml

     文件       3638  2013-05-13 09:37  PopupMenuDemo\PopupMenuDemo.csproj

     文件       1186  2013-05-13 09:37  PopupMenuDemo\PopupMenuDemo.sln

     文件        318  2013-05-13 09:37  PopupMenuDemo\Properties\AndroidManifest.xml

     文件       1040  2013-05-13 09:37  PopupMenuDemo\Properties\AssemblyInfo.cs

     文件        105  2013-05-13 09:37  PopupMenuDemo\README.md

     文件       1738  2013-05-13 09:37  PopupMenuDemo\Resources\AboutResources.txt

     文件       7049  2013-05-13 09:37  PopupMenuDemo\Resources\drawable-hdpi\icon.png

     文件       2920  2013-05-13 09:37  PopupMenuDemo\Resources\drawable-ldpi\icon.png

     文件       3923  2013-05-13 09:37  PopupMenuDemo\Resources\drawable-mdpi\icon.png

     文件      10399  2013-05-13 09:37  PopupMenuDemo\Resources\drawable-xhdpi\icon.png

     文件      18383  2013-05-13 09:37  PopupMenuDemo\Resources\drawable-xxhdpi\icon.png

     文件        433  2013-05-13 09:37  PopupMenuDemo\Resources\layout\Main.axml

     文件        336  2013-05-13 09:37  PopupMenuDemo\Resources\menu\popup_menu.xml

     文件        174  2013-05-13 09:37  PopupMenuDemo\Resources\values\Strings.xml

     文件      32876  2013-05-13 09:37  PopupMenuDemo\Screenshots\PopupMenuDemo.png

     文件       1315  2013-05-13 09:37  RotationDemo\Activity1.cs

     文件        620  2013-05-13 09:37  RotationDemo\Assets\AboutAssets.txt

     文件       3985  2013-05-13 09:37  RotationDemo\CodeLayoutActivity.cs

     文件        248  2013-05-13 09:37  RotationDemo\metadata.xml

     文件       3270  2013-05-13 09:37  RotationDemo\NonConfigInstanceActivity.cs

     文件       1039  2013-05-13 09:37  RotationDemo\Properties\AssemblyInfo.cs

     文件        186  2013-05-13 09:37  RotationDemo\README.md

     文件       1738  2013-05-13 09:37  RotationDemo\Resources\AboutResources.txt

     文件      31348  2013-05-13 09:37  RotationDemo\Resources\drawable\monkey.png

     文件       7049  2013-05-13 09:37  RotationDemo\Resources\drawable-hdpi\icon.png

     文件      24462  2013-05-13 09:37  RotationDemo\Resources\drawable-land\monkey.png

     文件       2920  2013-05-13 09:37  RotationDemo\Resources\drawable-ldpi\icon.png

............此处省略2218个文件信息

评论

共有 条评论