2013-09-06 4 views
0

라이브 배경 화면과 시작 화면이 있습니다. 내 매니페스트는 다음과 같습니다.라이브 배경 화면이 제대로 표시되지 않습니다.

<?xml version="1.0" encoding="utf-8"?> 

<manifest 
    xmlns:android="http://schemas.android.com/apk/res/android" 
    package="com.bdcorps.Striped"> 

    <uses-sdk android:minSdkVersion="7" /> 
    <uses-feature android:name="android.software.live_wallpaper" /> 

    <application 
     android:label="B! Lite" 
     android:icon="@drawable/ic_launcher" > 
     <!-- android:theme="@android:style/Theme.Holo" --> 

     <activity android:name="com.bdcorps.Striped.StarterActivity" 
        android:label="Striped! Lite" 
        android:screenOrientation="portrait" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"> 
     <intent-filter> 
       <action android:name="android.intent.action.MAIN" /> 
       <category android:name="android.intent.category.LAUNCHER" /> 
      </intent-filter> 
     </activity> 

     <service 
      android:label="B! Lite" 
      android:name="com.bdcorps.Striped.StripedMain" 
      android:permission="android.permission.BIND_WALLPAPER" 
      > 
      <intent-filter> 
       <action android:name="android.service.wallpaper.WallpaperService" /> 
      </intent-filter> 
      <meta-data android:name="android.service.wallpaper" android:resource="@xml/striped"/> 
     </service> 
     <activity 
      android:label="@string/striped_settings" 
      android:name="com.bdcorps.Striped.StripedMainSettings" 
      android:theme="@android:style/Theme.Light.WallpaperSettings" 
      android:exported="true"> 
     </activity> 

     <activity android:name=".EMAIL" 
       android:launchMode="singleTop" 
       android:screenOrientation="portrait" 
       android:configChanges="keyboardHidden|orientation"> 
      <intent-filter> 
      <action android:name="com.bdcorps.Striped.EMAIL" /> 
      <category android:name="android.intent.category.DEFAULT"/> 

      </intent-filter> 
    </activity> 

    </application> 
</manifest> 

이제 아이콘 - "ic_launcher"가 시작 프로그램에만 나타납니다. 라이브 벽지 피커와 같은 다른 장소에서 아이콘은 회색으로 "B!" 그 안에 쓰여져 있습니다 (이것이 기본이라고 생각합니다).

나는 완전히 응용 프로그램을 제거하고 또한 내 프로젝트를 청소하지만 아무것도 작동하지 않은

는 .........

답변

0

썸네일 이미지 (옵션 및 허니 콤부터 사용되지 않습니다) 벽지 간단한 설명해야 다음과 같이 XML/스트라이프 설정 :

<?xml version="1.0" encoding="utf-8"?> 
<wallpaper xmlns:android="http://schemas.android.com/apk/res/android" 
    android:settingsActivity="com.bdcorps.Striped.StripedMainSettings" 
    android:thumbnail="@drawable/thumbnail" 
    android:description="@string/wp_description" 
/> 

썸네일 이미지의 크기는 장치에 의해 크게 달라질 것 같다, 그래서 단지 하나의 고해상도 JPG를하고 drawable-nodpi에 넣어.

+0

내 문제는 목록의 아이콘이 변경되었지만 "응용 프로그램 관리자"의 아이콘이 제공된 기본 아이콘이 아니기 때문에 해결되었습니다. 어떤 도움이 필요합니까? –

+0

녹색 안드로이드가있는 백서처럼 보입니까? – Tenfour04

+0

태그 안에'android : icon = "@ drawable/ic_launcher"'줄을 다시 추가해볼 수 있습니다. – Tenfour04

관련 문제