Re: [mono-android] Sample of a custom component?

2011-06-16 Thread Greg Shackles
A lot of things in Android can be called components...what kind of component are you looking to build? :) For a custom view, for example, you basically just extend View (or the specific type of View you're trying to extend), and then you can use it in a layout file using the Java namespaced versio

Re: [mono-android] set start activity for widget

2011-06-16 Thread Greg Shackles
Oh sorry, I misunderstood what you were asking. What you're seeing is just standard Android multitasking, when you switch back to your app it will pick up where you left off if it can, so the user gets a continuous experience. If you're sure you want it to reset every time, you can use the ClearTas

Re: [mono-android] set start activity for widget

2011-06-16 Thread jnmahi
i already did that but still its showing me last activity ... -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/set-start-activity-for-widget-tp4494696p4494722.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

Re: [mono-android] set start activity for widget

2011-06-16 Thread Greg Shackles
Set MainLauncher=true in the Activity attribute for any activity you want added as a launch point for your application, like this: [Activity(MainLauncher = true, Label = "@string/ApplicationName", Icon = "@drawable/icon")] public class StartActivity : Activity On Thu, Jun 16, 2011 at 7:31 AM, jnm

[mono-android] set start activity for widget

2011-06-16 Thread jnmahi
Hi all, i have created a application in which user go from 1 activity to another there are 3-4 activities... i am facing a problen when user exit from an activity3 and closethe widzet and then open widget again it comes to activity3 by default ... i want it should always come to activity1 on