Hello, I am having a recent problem when importing live wallpapers into eclipse. The problem is that I am getting multiple errors when import a project's source code. Theoretically, there should be nothing wrong with the source code, because the live wallpaper that it’s for has been successfully built and installed on my phone. Any help on this would be great, the errors stated are below: In the SBlivewallpaper.java file there is a problem with these lines: Rect cropRect; BitmapRegionDecoder decoder; Bitmap croppedBitmap; try { decoder = BitmapRegionDecoder.newInstance(getResources().openRawResource(res), false); The problem is that eclipse is saying the " BitmapRegionDecoder decoder;" cannot be resolved to a type. I have no idea how to fix this. In the livwallpapersettings.java file there is a problem with these lines: @Override public boolean onPreferenceClick(Preference preference) { openUrl(url); return false; } } @Override public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { // TODO Auto-generated method stub Eclipse says this about the problem, focused on the lines that say @override: - The method onPreferenceClick(Preference) of type LiveWallpaperSettings.UrlOnPreferenceClickListener must override a superclass method - implements android.preference.Preference.OnPreferenceClickListener.onPreferenceClick In the livwallpapersettings.java file there is a problem with these lines: @Override public boolean onPreferenceClick(Preference preference) { share(); return true; Eclipse says this about the problem, focused on the lines that say @override: - The method onPreferenceClick(Preference) of type LiveWallpaperSettings.UrlOnPreferenceClickListener must override a superclass method - implements android.preference.Preference.OnPreferenceClickListener.onPreferenceClick In the livwallpapersettings.java file there is a problem with these lines: @Override public boolean onPreferenceClick(Preference preference) { openUrl(url); return false; } } @Override public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { // TODO Auto-generated method stub Eclipse says this about the problem, focused on the lines that say @override: - The method onPreferenceClick(Preference) of type LiveWallpaperSettings.UrlOnPreferenceClickListener must override a superclass method - implements android.preference.Preference.OnPreferenceClickListener.onPreferenceClick Thats all the problems I am having. I have no idea where it came from or why. If someone could reply quickly that would be great. Tomorrow is the last day that we are allowed to have PUSH notifications and I would really like to get all my apps up to speed. Thank you.
Never mind I figured it out after wasting hours of time on forums and stuff. It turns out that my android SDK was only updated to API level 7 (for version 2.1) and was thus WAY under the requirements for the new live wallpaper creator. I've made other LWP's through the new lwc that went through eclipse no problem, so I have no idea why it picked tonight to act up, but I fixed it now. I feel very foolish, and I would please request that @Vas takes this down so no one else can see how silly I am.
@stollo770 Hey you should use CODE tags on the forums to post any kind of code (for easier legibility)