Sorry my bad didn't read everything well...

Accordin to http://developer.android.com/guide/topics/manifest/application-element.html
there are application name and logo attributes in androidmanifest.xml

android:name
The fully qualified name of an Application subclass implemented for the application. When the application process is started, this class is instantiated before any of the application's components. The subclass is optional; most applications won't need one. In the absence of a subclass, Android uses an instance of the base Application class.

android:label
A user-readable label for the application as a whole, and a default label for each of the application's components. See the individual label attributes for <activity>, <activity-alias>, <service>, <receiver>, and <provider> elements. The label should be set as a reference to a string resource, so that it can be localized like other strings in the user interface. However, as a convenience while you're developing the application, it can also be set as a raw string.

I don't think this will help You...

Have You considered headless (UI-less, without layout) Activity that launches Your first view??
Activities are not obligated to have UI layout...

regards

mel

On 2011.09.22 06:57, Agarwal, Tushar wrote:
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  <mailto: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  <mailto:mcvje...@holisticware.net>
w:http://www.holisticware.net

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com <mailto: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

Reply via email to