├── .gitignore ├── AndroidManifest.xml ├── LICENSE ├── README.md ├── anytime-activity-diagram.acd ├── anytime-class-diagram.cld ├── build.gradle ├── data ├── Achievement.json ├── AchievementList.json ├── DoingList.json ├── DoingListChild.json ├── DoingListGroup.json └── SuggestionByUser.json ├── ic_launcher-web.png ├── libs ├── android-async-http-1.4.6.jar ├── android-support-v4.jar ├── avoscloud-v2.6.9.1.jar ├── avospush-v2.6.9.1.jar ├── avossearch-v2.6.9.1.jar ├── avosstatistics-v2.6.9.1.jar ├── fastjson.jar └── httpmime-4.2.4.jar ├── proguard-project.txt ├── project.properties ├── res ├── drawable-hdpi │ └── ic_launcher.png ├── drawable-mdpi │ └── ic_launcher.png ├── drawable-xhdpi │ └── ic_launcher.png ├── drawable-xxhdpi │ ├── achievement_title.png │ ├── ic_launcher.png │ ├── qq.png │ └── weibo.png ├── layout │ ├── activity_about_app.xml │ ├── activity_doing_detail.xml │ ├── activity_forget_password.xml │ ├── activity_login.xml │ ├── activity_main.xml │ ├── activity_register.xml │ ├── fragment_main_doing_list.xml │ ├── fragment_main_person.xml │ ├── view_doing_list_child.xml │ ├── view_doing_list_group.xml │ └── view_user_response.xml ├── menu │ └── main.xml ├── values-sw600dp │ └── dimens.xml ├── values-sw720dp-land │ └── dimens.xml ├── values-v11 │ └── styles.xml ├── values-v14 │ └── styles.xml └── values │ ├── colors.xml │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml └── src └── com └── luna └── anytime ├── AVService.java ├── AboutAppActivity.java ├── AnyTimeActivity.java ├── AnyTimeApplication.java ├── DoingDetailActivity.java ├── DoingListFragment.java ├── ForgetPasswordActivity.java ├── LoginActivity.java ├── MainActivity.java ├── PersonFragment.java ├── RegisterActivity.java ├── adapter ├── AnytimeExpandableListAdapter.java └── AnytimeUserResponseListAdapter.java └── data └── DoingListData.java /.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | .DS_Store 3 | gen/ 4 | *.iml 5 | .gradle 6 | /local.properties 7 | /build 8 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 26 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 38 | 39 | 42 | 43 | 48 | 49 | 52 | 53 | 56 | 57 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, and 10 | distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by the copyright 13 | owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all other entities 16 | that control, are controlled by, or are under common control with that entity. 17 | For the purposes of this definition, "control" means (i) the power, direct or 18 | indirect, to cause the direction or management of such entity, whether by 19 | contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the 20 | outstanding shares, or (iii) beneficial ownership of such entity. 21 | 22 | "You" (or "Your") shall mean an individual or Legal Entity exercising 23 | permissions granted by this License. 24 | 25 | "Source" form shall mean the preferred form for making modifications, including 26 | but not limited to software source code, documentation source, and configuration 27 | files. 28 | 29 | "Object" form shall mean any form resulting from mechanical transformation or 30 | translation of a Source form, including but not limited to compiled object code, 31 | generated documentation, and conversions to other media types. 32 | 33 | "Work" shall mean the work of authorship, whether in Source or Object form, made 34 | available under the License, as indicated by a copyright notice that is included 35 | in or attached to the work (an example is provided in the Appendix below). 36 | 37 | "Derivative Works" shall mean any work, whether in Source or Object form, that 38 | is based on (or derived from) the Work and for which the editorial revisions, 39 | annotations, elaborations, or other modifications represent, as a whole, an 40 | original work of authorship. For the purposes of this License, Derivative Works 41 | shall not include works that remain separable from, or merely link (or bind by 42 | name) to the interfaces of, the Work and Derivative Works thereof. 43 | 44 | "Contribution" shall mean any work of authorship, including the original version 45 | of the Work and any modifications or additions to that Work or Derivative Works 46 | thereof, that is intentionally submitted to Licensor for inclusion in the Work 47 | by the copyright owner or by an individual or Legal Entity authorized to submit 48 | on behalf of the copyright owner. For the purposes of this definition, 49 | "submitted" means any form of electronic, verbal, or written communication sent 50 | to the Licensor or its representatives, including but not limited to 51 | communication on electronic mailing lists, source code control systems, and 52 | issue tracking systems that are managed by, or on behalf of, the Licensor for 53 | the purpose of discussing and improving the Work, but excluding communication 54 | that is conspicuously marked or otherwise designated in writing by the copyright 55 | owner as "Not a Contribution." 56 | 57 | "Contributor" shall mean Licensor and any individual or Legal Entity on behalf 58 | of whom a Contribution has been received by Licensor and subsequently 59 | incorporated within the Work. 60 | 61 | 2. Grant of Copyright License. 62 | 63 | Subject to the terms and conditions of this License, each Contributor hereby 64 | grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, 65 | irrevocable copyright license to reproduce, prepare Derivative Works of, 66 | publicly display, publicly perform, sublicense, and distribute the Work and such 67 | Derivative Works in Source or Object form. 68 | 69 | 3. Grant of Patent License. 70 | 71 | Subject to the terms and conditions of this License, each Contributor hereby 72 | grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, 73 | irrevocable (except as stated in this section) patent license to make, have 74 | made, use, offer to sell, sell, import, and otherwise transfer the Work, where 75 | such license applies only to those patent claims licensable by such Contributor 76 | that are necessarily infringed by their Contribution(s) alone or by combination 77 | of their Contribution(s) with the Work to which such Contribution(s) was 78 | submitted. If You institute patent litigation against any entity (including a 79 | cross-claim or counterclaim in a lawsuit) alleging that the Work or a 80 | Contribution incorporated within the Work constitutes direct or contributory 81 | patent infringement, then any patent licenses granted to You under this License 82 | for that Work shall terminate as of the date such litigation is filed. 83 | 84 | 4. Redistribution. 85 | 86 | You may reproduce and distribute copies of the Work or Derivative Works thereof 87 | in any medium, with or without modifications, and in Source or Object form, 88 | provided that You meet the following conditions: 89 | 90 | You must give any other recipients of the Work or Derivative Works a copy of 91 | this License; and 92 | You must cause any modified files to carry prominent notices stating that You 93 | changed the files; and 94 | You must retain, in the Source form of any Derivative Works that You distribute, 95 | all copyright, patent, trademark, and attribution notices from the Source form 96 | of the Work, excluding those notices that do not pertain to any part of the 97 | Derivative Works; and 98 | If the Work includes a "NOTICE" text file as part of its distribution, then any 99 | Derivative Works that You distribute must include a readable copy of the 100 | attribution notices contained within such NOTICE file, excluding those notices 101 | that do not pertain to any part of the Derivative Works, in at least one of the 102 | following places: within a NOTICE text file distributed as part of the 103 | Derivative Works; within the Source form or documentation, if provided along 104 | with the Derivative Works; or, within a display generated by the Derivative 105 | Works, if and wherever such third-party notices normally appear. The contents of 106 | the NOTICE file are for informational purposes only and do not modify the 107 | License. You may add Your own attribution notices within Derivative Works that 108 | You distribute, alongside or as an addendum to the NOTICE text from the Work, 109 | provided that such additional attribution notices cannot be construed as 110 | modifying the License. 111 | You may add Your own copyright statement to Your modifications and may provide 112 | additional or different license terms and conditions for use, reproduction, or 113 | distribution of Your modifications, or for any such Derivative Works as a whole, 114 | provided Your use, reproduction, and distribution of the Work otherwise complies 115 | with the conditions stated in this License. 116 | 117 | 5. Submission of Contributions. 118 | 119 | Unless You explicitly state otherwise, any Contribution intentionally submitted 120 | for inclusion in the Work by You to the Licensor shall be under the terms and 121 | conditions of this License, without any additional terms or conditions. 122 | Notwithstanding the above, nothing herein shall supersede or modify the terms of 123 | any separate license agreement you may have executed with Licensor regarding 124 | such Contributions. 125 | 126 | 6. Trademarks. 127 | 128 | This License does not grant permission to use the trade names, trademarks, 129 | service marks, or product names of the Licensor, except as required for 130 | reasonable and customary use in describing the origin of the Work and 131 | reproducing the content of the NOTICE file. 132 | 133 | 7. Disclaimer of Warranty. 134 | 135 | Unless required by applicable law or agreed to in writing, Licensor provides the 136 | Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, 137 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, 138 | including, without limitation, any warranties or conditions of TITLE, 139 | NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are 140 | solely responsible for determining the appropriateness of using or 141 | redistributing the Work and assume any risks associated with Your exercise of 142 | permissions under this License. 143 | 144 | 8. Limitation of Liability. 145 | 146 | In no event and under no legal theory, whether in tort (including negligence), 147 | contract, or otherwise, unless required by applicable law (such as deliberate 148 | and grossly negligent acts) or agreed to in writing, shall any Contributor be 149 | liable to You for damages, including any direct, indirect, special, incidental, 150 | or consequential damages of any character arising as a result of this License or 151 | out of the use or inability to use the Work (including but not limited to 152 | damages for loss of goodwill, work stoppage, computer failure or malfunction, or 153 | any and all other commercial damages or losses), even if such Contributor has 154 | been advised of the possibility of such damages. 155 | 156 | 9. Accepting Warranty or Additional Liability. 157 | 158 | While redistributing the Work or Derivative Works thereof, You may choose to 159 | offer, and charge a fee for, acceptance of support, warranty, indemnity, or 160 | other liability obligations and/or rights consistent with this License. However, 161 | in accepting such obligations, You may act only on Your own behalf and on Your 162 | sole responsibility, not on behalf of any other Contributor, and only if You 163 | agree to indemnify, defend, and hold each Contributor harmless for any liability 164 | incurred by, or claims asserted against, such Contributor by reason of your 165 | accepting any such warranty or additional liability. 166 | 167 | END OF TERMS AND CONDITIONS 168 | 169 | APPENDIX: How to apply the Apache License to your work 170 | 171 | To apply the Apache License to your work, attach the following boilerplate 172 | notice, with the fields enclosed by brackets "{}" replaced with your own 173 | identifying information. (Don't include the brackets!) The text should be 174 | enclosed in the appropriate comment syntax for the file format. We also 175 | recommend that a file or class name and description of purpose be included on 176 | the same "printed page" as the copyright notice for easier identification within 177 | third-party archives. 178 | 179 | Copyright 2014 LunaGao 180 | 181 | Licensed under the Apache License, Version 2.0 (the "License"); 182 | you may not use this file except in compliance with the License. 183 | You may obtain a copy of the License at 184 | 185 | http://www.apache.org/licenses/LICENSE-2.0 186 | 187 | Unless required by applicable law or agreed to in writing, software 188 | distributed under the License is distributed on an "AS IS" BASIS, 189 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 190 | See the License for the specific language governing permissions and 191 | limitations under the License. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Anytime介绍 2 | [![Bless](https://cdn.rawgit.com/LunaGao/BlessYourCodeTag/master/tags/god.svg)](http://lunagao.github.io/BlessYourCodeTag/) 3 | 4 | # 效果图&说明 5 | 6 | ![img](https://raw.githubusercontent.com/lzwjava/plan/master/anytime360.png) 7 | 8 | 这是从开发者征集到的一个应用,演示了: 9 | 10 | * 用户注册、登陆、登出和忘记密码等用户系统相关的功能。 11 | * 相对复杂一些的数据增删改查操作。 12 | * 消息推送 13 | 14 | 项目开发记录和介绍在这里 15 | 16 | http://www.cnblogs.com/maomishen/p/3577480.html 17 | 18 | 将学会 19 | 20 | * 配置消息推送 21 | * AVQuery 22 | * 邮箱验证重设密码 23 | * 用户登录注册 24 | * 调用云函数 25 | * 创建 AVObject 26 | 27 | # 如何运行 28 | 29 | ## With Gradle 30 | 31 | The easiest way to build is to install [Android Studio](https://developer.android.com/sdk/index.html) v1.+ 32 | with [Gradle](https://www.gradle.org/) v2.2.1. 33 | Once installed, then you can import the project into Android Studio: 34 | 35 | 1. Open `File` 36 | 2. Import Project 37 | 3. Select `build.gradle` under the project directory 38 | 4. Click `OK` 39 | 40 | Then, Gradle will do everything for you. 41 | 42 | ## With Eclipse 43 | 44 | * 导入本工程到 Eclipse 45 | * 右键点击项目,运行 `Run As -> Android Application`即可看到。 46 | 47 | # 替换 App 信息 48 | 49 | Demo 使用的是公共的 app id 和 app key,您可以在`com.luna.anytime.AnyTimeApplication`修改成您自己的应用 id 和 key。 50 | 51 | 您还需要导入 [data](./data) 目录下的数据,否则无法正常运行,可以在数据管理平台做数据导入。 52 | 53 | # 协议 54 | 55 | [Apache License 2](http://www.apache.org/licenses/LICENSE-2.0.html) 56 | 57 | # 核心代码 58 | 59 | ```java 60 | public class AVService { 61 | public static void countDoing(String doingObjectId, CountCallback countCallback) { 62 | AVQuery query = new AVQuery("DoingList"); 63 | query.whereEqualTo("doingListChildObjectId", doingObjectId); 64 | Calendar c = Calendar.getInstance(); 65 | c.add(Calendar.MINUTE, -10); 66 | // query.whereNotEqualTo("userObjectId", userId); 67 | query.whereGreaterThan("createdAt", c.getTime()); 68 | query.countInBackground(countCallback); 69 | } 70 | 71 | //Use callFunctionMethod 72 | @SuppressWarnings({"unchecked", "rawtypes"}) 73 | public static void getAchievement(String userObjectId) { 74 | Map parameters = new HashMap(); 75 | parameters.put("userObjectId", userObjectId); 76 | AVCloud.callFunctionInBackground("hello", parameters, 77 | new FunctionCallback() { 78 | @Override 79 | public void done(Object object, AVException e) { 80 | if (e == null) { 81 | Log.e("at", object.toString());// processResponse(object); 82 | } else { 83 | // handleError(); 84 | } 85 | } 86 | }); 87 | } 88 | 89 | public static void createDoing(String userId, String doingObjectId) { 90 | AVObject doing = new AVObject("DoingList"); 91 | doing.put("userObjectId", userId); 92 | doing.put("doingListChildObjectId", doingObjectId); 93 | doing.saveInBackground(); 94 | } 95 | 96 | public static void requestPasswordReset(String email, RequestPasswordResetCallback callback) { 97 | AVUser.requestPasswordResetInBackground(email, callback); 98 | } 99 | 100 | public static void findDoingListGroup(FindCallback findCallback) { 101 | AVQuery query = new AVQuery("DoingListGroup"); 102 | query.orderByAscending("Index"); 103 | query.findInBackground(findCallback); 104 | } 105 | 106 | public static void findChildrenList(String groupObjectId, FindCallback findCallback) { 107 | AVQuery query = new AVQuery("DoingListChild"); 108 | query.orderByAscending("Index"); 109 | query.whereEqualTo("parentObjectId", groupObjectId); 110 | query.findInBackground(findCallback); 111 | } 112 | 113 | public static void initPushService(Context ctx) { 114 | PushService.setDefaultPushCallback(ctx, LoginActivity.class); 115 | PushService.subscribe(ctx, "public", LoginActivity.class); 116 | AVInstallation.getCurrentInstallation().saveInBackground(); 117 | } 118 | 119 | public static void signUp(String username, String password, String email, SignUpCallback signUpCallback) { 120 | AVUser user = new AVUser(); 121 | user.setUsername(username); 122 | user.setPassword(password); 123 | user.setEmail(email); 124 | user.signUpInBackground(signUpCallback); 125 | } 126 | 127 | public static void logout() { 128 | AVUser.logOut(); 129 | } 130 | 131 | public static void createAdvice(String userId, String advice, SaveCallback saveCallback) { 132 | AVObject doing = new AVObject("SuggestionByUser"); 133 | doing.put("UserObjectId", userId); 134 | doing.put("UserSuggestion", advice); 135 | doing.saveInBackground(saveCallback); 136 | } 137 | } 138 | 139 | ``` 140 | -------------------------------------------------------------------------------- /anytime-activity-diagram.acd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 255 5 | 255 6 | 206 7 | 8 | 9 | 0 10 | 0 11 | 0 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 2 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /anytime-class-diagram.cld: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 255 5 | 255 6 | 206 7 | 8 | 9 | 0 10 | 0 11 | 0 12 | 13 | true 14 | 15 | 16 | 17 | 18 | 2 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | true 30 | 31 | 32 | 33 | 34 | 35 | 2 36 | 37 | 38 | 39 | 40 | 41 | -1 42 | -1 43 | 21 44 | 19 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | true 53 | 54 | 55 | 56 | 57 | 58 | 2 59 | 60 | 61 | 62 | 63 | 64 | submitButton 65 | Button 66 | false 67 | 68 | 69 | 70 | 71 | true 72 | 73 | 74 | 75 | 76 | 77 | 2 78 | 79 | 80 | 81 | 82 | 83 | submitEditText 84 | EditText 85 | false 86 | 87 | 88 | 89 | 90 | true 91 | 92 | 93 | 94 | 95 | 96 | 2 97 | 98 | 99 | 100 | 101 | 102 | mUserResponseListView 103 | ListView 104 | false 105 | 106 | 107 | 108 | 109 | true 110 | 111 | 112 | 113 | 114 | 115 | 2 116 | 117 | 118 | 119 | 120 | 121 | buttonListener 122 | OnClickListener 123 | false 124 | 125 | 126 | 127 | 128 | true 129 | 130 | 131 | 132 | 133 | 134 | 2 135 | 136 | 137 | 138 | 139 | 140 | mHandler 141 | Handler 142 | false 143 | 144 | 145 | 146 | 147 | true 148 | 149 | 150 | 151 | 152 | 153 | 2 154 | 155 | 156 | 157 | 158 | 159 | onCreate 160 | void 161 | 162 | 163 | savedInstanceState 164 | Bundle 165 | 166 | 167 | false 168 | false 169 | 170 | 171 | 172 | 173 | true 174 | 175 | 176 | 177 | 178 | 179 | 2 180 | 181 | 182 | 183 | 184 | 185 | showResponseList 186 | void 187 | 188 | 189 | responseList 190 | List<AVObject> 191 | 192 | 193 | false 194 | false 195 | 196 | 197 | 198 | 199 | true 200 | 201 | 202 | 203 | 204 | 205 | 2 206 | 207 | 208 | 209 | 210 | 211 | onOptionsItemSelected 212 | boolean 213 | 214 | 215 | item 216 | MenuItem 217 | 218 | 219 | false 220 | false 221 | 222 | 223 | 224 | 225 | 226 | _stereo_type 227 | Stereo Type 228 | false 229 | 230 | 231 | _simpleEntityName 232 | Simple Name 233 | false 234 | 235 | 236 | _entityName 237 | Name 238 | false 239 | 240 | 241 | _background 242 | Background Color 243 | false 244 | 245 | 246 | _attrs 247 | Attributes... 248 | false 249 | 250 | 251 | _operations 252 | Operations... 253 | false 254 | 255 | 256 | _abstract 257 | abstract 258 | false 259 | 260 | 261 | 262 | com.luna.anytime.AboutAppActivity 263 | false 264 | 265 | 266 | 267 | 268 | true 269 | 270 | 271 | 272 | 273 | 274 | 2 275 | 276 | 277 | 278 | 279 | 280 | -1 281 | -1 282 | 21 283 | 210 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | true 292 | 293 | 294 | 295 | 296 | 297 | 2 298 | 299 | 300 | 301 | 302 | 303 | mResponseList 304 | List<AVObject> 305 | false 306 | 307 | 308 | 309 | 310 | true 311 | 312 | 313 | 314 | 315 | 316 | 2 317 | 318 | 319 | 320 | 321 | 322 | mInflater 323 | LayoutInflater 324 | false 325 | 326 | 327 | 328 | 329 | true 330 | 331 | 332 | 333 | 334 | 335 | 2 336 | 337 | 338 | 339 | 340 | 341 | AnytimeUserResponseListAdapter 342 | void 343 | 344 | 345 | responseList 346 | List<AVObject> 347 | 348 | 349 | context 350 | Context 351 | 352 | 353 | false 354 | false 355 | 356 | 357 | 358 | 359 | true 360 | 361 | 362 | 363 | 364 | 365 | 2 366 | 367 | 368 | 369 | 370 | 371 | getCount 372 | int 373 | 374 | false 375 | false 376 | 377 | 378 | 379 | 380 | true 381 | 382 | 383 | 384 | 385 | 386 | 2 387 | 388 | 389 | 390 | 391 | 392 | getItem 393 | Object 394 | 395 | 396 | position 397 | int 398 | 399 | 400 | false 401 | false 402 | 403 | 404 | 405 | 406 | true 407 | 408 | 409 | 410 | 411 | 412 | 2 413 | 414 | 415 | 416 | 417 | 418 | getItemId 419 | long 420 | 421 | 422 | position 423 | int 424 | 425 | 426 | false 427 | false 428 | 429 | 430 | 431 | 432 | true 433 | 434 | 435 | 436 | 437 | 438 | 2 439 | 440 | 441 | 442 | 443 | 444 | getItemViewType 445 | int 446 | 447 | 448 | position 449 | int 450 | 451 | 452 | false 453 | false 454 | 455 | 456 | 457 | 458 | true 459 | 460 | 461 | 462 | 463 | 464 | 2 465 | 466 | 467 | 468 | 469 | 470 | getView 471 | View 472 | 473 | 474 | position 475 | int 476 | 477 | 478 | convertView 479 | View 480 | 481 | 482 | parent 483 | ViewGroup 484 | 485 | 486 | false 487 | false 488 | 489 | 490 | 491 | 492 | true 493 | 494 | 495 | 496 | 497 | 498 | 2 499 | 500 | 501 | 502 | 503 | 504 | getViewTypeCount 505 | int 506 | 507 | false 508 | false 509 | 510 | 511 | 512 | 513 | true 514 | 515 | 516 | 517 | 518 | 519 | 2 520 | 521 | 522 | 523 | 524 | 525 | hasStableIds 526 | boolean 527 | 528 | false 529 | false 530 | 531 | 532 | 533 | 534 | true 535 | 536 | 537 | 538 | 539 | 540 | 2 541 | 542 | 543 | 544 | 545 | 546 | isEmpty 547 | boolean 548 | 549 | false 550 | false 551 | 552 | 553 | 554 | 555 | true 556 | 557 | 558 | 559 | 560 | 561 | 2 562 | 563 | 564 | 565 | 566 | 567 | registerDataSetObserver 568 | void 569 | 570 | 571 | observer 572 | DataSetObserver 573 | 574 | 575 | false 576 | false 577 | 578 | 579 | 580 | 581 | true 582 | 583 | 584 | 585 | 586 | 587 | 2 588 | 589 | 590 | 591 | 592 | 593 | unregisterDataSetObserver 594 | void 595 | 596 | 597 | observer 598 | DataSetObserver 599 | 600 | 601 | false 602 | false 603 | 604 | 605 | 606 | 607 | true 608 | 609 | 610 | 611 | 612 | 613 | 2 614 | 615 | 616 | 617 | 618 | 619 | areAllItemsEnabled 620 | boolean 621 | 622 | false 623 | false 624 | 625 | 626 | 627 | 628 | true 629 | 630 | 631 | 632 | 633 | 634 | 2 635 | 636 | 637 | 638 | 639 | 640 | isEnabled 641 | boolean 642 | 643 | 644 | position 645 | int 646 | 647 | 648 | false 649 | false 650 | 651 | 652 | 653 | 654 | 655 | _stereo_type 656 | Stereo Type 657 | false 658 | 659 | 660 | _simpleEntityName 661 | Simple Name 662 | false 663 | 664 | 665 | _entityName 666 | Name 667 | false 668 | 669 | 670 | _background 671 | Background Color 672 | false 673 | 674 | 675 | _attrs 676 | Attributes... 677 | false 678 | 679 | 680 | _operations 681 | Operations... 682 | false 683 | 684 | 685 | _abstract 686 | abstract 687 | false 688 | 689 | 690 | 691 | com.luna.anytime.adapter.AnytimeUserResponseListAdapter 692 | false 693 | 694 | 695 | 696 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | jcenter() 4 | } 5 | dependencies { 6 | classpath 'com.android.tools.build:gradle:1.0.0' 7 | } 8 | } 9 | 10 | apply plugin: 'android' 11 | 12 | android { 13 | compileSdkVersion 21 14 | buildToolsVersion '21.1.2' 15 | 16 | buildTypes { 17 | release { 18 | } 19 | } 20 | packagingOptions { 21 | exclude 'META-INF/LICENSE.txt' 22 | exclude 'META-INF/NOTICE.txt' 23 | } 24 | sourceSets { 25 | main { 26 | manifest.srcFile 'AndroidManifest.xml' 27 | java.srcDirs = ['src'] 28 | resources.srcDirs = ['src'] 29 | aidl.srcDirs = ['src'] 30 | renderscript.srcDirs = ['src'] 31 | res.srcDirs = ['res'] 32 | assets.srcDirs = ['assets'] 33 | } 34 | } 35 | lintOptions { 36 | abortOnError false 37 | } 38 | } 39 | 40 | dependencies { 41 | compile fileTree(dir: 'libs', include: ['*.jar']) 42 | } 43 | -------------------------------------------------------------------------------- /data/Achievement.json: -------------------------------------------------------------------------------- 1 | { "results": [ 2 | ] } -------------------------------------------------------------------------------- /data/AchievementList.json: -------------------------------------------------------------------------------- 1 | { "results": [ 2 | 3 | {"objectId":"5312d149e4b02c7052866ccc","ACL":{"*":{"read":true,"write":true}},"AchievementName":"第一次说我在做神马","AchievementPhotoObjectId":"530ff710e4b0b3bfe702b98d","createdAt":"2014-03-02T14:35:53.194Z","updatedAt":"2014-03-31T21:36:22.850Z"}] } -------------------------------------------------------------------------------- /data/DoingList.json: -------------------------------------------------------------------------------- 1 | { "results": [ 2 | 3 | {"objectId":"53130f0ae4b02c7052869943","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"53089931e4b01ec7d0915000","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-02T18:59:22.092Z","updatedAt":"2014-03-02T18:59:22.092Z"}, 4 | {"objectId":"53130f20e4b02c705286994b","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"53089983e4b01ec7d091509d","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-02T18:59:44.331Z","updatedAt":"2014-03-02T18:59:44.331Z"}, 5 | {"objectId":"53131f18e4b02c705286a733","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896ade4b01ec7d09149a0","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-02T20:07:52.075Z","updatedAt":"2014-03-02T20:07:52.075Z"}, 6 | {"objectId":"53132202e4b02c705286a8d2","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-02T20:20:18.371Z","updatedAt":"2014-03-02T20:20:18.371Z"}, 7 | {"objectId":"53132208e4b02c705286a8db","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-02T20:20:24.249Z","updatedAt":"2014-03-02T20:20:24.249Z"}, 8 | {"objectId":"5313220de4b02c705286a8dc","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-02T20:20:29.209Z","updatedAt":"2014-03-02T20:20:29.209Z"}, 9 | {"objectId":"531322d4e4b02c705286a936","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-02T20:23:48.452Z","updatedAt":"2014-03-02T20:23:48.452Z"}, 10 | {"objectId":"5316b6fbe4b0f5f199cddd62","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"5308997be4b01ec7d091508c","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-05T13:32:43.454Z","updatedAt":"2014-03-05T13:32:43.454Z"}, 11 | {"objectId":"5316b70de4b0f5f199cddd94","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"53089993e4b01ec7d09150ab","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-05T13:33:01.476Z","updatedAt":"2014-03-05T13:33:01.476Z"}, 12 | {"objectId":"53183d72e4b0a0ce6ded2030","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896ade4b01ec7d09149a0","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-06T17:18:42.682Z","updatedAt":"2014-03-06T17:18:42.682Z"}, 13 | {"objectId":"53183d74e4b0a0ce6ded2031","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896b4e4b01ec7d09149ac","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-06T17:18:44.211Z","updatedAt":"2014-03-06T17:18:44.211Z"}, 14 | {"objectId":"53183d75e4b0a0ce6ded2032","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896bde4b01ec7d09149d1","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-06T17:18:45.732Z","updatedAt":"2014-03-06T17:18:45.732Z"}, 15 | {"objectId":"53183d77e4b0a0ce6ded2033","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896bde4b01ec7d09149d1","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-06T17:18:47.253Z","updatedAt":"2014-03-06T17:18:47.253Z"}, 16 | {"objectId":"5318452de4b0a0ce6ded2485","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896ade4b01ec7d09149a0","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-06T17:51:41.727Z","updatedAt":"2014-03-06T17:51:41.727Z"}, 17 | {"objectId":"531e8407e4b0d818eac1eaba","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-11T11:33:27.239Z","updatedAt":"2014-03-11T11:33:27.239Z"}, 18 | {"objectId":"532f964ae4b01c555fed15a3","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896ade4b01ec7d09149a0","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-24T10:19:54.706Z","updatedAt":"2014-03-24T10:19:54.706Z"}, 19 | {"objectId":"53396ad8e4b05533e362f9c1","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-31T21:17:12.270Z","updatedAt":"2014-03-31T21:17:12.270Z"}, 20 | {"objectId":"53396eb3e4b05533e363032b","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-31T21:33:39.258Z","updatedAt":"2014-03-31T21:33:39.258Z"}, 21 | {"objectId":"53416532e4b090f2b169b78a","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-06T22:31:14.325Z","updatedAt":"2014-04-06T22:31:14.325Z"}, 22 | {"objectId":"534165aae4b090f2b169b85c","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-06T22:33:14.209Z","updatedAt":"2014-04-06T22:33:14.209Z"}, 23 | {"objectId":"5350d5cce4b093fbd4b11680","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-18T15:35:40.192Z","updatedAt":"2014-04-18T15:35:40.192Z"}, 24 | {"objectId":"5350d5d1e4b093fbd4b11683","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896b4e4b01ec7d09149ac","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-18T15:35:45.778Z","updatedAt":"2014-04-18T15:35:45.778Z"}, 25 | {"objectId":"5350d5d3e4b093fbd4b11687","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"53089931e4b01ec7d0915000","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-18T15:35:47.612Z","updatedAt":"2014-04-18T15:35:47.612Z"}, 26 | {"objectId":"5350d5d8e4b093fbd4b1168c","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-18T15:35:52.877Z","updatedAt":"2014-04-18T15:35:52.877Z"}, 27 | {"objectId":"5350d5d9e4b093fbd4b1168e","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896bde4b01ec7d09149d1","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-18T15:35:53.997Z","updatedAt":"2014-04-18T15:35:53.997Z"}, 28 | {"objectId":"5350d5dbe4b093fbd4b11692","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"5308d262e4b01ec7d091946b","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-18T15:35:55.832Z","updatedAt":"2014-04-18T15:35:55.832Z"}, 29 | {"objectId":"5350d5dde4b093fbd4b11697","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"53089931e4b01ec7d0915000","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-18T15:35:57.813Z","updatedAt":"2014-04-18T15:35:57.813Z"}, 30 | {"objectId":"5355e6bee4b08421758c7370","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-22T11:49:18.848Z","updatedAt":"2014-04-22T11:49:18.848Z"}, 31 | {"objectId":"5355e6c1e4b08421758c7371","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896b4e4b01ec7d09149ac","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-22T11:49:21.072Z","updatedAt":"2014-04-22T11:49:21.072Z"}, 32 | {"objectId":"5355e6c7e4b08421758c7375","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"5308d262e4b01ec7d091946b","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-22T11:49:27.703Z","updatedAt":"2014-04-22T11:49:27.703Z"}, 33 | {"objectId":"5355e6e5e4b08421758c7393","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896bde4b01ec7d09149d1","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-04-22T11:49:57.299Z","updatedAt":"2014-04-22T11:49:57.299Z"}, 34 | {"objectId":"53996061e4b00c574e7dc363","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896ade4b01ec7d09149a0","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:10:09.464Z","updatedAt":"2014-06-12T16:10:09.464Z"}, 35 | {"objectId":"539962f5e4b0be5fcf772cd0","userObjectId":"539962ebe4b0be5fcf772cae","doingListChildObjectId":"530896b4e4b01ec7d09149ac","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:21:09.008Z","updatedAt":"2014-06-12T16:21:09.008Z"}, 36 | {"objectId":"539962f9e4b0be5fcf772ce7","userObjectId":"539962ebe4b0be5fcf772cae","doingListChildObjectId":"530896fbe4b01ec7d0914a34","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:21:13.936Z","updatedAt":"2014-06-12T16:21:13.936Z"}, 37 | {"objectId":"53996300e4b0be5fcf772cf4","userObjectId":"539962ebe4b0be5fcf772cae","doingListChildObjectId":"53089983e4b01ec7d091509d","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:21:20.913Z","updatedAt":"2014-06-12T16:21:20.913Z"}, 38 | {"objectId":"5399630ae4b0be5fcf772d0e","userObjectId":"539962ebe4b0be5fcf772cae","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:21:30.514Z","updatedAt":"2014-06-12T16:21:30.514Z"}, 39 | {"objectId":"5399630ee4b0be5fcf772d1c","userObjectId":"539962ebe4b0be5fcf772cae","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:21:34.802Z","updatedAt":"2014-06-12T16:21:34.802Z"}, 40 | {"objectId":"53996312e4b0be5fcf772d28","userObjectId":"539962ebe4b0be5fcf772cae","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:21:38.005Z","updatedAt":"2014-06-12T16:21:38.005Z"}, 41 | {"objectId":"53996316e4b0be5fcf772d36","userObjectId":"539962ebe4b0be5fcf772cae","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:21:42.962Z","updatedAt":"2014-06-12T16:21:42.962Z"}, 42 | {"objectId":"5399631be4b0be5fcf772d44","userObjectId":"539962ebe4b0be5fcf772cae","doingListChildObjectId":"53089940e4b01ec7d0915015","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:21:47.654Z","updatedAt":"2014-06-12T16:21:47.654Z"}, 43 | {"objectId":"5399631ee4b0be5fcf772d4b","userObjectId":"539962ebe4b0be5fcf772cae","doingListChildObjectId":"53089940e4b01ec7d0915015","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:21:50.069Z","updatedAt":"2014-06-12T16:21:50.069Z"}, 44 | {"objectId":"53996321e4b0be5fcf772d58","userObjectId":"539962ebe4b0be5fcf772cae","doingListChildObjectId":"53089931e4b01ec7d0915000","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:21:53.824Z","updatedAt":"2014-06-12T16:21:53.824Z"}, 45 | {"objectId":"53996323e4b0be5fcf772d5b","userObjectId":"539962ebe4b0be5fcf772cae","doingListChildObjectId":"53089931e4b01ec7d0915000","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:21:55.510Z","updatedAt":"2014-06-12T16:21:55.510Z"}, 46 | {"objectId":"539967eae4b00c574e7dcf24","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:42:18.548Z","updatedAt":"2014-06-12T16:42:18.548Z"}, 47 | {"objectId":"539967f9e4b00c574e7dcf2f","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896b4e4b01ec7d09149ac","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:42:33.136Z","updatedAt":"2014-06-12T16:42:33.136Z"}, 48 | {"objectId":"53996800e4b00c574e7dcf43","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896b4e4b01ec7d09149ac","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:42:40.438Z","updatedAt":"2014-06-12T16:42:40.438Z"}, 49 | {"objectId":"53996803e4b00c574e7dcf4b","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896bde4b01ec7d09149d1","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:42:43.636Z","updatedAt":"2014-06-12T16:42:43.636Z"}, 50 | {"objectId":"53996805e4b00c574e7dcf4c","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896bde4b01ec7d09149d1","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:42:45.419Z","updatedAt":"2014-06-12T16:42:45.419Z"}, 51 | {"objectId":"53996807e4b00c574e7dcf4e","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"530896bde4b01ec7d09149d1","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:42:47.486Z","updatedAt":"2014-06-12T16:42:47.486Z"}, 52 | {"objectId":"53996821e4b00c574e7dcf6f","userObjectId":"5306b6bee4b068c9c65860b9","doingListChildObjectId":"53089983e4b01ec7d091509d","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:43:13.736Z","updatedAt":"2014-06-12T16:43:13.736Z"}] } -------------------------------------------------------------------------------- /data/DoingListChild.json: -------------------------------------------------------------------------------- 1 | { "results": [ 2 | 3 | {"objectId":"530896a4e4b01ec7d091498e","ACL":{"*":{"read":true}},"ChildName":"吃饭","Index":"1","createdAt":"2014-02-22T20:23:00.621Z","parentObjectId":"53088f55e4b01ec7d09138ab","updatedAt":"2014-02-22T20:34:21.312Z"}, 4 | {"objectId":"530896ade4b01ec7d09149a0","ACL":{"*":{"read":true}},"ChildName":"睡觉","Index":"2","createdAt":"2014-02-22T20:23:09.885Z","parentObjectId":"53088f55e4b01ec7d09138ab","updatedAt":"2014-02-22T20:25:44.416Z"}, 5 | {"objectId":"530896b4e4b01ec7d09149ac","ACL":{"*":{"read":true}},"ChildName":"走路","Index":"3","createdAt":"2014-02-22T20:23:16.017Z","parentObjectId":"53088f55e4b01ec7d09138ab","updatedAt":"2014-02-22T20:25:44.884Z"}, 6 | {"objectId":"530896bde4b01ec7d09149d1","ACL":{"*":{"read":true}},"ChildName":"开车","Index":"4","createdAt":"2014-02-22T20:23:25.164Z","parentObjectId":"53088f55e4b01ec7d09138ab","updatedAt":"2014-02-22T20:25:45.768Z"}, 7 | {"objectId":"530896fbe4b01ec7d0914a34","ACL":{"*":{"read":true}},"ChildName":"洗澡","Index":"5","createdAt":"2014-02-22T20:24:27.049Z","parentObjectId":"53088f55e4b01ec7d09138ab","updatedAt":"2014-02-22T20:25:46.796Z"}, 8 | {"objectId":"53089931e4b01ec7d0915000","ACL":{"*":{"read":true}},"ChildName":"上班","Index":"1","createdAt":"2014-02-22T20:33:53.847Z","parentObjectId":"53088fabe4b01ec7d091395c","updatedAt":"2014-02-22T20:34:35.617Z"}, 9 | {"objectId":"5308993be4b01ec7d091500e","ACL":{"*":{"read":true}},"ChildName":"工作","Index":"2","createdAt":"2014-02-22T20:34:03.413Z","parentObjectId":"53088fabe4b01ec7d091395c","updatedAt":"2014-02-22T20:34:36.522Z"}, 10 | {"objectId":"53089940e4b01ec7d0915015","ACL":{"*":{"read":true}},"ChildName":"下班","Index":"3","createdAt":"2014-02-22T20:34:08.454Z","parentObjectId":"53088fabe4b01ec7d091395c","updatedAt":"2014-02-22T20:35:46.677Z"}, 11 | {"objectId":"5308997be4b01ec7d091508c","ACL":{"*":{"read":true}},"ChildName":"玩电脑","Index":"1","createdAt":"2014-02-22T20:35:07.475Z","parentObjectId":"53088fa4e4b01ec7d091394e","updatedAt":"2014-02-22T20:36:00.497Z"}, 12 | {"objectId":"53089983e4b01ec7d091509d","ACL":{"*":{"read":true}},"ChildName":"体育活动","Index":"2","createdAt":"2014-02-22T20:35:15.775Z","parentObjectId":"53088fa4e4b01ec7d091394e","updatedAt":"2014-02-22T20:36:00.868Z"}, 13 | {"objectId":"53089993e4b01ec7d09150ab","ACL":{"*":{"read":true}},"ChildName":"唱K","Index":"3","createdAt":"2014-02-22T20:35:31.100Z","parentObjectId":"53088fa4e4b01ec7d091394e","updatedAt":"2014-02-22T20:36:02.263Z"}, 14 | {"objectId":"53089997e4b01ec7d09150ae","ACL":{"*":{"read":true}},"ChildName":"聚餐","Index":"4","createdAt":"2014-02-22T20:35:35.598Z","parentObjectId":"53088fa4e4b01ec7d091394e","updatedAt":"2014-02-23T00:38:05.939Z"}, 15 | {"objectId":"5308d262e4b01ec7d091946b","ACL":{"*":{"read":true}},"ChildName":"上厕所","Index":"6","createdAt":"2014-02-23T00:37:54.712Z","parentObjectId":"53088f55e4b01ec7d09138ab","updatedAt":"2014-02-23T00:39:49.773Z"}, 16 | {"objectId":"5308d2cae4b01ec7d091948c","ACL":{"*":{"read":true}},"ChildName":"忙里偷闲","Index":"4","createdAt":"2014-02-23T00:39:38.986Z","parentObjectId":"53088fabe4b01ec7d091395c","updatedAt":"2014-02-23T00:39:55.823Z"}] } -------------------------------------------------------------------------------- /data/DoingListGroup.json: -------------------------------------------------------------------------------- 1 | { "results": [ 2 | 3 | {"objectId":"53088f55e4b01ec7d09138ab","ACL":{"*":{"read":true}},"GroupName":"生活","Index":1,"createdAt":"2014-02-22T19:51:49.990Z","updatedAt":"2014-02-22T19:54:02.159Z"}, 4 | {"objectId":"53088fa4e4b01ec7d091394e","ACL":{"*":{"read":true}},"GroupName":"休闲","Index":3,"createdAt":"2014-02-22T19:53:08.281Z","updatedAt":"2014-02-22T19:54:05.603Z"}, 5 | {"objectId":"53088fabe4b01ec7d091395c","ACL":{"*":{"read":true}},"GroupName":"工作","Index":2,"createdAt":"2014-02-22T19:53:15.485Z","updatedAt":"2014-02-22T20:25:23.768Z"}] } -------------------------------------------------------------------------------- /data/SuggestionByUser.json: -------------------------------------------------------------------------------- 1 | { "results": [ 2 | 3 | {"objectId":"531321d5e4b02c705286a8b8","ACL":{"*":{"write":true,"read":true}},"IsResponseToUser":false,"UserObjectId":"5306b6bee4b068c9c65860b9","UserSuggestion":"啊啊啊","createdAt":"2014-03-02T20:19:33.615Z","updatedAt":"2014-03-05T20:04:08.187Z"}, 4 | {"objectId":"531322cfe4b02c705286a933","ACL":{"*":{"read":true,"write":true}},"IsResponseToUser":false,"UserObjectId":"5306b6bee4b068c9c65860b9","UserSuggestion":"人人","createdAt":"2014-03-02T20:23:43.029Z","updatedAt":"2014-03-05T20:04:45.129Z"}, 5 | {"objectId":"531712c7e4b018d1ec879d98","ACL":{"*":{"read":true}},"IsResponseToUser":true,"UserObjectId":"5306b6bee4b068c9c65860b9","UserSuggestion":"this is response","createdAt":"2014-03-05T20:04:23.224Z","updatedAt":"2014-03-05T20:04:58.489Z"}, 6 | {"objectId":"53180632e4b079c9b2276637","UserSuggestion":"你好吧!急急急需要成功能力量化妆品质量化妆师妹子宫廷shdhdhdh","UserObjectId":"5306f75ee4b068c9c6594c69","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-03-06T13:22:58.033Z","updatedAt":"2014-03-06T13:22:58.033Z"}, 7 | {"objectId":"5399633ee4b0be5fcf772db3","UserSuggestion":"做的真不错,谢谢,来自avos cloud","UserObjectId":"539962ebe4b0be5fcf772cae","ACL":{"*":{"write":true,"read":true}},"createdAt":"2014-06-12T16:22:22.915Z","updatedAt":"2014-06-12T16:22:22.915Z"}] } -------------------------------------------------------------------------------- /ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/ic_launcher-web.png -------------------------------------------------------------------------------- /libs/android-async-http-1.4.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/libs/android-async-http-1.4.6.jar -------------------------------------------------------------------------------- /libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/libs/android-support-v4.jar -------------------------------------------------------------------------------- /libs/avoscloud-v2.6.9.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/libs/avoscloud-v2.6.9.1.jar -------------------------------------------------------------------------------- /libs/avospush-v2.6.9.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/libs/avospush-v2.6.9.1.jar -------------------------------------------------------------------------------- /libs/avossearch-v2.6.9.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/libs/avossearch-v2.6.9.1.jar -------------------------------------------------------------------------------- /libs/avosstatistics-v2.6.9.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/libs/avosstatistics-v2.6.9.1.jar -------------------------------------------------------------------------------- /libs/fastjson.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/libs/fastjson.jar -------------------------------------------------------------------------------- /libs/httpmime-4.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/libs/httpmime-4.2.4.jar -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-18 15 | -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/achievement_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/res/drawable-xxhdpi/achievement_title.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/qq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/res/drawable-xxhdpi/qq.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/weibo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LunaGao/AnyTime/2abfb1b33c273b1f3450f35f1242adba82c7c674/res/drawable-xxhdpi/weibo.png -------------------------------------------------------------------------------- /res/layout/activity_about_app.xml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 17 | 18 | 24 | 25 | 31 | 32 | 33 |