Monday, May 9, 2011

Aw: Re: [android-developers] trying to use application object, but cant use android object

I use a custom app class and my Manifest looks like that:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.<package_path>" android:versionCode="1" android:versionName="1.0">

    <application android:icon="@drawable/icon" android:label="@string/app_name"
        android:name=".MyApplication">

Don't forget that your MyApplication class needs to extend class Application.

R.

--
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


Real Estate