Sto creando il mio pugno Live wallpaper seguendo il tutorial this. Ma sto errore can not be resolved or is not a field
salire su queste due lineeErrore in corrispondenza di WallpaperManager.ACTION_CHANGE_LIVE_WALLPAPER
WallpaperManager.ACTION_CHANGE_LIVE_WALLPAPER
WallpaperManager.EXTRA_LIVE_WALLPAPER_COMPONENT
durante il tentativo di raggiungere questo
Intent intent = new Intent(WallpaperManager.ACTION_CHANGE_LIVE_WALLPAPER);
intent.putExtra(WallpaperManager.EXTRA_LIVE_WALLPAPER_COMPONENT,
new ComponentName(this, LiveWallService.class));
E compilatore fornisce questi suggessions:
WallpaperManager.ACTION_LIVE_WALLPAPER_CHOOSER
WallpaperManager.COMMAND_DROP
WallpaperManager.COMMAND_SECONDARY_TAP
WallpaperManager.COMMAND_TAP
WallpaperManager.WALLPAPER_PREVIEW_META_DATA
è un qualsiasi cosa sbagliato...?
Si prega di notare che '' '' ACTION_CHANGE_LIVE_WALLPAPER'' e EXTRA_LIVE_WALLPAPER_COMPONENT'' sono API 16+ caratteristiche. – harism
Ok, grazie, è stato risolto ... – Arsalan