[Mono-bugs] [Bug 665714] New: Default Package name is not correct?
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jan 19 20:11:39 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=665714
https://bugzilla.novell.com/show_bug.cgi?id=665714#c0
Summary: Default Package name is not correct?
Classification: Mono
Product: MonoDroid
Version: SVN
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Tools
AssignedTo: mkestner at novell.com
ReportedBy: jondick at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
So, I created a new MonoDroid app project called MyDroidApp.
In my project properties, the package name is generated as
"myDroidApp.myDroidApp". In reality, if I make a Service class, the package
for that class is "myDroidApp.Service" and not "myDroidApp.myDroidApp.Service".
So, If I reference my service in the manifest (like in a <service
android:name=".Service" />), the service fails to be found. If I explicitly
use <service android:name="myDroidApp.Service" /> it works fine.
If I change my package name to just "myDroidApp" and use <service
android:name=".Service" />, my main Activity fails to be found.
So it seems there's some discrepancy here between how Activity's need the
package name and how the manifest completes the path if you use the .Service
shortcut instead of specifying the full myDroidApp.Service package name...
Reproducible: Always
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list