一个Android动态壁纸的简单的例子 [英] Simplest example of an Android live wallpaper

查看:156
本文介绍了一个Android动态壁纸的简单的例子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让一个机器人动态壁纸。我找的只是,仅仅显示了坚实的背景,并没有别的让我开始一个简单的例子。我抬起头,相当多的教程,但他们都有preference活动,我不能让任何人来工作。我甚至试图消除一切不超过所要求的改写功能需要等。任何人都可以张贴code只是一个简单的生活壁纸或张贴一个链接到一定的工作的一个例子。

I'm trying to make an android live wallpaper. I am looking for just a simple example that just displays a solid background and does nothing else to get me started. I've looked up quite a few tutorials but they all have preference activities and I can't get any of them to work. I've even tried removing everything that it does not need other than the required override functions. Can anyone post the code for just a simple live wallpaper or post a link to an example that definitely works.

我一直在使用Android模拟器版本2.1 SDK 7.它运行的立方体动态壁纸自带的SDK,但是当我创建多维数据集的项目我自己这是行不通的。

I've been using the android emulator with version 2.1 sdk 7. It runs the cube live wallpaper that comes in the sdk, but when I create the cube project myself it doesn't work.

谢谢!

推荐答案

检查这些可能会有所帮助:

check these may be helpful:

<一个href="http://blog.androgames.net/58/android-live-wallpaper-tutorial/">http://blog.androgames.net/58/android-live-wallpaper-tutorial/

<一个href="http://www.$c$cproject.com/KB/android/AndroidLiveWallpaper.aspx">http://www.$c$cproject.com/KB/android/AndroidLiveWallpaper.aspx

<一个href="http://www.vogella.de/articles/AndroidLiveWallpaper/article.html">http://www.vogella.de/articles/AndroidLiveWallpaper/article.html

这篇关于一个Android动态壁纸的简单的例子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆