sca*_*and 6 integration android android-graphview
所以我正在寻找我的应用程序的图形解决方案,我偶然发现了GraphView.
我正在环顾github和源文件,我似乎无法找到集成指南.也许它就在我面前,但我无法在任何地方看到它.
我以前从未将别人的代码集成到我自己的代码中,所以如果有人能给我一个关于如何将GraphView与我当前项目集成的快速概述,我将非常感激.
选项1:
/libs项目中要使用的文件夹中GraphView.选项2:
获取项目github使用git:
git git clone git://github.com/jjoe64/GraphView.git graphViewEclipse File- > Import...- > Android- /Existing Android Code Into Project(用于Browse导航到graphView上一步收藏文件夹中的文件夹)GraphView- > Properties- > Android- >底部(Library区域)用于Add...选择的项目GraphViewGraphView已添加到Maven Central,因此Android Studio集成现在变得更加容易.只需将以下内容添加到build.gradle文件中,即可下载.jar.
dependencies {
'com.jjoe64:graphview:3.1.3'
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
13242 次 |
| 最近记录: |