绕着太阳地球的Andr​​oid? [英] Rotating earth around sun in android?

查看:108
本文介绍了绕着太阳地球的Andr​​oid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发Android应用程序在那里我有一个名为地球和太阳两个图像。我想旋转的地球绕根据用户的触摸事件的太阳。也就是说,用户应该旋转地球图像。我会怎么做呢?


解决方案

  1. 找一些资源(书籍,在线教程等),将教你如何在Android图形编程。


  2. 在编写code这个项目你自己把你的第一个尝试。


  3. 如果您遇到问题,发布,显示你所写的code的问题,并说明您与code遇到的问题。


I am developing an android app where I have two images named earth and sun. I want to rotate the earth around the sun depending upon the user's touch event. That means the user should rotate the earth image. How would I do this?

解决方案

  1. Find some resources (books, online tutorials, etc.) that will teach you about graphics programming on Android.

  2. Take your first stab at writing the code for this project yourself.

  3. If you get stuck, post a question that displays the code you have written, and describe the issue you are having with that code.

这篇关于绕着太阳地球的Andr​​oid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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