jtaylor wrote:
> <provider class=".NotePadProvider"
>                  android:authorities="com.google.provider.NotePad" />
> 
> Why is there a dot (a period) before the Class name?

That is shorthand to reference the package attribute in the root 
manifest element.

So, if your manifest were:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
        package="com.commonsware.android.activities"
        android:versionCode="1"
        android:versionName="1.0.0">
        <application android:label="@string/app_name">
                <activity android:name=".IntentTabDemo"
                        android:label="@string/app_name">
                        <intent-filter>
                                <action 
android:name="android.intent.action.MAIN" />
                                <category 
android:name="android.intent.category.LAUNCHER" />
                        </intent-filter>
                </activity>
        </application>
</manifest>

The .IntentTabDemo in android:name really expands to 
com.commonsware.android.activities.IntentTabDemo.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.9 Available!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to