Wednesday, April 3, 2013

[Q] [Help ME]Mono Android with MVS 2010




Default[Q] [Help ME]Mono Android with MVS 2010




Hi guys, I'm new to C# and Mono Android. I have tried to make a app, but it gives me a error, I want to ping a address, this is the error

Click image for larger version Name: error.jpg Views: 1 Size: 161.0 KB ID: 1856850

here's the code,

using System;
using System.Text;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Net;

using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Android.Media;

namespace FirstAAp
{
[Activity(Label = "FirstAAp", MainLauncher = true, Icon = "@drawable/icon")]
public class Activity1 : Activity
{

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

// Set our view from the "main" layout resource
SetContentView(Resource.Layout.Main);

// Get our button from the layout resource,
// and attach an event to it
Button button = FindViewById



"An EXPERT is someone who has made all the mistakes which can be made, in a very narrow field" - Niels Bohr

--------------------------------------------------------------------------
----------------------------------------------------------------------------------------------Thanks to UKICAR@XDA



.

forums.androidcentral.com

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...