[android-developers] Re: Android Library project and widget xml referes in AndroidManifest.xml
For example, for android default resource you can use @android:anim/
cycle_interpolator
And for resource in library project?
On 26 Nov, 15:37, Premier <a.grum...@gmail.com> wrote:
> 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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home