Hello,
i'm using Android Project Library (http://goo.gl/7vvxI). In Android
docs, it copys all items from android library project
AndroidManifest.xml in application AndroidManifest.xml

like in example, AndroidManifest.xml of library project
<manifest>
  ...
  <application>
    ...
    <activity android:name="GameActivity" />
    ...
  </application>
  ...
</manifest>

so, AndroidManifest.xml of application must be
<manifest>
  ...
  <application>
    ...
    <activity
android:name="com.example.android.tictactoe.library.GameActivity" />
    ...
  </application>
  ...
</manifest>

So, if in library project i've a widget declaration, like below, how i
can refer to widget xml in application AndroidManifest.xml?

In library project

<receiver
android:name="com.example.android.tictactoe.library.MedWidget"
android:label="@string/label_med_widget">
        <meta-data android:name="android.appwidget.provider"
android:resource="@xml/med_provider" />
        <intent-filter>
          <action
android:name="android.appwidget.action.APPWIDGET_UPDATE" />
        </intent-filter>
      </receiver>

in meta-data i refer to med_provider in xml folder. Do i need to copy
med_provider.xml in xml folder of application?

thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to