Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync #9

Open
wants to merge 80 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
ead600b
Modify link
Trinea Feb 5, 2015
9afa24a
Update README.md
Trinea Feb 5, 2015
6d262da
add side-menu folder
cpacm Feb 6, 2015
a2e5e0d
add .gitignore
cpacm Feb 6, 2015
5dc2084
add nineoldanimations-demo by mr.simple
Feb 7, 2015
5d7c5a1
Merge branch 'master' of github.com:aosp-exchange-group/android-open-…
Feb 7, 2015
0746d52
Update README.md
hehonghui Feb 7, 2015
478cae4
rogary
Rogary Feb 10, 2015
3b47d56
READEME.md
Rogary Feb 11, 2015
a50477f
fix README.md
Rogary Feb 11, 2015
6986bcc
delete error README.md
Rogary Feb 11, 2015
3d1a04b
Merge pull request #1 from Rogary/master
Trinea Feb 11, 2015
26eca9f
add QuickAdapterDemo
Feb 12, 2015
ea29714
androidactive-demo
ouyangxiangshao Feb 13, 2015
f32412a
add apk file
Feb 13, 2015
c6a18c4
Merge branch 'master' of https://github.com/aosp-exchange-group/andro…
Feb 13, 2015
9e0cde9
dl-apk-load complete
FFish Feb 14, 2015
be5db32
add .gitignore
FFish Feb 14, 2015
3cf8c7f
pullToZoomInListviewDemo
Yom9c Feb 16, 2015
d15d17a
Create discrete-seek-bar-demo
wangeason Feb 27, 2015
b580e72
Delete discrete-seek-bar-demo
wangeason Feb 27, 2015
536005f
Create README.md
wangeason Feb 27, 2015
111b5bd
Update README.md
wangeason Feb 27, 2015
362dc0e
Demo
Mar 6, 2015
1cda786
pager-sliding-tab-strip-demo-ayyb1988
Mar 8, 2015
b32fb16
apk
Mar 8, 2015
23a9a4b
.gitignore
Mar 9, 2015
bdac540
pager-sliding-tab-strip-demo-ayyb1988
Mar 9, 2015
dce3c33
Create README.md
ayyb1988 Mar 9, 2015
0291b30
Update README.md
ayyb1988 Mar 9, 2015
836683d
Update README.md
ayyb1988 Mar 9, 2015
0f94032
Update README.md
ayyb1988 Mar 9, 2015
4ef0ca2
Merge pull request #2 from ayyb1988/master
ayyb1988 Mar 9, 2015
37aa832
update
cpacm Mar 9, 2015
1864a5b
add readme
cpacm Mar 9, 2015
c851af0
update readme
cpacm Mar 9, 2015
8a33825
update readme
cpacm Mar 9, 2015
0e272d1
submit sliding-menu-demo
huxian99 Mar 12, 2015
b52e9eb
upload demo gif
huxian99 Mar 23, 2015
3e012fc
complete demo
huxian99 Mar 23, 2015
fa0047a
Demo upload
wangeason Mar 26, 2015
245b2d0
update fresco demo
blackiedm Apr 1, 2015
171d21e
modify comments
wangeason Apr 10, 2015
30c2d7e
Initialize CircularReveal Sample commit!
Apr 15, 2015
e1bf917
Add source commit!
Apr 15, 2015
fe7b7c7
Update README.md commit!
Apr 15, 2015
caad22f
Update README.md commit!
Apr 15, 2015
d3ecfd9
update base-adapter-helper-demo
Apr 17, 2015
d13c786
add retrofit demo
guoGavin Jul 16, 2015
b6e9cd4
change retrofit source
guoGavin Jul 16, 2015
7d73690
add flyrefresh demo
skyacer Jul 24, 2015
de4c942
Merge pull request #4 from skyacer/master
skyacer Jul 24, 2015
e92d7c4
add flyrefresh apk
skyacer Jul 31, 2015
9d5de02
change flyrefresh demo
skyacer Aug 1, 2015
311b417
update fly-refresh demo
skyacer Aug 1, 2015
ac3bb20
update flyrefresh
skyacer Aug 1, 2015
9a6c265
Create volley-demo-Kevin1466
Kevin1466 Aug 27, 2015
f5d8784
能否提交
Aug 27, 2015
2e7a1a5
合肥市的
Aug 27, 2015
c304a3d
改变
Aug 27, 2015
9004e51
file
Aug 27, 2015
6c5fa2e
demo ok
Aug 27, 2015
af8083f
cleaned
Aug 27, 2015
cb0bed2
add folder for android-async-http-demo
yuanhuihui Aug 29, 2015
a2052eb
Merge pull request #5 from yuanhuihui/master
yuanhuihui Aug 29, 2015
219e90f
swipebacklayout demo
Neocomb Oct 1, 2015
f67a589
Create rxjava-demo project; Add create observable demo and unsubscrib…
Oct 10, 2015
d90e68d
add retrofit-demo-xxxzhi
jjjtui Oct 25, 2015
bde16c5
Update README.md
Trinea Oct 27, 2015
84d8de6
Create touchimageview-demo
truistic Oct 27, 2015
329d3f5
Create README.md
truistic Oct 27, 2015
d21400a
Update README.md
truistic Oct 27, 2015
ba22102
update listviewanimations lib
Nov 5, 2015
ba246b8
Update:
Nov 5, 2015
8764a8e
Update README.md
yansha87 Nov 5, 2015
f57ac47
add drag-and-drop feature
Nov 5, 2015
99e1a39
Merge branch 'master' of https://github.com/aosp-exchange-group/andro…
Nov 5, 2015
0d02bc9
Fix some crash bugs
Nov 6, 2015
afecb5e
remove unused file
Nov 11, 2015
911eb73
add android-open-project-demo
Labmem003 Jun 29, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
94 changes: 47 additions & 47 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
# built application files
# *.apk
*.ap_
lint.xml
# files for the dex VM
*.dex
# Java class files
*.class
# generated files
bin/
gen/
# maven
target/
# Local configuration file (sdk path, etc)
local.properties
# Windows thumbnail db
Thumbs.db
# OSX files
.DS_Store
# Eclipse project files
.classpath
.project
.settings
# Android Studio
.idea
#.idea/workspace.xml - remove # and delete .idea if it better suit your needs.
build/
.gradle
# Proguard folder generated by Eclipse
proguard/
# Log Files
*.log
# Other
.svn
# built application files
# *.apk
*.ap_
lint.xml

# files for the dex VM
*.dex

# Java class files
*.class

# generated files
bin/
gen/

# maven
target/

# Local configuration file (sdk path, etc)
local.properties

# Windows thumbnail db
Thumbs.db

# OSX files
.DS_Store

# Eclipse project files
.classpath
.project
.settings

# Android Studio
.idea
#.idea/workspace.xml - remove # and delete .idea if it better suit your needs.
build/
.gradle

# Proguard folder generated by Eclipse
proguard/

# Log Files
*.log

# Other
.svn

7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ Android 开源项目 Demo

### 添加规范
各项目需要新建一个属于自己的文件夹,用于后续上传该开源库使用示例工程代码
- 该文件夹以`开源库名-demo`命名,全小写,单词间用`-`连接。如果已有该文件夹,则以`开源库名-demo-${GitHub 用户名}`命名,如`event-bus-demo-trinea`;
- 该文件夹以`开源库名-demo`命名,全小写,单词间用`-`连接。
如果已有该文件夹,则以`开源库名-demo-${GitHub 用户名}`命名,如`event-bus-demo-trinea`;
- 示例工程要求覆盖到该开源项目所有功能,不允许拷贝官方 Demo;
- 若没有自己的 Code Format 文件,使用 [common](https://github.com/android-cn/android-open-project-demo/tree/master/common) 文件夹下 code format,code template 文件;
- Android Studio 用默认的格式化文件,Eclipse 用 [common](common) 文件夹下 code format,code template 文件;
- 文件夹下需要有名为 apk 的子文件夹,用于存放可运行 APK 文件;
- 文件夹下需要有名为 README.md 的介绍文件,其中包含以下内容。
(1). Demo Download
(2). Screenshot 截图可使用 [licecap](http://www.cockos.com/licecap/)
具体可参考:[EventBus Demo ReadMe](https://github.com/android-cn/android-open-project-demo/tree/master/event-bus-demo)
具体可参考:[EventBus Demo ReadMe](event-bus-demo)
6 changes: 6 additions & 0 deletions active-android-demo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
21 changes: 21 additions & 0 deletions active-android-demo/active-android-demo.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="java-gradle" name="Java-Gradle">
<configuration>
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/classes/main" />
<output-test url="file://$MODULE_DIR$/build/classes/test" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

1 change: 1 addition & 0 deletions active-android-demo/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
93 changes: 93 additions & 0 deletions active-android-demo/app/app.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
<option name="GRADLE_PROJECT_PATH" value=":app" />
</configuration>
</facet>
<facet type="android" name="Android">
<configuration>
<option name="SELECTED_BUILD_VARIANT" value="debug" />
<option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
<option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
<option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugTest" />
<option name="SOURCE_GEN_TASK_NAME" value="generateDebugSources" />
<option name="TEST_SOURCE_GEN_TASK_NAME" value="generateDebugTestSources" />
<option name="ALLOW_USER_CONFIGURATION" value="false" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" />
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/build/intermediates/classes/debug" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/debug" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/test/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/test/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/test/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/test/debug" isTestSource="true" generated="true" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/test/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/test/debug" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/coverage-instrumented-classes" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex-cache" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jacoco" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaResources" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/libs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/ndk" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/pre-dexed" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/proguard" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
</content>
<orderEntry type="jdk" jdkName="Android API 21 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="gson-2.3.1" level="project" />
<orderEntry type="library" exported="" name="support-annotations-21.0.0" level="project" />
<orderEntry type="library" exported="" name="support-v4-21.0.0" level="project" />
<orderEntry type="library" exported="" name="activeandroid-3.1.0-SNAPSHOT" level="project" />
<orderEntry type="module" module-name="library" exported="" />
</component>
</module>

33 changes: 33 additions & 0 deletions active-android-demo/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apply plugin: 'com.android.application'
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}


android {
compileSdkVersion 21
buildToolsVersion "21.1.1"

defaultConfig {
applicationId "ouyang.activeandroid"
minSdkVersion 15
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:support-v4:21.+'
compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
compile 'com.google.code.gson:gson:2.3.1'
compile project(':library')
}
17 changes: 17 additions & 0 deletions active-android-demo/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in D:\android-sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package ouyang.activeandroid;

import android.app.Application;
import android.test.ApplicationTestCase;

/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
}
40 changes: 40 additions & 0 deletions active-android-demo/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ouyang.activeandroid">

<application
android:name="com.activeandroid.app.Application"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<provider android:authorities="ouyang.activeandroid" android:exported="false" android:name="com.activeandroid.content.ContentProvider" />

<meta-data
android:name="AA_DB_NAME"
android:value="activedeme.db" />
<meta-data
android:name="AA_DB_VERSION"
android:value="5" />

<meta-data
android:name="AA_MODELS"
android:value="ouyang.model.Clazz, ouyang.model.Student" />

<activity
android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity android:name=".FoodCategoryActivity" android:label="套餐分类" />
<activity android:name=".FoodActivity" />
<activity android:name=".UpdateFoodActivity" />
<activity android:name=".FoodCategoryCpActivity" />
<activity android:name=".FoodCpActivity" />
</application>

</manifest>
Loading