2011/4/19 kumar Gaurav <[email protected]>:
> i'm using following code in manifest for getting permission for
> changing wallpaper
> <?xml version="1.0" encoding="utf-8"?>
> <manifest xmlns:android="http://schemas.android.com/apk/res/android";
>      package="com.and.third"
>      android:versionCode="1"
>      android:versionName="1.0">
>    <uses-sdk android:minSdkVersion="8" />
>    <uses-permission android:name="android.permission.SET_WALLPAPER"></
> uses-permission>
>    <permission android:protectionLevel="normal"
> android:name="android.permission.SET_WALLPAPER" ></permission>
>
>
>    <application android:icon="@drawable/icon" android:label="@string/
> app_name" android:permission="android.permission.SET_WALLPAPER">

add below permission to try again.

android:permission="android.permission.BIND_WALLPAPER"

>        <activity android:name=".com.and.third"
>                  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>
> but still it throws an exception. please help me with what else m
> required to do.
> thank you
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" 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-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to