Re: [mono-android] How do you start and Activity in c#

2012-03-22 Thread Craig Dunn
Hope this helps: * in *oneActivity* ** START THE NEW Activity SOMEWHERE var intent = new Intent(); intent.SetClass(this, typeof(twoActivity)); StartActivityForResult(intent, 1); AND protected override void OnActivityResult(int requestCode, ResultresultCode, Intent data) { if (requestCode == 1) {

[mono-android] How do you start and Activity in c#

2012-03-22 Thread james smoot
I am having a hard time getting a Activity to start in Mondroid using C# "oneActivity1" is the active Activity I want to start twoActivity which extends listActivity I want to use "Intent" so I can return a number from the list The problem is I can't find demo code in *C#* Thanks! __