[Mono-bugs] [Bug 634931] New: launcher for each activity class when using period shorthand in AndroidManifest
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Aug 26 19:26:47 EDT 2010
https://bugzilla.novell.com/show_bug.cgi?id=634931
https://bugzilla.novell.com/show_bug.cgi?id=634931#c0
Summary: launcher for each activity class when using period
shorthand in AndroidManifest
Classification: Mono
Product: MonoDroid
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Tools
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: tomas.vondracek at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: Beta-Customer
Blocker: ---
Description of Problem:
I have two activity classes in my MonoDroid (7818) project. I declared them in
AndroidManifest.xml file as shown here: http://pastebin.com/8R58azx2
When using period shorthand in activity element, like
<activity android:name=".SharpEd">, there will be two launchers after deploy in
android's application menu. If I used full class name like, <activity
android:name="cz.tomas.sharpEd.SharpEd">, there would be only one launcher as
expected.
The period shorthand should represent the package name.
The application is running fine though.
Steps to reproduce the problem:
1. declare multiple activities in project and AndroidManifest.xml
2. use period shorthand like described
Actual Results:
There are two launchers in android's application menu for both my activities
after deploy.
Expected Results:
There should be only one launcher for the activity with
<category android:name="android.intent.category.LAUNCHER" />
in intent-filter element
How often does this happen?
always
Additional Information:
I'm using Windows 7 Pro x64, Java JDK Update 20 x64, in emulator is running
Android 2.1
In eclipse are shorthands working as expected.
description of activity element:
http://developer.android.com/guide/topics/manifest/activity-element.html#nm
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list