Hi,
I did that - applied attributes to the Activity class.
The problem lies, that I need the name of the application (as seen in the 
launcher) to be different from the label of the Main Activity.


Regards,
Tushar

From: Miljenko Cvjetko <mcvje...@holisticware.net>
To: monodroid@lists.ximian.com
Sent: Thursday, 22 September 2011 10:15 AM
Subject: Re: [mono-android] How to set the application name


Hi

On 2011.09.21 22:11, Agarwal, Tushar wrote: 
Hi,
>I have develop many applications for Android using Java. Now I am starting to 
>develop applications for Android using Mono.
>
>
>Can someone guide me how to set the application name which appears in the 
>launcher? As of now, it is same as that of the main activity. I want both of 
>them to be different.
>
>
>In Java, it could be done using androidmanifest.xml - setting the label 
>property in application tag.
androidmanifest is controlled through c# Attributes:
So in fornot of Your c# class put:
    [Activity (Label = "Mono for Android API Demo", MainLauncher =
    true)]

During compile Attributes modify androidmanifest.xml file.
You can do it manually, but we preffer Attribute approach

regards

mel


>
>Thanks,
>Tushar
>
>
>_______________________________________________
Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: 
http://lists.ximian.com/mailman/listinfo/monodroid 


-- 
Miljenko Cvjetko dipl.ing. ET Direktor/CEO Projektant rješenja/Solution 
Architect        Razvojni programer/Senior developer Voditelj projekta/Project 
Manager IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvje...@holisticware.net w: http://www.holisticware.net
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to