gpt4 book ai didi

android - 如何将 GraphView 集成到我的项目中?

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:30:56 25 4
gpt4 key购买 nike

所以我在为我的应用程序寻找图形解决方案,我偶然发现了 GraphView .

我在 github 和源文件中四处寻找,似乎找不到集成指南。也许它就在我的面前,但我在任何地方都看不到它。

我以前从未将别人的代码集成到我自己的代码中,所以如果有人能给我简要介绍一下如何将 GraphView 集成到我当前的项目中,我将不胜感激。

最佳答案

选项 1:

  1. 获取库的jar from here .
  2. 将该 jar 复制到您要使用 GraphView 的项目中的 /libs 文件夹。
  3. 使用它。

选项 2:

  1. 使用gitgithub获取项目:

    • 使用 git bash 移动到你最喜欢的目录
    • git 执行 git clone git://github.com/jjoe64/GraphView.git graphView
    • Eclipse File-> Import...-> Android -/Existing Android Code Into Project(使用Browse从上一步中您喜欢的文件夹导航到graphView文件夹)
    • 右键单击将使用 GraphView 的项目 -> Properties -> Android -> 在底部(Library 区域)使用Add... 选择GraphView
    • 使用它

关于android - 如何将 GraphView 集成到我的项目中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15155383/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com