开发者

include class from another android project

i'm following the suggestion in this post: Drawing a gameboard like checkers in Android

basically, the suggestion in the other thread is that the snake dem开发者_Go百科o in the android SDK has a custom view that display a grid of images suitable for a tile based game, such as snake or checkers, and to base the done on that.

if i just wanted to use this code, how would i do so? i'm using the eclipse IDE with the android toolkit installed.


If you really wanted to you could link the source code to be used in your project via symlinks. This is probably the quickest way to include code, though you may bring in other stuff that you may not want.

Another way would be to copy the view (+source dependencies) into your src directory on the filesystem then fix any package issues you may have.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜