{"id":21436826,"url":"https://github.com/tangqi92/mygreendao","last_synced_at":"2025-08-20T04:32:09.997Z","repository":{"id":35445478,"uuid":"39712109","full_name":"tangqi92/MyGreenDAO","owner":"tangqi92","description":"A simple demo of GreenDAO.","archived":false,"fork":false,"pushed_at":"2017-11-15T07:58:32.000Z","size":99,"stargazers_count":201,"open_issues_count":3,"forks_count":92,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-12-06T05:50:35.005Z","etag":null,"topics":["android","demo","greendao","orm-greendao"],"latest_commit_sha":null,"homepage":"http://imtangqi.com/2015/07/26/orm-greendao-summary","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tangqi92.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-26T03:24:39.000Z","updated_at":"2024-06-26T01:36:06.000Z","dependencies_parsed_at":"2022-09-07T12:20:20.286Z","dependency_job_id":null,"html_url":"https://github.com/tangqi92/MyGreenDAO","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangqi92%2FMyGreenDAO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangqi92%2FMyGreenDAO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangqi92%2FMyGreenDAO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangqi92%2FMyGreenDAO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangqi92","download_url":"https://codeload.github.com/tangqi92/MyGreenDAO/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230394228,"owners_count":18218707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","demo","greendao","orm-greendao"],"created_at":"2024-11-23T00:15:58.541Z","updated_at":"2024-12-19T07:06:23.085Z","avatar_url":"https://github.com/tangqi92.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"MyGreenDAO\n==========\n\n\u003cp\u003e\n\u003cimg src=\"http://7xikfc.com1.z0.glb.clouddn.com/gr_logo.png\" width=\"100px\" height=\"100px\" align=\"left\" hspace=\"15px\" /\u003e\nMyGreenDAO 是我在学习使用 ORM 框架 greenDAO 时在官方提供的 Example Project 上精简出来的 Demo，为此添加了详细的注释说明，旨在帮助大家能快速了解、上手使用并扩展 greenDAO。我会持续跟新 MyGreenDAO，不断优化与添加新的功能，欢迎大家 Fork 与 Star 。                                      \n\u003c/p\u003e       \n\n\u003cimg src=\"http://7xikfc.com1.z0.glb.clouddn.com/mygreendao-1.1.gif\" alt=\"screenshot\" title=\"screenshot\" width=\"300\" height=\"533\" /\u003e\n\n**Demo is still in development so more features will be added soon**\n\n  - [Usage](#usage)\n  - [Download](#download)\n  - [Documentation](#documentation)\n  - [Thanks to](#thanks-to)\n  - [Contact Me](#contact-me)\n  - [License](#license)\n\n# Usage\n\n### Dependency - 依赖\n  - Java Development Kit (JDK) 8 +\n  - com.android.tools.build:gradle:1.2.3\n  - Android SDK\n    - Android SDK Build-tools 22.0.1\n\n\n### Build - 构建\n\n    git clone https://github.com/tangqi92/MyGreenDAO.git\n\n用最新的 IntelliJ IDE 导入工程（Import Project），然后等待 IDE 下载 gradle 和依赖包即可\n\nThis project uses the Gradle build system. To build this project, use the \"gradlew build\" command or use \"Import Project\" in Android Studio.\n\n对啦，是时候和 Eclipse 说拜拜了，赶紧拥抱 [Android Studio](https://developer.android.com/sdk/index.html) 吧：D\n\n### Modify - 修改\n\n如一切正常（compileSdkVersion 与 buildToolsVersion 等需根据自己实际情况更改），你只需要修改 [ExampleDaoGenerator](https://github.com/tangqi92/MyGreenDAO/blob/master/daoexamplegenerator/src/main/java/me/itangqi/ExampleDaoGenerator.java) 类中如下这条语句，\"...\"替换为你实际的存放目录即可   \n\n```java\nnew DaoGenerator().generateAll(schema, \".../MyGreenDAO/app/src/main/java-gen\");\n```  \n\n# Download\n\n直接下载：[MyGreenDAO-1.1.0.apk](https://github.com/tangqi92/MyGreenDAO/releases/download/v1.1.0/app-release-unsigned.apk)\n\n# Documentation\n\n项目主页：[ORM 框架之 greenDAO 使用心得](http://imtangqi.com/2015/07/26/orm-greendao-summary/)  \n\n# Thanks to\n\n再次感谢：[greenDAO](https://github.com/greenrobot/greenDAO)  \n\n# Contact Me\n\n- Weibo：[@Tang](http://weibo.com/qiktang)\n- Gmail：[imtangqi#gmail.com](mailto:imtangqi@gmail.com \"欢迎与我联系\")\n- Blog: [http://imtangqi.com](http://imtangqi.com)  \n\n# License\n\n\u003cpre\u003e\nThe MIT License (MIT)\n\nCopyright (c) 2015 Qi Tang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangqi92%2Fmygreendao","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangqi92%2Fmygreendao","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangqi92%2Fmygreendao/lists"}