diff --git a/代码/在这里1.0/README.md b/代码/在这里1.0/README.md
new file mode 100644
index 0000000..39902b5
--- /dev/null
+++ b/代码/在这里1.0/README.md
@@ -0,0 +1,34 @@
+校园小菜
+========
+
+基于Bmob移动后端的资讯平台--HBUT版(Android)
+
+
+项目简介
+-------
+
+ 校园小菜,一个基于Android的移动App, 旨在整合高校的各类资源, 如兼职,宾馆,餐馆, 学习, KTV, 租车,旅游等,
+ 通过校园小菜建立起一个比较全面的高校生活圈。初步开发的是针对湖工推出的版本。平台后端基于Bmob平台进行开发,应用
+ 已经发布到小米应用商店,已经校园小菜的官网(http://xiaocai.bmob.cn)
+
+
+ 之所以开发校园小菜项目,处于以下几个目的
+ 1. 通过校园小菜这个项目来提高自己独立开发项目的能力;
+ 2. 测试Bmob这个平台的能力;
+ 3. 整合湖工各类资源,服务于高校学生的衣食住行和学习;
+
+项目版本
+--------
+
+ v1.5.8 ===== src/1.5.8/Shop
+ 该版本是根据我自己最初的想法进行开发的,目的是建立一个大的资讯平台,为学生提供第一手校园资讯
+
+ v1.6.3 ==== src/1.6.3/Shop
+ 该版本是与小小菜团队其他成员项目讨论以后做的调整,目标进一步缩小,从开发平台转到开发订餐
+
+
+其他
+----
+ 欢迎湖工的IT学子 fork 校园小菜项目.
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop.apk b/代码/在这里1.0/src/1.5.8/Shop.apk
new file mode 100644
index 0000000..bc8a93c
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop.apk differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/.classpath b/代码/在这里1.0/src/1.5.8/Shop/.classpath
new file mode 100644
index 0000000..87bbcb1
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/.classpath
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/.project b/代码/在这里1.0/src/1.5.8/Shop/.project
new file mode 100644
index 0000000..b261c40
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/.project
@@ -0,0 +1,33 @@
+
+
+ Shop
+
+
+
+
+
+ com.android.ide.eclipse.adt.ResourceManagerBuilder
+
+
+
+
+ com.android.ide.eclipse.adt.PreCompilerBuilder
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ com.android.ide.eclipse.adt.ApkBuilder
+
+
+
+
+
+ com.android.ide.eclipse.adt.AndroidNature
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/.settings/org.eclipse.jdt.core.prefs b/代码/在这里1.0/src/1.5.8/Shop/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..b080d2d
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,4 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/代码/在这里1.0/src/1.5.8/Shop/AndroidManifest.xml b/代码/在这里1.0/src/1.5.8/Shop/AndroidManifest.xml
new file mode 100644
index 0000000..800b24c
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/AndroidManifest.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/AndroidManifest.xml b/代码/在这里1.0/src/1.5.8/Shop/bin/AndroidManifest.xml
new file mode 100644
index 0000000..800b24c
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/bin/AndroidManifest.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/Shop.apk b/代码/在这里1.0/src/1.5.8/Shop/bin/Shop.apk
new file mode 100644
index 0000000..bc8a93c
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/Shop.apk differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes.dex b/代码/在这里1.0/src/1.5.8/Shop/bin/classes.dex
new file mode 100644
index 0000000..e515c04
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes.dex differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/date/TypeDef.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/date/TypeDef.class
new file mode 100644
index 0000000..430835f
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/date/TypeDef.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/BuildConfig.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/BuildConfig.class
new file mode 100644
index 0000000..1387198
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/BuildConfig.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$anim.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$anim.class
new file mode 100644
index 0000000..302d8ec
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$anim.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$attr.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$attr.class
new file mode 100644
index 0000000..b1c0a95
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$attr.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$dimen.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$dimen.class
new file mode 100644
index 0000000..9aebad5
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$dimen.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$drawable.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$drawable.class
new file mode 100644
index 0000000..4a706e2
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$drawable.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$id.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$id.class
new file mode 100644
index 0000000..b9a4e80
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$id.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$layout.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$layout.class
new file mode 100644
index 0000000..4a053dc
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$layout.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$menu.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$menu.class
new file mode 100644
index 0000000..9edb897
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$menu.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$string.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$string.class
new file mode 100644
index 0000000..7c0abe5
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$string.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$style.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$style.class
new file mode 100644
index 0000000..bd8340e
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R$style.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R.class
new file mode 100644
index 0000000..0a31b19
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/R.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/GoodsHolder.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/GoodsHolder.class
new file mode 100644
index 0000000..5485bea
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/GoodsHolder.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/GoodsListAdapter.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/GoodsListAdapter.class
new file mode 100644
index 0000000..b10c9be
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/GoodsListAdapter.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/GridAdapter.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/GridAdapter.class
new file mode 100644
index 0000000..0006465
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/GridAdapter.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ImagePagerAdapter.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ImagePagerAdapter.class
new file mode 100644
index 0000000..2f908a5
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ImagePagerAdapter.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/NewsHolder.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/NewsHolder.class
new file mode 100644
index 0000000..2e0aca3
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/NewsHolder.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/NewsListAdapter.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/NewsListAdapter.class
new file mode 100644
index 0000000..5d60787
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/NewsListAdapter.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/SComHolder.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/SComHolder.class
new file mode 100644
index 0000000..1d74fb9
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/SComHolder.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/SCommentAdapter.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/SCommentAdapter.class
new file mode 100644
index 0000000..0aa8ff3
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/SCommentAdapter.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ShopHolder.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ShopHolder.class
new file mode 100644
index 0000000..32685bc
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ShopHolder.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ShopListAdapter.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ShopListAdapter.class
new file mode 100644
index 0000000..effa6ee
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ShopListAdapter.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ViewPagerAdapter.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ViewPagerAdapter.class
new file mode 100644
index 0000000..e125d51
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/adapter/ViewPagerAdapter.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/Good.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/Good.class
new file mode 100644
index 0000000..daed661
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/Good.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/News.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/News.class
new file mode 100644
index 0000000..d206387
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/News.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/Order.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/Order.class
new file mode 100644
index 0000000..81f60cd
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/Order.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/SComment.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/SComment.class
new file mode 100644
index 0000000..be7ff20
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/SComment.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/Shop.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/Shop.class
new file mode 100644
index 0000000..469f145
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/Shop.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/User.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/User.class
new file mode 100644
index 0000000..5c4d08c
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/model/User.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/AboutActivity.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/AboutActivity.class
new file mode 100644
index 0000000..a5ddd38
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/AboutActivity.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/BaseActivity.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/BaseActivity.class
new file mode 100644
index 0000000..8d5f255
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/BaseActivity.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/CarActivity$1.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/CarActivity$1.class
new file mode 100644
index 0000000..a5fd79f
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/CarActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/CarActivity.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/CarActivity.class
new file mode 100644
index 0000000..d828476
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/CarActivity.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/HomeActivity$1.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/HomeActivity$1.class
new file mode 100644
index 0000000..886de23
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/HomeActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/HomeActivity.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/HomeActivity.class
new file mode 100644
index 0000000..48601ca
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/HomeActivity.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/LoginActicity$1.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/LoginActicity$1.class
new file mode 100644
index 0000000..98b9c00
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/LoginActicity$1.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/LoginActicity.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/LoginActicity.class
new file mode 100644
index 0000000..e1e7246
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/LoginActicity.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/MineActivity$1.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/MineActivity$1.class
new file mode 100644
index 0000000..392c24a
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/MineActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/MineActivity.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/MineActivity.class
new file mode 100644
index 0000000..8c38f98
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/MineActivity.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/NewsActivity.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/NewsActivity.class
new file mode 100644
index 0000000..29f8e74
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/NewsActivity.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/RegisterActivity$1.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/RegisterActivity$1.class
new file mode 100644
index 0000000..5744d6b
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/RegisterActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/RegisterActivity.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/RegisterActivity.class
new file mode 100644
index 0000000..28c43ac
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/RegisterActivity.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopActivity.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopActivity.class
new file mode 100644
index 0000000..53f06f1
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopActivity.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopAllActivity$1.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopAllActivity$1.class
new file mode 100644
index 0000000..eaca569
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopAllActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopAllActivity.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopAllActivity.class
new file mode 100644
index 0000000..a420d31
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopAllActivity.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopItemActivity$1.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopItemActivity$1.class
new file mode 100644
index 0000000..dcac5ef
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopItemActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopItemActivity.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopItemActivity.class
new file mode 100644
index 0000000..9aec5d2
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/shop/view/ShopItemActivity.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/AutoScrollViewPager$MyHandler.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/AutoScrollViewPager$MyHandler.class
new file mode 100644
index 0000000..75e985d
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/AutoScrollViewPager$MyHandler.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/AutoScrollViewPager.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/AutoScrollViewPager.class
new file mode 100644
index 0000000..3c31662
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/AutoScrollViewPager.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/CustomDurationScroller.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/CustomDurationScroller.class
new file mode 100644
index 0000000..cb8dd98
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/CustomDurationScroller.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/ListScrollView.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/ListScrollView.class
new file mode 100644
index 0000000..a1467e5
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/ListScrollView.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/MyGridView.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/MyGridView.class
new file mode 100644
index 0000000..7aaf8ed
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/MyGridView.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/ViewPagerCompat.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/ViewPagerCompat.class
new file mode 100644
index 0000000..ddc619a
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/ui/ViewPagerCompat.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/util/Util.class b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/util/Util.class
new file mode 100644
index 0000000..58f75d1
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/classes/com/stone/util/Util.class differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/dexedLibs/android-support-v4-56cbf0d5b8cf2bef9079cbeffb62171f.jar b/代码/在这里1.0/src/1.5.8/Shop/bin/dexedLibs/android-support-v4-56cbf0d5b8cf2bef9079cbeffb62171f.jar
new file mode 100644
index 0000000..3030336
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/dexedLibs/android-support-v4-56cbf0d5b8cf2bef9079cbeffb62171f.jar differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/dexedLibs/bmob_v3.0.2beta-735a16089f123c5760cdaac87607b70a.jar b/代码/在这里1.0/src/1.5.8/Shop/bin/dexedLibs/bmob_v3.0.2beta-735a16089f123c5760cdaac87607b70a.jar
new file mode 100644
index 0000000..5227ab8
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/dexedLibs/bmob_v3.0.2beta-735a16089f123c5760cdaac87607b70a.jar differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/jarlist.cache b/代码/在这里1.0/src/1.5.8/Shop/bin/jarlist.cache
new file mode 100644
index 0000000..0565465
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/bin/jarlist.cache
@@ -0,0 +1,3 @@
+# cache for current jar dependency. DO NOT EDIT.
+# format is
+# Encoding is UTF-8
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-hdpi/ic_launcher.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-hdpi/ic_launcher.png
new file mode 100644
index 0000000..efa7c5f
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-hdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-mdpi/ic_launcher.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-mdpi/ic_launcher.png
new file mode 100644
index 0000000..ec27f2e
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-mdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-xhdpi/ic_launcher.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..92fc57d
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-xhdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-xxhdpi/ic_launcher.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..b6f8f4e
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable-xxhdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_selected.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_selected.png
new file mode 100644
index 0000000..54b74dc
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_selected.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_selected_press.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_selected_press.png
new file mode 100644
index 0000000..6d5756a
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_selected_press.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_unselect.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_unselect.png
new file mode 100644
index 0000000..9185ada
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_unselect.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_unselect_press.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_unselect_press.png
new file mode 100644
index 0000000..0bf72e9
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/checkbox_unselect_press.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_1.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_1.png
new file mode 100644
index 0000000..f6b9de2
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_1.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_2.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_2.png
new file mode 100644
index 0000000..cdc5f24
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_2.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_3.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_3.png
new file mode 100644
index 0000000..ead23a9
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_3.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_4.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_4.png
new file mode 100644
index 0000000..5d7da50
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_4.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_5.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_5.png
new file mode 100644
index 0000000..64a8847
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_5.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_6.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_6.png
new file mode 100644
index 0000000..7ec915c
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_6.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_7.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_7.png
new file mode 100644
index 0000000..1df46b0
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_7.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_8.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_8.png
new file mode 100644
index 0000000..8bc6b23
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_8.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_app.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_app.png
new file mode 100644
index 0000000..e9c4014
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_app.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_app1.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_app1.png
new file mode 100644
index 0000000..7cdee50
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_app1.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_banner1.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_banner1.png
new file mode 100644
index 0000000..93e25d3
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_banner1.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_banner_hide.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_banner_hide.png
new file mode 100644
index 0000000..860e79e
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_banner_hide.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_breakfast.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_breakfast.png
new file mode 100644
index 0000000..1bb8b03
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_breakfast.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_car.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_car.png
new file mode 100644
index 0000000..83d6810
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_car.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_date.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_date.png
new file mode 100644
index 0000000..9df2a0e
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_date.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_hbut.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_hbut.png
new file mode 100644
index 0000000..775cc41
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_hbut.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_hide.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_hide.png
new file mode 100644
index 0000000..ca30710
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_hide.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_loc.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_loc.png
new file mode 100644
index 0000000..4590b69
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_loc.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_mine.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_mine.png
new file mode 100644
index 0000000..a1727ef
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_mine.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_page_indicator.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_page_indicator.png
new file mode 100644
index 0000000..ddd68c8
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_page_indicator.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_page_indicator_focused.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_page_indicator_focused.png
new file mode 100644
index 0000000..a9a52dc
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_page_indicator_focused.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_phone.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_phone.png
new file mode 100644
index 0000000..435ae6b
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_phone.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_phone2.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_phone2.png
new file mode 100644
index 0000000..57ab828
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_phone2.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_phone3.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_phone3.png
new file mode 100644
index 0000000..6ce6629
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_phone3.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_sale.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_sale.png
new file mode 100644
index 0000000..7a0e775
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_sale.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_search.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_search.png
new file mode 100644
index 0000000..8ff6204
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_search.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_shelf_category_divider.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_shelf_category_divider.png
new file mode 100644
index 0000000..836688a
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_shelf_category_divider.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_shop.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_shop.png
new file mode 100644
index 0000000..b51d593
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_shop.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_star_no.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_star_no.png
new file mode 100644
index 0000000..37797b9
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_star_no.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_star_yes.png b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_star_yes.png
new file mode 100644
index 0000000..3b3aa73
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/res/crunch/drawable/ic_star_yes.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/bin/resources.ap_ b/代码/在这里1.0/src/1.5.8/Shop/bin/resources.ap_
new file mode 100644
index 0000000..a8a5743
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/bin/resources.ap_ differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/gen/com/stone/shop/BuildConfig.java b/代码/在这里1.0/src/1.5.8/Shop/gen/com/stone/shop/BuildConfig.java
new file mode 100644
index 0000000..f1eddbc
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/gen/com/stone/shop/BuildConfig.java
@@ -0,0 +1,6 @@
+/** Automatically generated file. DO NOT MODIFY */
+package com.stone.shop;
+
+public final class BuildConfig {
+ public final static boolean DEBUG = true;
+}
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/gen/com/stone/shop/R.java b/代码/在这里1.0/src/1.5.8/Shop/gen/com/stone/shop/R.java
new file mode 100644
index 0000000..0682a55
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/gen/com/stone/shop/R.java
@@ -0,0 +1,240 @@
+/* AUTO-GENERATED FILE. DO NOT MODIFY.
+ *
+ * This class was automatically generated by the
+ * aapt tool from the resource data it found. It
+ * should not be modified by hand.
+ */
+
+package com.stone.shop;
+
+public final class R {
+ public static final class anim {
+ public static final int cycle_7=0x7f040000;
+ public static final int scale=0x7f040001;
+ public static final int shake=0x7f040002;
+ }
+ public static final class attr {
+ }
+ public static final class dimen {
+ /** Default screen margins, per the Android Design guidelines.
+
+ Customize dimensions originally defined in res/values/dimens.xml (such as
+ screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
+
+ */
+ public static final int activity_horizontal_margin=0x7f050000;
+ public static final int activity_vertical_margin=0x7f050001;
+ }
+ public static final class drawable {
+ public static final int abs__tab_selected_focused_holo=0x7f020000;
+ public static final int abs__tab_selected_holo=0x7f020001;
+ public static final int abs__tab_selected_pressed_holo=0x7f020002;
+ public static final int abs__tab_unselected_pressed_holo=0x7f020003;
+ public static final int bg1=0x7f020004;
+ public static final int bg3=0x7f020005;
+ public static final int checkbox_bg1=0x7f020006;
+ public static final int checkbox_selected=0x7f020007;
+ public static final int checkbox_selected_press=0x7f020008;
+ public static final int checkbox_unselect=0x7f020009;
+ public static final int checkbox_unselect_press=0x7f02000a;
+ public static final int custom_ratingbar=0x7f02000b;
+ public static final int ic_1=0x7f02000c;
+ public static final int ic_2=0x7f02000d;
+ public static final int ic_3=0x7f02000e;
+ public static final int ic_4=0x7f02000f;
+ public static final int ic_5=0x7f020010;
+ public static final int ic_6=0x7f020011;
+ public static final int ic_7=0x7f020012;
+ public static final int ic_8=0x7f020013;
+ public static final int ic_app=0x7f020014;
+ public static final int ic_app1=0x7f020015;
+ public static final int ic_banner1=0x7f020016;
+ public static final int ic_banner_hide=0x7f020017;
+ public static final int ic_banner_image_default1=0x7f020018;
+ public static final int ic_banner_image_default11=0x7f020019;
+ public static final int ic_banner_image_default2=0x7f02001a;
+ public static final int ic_banner_image_default22=0x7f02001b;
+ public static final int ic_banner_image_default3=0x7f02001c;
+ public static final int ic_banner_image_default4=0x7f02001d;
+ public static final int ic_banner_image_default55=0x7f02001e;
+ public static final int ic_banner_image_default77=0x7f02001f;
+ public static final int ic_breakfast=0x7f020020;
+ public static final int ic_car=0x7f020021;
+ public static final int ic_date=0x7f020022;
+ public static final int ic_hbut=0x7f020023;
+ public static final int ic_hide=0x7f020024;
+ public static final int ic_launcher=0x7f020025;
+ public static final int ic_loc=0x7f020026;
+ public static final int ic_mine=0x7f020027;
+ public static final int ic_page_indicator=0x7f020028;
+ public static final int ic_page_indicator_focused=0x7f020029;
+ public static final int ic_phone=0x7f02002a;
+ public static final int ic_phone2=0x7f02002b;
+ public static final int ic_phone3=0x7f02002c;
+ public static final int ic_sale=0x7f02002d;
+ public static final int ic_search=0x7f02002e;
+ public static final int ic_shelf_category_divider=0x7f02002f;
+ public static final int ic_shop=0x7f020030;
+ public static final int ic_shop_info_bg=0x7f020031;
+ public static final int ic_shop_info_bg2=0x7f020032;
+ public static final int ic_shop_info_bg22=0x7f020033;
+ public static final int ic_star_no=0x7f020034;
+ public static final int ic_star_yes=0x7f020035;
+ public static final int shap_circle=0x7f020036;
+ public static final int shape_color_frame=0x7f020037;
+ public static final int shape_grid_item=0x7f020038;
+ public static final int shape_left_radius_color_square=0x7f020039;
+ public static final int shape_radius=0x7f02003a;
+ public static final int shape_radius_color_square=0x7f02003b;
+ public static final int shape_radius_square=0x7f02003c;
+ public static final int tab_bg_selector=0x7f02003d;
+ }
+ public static final class id {
+ public static final int action_settings=0x7f090055;
+ public static final int btn_about=0x7f09001c;
+ public static final int btn_buy_good=0x7f090038;
+ public static final int btn_commit=0x7f090054;
+ public static final int btn_contact=0x7f09001d;
+ public static final int btn_hide_ads=0x7f090009;
+ public static final int btn_login=0x7f090012;
+ public static final int btn_reg_now=0x7f09002a;
+ public static final int btn_register=0x7f090014;
+ public static final int btn_share=0x7f09001e;
+ public static final int cb_rem_psd=0x7f090013;
+ public static final int et_comfirm_psd=0x7f090025;
+ public static final int et_commit=0x7f090053;
+ public static final int et_password=0x7f090010;
+ public static final int et_phone=0x7f090028;
+ public static final int et_username=0x7f09000d;
+ public static final int fl_image_ads=0x7f090007;
+ public static final int gv_food_class=0x7f09002c;
+ public static final int gv_gift_class=0x7f09002d;
+ public static final int gv_out_class=0x7f09002e;
+ public static final int gv_school_class=0x7f09002b;
+ public static final int header_shop_all=0x7f09002f;
+ public static final int imageview=0x7f090047;
+ public static final int img_call=0x7f09004e;
+ public static final int img_chooseImage=0x7f090045;
+ public static final int img_date=0x7f090004;
+ public static final int img_search=0x7f09003a;
+ public static final int img_shop=0x7f09003d;
+ public static final int img_welcome=0x7f090001;
+ public static final int listScrollView=0x7f090003;
+ public static final int ll_commit_parent_view=0x7f090052;
+ public static final int ll_commit_son_view=0x7f090033;
+ public static final int ll_row1=0x7f09000b;
+ public static final int ll_row2=0x7f09000e;
+ public static final int ll_row3=0x7f090011;
+ public static final int ll_row4=0x7f090026;
+ public static final int ll_row6=0x7f090029;
+ public static final int lv_goods_list=0x7f090049;
+ public static final int lv_news=0x7f09000a;
+ public static final int lv_shop_all=0x7f090030;
+ public static final int pagertab=0x7f090032;
+ public static final int ratingBar1=0x7f09004b;
+ public static final int rb_rate=0x7f090043;
+ public static final int relaGrid=0x7f090044;
+ public static final int rl_welcome=0x7f090000;
+ public static final int textview=0x7f090048;
+ public static final int tv_bowl=0x7f090016;
+ public static final int tv_cademy=0x7f090019;
+ public static final int tv_chooseText=0x7f090046;
+ public static final int tv_comfirm_psd=0x7f090024;
+ public static final int tv_commit_content=0x7f090035;
+ public static final int tv_commit_title=0x7f090051;
+ public static final int tv_commit_user=0x7f090034;
+ public static final int tv_day=0x7f090006;
+ public static final int tv_dorNum=0x7f09001b;
+ public static final int tv_dorPart=0x7f09001a;
+ public static final int tv_good_name=0x7f090036;
+ public static final int tv_good_price=0x7f090037;
+ public static final int tv_me=0x7f090015;
+ public static final int tv_news_author=0x7f090020;
+ public static final int tv_news_content=0x7f090022;
+ public static final int tv_news_date=0x7f09003c;
+ public static final int tv_news_time=0x7f090021;
+ public static final int tv_news_title=0x7f09001f;
+ public static final int tv_news_type=0x7f09003b;
+ public static final int tv_password=0x7f09000f;
+ public static final int tv_phone=0x7f090027;
+ public static final int tv_reg_title=0x7f090023;
+ public static final int tv_school=0x7f090018;
+ public static final int tv_shop_discount=0x7f090040;
+ public static final int tv_shop_introduce=0x7f09004f;
+ public static final int tv_shop_loc=0x7f090042;
+ public static final int tv_shop_location=0x7f09004c;
+ public static final int tv_shop_name=0x7f09003e;
+ public static final int tv_shop_paper=0x7f09003f;
+ public static final int tv_shop_phone=0x7f09004d;
+ public static final int tv_shop_promotion=0x7f090050;
+ public static final int tv_shop_title=0x7f09004a;
+ public static final int tv_shop_type=0x7f090041;
+ public static final int tv_title=0x7f090039;
+ public static final int tv_username=0x7f09000c;
+ public static final int tv_week=0x7f090005;
+ public static final int tv_xiaocai=0x7f090017;
+ public static final int view_pager=0x7f090008;
+ public static final int viewpager=0x7f090031;
+ public static final int wv_wsq=0x7f090002;
+ }
+ public static final class layout {
+ public static final int activity_about=0x7f030000;
+ public static final int activity_base=0x7f030001;
+ public static final int activity_car=0x7f030002;
+ public static final int activity_home=0x7f030003;
+ public static final int activity_login=0x7f030004;
+ public static final int activity_mine=0x7f030005;
+ public static final int activity_news=0x7f030006;
+ public static final int activity_reg=0x7f030007;
+ public static final int activity_shop=0x7f030008;
+ public static final int activity_shop_all=0x7f030009;
+ public static final int activity_shop_item=0x7f03000a;
+ public static final int commit=0x7f03000b;
+ public static final int copy_activity_home=0x7f03000c;
+ public static final int goods_list_item=0x7f03000d;
+ public static final int header_home=0x7f03000e;
+ public static final int header_mine=0x7f03000f;
+ public static final int header_news=0x7f030010;
+ public static final int header_shop=0x7f030011;
+ public static final int header_shop_all=0x7f030012;
+ public static final int news_list_item=0x7f030013;
+ public static final int scom_list_item=0x7f030014;
+ public static final int shop_all_list_item=0x7f030015;
+ public static final int shop_grid_item=0x7f030016;
+ public static final int tab_widget_item=0x7f030017;
+ public static final int viewpager_menu=0x7f030018;
+ public static final int viewpager_shopinfo=0x7f030019;
+ }
+ public static final class menu {
+ public static final int main=0x7f080000;
+ }
+ public static final class string {
+ public static final int action_settings=0x7f060001;
+ public static final int app_name=0x7f060000;
+ public static final int hello_world=0x7f060002;
+ }
+ public static final class style {
+ /**
+ Base application theme for API 11+. This theme completely replaces
+ AppBaseTheme from res/values/styles.xml on API 11+ devices.
+
+ API 11 theme customizations can go here.
+
+ Base application theme for API 14+. This theme completely replaces
+ AppBaseTheme from BOTH res/values/styles.xml and
+ res/values-v11/styles.xml on API 14+ devices.
+
+ API 14 theme customizations can go here.
+ */
+ public static final int AppBaseTheme=0x7f070000;
+ public static final int AppNoTitleBarTheme=0x7f070003;
+ public static final int AppTheme=0x7f070002;
+ public static final int NoTitleBarTheme=0x7f070001;
+ /** 自定义对话框的样式
+ */
+ public static final int Theme_dialog=0x7f070004;
+ /** 自定义RatingBar样式
+ */
+ public static final int custom_ratingbar_style=0x7f070005;
+ }
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/ic_launcher-web.png b/代码/在这里1.0/src/1.5.8/Shop/ic_launcher-web.png
new file mode 100644
index 0000000..a18cbb4
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/ic_launcher-web.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/libs/android-support-v4.jar b/代码/在这里1.0/src/1.5.8/Shop/libs/android-support-v4.jar
new file mode 100644
index 0000000..9056828
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/libs/android-support-v4.jar differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/libs/bmob_v3.0.2beta.jar b/代码/在这里1.0/src/1.5.8/Shop/libs/bmob_v3.0.2beta.jar
new file mode 100644
index 0000000..2b853e5
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/libs/bmob_v3.0.2beta.jar differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/lint.xml b/代码/在这里1.0/src/1.5.8/Shop/lint.xml
new file mode 100644
index 0000000..7cc5ca9
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/lint.xml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/proguard-project.txt b/代码/在这里1.0/src/1.5.8/Shop/proguard-project.txt
new file mode 100644
index 0000000..f2fe155
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/proguard-project.txt
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# 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 *;
+#}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/project.properties b/代码/在这里1.0/src/1.5.8/Shop/project.properties
new file mode 100644
index 0000000..4ab1256
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/project.properties
@@ -0,0 +1,14 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system edit
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+#
+# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
+#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
+
+# Project target.
+target=android-19
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/anim/cycle_7.xml b/代码/在这里1.0/src/1.5.8/Shop/res/anim/cycle_7.xml
new file mode 100644
index 0000000..57932a8
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/anim/cycle_7.xml
@@ -0,0 +1,3 @@
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/anim/scale.xml b/代码/在这里1.0/src/1.5.8/Shop/res/anim/scale.xml
new file mode 100644
index 0000000..77cdc91
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/anim/scale.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/anim/shake.xml b/代码/在这里1.0/src/1.5.8/Shop/res/anim/shake.xml
new file mode 100644
index 0000000..4352ab2
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/anim/shake.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable-hdpi/ic_launcher.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 0000000..288b665
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable-hdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable-mdpi/ic_launcher.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 0000000..6ae570b
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable-mdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable-xhdpi/ic_launcher.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..d4fb7cd
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable-xhdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable-xxhdpi/ic_launcher.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..85a6081
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable-xxhdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_selected_focused_holo.9.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_selected_focused_holo.9.png
new file mode 100644
index 0000000..140ebfd
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_selected_focused_holo.9.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_selected_holo.9.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_selected_holo.9.png
new file mode 100644
index 0000000..a94f098
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_selected_holo.9.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_selected_pressed_holo.9.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_selected_pressed_holo.9.png
new file mode 100644
index 0000000..25ec789
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_selected_pressed_holo.9.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_unselected_pressed_holo.9.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_unselected_pressed_holo.9.png
new file mode 100644
index 0000000..3e7f9e4
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/abs__tab_unselected_pressed_holo.9.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/bg1.jpg b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/bg1.jpg
new file mode 100644
index 0000000..cbb06e0
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/bg1.jpg differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/bg3.jpg b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/bg3.jpg
new file mode 100644
index 0000000..69333a7
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/bg3.jpg differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_bg1.xml b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_bg1.xml
new file mode 100644
index 0000000..24e98f1
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_bg1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_selected.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_selected.png
new file mode 100644
index 0000000..54b74dc
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_selected.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_selected_press.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_selected_press.png
new file mode 100644
index 0000000..6d5756a
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_selected_press.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_unselect.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_unselect.png
new file mode 100644
index 0000000..9185ada
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_unselect.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_unselect_press.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_unselect_press.png
new file mode 100644
index 0000000..0bf72e9
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/checkbox_unselect_press.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/custom_ratingbar.xml b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/custom_ratingbar.xml
new file mode 100644
index 0000000..ab2cf58
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/custom_ratingbar.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_1.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_1.png
new file mode 100644
index 0000000..9ccc4da
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_1.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_2.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_2.png
new file mode 100644
index 0000000..bc9f9ff
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_2.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_3.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_3.png
new file mode 100644
index 0000000..1192560
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_3.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_4.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_4.png
new file mode 100644
index 0000000..f151b25
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_4.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_5.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_5.png
new file mode 100644
index 0000000..32e9ab3
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_5.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_6.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_6.png
new file mode 100644
index 0000000..4172b94
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_6.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_7.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_7.png
new file mode 100644
index 0000000..ccfabb4
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_7.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_8.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_8.png
new file mode 100644
index 0000000..609d322
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_8.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_app.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_app.png
new file mode 100644
index 0000000..77df0ed
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_app.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_app1.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_app1.png
new file mode 100644
index 0000000..5e0a4a9
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_app1.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner1.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner1.png
new file mode 100644
index 0000000..769c54c
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner1.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_hide.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_hide.png
new file mode 100644
index 0000000..ff669ae
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_hide.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default1.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default1.png
new file mode 100644
index 0000000..5f4b680
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default1.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default11.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default11.png
new file mode 100644
index 0000000..48b457e
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default11.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default2.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default2.png
new file mode 100644
index 0000000..51cdab6
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default2.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default22.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default22.png
new file mode 100644
index 0000000..90c6304
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default22.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default3.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default3.png
new file mode 100644
index 0000000..9c265c7
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default3.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default4.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default4.png
new file mode 100644
index 0000000..a2a3229
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default4.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default55.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default55.png
new file mode 100644
index 0000000..4ce9b4f
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default55.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default77.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default77.png
new file mode 100644
index 0000000..49bda9c
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_banner_image_default77.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_breakfast.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_breakfast.png
new file mode 100644
index 0000000..82a0eae
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_breakfast.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_car.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_car.png
new file mode 100644
index 0000000..f6e6b53
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_car.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_date.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_date.png
new file mode 100644
index 0000000..1ce7f73
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_date.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_hbut.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_hbut.png
new file mode 100644
index 0000000..dfc211b
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_hbut.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_hide.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_hide.png
new file mode 100644
index 0000000..f6b6fb9
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_hide.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_loc.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_loc.png
new file mode 100644
index 0000000..080c76a
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_loc.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_mine.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_mine.png
new file mode 100644
index 0000000..08e701b
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_mine.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_page_indicator.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_page_indicator.png
new file mode 100644
index 0000000..6204a24
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_page_indicator.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_page_indicator_focused.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_page_indicator_focused.png
new file mode 100644
index 0000000..f75c2e1
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_page_indicator_focused.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_phone.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_phone.png
new file mode 100644
index 0000000..91d3d2b
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_phone.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_phone2.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_phone2.png
new file mode 100644
index 0000000..19c6769
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_phone2.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_phone3.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_phone3.png
new file mode 100644
index 0000000..c3c55dc
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_phone3.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_sale.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_sale.png
new file mode 100644
index 0000000..1c4518e
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_sale.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_search.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_search.png
new file mode 100644
index 0000000..9f6df03
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_search.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shelf_category_divider.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shelf_category_divider.png
new file mode 100644
index 0000000..836688a
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shelf_category_divider.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop.png
new file mode 100644
index 0000000..129e2c2
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop_info_bg.jpg b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop_info_bg.jpg
new file mode 100644
index 0000000..2d84e7c
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop_info_bg.jpg differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop_info_bg2.jpg b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop_info_bg2.jpg
new file mode 100644
index 0000000..566f0e1
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop_info_bg2.jpg differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop_info_bg22.jpg b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop_info_bg22.jpg
new file mode 100644
index 0000000..9ec3fd3
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_shop_info_bg22.jpg differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_star_no.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_star_no.png
new file mode 100644
index 0000000..303c979
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_star_no.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_star_yes.png b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_star_yes.png
new file mode 100644
index 0000000..add85d5
Binary files /dev/null and b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/ic_star_yes.png differ
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shap_circle.xml b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shap_circle.xml
new file mode 100644
index 0000000..a980ec9
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shap_circle.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_color_frame.xml b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_color_frame.xml
new file mode 100644
index 0000000..43ddd6e
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_color_frame.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_grid_item.xml b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_grid_item.xml
new file mode 100644
index 0000000..eeb0114
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_grid_item.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_left_radius_color_square.xml b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_left_radius_color_square.xml
new file mode 100644
index 0000000..85378c7
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_left_radius_color_square.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_radius.xml b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_radius.xml
new file mode 100644
index 0000000..ac0596b
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_radius.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_radius_color_square.xml b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_radius_color_square.xml
new file mode 100644
index 0000000..e374328
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_radius_color_square.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_radius_square.xml b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_radius_square.xml
new file mode 100644
index 0000000..041ac07
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/shape_radius_square.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/drawable/tab_bg_selector.xml b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/tab_bg_selector.xml
new file mode 100644
index 0000000..8efcdbf
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/drawable/tab_bg_selector.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_about.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_about.xml
new file mode 100644
index 0000000..6489133
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_about.xml
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_base.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_base.xml
new file mode 100644
index 0000000..660a411
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_base.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_car.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_car.xml
new file mode 100644
index 0000000..42a5665
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_car.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_home.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_home.xml
new file mode 100644
index 0000000..357f2fc
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_home.xml
@@ -0,0 +1,128 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_login.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_login.xml
new file mode 100644
index 0000000..8e9936b
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_login.xml
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_mine.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_mine.xml
new file mode 100644
index 0000000..2007dfc
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_mine.xml
@@ -0,0 +1,342 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_news.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_news.xml
new file mode 100644
index 0000000..820b247
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_news.xml
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_reg.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_reg.xml
new file mode 100644
index 0000000..e6ef8e5
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_reg.xml
@@ -0,0 +1,157 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_shop.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_shop.xml
new file mode 100644
index 0000000..9f67d9b
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_shop.xml
@@ -0,0 +1,152 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_shop_all.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_shop_all.xml
new file mode 100644
index 0000000..363ab03
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_shop_all.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_shop_item.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_shop_item.xml
new file mode 100644
index 0000000..350e9ed
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/activity_shop_item.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/commit.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/commit.xml
new file mode 100644
index 0000000..5367094
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/commit.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/copy_activity_home.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/copy_activity_home.xml
new file mode 100644
index 0000000..5db32f6
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/copy_activity_home.xml
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/goods_list_item.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/goods_list_item.xml
new file mode 100644
index 0000000..515fef4
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/goods_list_item.xml
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_home.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_home.xml
new file mode 100644
index 0000000..4bb33e0
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_home.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_mine.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_mine.xml
new file mode 100644
index 0000000..a945f6d
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_mine.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_news.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_news.xml
new file mode 100644
index 0000000..9372403
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_news.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_shop.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_shop.xml
new file mode 100644
index 0000000..c68110f
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_shop.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_shop_all.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_shop_all.xml
new file mode 100644
index 0000000..a893d03
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/header_shop_all.xml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/news_list_item.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/news_list_item.xml
new file mode 100644
index 0000000..169372f
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/news_list_item.xml
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/scom_list_item.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/scom_list_item.xml
new file mode 100644
index 0000000..5367094
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/scom_list_item.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/shop_all_list_item.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/shop_all_list_item.xml
new file mode 100644
index 0000000..aa10c87
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/shop_all_list_item.xml
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/shop_grid_item.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/shop_grid_item.xml
new file mode 100644
index 0000000..97252d3
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/shop_grid_item.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/tab_widget_item.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/tab_widget_item.xml
new file mode 100644
index 0000000..6c54957
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/tab_widget_item.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/viewpager_menu.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/viewpager_menu.xml
new file mode 100644
index 0000000..c9e0fe8
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/viewpager_menu.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/layout/viewpager_shopinfo.xml b/代码/在这里1.0/src/1.5.8/Shop/res/layout/viewpager_shopinfo.xml
new file mode 100644
index 0000000..f67b01e
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/layout/viewpager_shopinfo.xml
@@ -0,0 +1,292 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/menu/main.xml b/代码/在这里1.0/src/1.5.8/Shop/res/menu/main.xml
new file mode 100644
index 0000000..c002028
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/menu/main.xml
@@ -0,0 +1,9 @@
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/values-sw600dp/dimens.xml b/代码/在这里1.0/src/1.5.8/Shop/res/values-sw600dp/dimens.xml
new file mode 100644
index 0000000..44f01db
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/values-sw600dp/dimens.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/values-sw720dp-land/dimens.xml b/代码/在这里1.0/src/1.5.8/Shop/res/values-sw720dp-land/dimens.xml
new file mode 100644
index 0000000..61e3fa8
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/values-sw720dp-land/dimens.xml
@@ -0,0 +1,9 @@
+
+
+
+ 128dp
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/values-v11/styles.xml b/代码/在这里1.0/src/1.5.8/Shop/res/values-v11/styles.xml
new file mode 100644
index 0000000..3c02242
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/values-v11/styles.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/values-v14/styles.xml b/代码/在这里1.0/src/1.5.8/Shop/res/values-v14/styles.xml
new file mode 100644
index 0000000..a91fd03
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/values-v14/styles.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/values/dimens.xml b/代码/在这里1.0/src/1.5.8/Shop/res/values/dimens.xml
new file mode 100644
index 0000000..55c1e59
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/values/dimens.xml
@@ -0,0 +1,7 @@
+
+
+
+ 16dp
+ 16dp
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/values/strings.xml b/代码/在这里1.0/src/1.5.8/Shop/res/values/strings.xml
new file mode 100644
index 0000000..258866e
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/values/strings.xml
@@ -0,0 +1,9 @@
+
+
+
+ Shop
+ Settings
+ Hello world!
+
+
+
diff --git a/代码/在这里1.0/src/1.5.8/Shop/res/values/styles.xml b/代码/在这里1.0/src/1.5.8/Shop/res/values/styles.xml
new file mode 100644
index 0000000..98de214
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/res/values/styles.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/date/TypeDef.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/date/TypeDef.java
new file mode 100644
index 0000000..2297c38
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/date/TypeDef.java
@@ -0,0 +1,29 @@
+package com.stone.date;
+
+/**
+ * 类型分类汇总
+ *
+ * @date 2014-4-29
+ * @author Stone
+ */
+public class TypeDef {
+
+ //父分类
+ public static final String[] typeDadList = { "学习小菜", "吃饭小菜", "购物小菜", "疯狂小菜" };
+
+ //子分类--学习小菜
+ public static final String[] typeSonList1 = { "博学堂", "图书馆", "大礼堂", "二手交易",
+ "湖工大在线" };
+
+ //子分类--吃饭小菜
+ public static final String[] typeSonList2 = { "东区", "西区", "中区", "南区", "北区" };
+
+ //子分类--购物小菜
+ public static final String[] typeSonList3 = { "奶茶饮料", "水果", "面包蛋糕", "植物鲜花",
+ "化妆品", "打印", "照相", "ATM" };
+
+ //子分类--疯狂小菜
+ public static final String[] typeSonList4 = { "兼职", "景点门票", "租车", "旅游",
+ "聚餐", "宾馆", "KTV" };
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/GoodsHolder.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/GoodsHolder.java
new file mode 100644
index 0000000..bb235fb
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/GoodsHolder.java
@@ -0,0 +1,17 @@
+package com.stone.shop.adapter;
+
+import android.widget.Button;
+import android.widget.TextView;
+
+/**
+ * 商品视图
+ * @date 2014-4-26
+ * @author Stone
+ */
+public class GoodsHolder {
+
+ public TextView tvName; //商品名称
+ public TextView tvPrice; //商品单价
+ public Button btnBuyGood; //购买按钮
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/GoodsListAdapter.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/GoodsListAdapter.java
new file mode 100644
index 0000000..4fffb32
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/GoodsListAdapter.java
@@ -0,0 +1,72 @@
+package com.stone.shop.adapter;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import android.content.Context;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.Button;
+import android.widget.TextView;
+
+import com.stone.shop.R;
+import com.stone.shop.model.Good;
+import com.stone.shop.model.Shop;
+
+public class GoodsListAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private List mGoodsList; // 商品列表信息
+ private LayoutInflater mInflater = null;
+
+ public GoodsListAdapter(Context context, List goodsList) {
+ mContext = context;
+ mGoodsList = goodsList;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mGoodsList.size();
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mGoodsList.get(position);
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ // 刷新列表中的数据
+ public void refresh(List list) {
+ mGoodsList = list;
+ notifyDataSetChanged();
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ GoodsHolder goodHolder;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.goods_list_item, null);
+ goodHolder = new GoodsHolder();
+ goodHolder.tvName = (TextView) convertView
+ .findViewById(R.id.tv_good_name);
+ goodHolder.tvPrice = (TextView) convertView
+ .findViewById(R.id.tv_good_price);
+ goodHolder.btnBuyGood = (Button) convertView
+ .findViewById(R.id.btn_buy_good);
+ convertView.setTag(goodHolder);
+ } else {
+ goodHolder = (GoodsHolder) convertView.getTag();
+ }
+ goodHolder.tvName.setText(mGoodsList.get(position).getName());
+ goodHolder.tvPrice.setText(mGoodsList.get(position).getPrice());
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/GridAdapter.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/GridAdapter.java
new file mode 100644
index 0000000..f41ac3d
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/GridAdapter.java
@@ -0,0 +1,116 @@
+package com.stone.shop.adapter;
+
+import android.R.integer;
+import android.content.Context;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.ImageView;
+import android.widget.TextView;
+
+import com.stone.date.TypeDef;
+import com.stone.shop.R;
+
+/**
+ * 生活-- 网格布局(ImageView+TextView)适配器
+ *
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class GridAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private int mIndex = 0; // 代表当前需要适配页面中第几个GridView
+
+ //学习小菜
+ public static String[] mSchoolTexts = TypeDef.typeSonList1;
+ private int[] mSchoolImages = { R.drawable.ic_8, R.drawable.ic_8,
+ R.drawable.ic_8, R.drawable.ic_8, R.drawable.ic_8 };
+
+ //吃饭小菜
+ public static String[] mFoodTexts = TypeDef.typeSonList2;
+ private int[] mFoodImages = { R.drawable.ic_4, R.drawable.ic_4,
+ R.drawable.ic_4, R.drawable.ic_4, R.drawable.ic_4 };
+
+ //购物小菜
+ public static String[] mGiftTexts = TypeDef.typeSonList3;
+ private int[] mGiftImages = { R.drawable.ic_7, R.drawable.ic_7,
+ R.drawable.ic_7, R.drawable.ic_7, R.drawable.ic_7,
+ R.drawable.ic_7, R.drawable.ic_7, R.drawable.ic_7 };
+
+ //疯狂小菜
+ public static String[] mOutTexts = TypeDef.typeSonList4;
+ private int[] mOutImages = { R.drawable.ic_3, R.drawable.ic_3,
+ R.drawable.ic_3, R.drawable.ic_3, R.drawable.ic_3,
+ R.drawable.ic_3, R.drawable.ic_3 };
+
+ public GridAdapter(Context context, int index) {
+ mContext = context;
+ mIndex = index;
+ }
+
+ @Override
+ public int getCount() {
+ int count = 0;
+ switch (mIndex) {
+ case 0:
+ count = mFoodImages.length;
+ break;
+ case 1:
+ count = mGiftImages.length;
+ break;
+ case 2:
+ count = mOutImages.length;
+ break;
+ case 3:
+ count = mSchoolImages.length;
+ break;
+ default:
+ break;
+ }
+ return count;
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return null;
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return 0;
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ View view = View.inflate(mContext, R.layout.shop_grid_item, null);
+ // RelativeLayout rl = (RelativeLayout)
+ // view.findViewById(R.id.relaGrid);
+
+ ImageView image = (ImageView) view.findViewById(R.id.img_chooseImage);
+ TextView text = (TextView) view.findViewById(R.id.tv_chooseText);
+ switch (mIndex) {
+ case 0:
+ image.setImageResource(mFoodImages[position]);
+ text.setText(mFoodTexts[position]);
+ break;
+ case 1:
+ image.setImageResource(mGiftImages[position]);
+ text.setText(mGiftTexts[position]);
+ break;
+ case 2:
+ image.setImageResource(mOutImages[position]);
+ text.setText(mOutTexts[position]);
+ break;
+ case 3:
+ image.setImageResource(mSchoolImages[position]);
+ text.setText(mSchoolTexts[position]);
+ break;
+ default:
+ break;
+ }
+
+ return view;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ImagePagerAdapter.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ImagePagerAdapter.java
new file mode 100644
index 0000000..c73ef5a
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ImagePagerAdapter.java
@@ -0,0 +1,67 @@
+package com.stone.shop.adapter;
+
+import java.util.List;
+
+import android.content.Context;
+import android.os.Parcelable;
+import android.support.v4.view.PagerAdapter;
+import android.support.v4.view.ViewPager;
+import android.view.View;
+
+/**
+ * 首页--图片轮播AutoScrollViewPager适配器
+ * @author Stone
+ */
+public class ImagePagerAdapter extends PagerAdapter {
+
+ private List mImgViews;
+
+ public ImagePagerAdapter(Context context, List imgViews) {
+ this.mImgViews = imgViews;
+ }
+
+ @Override
+ public int getCount() {
+ if(mImgViews != null){
+ return mImgViews.size();
+ }
+ return 0;
+ }
+
+ @Override
+ public Object instantiateItem(View arg0, int arg1) {
+ ((ViewPager) arg0).addView(mImgViews.get(arg1));
+ return mImgViews.get(arg1);
+ }
+
+ @Override
+ public void destroyItem(View arg0, int arg1, Object arg2) {
+ ((ViewPager) arg0).removeView(mImgViews.get(arg1));
+ }
+
+ @Override
+ public boolean isViewFromObject(View arg0, Object arg1) {
+ return arg0 == arg1;
+ }
+
+ @Override
+ public void restoreState(Parcelable arg0, ClassLoader arg1) {
+
+ }
+
+ @Override
+ public Parcelable saveState() {
+ return null;
+ }
+
+ @Override
+ public void startUpdate(View arg0) {
+
+ }
+
+ @Override
+ public void finishUpdate(View arg0) {
+
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/NewsHolder.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/NewsHolder.java
new file mode 100644
index 0000000..b49850d
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/NewsHolder.java
@@ -0,0 +1,11 @@
+package com.stone.shop.adapter;
+
+import android.widget.TextView;
+
+public class NewsHolder {
+
+ public TextView tvNewsType; //新闻分类
+ public TextView tvNewsTitle; //新闻标题
+ public TextView tvNewsDate; //新闻时间
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/NewsListAdapter.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/NewsListAdapter.java
new file mode 100644
index 0000000..92264ca
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/NewsListAdapter.java
@@ -0,0 +1,82 @@
+package com.stone.shop.adapter;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.stone.shop.R;
+import com.stone.shop.model.News;
+
+import android.R.integer;
+import android.content.Context;
+import android.graphics.pdf.PdfDocument.Page;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.TextView;
+
+/**
+ * 新闻列表适配器
+ *
+ * @date 2014-5-3
+ * @author Stone
+ */
+public class NewsListAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private LayoutInflater mInflater = null;
+ private List mNewsList = null; // 所选分类下的所有店铺列表
+
+ public NewsListAdapter(Context context, List newsList) {
+ mContext = context;
+ mNewsList = newsList;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mNewsList.size();
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mNewsList.get(position);
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ // 刷新列表中的数据
+ public void refresh(ArrayList list) {
+ mNewsList = list;
+ notifyDataSetChanged();
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ NewsHolder newsHolder;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.news_list_item, null);
+ newsHolder = new NewsHolder();
+ newsHolder.tvNewsType = (TextView) convertView
+ .findViewById(R.id.tv_news_type);
+ newsHolder.tvNewsTitle = (TextView) convertView
+ .findViewById(R.id.tv_news_title);
+ newsHolder.tvNewsDate = (TextView) convertView
+ .findViewById(R.id.tv_news_date);
+ convertView.setTag(newsHolder);
+ } else {
+ newsHolder = (NewsHolder) convertView.getTag();
+ }
+ //拆分字符串,只取年月日
+ String[] ss = new String[2];
+ ss = mNewsList.get(position).getCreatedAt().split(" ");
+ newsHolder.tvNewsType.setText(mNewsList.get(position).getType()); //新闻类型
+ newsHolder.tvNewsTitle.setText(mNewsList.get(position).getTitle()); //新闻标题
+ newsHolder.tvNewsDate.setText(ss[0]); //新闻发布日期
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/SComHolder.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/SComHolder.java
new file mode 100644
index 0000000..5bf60e8
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/SComHolder.java
@@ -0,0 +1,10 @@
+package com.stone.shop.adapter;
+
+import android.widget.TextView;
+
+public class SComHolder {
+
+ public TextView tvComUser;
+ public TextView tvComContent;
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/SCommentAdapter.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/SCommentAdapter.java
new file mode 100644
index 0000000..98cf470
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/SCommentAdapter.java
@@ -0,0 +1,66 @@
+package com.stone.shop.adapter;
+
+import java.util.List;
+
+import com.stone.shop.R;
+import com.stone.shop.model.SComment;
+
+import android.content.Context;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.TextView;
+
+/**
+ * 店铺评论列表适配器
+ * @date 2014-5-3
+ * @author Stone
+ */
+public class SCommentAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private LayoutInflater mInflater = null;
+ private List mSComList = null; // 所选分类下的所有店铺列表
+
+ public SCommentAdapter(Context context, List list) {
+ mContext = context;
+ mSComList = list;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mSComList.size();
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mSComList.get(position);
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ SComHolder scomHolder;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.scom_list_item, null);
+ scomHolder = new SComHolder();
+ scomHolder.tvComUser = (TextView) convertView
+ .findViewById(R.id.tv_commit_user);
+ scomHolder.tvComContent = (TextView) convertView
+ .findViewById(R.id.tv_commit_content);
+ convertView.setTag(scomHolder);
+ } else {
+ scomHolder = (SComHolder) convertView.getTag();
+ }
+ scomHolder.tvComUser.setText(mSComList.get(position).getUserName());
+ scomHolder.tvComContent.setText(mSComList.get(position).getContent());
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ShopHolder.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ShopHolder.java
new file mode 100644
index 0000000..f0c3de3
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ShopHolder.java
@@ -0,0 +1,16 @@
+package com.stone.shop.adapter;
+
+import android.widget.TextView;
+
+/**
+ * 商店视图
+ * @date 2014-4-29
+ * @author Stone
+ */
+public class ShopHolder {
+
+ public TextView tvShopName;
+ public TextView tvShopType;
+ public TextView tvShopLoc;
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ShopListAdapter.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ShopListAdapter.java
new file mode 100644
index 0000000..0691e3b
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ShopListAdapter.java
@@ -0,0 +1,126 @@
+package com.stone.shop.adapter;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import android.content.Context;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.TextView;
+
+import com.stone.date.TypeDef;
+import com.stone.shop.R;
+import com.stone.shop.model.Shop;
+
+/**
+ * 适配器--适配某一分类下的店铺列表数据
+ *
+ * @date 2014-4-29
+ * @author Stone
+ */
+public class ShopListAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private LayoutInflater mInflater = null;
+ private ArrayList mShopList = null; // 所选分类下的所有店铺列表
+ private String mType; // 商店的分类
+
+ public ShopListAdapter(Context context, ArrayList shopList,
+ String type) {
+ mContext = context;
+ mShopList = shopList;
+ mType = type;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mShopList.size();
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mShopList.get(position);
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ // 刷新列表中的数据
+ public void refresh(ArrayList list) {
+ mShopList = list;
+ //将数字的类型编号转换为文字
+ exchangeType(mType);
+ notifyDataSetChanged();
+ }
+
+ /**
+ * 根据当前的type类型, 转换成相应的文字
+ * @date 2014-4-29
+ * @param typeString
+ */
+ private void exchangeType(String typeString) {
+
+ int type = Integer.parseInt(typeString);
+ int fatherType = type / 10; //父类型编号
+ int sonType = type % 10; //子类型编号
+
+ Iterator iterator = mShopList.iterator();
+ while (iterator.hasNext()) {
+ switch (fatherType) {
+ case 1:
+ iterator.next().setType(
+ TypeDef.typeDadList[fatherType-1] + "/"
+ + TypeDef.typeSonList1[sonType-1]);
+ break;
+ case 2:
+ iterator.next().setType(
+ TypeDef.typeDadList[fatherType-1] + "/"
+ + TypeDef.typeSonList2[sonType-1]);
+ break;
+ case 3:
+ iterator.next().setType(
+ TypeDef.typeDadList[fatherType-1] + "/"
+ + TypeDef.typeSonList3[sonType-1]);
+ break;
+ case 4:
+ iterator.next().setType(
+ TypeDef.typeDadList[fatherType-1] + "/"
+ + TypeDef.typeSonList4[sonType-1]);
+ break;
+ default:
+ break;
+ }
+
+ }
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ ShopHolder shopHodler;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.shop_all_list_item, null);
+ shopHodler = new ShopHolder();
+ shopHodler.tvShopName = (TextView) convertView
+ .findViewById(R.id.tv_shop_name);
+ shopHodler.tvShopType = (TextView) convertView
+ .findViewById(R.id.tv_shop_type);
+ shopHodler.tvShopLoc = (TextView) convertView
+ .findViewById(R.id.tv_shop_loc);
+ convertView.setTag(shopHodler);
+ } else {
+ shopHodler = (ShopHolder) convertView.getTag();
+ }
+ shopHodler.tvShopName.setText(mShopList.get(position).getName());
+ // 商店的类型需要单独处理
+ shopHodler.tvShopType.setText(mShopList.get(position).getType());
+ shopHodler.tvShopLoc.setText(mShopList.get(position).getLocation());
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ViewPagerAdapter.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ViewPagerAdapter.java
new file mode 100644
index 0000000..2ab3502
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/adapter/ViewPagerAdapter.java
@@ -0,0 +1,51 @@
+package com.stone.shop.adapter;
+
+import java.util.List;
+
+import android.support.v4.view.PagerAdapter;
+import android.view.View;
+import android.view.ViewGroup;
+
+/**
+ * 商铺详情页--ViewPagerCompat适配器
+ * @author Stone
+ */
+public class ViewPagerAdapter extends PagerAdapter {
+
+ private List mListViews;
+ private List mTitleList;
+
+ public ViewPagerAdapter(List mListViews, List mTitleList) {
+ this.mListViews = mListViews;
+ this.mTitleList = mTitleList;
+ }
+
+ @Override
+ public void destroyItem(ViewGroup container, int position, Object object) {
+ container.removeView(mListViews.get(position));//删除页卡
+ }
+
+ @Override
+ public CharSequence getPageTitle(int position) {
+
+ return mTitleList.get(position);//直接用适配器来完成标题的显示,所以从上面可以看到,我们没有使用PagerTitleStrip。当然你可以使用。
+ }
+
+
+ @Override
+ public Object instantiateItem(ViewGroup container, int position) { //这个方法用来实例化页卡
+ container.addView(mListViews.get(position), 0);//添加页卡
+ return mListViews.get(position);
+ }
+
+ @Override
+ public int getCount() {
+ return mListViews.size();//返回页卡的数量
+ }
+
+ @Override
+ public boolean isViewFromObject(View arg0, Object arg1) {
+ return arg0==arg1;//官方提示这样写
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/Good.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/Good.java
new file mode 100644
index 0000000..31f623e
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/Good.java
@@ -0,0 +1,59 @@
+package com.stone.shop.model;
+
+import cn.bmob.v3.BmobObject;
+import cn.bmob.v3.datatype.BmobFile;
+
+/**
+ * 商品实体类
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class Good extends BmobObject {
+
+ //private String id; 商品ID, 默认
+
+ private String shopID = ""; // 商店ID
+ private String shopName = ""; //商店名称
+ private String type = ""; // 类型
+ private String name = ""; // 名称
+ private String price = ""; // 价格
+ private BmobFile picGood = null; // 商品主图
+
+ public Good(String name, String price) {
+ this.name = name;
+ this.price = price;
+ }
+
+ public String getShopID() {
+ return shopID;
+ }
+
+ public void setShopID(String shopID) {
+ this.shopID = shopID;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getPrice() {
+ return price;
+ }
+
+ public void setPrice(String price) {
+ this.price = price;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/News.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/News.java
new file mode 100644
index 0000000..b169779
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/News.java
@@ -0,0 +1,53 @@
+package com.stone.shop.model;
+
+import cn.bmob.v3.BmobObject;
+
+/**
+ * 首页校内新闻实体类
+ *
+ * @date 2014-5-3
+ * @author Stone
+ */
+public class News extends BmobObject {
+
+ // private String id;
+ // private String time;
+
+ private String type; // 新闻类型
+ private String title; // 新闻标题
+ private String author; // 新闻作者
+ private String content; // 新闻内容
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getAuthor() {
+ return author;
+ }
+
+ public void setAuthor(String author) {
+ this.author = author;
+ }
+
+ public String getContent() {
+ return content;
+ }
+
+ public void setContent(String content) {
+ this.content = content;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/Order.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/Order.java
new file mode 100644
index 0000000..1cc2e17
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/Order.java
@@ -0,0 +1,94 @@
+package com.stone.shop.model;
+
+import cn.bmob.v3.BmobObject;
+
+/**
+ * 订单实体类
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class Order extends BmobObject {
+
+ private String goodID; // 商品ID
+ private String goodName;
+ private String userID; // 用户ID
+ private String userName;
+ private String shopID; // 商店ID
+ private String shopName;
+ private String count; // 数量
+ private String state; // 订单状态
+ private String tips; // 附加信息
+
+ public String getGoodID() {
+ return goodID;
+ }
+
+ public void setGoodID(String goodID) {
+ this.goodID = goodID;
+ }
+
+ public String getGoodName() {
+ return goodName;
+ }
+
+ public void setGoodName(String goodName) {
+ this.goodName = goodName;
+ }
+
+ public String getUserID() {
+ return userID;
+ }
+
+ public void setUserID(String userID) {
+ this.userID = userID;
+ }
+
+ public String getUserName() {
+ return userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
+ public String getShopID() {
+ return shopID;
+ }
+
+ public void setShopID(String shopID) {
+ this.shopID = shopID;
+ }
+
+ public String getShopName() {
+ return shopName;
+ }
+
+ public void setShopName(String shopName) {
+ this.shopName = shopName;
+ }
+
+ public String getCount() {
+ return count;
+ }
+
+ public void setCount(String count) {
+ this.count = count;
+ }
+
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ public String getTips() {
+ return tips;
+ }
+
+ public void setTips(String tips) {
+ this.tips = tips;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/SComment.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/SComment.java
new file mode 100644
index 0000000..7abf4ae
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/SComment.java
@@ -0,0 +1,61 @@
+package com.stone.shop.model;
+
+import cn.bmob.v3.BmobObject;
+
+/**
+ * 店铺评论实体类
+ * @date 2014-5-3
+ * @author Stone
+ */
+public class SComment extends BmobObject {
+
+ // private String id;
+ // private String time;
+
+ private String shopID;
+ private String shopName;
+ private String userID;
+ private String userName;
+ private String content;
+
+ public String getShopID() {
+ return shopID;
+ }
+
+ public void setShopID(String shopID) {
+ this.shopID = shopID;
+ }
+
+ public String getShopName() {
+ return shopName;
+ }
+
+ public void setShopName(String shopName) {
+ this.shopName = shopName;
+ }
+
+ public String getUserID() {
+ return userID;
+ }
+
+ public void setUserID(String userID) {
+ this.userID = userID;
+ }
+
+ public String getUserName() {
+ return userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
+ public String getContent() {
+ return content;
+ }
+
+ public void setContent(String content) {
+ this.content = content;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/Shop.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/Shop.java
new file mode 100644
index 0000000..5e22bde
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/Shop.java
@@ -0,0 +1,82 @@
+package com.stone.shop.model;
+
+import java.io.Serializable;
+
+import cn.bmob.v3.BmobObject;
+import cn.bmob.v3.datatype.BmobFile;
+
+/**
+ * 店铺实体类, 实现序列化, Activity之间实现传递
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class Shop extends BmobObject implements Serializable{
+
+ private static final long serialVersionUID = -8796635595320697255L;
+
+ private String userID; // 主人
+ private String type; // 类型(11代表第一个GridView中的第一个)
+ private String name; // 店名
+ private String location; // 地理位置
+ private String phone; // 联系电话
+ private String info; // 简介
+ private String sale; // 促销信息
+ private BmobFile picShop; // 商店主图
+
+ public String getUserID() {
+ return userID;
+ }
+
+ public void setUserID(String userID) {
+ this.userID = userID;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getLocation() {
+ return location;
+ }
+
+ public void setLocation(String location) {
+ this.location = location;
+ }
+
+ public String getPhone() {
+ return phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public String getInfo() {
+ return info;
+ }
+
+ public void setInfo(String info) {
+ this.info = info;
+ }
+
+ public String getSale() {
+ return sale;
+ }
+
+ public void setSale(String sale) {
+ this.sale = sale;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/User.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/User.java
new file mode 100644
index 0000000..41ae9d9
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/model/User.java
@@ -0,0 +1,98 @@
+package com.stone.shop.model;
+
+import java.util.List;
+
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.BmobUser;
+import cn.bmob.v3.datatype.BmobFile;
+import cn.bmob.v3.listener.FindListener;
+
+/**
+ * 用户实体类
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class User extends BmobUser {
+
+ // 父类中已经存在的属性
+ // private String id;
+ // private String username;
+ // private String password;
+ // private String email;
+ // private String regTime;
+
+ private String sex; // 性别
+ private String phone; // 电话
+ private String qq; // QQ
+ private String school; // 学校
+ private String cademy; // 学院
+ private String dorPart; // 校区
+ private String dorNum; // 寝室号
+ private String state; // 状态
+ //private BmobFile picUser; // 头像
+
+ public String getSex() {
+ return sex;
+ }
+
+ public void setSex(String sex) {
+ this.sex = sex;
+ }
+
+ public String getPhone() {
+ return phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public String getQQ() {
+ return qq;
+ }
+
+ public void setQQ(String qq) {
+ this.qq = qq;
+ }
+
+ public String getSchool() {
+ return school;
+ }
+
+ public void setSchool(String school) {
+ this.school = school;
+ }
+
+ public String getCademy() {
+ return cademy;
+ }
+
+ public void setCademy(String cademy) {
+ this.cademy = cademy;
+ }
+
+ public String getDorPart() {
+ return dorPart;
+ }
+
+ public void setDorPart(String dorPart) {
+ this.dorPart = dorPart;
+ }
+
+ public String getDorNum() {
+ return dorNum;
+ }
+
+ public void setDorNum(String dorNum) {
+ this.dorNum = dorNum;
+ }
+
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/AboutActivity.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/AboutActivity.java
new file mode 100644
index 0000000..1e5944c
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/AboutActivity.java
@@ -0,0 +1,21 @@
+package com.stone.shop.view;
+
+import com.stone.shop.R;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+/**
+ * 关于软件
+ * @author Stone
+ */
+public class AboutActivity extends Activity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_about);
+ }
+
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/BaseActivity.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/BaseActivity.java
new file mode 100644
index 0000000..d54e63d
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/BaseActivity.java
@@ -0,0 +1,91 @@
+package com.stone.shop.view;
+
+import com.stone.shop.R;
+import android.os.Bundle;
+import android.app.TabActivity;
+import android.content.Intent;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.widget.ImageView;
+import android.widget.TabHost;
+import android.widget.TextView;
+import android.widget.Toast;
+
+/**
+ * 应用主界面
+ * @date 2014-4-24
+ * @author Stone
+ */
+@SuppressWarnings("deprecation")
+public class BaseActivity extends TabActivity {
+
+ private static final String TAG = "BaseActivity";
+
+ private TabHost tabHost;
+ private LayoutInflater layoutInflater;
+
+
+ String[] mTitle = new String[] { "校园", "小菜", "吐槽", "我的"};
+ int[] mIcon = new int[] { R.drawable.ic_shop, R.drawable.ic_sale,
+ R.drawable.ic_car, R.drawable.ic_mine };
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_base);
+
+ initTabView();
+
+
+ }
+
+ public View getTabItemView(int i) {
+ // TODO Auto-generated method stub
+ View view = layoutInflater.inflate(R.layout.tab_widget_item, null);
+ ImageView imageView = (ImageView) view.findViewById(R.id.imageview);
+ imageView.setImageResource(mIcon[i]);
+ TextView textView = (TextView) view.findViewById(R.id.textview);
+ textView.setText(mTitle[i]);
+ return view;
+ }
+
+ public void initTabView() {
+
+ /**
+ * tabHost.newTabSpec("artist")创建一个标签项,其中artist为它的标签标识符,相当于jsp页面标签的name属性
+ * setIndicator("艺术标签",resources.getDrawable(R.drawable.ic_tab))设置标签显示文本以及标签上的图标(该图标并不是一个图片,而是一个xml文件哦)
+ * setContent(intent)为当前标签指定一个意图
+ * tabHost.addTab(spec); 将标签项添加到标签中
+ */
+
+ tabHost = getTabHost();
+ layoutInflater = LayoutInflater.from(this);
+ TabHost.TabSpec spec;
+
+ Intent intent1 = new Intent(this, HomeActivity.class);
+ spec = tabHost.newTabSpec(mTitle[0]).setIndicator( getTabItemView(0) ).setContent(intent1);
+ tabHost.addTab(spec);
+
+ Intent intent2 = new Intent(this, ShopActivity.class);
+ spec = tabHost.newTabSpec(mTitle[1]).setIndicator( getTabItemView(1) ).setContent(intent2);
+ tabHost.addTab(spec);
+
+ Intent intent3 = new Intent(this, CarActivity.class);
+ spec = tabHost.newTabSpec(mTitle[2]).setIndicator( getTabItemView(2) ).setContent(intent3);
+ tabHost.addTab(spec);
+
+ Intent intent4 = new Intent(this, MineActivity.class);
+ spec = tabHost.newTabSpec(mTitle[3]).setIndicator( getTabItemView(3) ).setContent(intent4);
+ tabHost.addTab(spec);
+
+ tabHost.setCurrentTab(0);
+ }
+
+ @Override
+ public void onBackPressed() {
+ Toast.makeText(this, "确定要退出校园小菜么?", Toast.LENGTH_LONG).show();
+ //super.onBackPressed();
+ }
+
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/CarActivity.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/CarActivity.java
new file mode 100644
index 0000000..c940d2c
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/CarActivity.java
@@ -0,0 +1,57 @@
+package com.stone.shop.view;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.webkit.WebView;
+import android.webkit.WebViewClient;
+import android.widget.Toast;
+
+import com.stone.shop.R;
+
+/**
+ * 购物车主界面
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class CarActivity extends Activity {
+
+ private static final String TAG = "CarActivity";
+
+ private static final String URL_WSQ = "http://wx.wsq.qq.com/231782938";
+ private WebView wsqWebView;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ // TODO Auto-generated method stub
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_car);
+
+ wsqWebView = (WebView) findViewById(R.id.wv_wsq);
+
+ // -----------------------------------------------------------------
+ wsqWebView.getSettings().setJavaScriptEnabled(true); // 设置使用够执行JS脚本
+ wsqWebView.getSettings().setBuiltInZoomControls(true); // 设置使支持缩放
+ // wsqWebView.getSettings().setDefaultFontSize(5);
+ wsqWebView.loadUrl(URL_WSQ);
+ wsqWebView.setWebViewClient(new WebViewClient() {
+ @Override
+ public boolean shouldOverrideUrlLoading(WebView view,
+ String url) {
+ view.loadUrl(url);// 使用当前WebView处理跳转
+ return true;// true表示此事件在此处被处理,不需要再广播
+ }
+
+ @Override
+ // 转向错误时的处理
+ public void onReceivedError(WebView view, int errorCode,
+ String description, String failingUrl) {
+ Toast.makeText(CarActivity.this,
+ "Oh no! " + description, Toast.LENGTH_SHORT)
+ .show();
+ }
+ });
+ // ------------------------------------------------
+
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/HomeActivity.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/HomeActivity.java
new file mode 100644
index 0000000..b99e5fe
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/HomeActivity.java
@@ -0,0 +1,193 @@
+package com.stone.shop.view;
+
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.List;
+
+import android.app.Activity;
+import android.content.Context;
+import android.content.Intent;
+import android.opengl.Visibility;
+import android.os.Bundle;
+import android.support.v4.view.ViewPager.OnPageChangeListener;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.AdapterView;
+import android.widget.AdapterView.OnItemClickListener;
+import android.widget.FrameLayout;
+import android.widget.ImageButton;
+import android.widget.ImageView;
+import android.widget.ListView;
+import android.widget.ImageView.ScaleType;
+import android.widget.TextView;
+import android.widget.Toast;
+
+import cn.bmob.v3.Bmob;
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.listener.FindListener;
+import cn.bmob.v3.listener.GetServerTimeListener;
+
+import com.stone.shop.R;
+import com.stone.shop.adapter.ImagePagerAdapter;
+import com.stone.shop.adapter.NewsListAdapter;
+import com.stone.shop.model.News;
+import com.stone.shop.model.Shop;
+import com.stone.ui.AutoScrollViewPager;
+import com.stone.ui.ListScrollView;
+
+/**
+ * 主界面
+ *
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class HomeActivity extends Activity implements OnClickListener,
+ OnItemClickListener {
+
+ private static final String TAG = "HomeActivity";
+
+ private ListScrollView listScrollView;
+
+ // 校历
+ private TextView tvWeek; // 周次和星期
+ private TextView tvDay; // 年月日
+
+ // 图片轮播
+ private FrameLayout flImageAds;
+ private AutoScrollViewPager viewPager;
+ private List mImgViews;
+ private ImageButton btnHideAds;
+ private int[] mImgResId = { R.drawable.ic_banner1, R.drawable.ic_banner1,
+ R.drawable.ic_banner1, R.drawable.ic_banner1 };
+
+ // 校园新闻
+ private ListView lvNewsList;
+ private List newsList = new ArrayList();
+ private NewsListAdapter newsListAdapter;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_home);
+
+ // 解决ScrollView和ListView之间的冲突
+ listScrollView = (ListScrollView) findViewById(R.id.listScrollView);
+ lvNewsList = (ListView) findViewById(R.id.lv_news);
+ listScrollView.setListView(lvNewsList);
+
+ flImageAds = (FrameLayout) findViewById(R.id.fl_image_ads);
+ viewPager = (AutoScrollViewPager) findViewById(R.id.view_pager);
+ btnHideAds = (ImageButton) findViewById(R.id.btn_hide_ads);
+
+ mImgViews = new ArrayList();
+ for (int i = 0; i < mImgResId.length; i++) {
+ ImageView imageView = new ImageView(this);
+ imageView.setImageResource(mImgResId[i]);
+ imageView.setScaleType(ScaleType.CENTER_CROP);
+ mImgViews.add(imageView);
+ }
+
+ btnHideAds.setOnClickListener(this);
+
+ viewPager.setAdapter(new ImagePagerAdapter(this, mImgViews));
+ viewPager.setInterval(3000); // 设置自动滚动的间隔时间,单位为毫秒
+ viewPager.setDirection(AutoScrollViewPager.RIGHT); // 设置自动滚动的方向,默认向右
+ viewPager.setCycle(true); // 是否自动循环轮播,默认为true
+ viewPager.setScrollDurationFactor(3); // 设置ViewPager滑动动画间隔时间的倍率,达到减慢动画或改变动画速度的效果
+ viewPager.setStopScrollWhenTouch(true); // 当手指碰到ViewPager时是否停止自动滚动,默认为true
+ viewPager.setBorderAnimation(true); // 设置循环滚动时滑动到从边缘滚动到下一个是否需要动画,默认为true
+ viewPager
+ .setSlideBorderMode(AutoScrollViewPager.SLIDE_BORDER_MODE_NONE);// 滑动到第一个或最后一个Item的处理方式,支持没有任何操作、轮播以及传递到父View三种模式
+
+ viewPager.startAutoScroll();
+
+ // 校历
+ tvWeek = (TextView) findViewById(R.id.tv_week);
+ tvDay = (TextView) findViewById(R.id.tv_day);
+ setTime();
+
+ // 新闻
+ newsListAdapter = new NewsListAdapter(this, newsList);
+ lvNewsList.setAdapter(newsListAdapter);
+ lvNewsList.setOnItemClickListener(this);
+
+ getNewsData();
+ }
+
+ /**
+ * 设置校历中日期的时间
+ */
+ public void setTime() {
+ Calendar calendar = Calendar.getInstance();
+ String year = calendar.get(Calendar.YEAR)+"";
+ String month = calendar.get(Calendar.MONTH)+1+"";
+ String day = calendar.get(Calendar.DAY_OF_MONTH)+"";
+ String week = calendar.get(Calendar.WEEK_OF_YEAR)-9+"";
+ String dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK)+"";
+ toast(year+"-"+month+"-"+day+" "+" 第 "+week+" 周 "+" "+" 星期 "+dayOfWeek);
+ tvWeek.setText(" 第 "+week+" 周 "+" "+" 星期 "+dayOfWeek);
+ tvDay.setText(year+" 年 "+month+" 月 "+day+" 日 ");
+ }
+
+ /**
+ * 初始化新闻列表数据
+ * @date 2014-5-3
+ * @author Stone
+ */
+ public void getNewsData() {
+ BmobQuery query = new BmobQuery();
+ query.order("-updatedAt");
+ query.findObjects(this, new FindListener() {
+
+ @Override
+ public void onSuccess(List object) {
+ newsList = object;
+ // 通知Adapter数据更新
+ newsListAdapter.refresh((ArrayList) newsList);
+ newsListAdapter.notifyDataSetChanged();
+ }
+
+ @Override
+ public void onError(String arg0) {
+ toast("都怪小菜我, 获取数据失败了");
+ }
+ });
+ }
+
+ @Override
+ protected void onResume() {
+ super.onResume();
+ // start auto scroll when onResume
+ viewPager.startAutoScroll();
+ }
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.btn_hide_ads:
+ flImageAds.setVisibility(View.GONE);
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ @Override
+ public void onItemClick(AdapterView> parent, View view, int position,
+ long id) {
+ Intent toNewsDetail = new Intent(HomeActivity.this, NewsActivity.class);
+ toNewsDetail.putExtra("NewsTitle", newsList.get(position).getTitle());
+ toNewsDetail.putExtra("NewsAuthor", newsList.get(position).getAuthor());
+ toNewsDetail.putExtra("NewsTime", newsList.get(position).getCreatedAt());
+ toNewsDetail.putExtra("NewsContent", newsList.get(position).getContent());
+ startActivity(toNewsDetail);
+ }
+
+ public void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT);
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/LoginActicity.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/LoginActicity.java
new file mode 100644
index 0000000..aae81aa
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/LoginActicity.java
@@ -0,0 +1,114 @@
+package com.stone.shop.view;
+
+import android.app.Activity;
+import android.content.Context;
+import android.content.Intent;
+import android.content.SharedPreferences;
+import android.content.SharedPreferences.Editor;
+import android.net.ConnectivityManager;
+import android.net.NetworkInfo;
+import android.os.Bundle;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.Toast;
+import cn.bmob.v3.Bmob;
+import cn.bmob.v3.listener.InsertListener;
+
+import com.stone.shop.R;
+import com.stone.shop.model.User;
+import com.stone.util.Util;
+
+/**
+ * 登陆界面
+ *
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class LoginActicity extends Activity implements OnClickListener {
+
+ private static final String TAG = "LoginActicity";
+
+ private Button btnLogin;
+ private Button btnReg;
+ private EditText etUsername;
+ private EditText etPassword;
+
+ private String username;
+ private String password;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ // 初始化 Bmob SDK
+ // 使用时请将第二个参数Application ID替换成你在Bmob服务器端创建的Application ID
+ Bmob.initialize(this, "999848e5d36a83ae049281de8b8ae1a5");
+ setContentView(R.layout.activity_login);
+
+ btnLogin = (Button) findViewById(R.id.btn_login);
+ btnReg = (Button) findViewById(R.id.btn_register);
+
+ etUsername = (EditText) findViewById(R.id.et_username);
+ etPassword = (EditText) findViewById(R.id.et_password);
+
+ btnLogin.setOnClickListener(this);
+ btnReg.setOnClickListener(this);
+
+ }
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ // 登陆
+ case R.id.btn_login:
+ username = etUsername.getText().toString();
+ password = etPassword.getText().toString();
+
+ //username = "admin";
+ //password = "12345";
+
+ if( !Util.isNetworkConnected(this) ){
+ toast("亲, 没有网络 ( ⊙ o ⊙ ) ");
+ } else if (username.equals("") || password.equals("")) {
+ toast("亲, 请输入小菜账号和密码");
+ break;
+ } else {
+ User bu2 = new User();
+ bu2.setUsername(username);
+ bu2.setPassword(password);
+ bu2.login(this, new InsertListener() {
+ @Override
+ public void onSuccess() {
+ toast("亲, 小菜来罗~");
+ // 跳转到主页
+ Intent toHome = new Intent(LoginActicity.this,
+ BaseActivity.class);
+ startActivity(toHome);
+ finish();
+ }
+
+ @Override
+ public void onFailure(String msg) {
+ toast("亲, 网络不通, 小菜没法登陆辽宁号");
+ }
+ });
+ }
+ break;
+
+ case R.id.btn_register:
+ Intent toReg = new Intent(LoginActicity.this,
+ RegisterActivity.class);
+ startActivity(toReg);
+ break;
+ default:
+ break;
+
+ }
+ }
+
+ public void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ };
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/MineActivity.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/MineActivity.java
new file mode 100644
index 0000000..dcb8c7c
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/MineActivity.java
@@ -0,0 +1,164 @@
+package com.stone.shop.view;
+
+import java.util.List;
+
+import javax.security.auth.PrivateCredentialPermission;
+
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.BmobUser;
+import cn.bmob.v3.listener.FindListener;
+
+import com.stone.shop.R;
+import com.stone.shop.model.User;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.util.Log;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.view.animation.Animation;
+import android.view.animation.AnimationUtils;
+import android.widget.Button;
+import android.widget.TextView;
+import android.widget.Toast;
+
+/**
+ * 个人中心主界面
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class MineActivity extends Activity implements OnClickListener{
+
+ private static final String TAG = "MineActivity" ;
+
+ private Button btnAbout;
+ private Button btnContact;
+ private Button btnJoin;
+
+ private TextView tvUserName; //当前用户的用户名
+ private TextView tvSchool; //学校
+ private TextView tvCademy; //学院
+ private TextView tvDorPart; //所在区 西区
+ private TextView tvDorNum; //宿舍楼号 19栋
+
+ private TextView tvMe; //我
+ private TextView tvXiaoCai; //小菜
+ private TextView tvBowl; //饭碗
+ private User user = new User();
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_mine);
+
+ BmobUser user = BmobUser.getCurrentUser(this);
+ Log.i(TAG, "BmobUser.userName = " + user.getUsername());
+ getCurUser(user.getUsername());
+
+ initView();
+ }
+
+ public void initView() {
+
+ tvUserName = (TextView) findViewById(R.id.tv_username);
+ tvSchool = (TextView) findViewById(R.id.tv_school);
+ tvCademy = (TextView) findViewById(R.id.tv_cademy);
+ tvDorPart = (TextView) findViewById(R.id.tv_dorPart);
+ tvDorNum = (TextView) findViewById(R.id.tv_dorNum);
+
+ btnAbout = (Button) findViewById(R.id.btn_about);
+ btnContact = (Button) findViewById(R.id.btn_contact);
+ btnJoin = (Button) findViewById(R.id.btn_share);
+
+ tvUserName = (TextView) findViewById(R.id.tv_username);
+ tvMe = (TextView) findViewById(R.id.tv_me);
+ tvXiaoCai = (TextView) findViewById(R.id.tv_xiaocai);
+ tvBowl = (TextView) findViewById(R.id.tv_bowl);
+
+ btnAbout.setOnClickListener(this);
+ btnContact.setOnClickListener(this);
+ btnJoin.setOnClickListener(this);
+
+ tvMe.setOnClickListener(this);
+ tvXiaoCai.setOnClickListener(this);
+ tvBowl.setOnClickListener(this);
+ }
+
+ //获得当前用户User类型
+ public void getCurUser(String username) {
+ BmobQuery query = new BmobQuery();
+ query.addWhereEqualTo("username", username);
+ query.findObjects(this, new FindListener() {
+ @Override
+ public void onSuccess(List object) {
+ if(object.size()==1)
+ user = object.get(0);
+ else
+ user = null;
+ loadData();
+ //toast("查询到:" + object.size());
+ }
+ @Override
+ public void onError(String msg) {
+ toast("呜呜, 获取小菜的信息失败了.");
+ }
+ });
+ }
+
+ //加载查询到的用户数据
+ public void loadData() {
+ //toast("加载数据中...");
+ tvUserName.setText(user.getUsername());
+ tvSchool.setText(user.getSchool());
+ tvCademy.setText(user.getCademy());
+ tvDorPart.setText(user.getDorPart());
+ tvDorNum.setText(user.getDorNum());
+ }
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.btn_share:
+ Intent toShare = new Intent(Intent.ACTION_SEND);
+ toShare.setType("text/plain");
+ toShare.putExtra(Intent.EXTRA_SUBJECT, "分享");
+ toShare.putExtra(Intent.EXTRA_TEXT, "校园小菜-HBUT版" +"\n" + "针对湖工大的校园小菜测试版上线了,赶紧下载体验吧"
+ + "http://xiaocai.bmob.cn");
+ startActivity(Intent.createChooser(toShare, "分享到"));
+ break;
+ case R.id.tv_me:
+ startAnim(R.id.tv_me);
+ break;
+ case R.id.tv_xiaocai:
+ startAnim(R.id.tv_xiaocai);
+ break;
+ case R.id.tv_bowl:
+ startAnim(R.id.tv_bowl);
+ break;
+ default:
+ Intent toAbout = new Intent(MineActivity.this, AboutActivity.class);
+ startActivity(toAbout);
+ break;
+ }
+ }
+
+ //点击文字动画
+ private void startAnim(int id){
+ Animation scale = AnimationUtils.loadAnimation(this, R.anim.shake);
+ if(id == R.id.tv_me)
+ tvMe.startAnimation(scale);
+ else if(id == R.id.tv_xiaocai)
+ tvXiaoCai.startAnimation(scale);
+ else if(id == R.id.tv_bowl)
+ tvBowl.startAnimation(scale);
+ else { }
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/NewsActivity.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/NewsActivity.java
new file mode 100644
index 0000000..2014960
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/NewsActivity.java
@@ -0,0 +1,72 @@
+package com.stone.shop.view;
+
+import com.stone.shop.R;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.widget.TextView;
+
+/**
+ * 新闻内容显示界面
+ * @date 2014-5-8
+ * @author Stone
+ */
+public class NewsActivity extends Activity {
+
+ private static String TAG = "NewsActivity";
+
+ private TextView tvNewsTitle;
+ private TextView tvNewsAuthor;
+ private TextView tvNewsTime;
+ private TextView tvNewsContent;
+
+ private String newsTitle;
+ private String newsAuthor;
+ private String newsTime;
+ private String newsContent;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_news);
+
+ getIntentData();
+ initView();
+ }
+
+ //获取Intent中传入的新闻数据
+ private void getIntentData() {
+ newsTitle = getIntent().getStringExtra("NewsTitle");
+ newsAuthor = getIntent().getStringExtra("NewsAuthor");
+ newsTime = getIntent().getStringExtra("NewsTime");
+ newsContent = getIntent().getStringExtra("NewsContent");
+
+ newsTitle = splitString(newsTitle); //拆分字符串, 将新闻标题设置为 "】" 后面的内容
+ }
+
+ private String splitString(String str) {
+ String[] strs = null;
+ if(str.equals("")){
+ return "";
+ } else if ( !(str.contains("【") || str.contains("】")) ) {
+ return str;
+ }
+ strs = str.split("】");
+ return strs[1];
+ }
+
+ private void initView() {
+ tvNewsTitle = (TextView) findViewById(R.id.tv_news_title);
+ tvNewsAuthor = (TextView) findViewById(R.id.tv_news_author);
+ tvNewsTime = (TextView) findViewById(R.id.tv_news_time);
+ tvNewsContent = (TextView) findViewById(R.id.tv_news_content);
+
+ tvNewsTitle.setText(newsTitle);
+ tvNewsAuthor.setText("作者: "+newsAuthor);
+ tvNewsTime.setText("发布日期 : "+newsTime);
+ tvNewsContent.setText(newsContent);
+ }
+
+
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/RegisterActivity.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/RegisterActivity.java
new file mode 100644
index 0000000..4265d6d
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/RegisterActivity.java
@@ -0,0 +1,105 @@
+package com.stone.shop.view;
+
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import com.stone.shop.R;
+import com.stone.shop.model.User;
+import com.stone.util.Util;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.Toast;
+import cn.bmob.v3.listener.InsertListener;
+
+/**
+ * 注册界面
+ *
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class RegisterActivity extends Activity implements OnClickListener {
+
+ private static final String TAG = "RegisterActivity";
+
+ private Button btnReg;
+ private EditText etUsername;
+ private EditText etPassword;
+ private EditText etComfirmPsd;
+ private EditText etPhone;
+
+ private String username = null;
+ private String password = null;
+ private String comfirmPsd = null;
+ private String phone = null;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_reg);
+
+ etUsername = (EditText) findViewById(R.id.et_username);
+ etPassword = (EditText) findViewById(R.id.et_password);
+ etComfirmPsd = (EditText) findViewById(R.id.et_comfirm_psd);
+ etPhone = (EditText) findViewById(R.id.et_phone);
+
+ btnReg = (Button) findViewById(R.id.btn_reg_now);
+ btnReg.setOnClickListener(this);
+ }
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.btn_reg_now:
+ username = etUsername.getText().toString();
+ password = etPassword.getText().toString();
+ comfirmPsd = etComfirmPsd.getText().toString();
+ phone = etPhone.getText().toString();
+ if(!Util.isNetworkConnected(this)) {
+ toast("亲, 木有网络 ( ⊙ o ⊙ ) ");
+ } else if (username.equals("") || password.equals("")
+ || comfirmPsd.equals("") || phone.equals("")) {
+ toast("亲, 不填完整, 小菜不能拿到身份证, ~~~~(>_<)~~~~ ");
+ } else if (!comfirmPsd.equals(password)) {
+ toast("亲, 小菜说你手抖了下, 两次密码输入不一致");
+ } else if(!Util.isPhoneNumberValid(phone)) {
+ toast("亲, 请输入正确的手机号码");
+ }else {
+ // 开始提交注册信息
+ User bu = new User();
+ bu.setUsername(username);
+ bu.setPassword(password);
+ bu.setPhone(phone);
+ bu.signUp(this, new InsertListener() {
+ @Override
+ public void onSuccess() {
+ toast("亲, 小菜拿到身份证了, 一起登陆辽宁号去吧");
+ Intent backLogin = new Intent(RegisterActivity.this,
+ LoginActicity.class);
+ startActivity(backLogin);
+ RegisterActivity.this.finish();
+ }
+
+ @Override
+ public void onFailure(String msg) {
+ toast("亲, 被人捷足先登了, 换个名字吧.");
+ }
+ });
+ }
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ public void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ };
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/ShopActivity.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/ShopActivity.java
new file mode 100644
index 0000000..d8b0cc7
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/ShopActivity.java
@@ -0,0 +1,114 @@
+package com.stone.shop.view;
+
+import com.stone.shop.R;
+import com.stone.shop.adapter.GridAdapter;
+import com.stone.ui.MyGridView;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.util.Log;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.view.animation.Animation;
+import android.view.animation.AnimationUtils;
+import android.widget.AdapterView;
+import android.widget.AdapterView.OnItemClickListener;
+import android.widget.GridView;
+import android.widget.ImageView;
+import android.widget.TextView;
+import android.widget.Toast;
+
+/**
+ * 商品主界面
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class ShopActivity extends Activity implements OnItemClickListener{
+
+ private static final String TAG = "ShopActivity" ;
+
+ private MyGridView gvSchoolClass; //学习小菜
+ private MyGridView gvFoodClass; //吃饭小菜
+ private MyGridView gvGiftClass; //购物小菜
+ private MyGridView gvOutClass; //疯狂小菜
+
+ //private ImageView imgLoc;
+ //private ImageView imgSearch;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ // TODO Auto-generated method stub
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_shop);
+
+ initView();
+ }
+
+ /**
+ * 初始化组件并适配数据
+ */
+ public void initView() {
+ gvFoodClass = (MyGridView) findViewById(R.id.gv_food_class);
+ gvGiftClass = (MyGridView) findViewById(R.id.gv_gift_class);
+ gvOutClass = (MyGridView) findViewById(R.id.gv_out_class);
+ gvSchoolClass = (MyGridView) findViewById(R.id.gv_school_class);
+
+ gvFoodClass.setAdapter(new GridAdapter(this, 0));
+ gvFoodClass.setOnItemClickListener(this);
+
+ gvGiftClass.setAdapter(new GridAdapter(this, 1));
+ gvGiftClass.setOnItemClickListener(this);
+
+ gvOutClass.setAdapter(new GridAdapter(this, 2));
+ gvOutClass.setOnItemClickListener(this);
+
+ gvSchoolClass.setAdapter(new GridAdapter(this, 3));
+ gvSchoolClass.setOnItemClickListener(this);
+
+ }
+
+ @Override
+ public void onItemClick(AdapterView> parent, View view, int position,
+ long id) {
+ Log.i("GridView点击了: ", "position");
+ //toast("点击了: " + position);
+ switch (parent.getId()) {
+
+ //点击校园通中的子项
+ case R.id.gv_school_class:
+ toShopAllActivity( GridAdapter.mSchoolTexts[position], "1"+(position+1) );
+ break;
+ //点击美食区中的子项
+ case R.id.gv_food_class:
+ toShopAllActivity( GridAdapter.mFoodTexts[position], "2"+(position+1) );
+ break;
+ //点击礼物区中的子项
+ case R.id.gv_gift_class:
+ toShopAllActivity( GridAdapter.mGiftTexts[position], "3"+(position+1) );
+ break;
+ //点击出行区中的子项
+ case R.id.gv_out_class:
+ toShopAllActivity( GridAdapter.mOutTexts[position], "4"+(position+1) );
+ break;
+ default:
+ break;
+ }
+
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ };
+
+ private void toShopAllActivity(String title, String type) {
+ Intent toShopAll = new Intent(ShopActivity.this, ShopAllActivity.class);
+ toShopAll.putExtra("title", title);
+ //当前点击的项的父分类
+ toShopAll.putExtra("type", type);
+ startActivity(toShopAll);
+ }
+
+
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/ShopAllActivity.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/ShopAllActivity.java
new file mode 100644
index 0000000..4d080b1
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/ShopAllActivity.java
@@ -0,0 +1,117 @@
+package com.stone.shop.view;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.listener.FindListener;
+
+import com.stone.shop.R;
+import com.stone.shop.adapter.ShopListAdapter;
+import com.stone.shop.model.Shop;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.util.Log;
+import android.view.View;
+import android.widget.AdapterView;
+import android.widget.ListView;
+import android.widget.TextView;
+import android.widget.Toast;
+import android.widget.AdapterView.OnItemClickListener;
+
+/**
+ * 某一分类下的所有店铺页面
+ * @author Stone
+ * @date 2014-4-26
+ */
+public class ShopAllActivity extends Activity implements OnItemClickListener{
+
+ private static final String TAG = "ShopAllActivity" ;
+
+ private TextView tvTitle;
+ private ListView lvShopAllList;
+ private ShopListAdapter shopListAdapter;
+
+ //记录从ShopActivity中传过来的当前点击项的类型
+ private String type;
+ private List shopList = new ArrayList();
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ // TODO Auto-generated method stub
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_shop_all);
+
+ //得到从上级Activity中传入的Type数据
+ type = getIntent().getStringExtra("type");
+
+ //获取商店数据
+ getShopsDate();
+
+ initView();
+
+ }
+
+ public void initView() {
+ //设置标题
+ tvTitle = (TextView) findViewById(R.id.tv_title);
+ tvTitle.setText(getIntent().getStringExtra("title"));
+
+ lvShopAllList = (ListView) findViewById(R.id.lv_shop_all);
+ shopListAdapter = new ShopListAdapter(this, (ArrayList) shopList, type);
+ lvShopAllList.setAdapter(shopListAdapter);
+ lvShopAllList.setOnItemClickListener(this);
+
+ }
+
+ @Override
+ public void onItemClick(AdapterView> parent, View view, int position,
+ long id) {
+ //toast("点击了: " + position);
+ //将当前点击的Shop对象传递给下一个Activity
+ Intent toShopItem = new Intent(ShopAllActivity.this, ShopItemActivity.class);
+ Bundle bundle = new Bundle();
+ bundle.putSerializable("shop", shopList.get(position) );
+ bundle.putString("shopID", shopList.get(position).getObjectId()); //商铺的ID需要单独传递,否则获取到的是null
+ Log.i(TAG, ">>发出>>" + "shopID: "+shopList.get(position).getObjectId()+" shopName: "+shopList.get(position).getName());
+ toShopItem.putExtras(bundle);
+ startActivity(toShopItem);
+ }
+
+
+ private void getShopsDate() {
+ BmobQuery query = new BmobQuery();
+ query.order("-updatedAt");
+ Shop shop = new Shop();
+ shop.setType(type);
+ query.addWhereEqualTo("type", shop.getType()); // 查询当前类型的所有店铺
+ query.findObjects(this, new FindListener() {
+
+ @Override
+ public void onSuccess(List object) {
+ //toast("查询成功. 共计" + object.size());
+ if(object.size()==0)
+ toast("亲, 还没开张, 耐心等待吧");
+ shopList = object;
+ // 通知Adapter数据更新
+ shopListAdapter.refresh((ArrayList) shopList);
+ shopListAdapter.notifyDataSetChanged();
+
+ }
+ @Override
+ public void onError(String msg) {
+ toast("查询失败:"+msg);
+ }
+
+ });
+ }
+
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ };
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/ShopItemActivity.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/ShopItemActivity.java
new file mode 100644
index 0000000..4848192
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/shop/view/ShopItemActivity.java
@@ -0,0 +1,249 @@
+package com.stone.shop.view;
+
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+import android.app.Activity;
+import android.graphics.Color;
+import android.os.Bundle;
+import android.support.v4.view.PagerTabStrip;
+import android.util.Log;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.view.animation.Animation;
+import android.view.animation.AnimationUtils;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.ImageView;
+import android.widget.LinearLayout;
+import android.widget.ListView;
+import android.widget.TextView;
+import android.widget.Toast;
+
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.BmobQuery.CachePolicy;
+import cn.bmob.v3.listener.FindListener;
+
+import com.stone.shop.R;
+import com.stone.shop.adapter.GoodsListAdapter;
+import com.stone.shop.adapter.ViewPagerAdapter;
+import com.stone.shop.model.Good;
+import com.stone.shop.model.Shop;
+import com.stone.ui.ViewPagerCompat;
+
+import e.V;
+
+public class ShopItemActivity extends Activity implements OnClickListener {
+
+ private static final String TAG = "ShopItemActivity";
+
+ // ViewPager页
+ private View view1, view2; // 需要滑动的页卡
+ private ViewPagerCompat viewPager; // viewpager
+ private ViewPagerAdapter shopViewPagerAdapter;
+ // private PagerTitleStrip pagerTitleStrip; // viewpager的标题
+ private PagerTabStrip pagerTabStrip; // 一个viewpager的指示器,效果就是一个横的粗的下划线
+ private List viewList; // 把需要滑动的页卡添加到这个list中
+ private List titleList; // viewpager的标题
+
+ // 店铺商品列表
+ private ListView lvGoodsList;
+ private GoodsListAdapter goodsListAdapter;
+ private Button btnBuyGood;
+
+ //店铺简介页中的控件
+ private TextView tvShopName; //店铺名
+ private TextView tvShopInfo; //店铺简介
+ private TextView tvShopSale; //店铺促销信息
+ private TextView tvShopLoc; //店铺地理位置
+ private TextView tvShopPhone; //店铺电话
+ private Button btnCommit;
+ private EditText etCommit;
+ private LinearLayout llCommitParent; // 评论父线性布局
+ private LinearLayout llCommitSon; // 评论子线性布局
+ private ImageView imgCall; //拨打电话
+
+ // UI测试数据
+ private static List goodsList;
+
+ //从上级页面中传入的数据
+ private Shop shop ; //当期选择的Shop
+ private String shopID; //当前选择的Shop的ID
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_shop_item);
+
+ //获取到从ShopAllActivity中传递过来的Shop对象
+ shop = (Shop) getIntent().getSerializableExtra("shop");
+ shopID = getIntent().getStringExtra("shopID");
+ Log.i(TAG, "<<收到<<" + "shopID: "+shop.getObjectId()+" shopName: "+shop.getName());
+ Log.i(TAG, "<<收到<<" + "shopID: "+ shopID +" shopName: "+shop.getName());
+
+ initView();
+
+ // 初始化商品页面以及适配数据
+ initGoodsDate();
+ initContentView();
+
+
+ }
+
+ public void initView() {
+
+ viewPager = (ViewPagerCompat) findViewById(R.id.viewpager);
+ // pagerTitleStrip = (PagerTitleStrip) findViewById(R.id.pagertitle);
+ pagerTabStrip = (PagerTabStrip) findViewById(R.id.pagertab);
+ pagerTabStrip.setTabIndicatorColor(Color.YELLOW);
+ pagerTabStrip.setDrawFullUnderline(false);
+ pagerTabStrip.setBackgroundColor(Color.WHITE);
+ pagerTabStrip.setTextSpacing(50);
+
+ // view1 = findViewById(R.layout.viewpager_menu);
+ // view2 = findViewById(R.layout.viewpager_shopinfo);
+
+ view1 = LayoutInflater.from(this).inflate(R.layout.viewpager_menu, null);
+ view2 = LayoutInflater.from(this).inflate(R.layout.viewpager_shopinfo, null);
+
+ viewList = new ArrayList();// 将要分页显示的View装入数组中
+ viewList.add(view1);
+ viewList.add(view2);
+
+ titleList = new ArrayList();// 每个页面的Title数据
+ titleList.add("商品");
+ titleList.add("店铺简介");
+ shopViewPagerAdapter = new ViewPagerAdapter(viewList, titleList);
+
+ viewPager.setAdapter(shopViewPagerAdapter);
+
+ }
+
+ /**
+ * 获取某一商店的所有商品
+ * @date 2014-5-1
+ * @autor Stone
+ */
+ public void initGoodsDate() {
+ goodsList = new ArrayList();
+ goodsListAdapter = new GoodsListAdapter(this, goodsList);
+ BmobQuery query = new BmobQuery();
+ query.addWhereEqualTo("shopID", shopID);
+ //query.setCachePolicy(CachePolicy.CACHE_ELSE_NETWORK); // 先从缓存取数据,如果没有,再从网络取。
+ query.setLimit(15); // 限制最多15个结果
+ query.findObjects(this, new FindListener() {
+
+ @Override
+ public void onSuccess(List goods) {
+ //toast("查询商品成功, 共" + goods.size());
+ if(goods.size()==0)
+ toast("亲, 该店还没有添加商品哦");
+ goodsList = goods;
+ goodsListAdapter.refresh(goodsList);
+ goodsListAdapter.notifyDataSetChanged();
+ }
+
+ @Override
+ public void onError(String arg0) {
+ toast("查询失败");
+ }
+ });
+
+// goodsList.add(new Good("原味石锅", "¥9.0"));
+// goodsList.add(new Good("酱香鸭石锅", "¥10.0"));
+// goodsList.add(new Good("鸡排石锅", "¥10.0"));
+// goodsList.add(new Good("牛肉石锅", "¥13.0"));
+// goodsList.add(new Good("香肠石锅", "¥11.0"));
+
+ }
+
+ public void initContentView() {
+ // 商品列表页
+ lvGoodsList = (ListView) view1.findViewById(R.id.lv_goods_list);
+ lvGoodsList.setAdapter(goodsListAdapter);
+
+ //店铺简介页
+ tvShopName = (TextView) view2.findViewById(R.id.tv_shop_title);
+ tvShopInfo = (TextView) view2.findViewById(R.id.tv_shop_introduce);
+ tvShopSale = (TextView) view2.findViewById(R.id.tv_shop_promotion);
+ tvShopLoc = (TextView) view2.findViewById(R.id.tv_shop_location);
+ tvShopPhone = (TextView) view2.findViewById(R.id.tv_shop_phone);
+ tvShopName.setText(shop.getName()); //设置店铺名
+ tvShopInfo.setText(shop.getInfo()); //设置店铺简介
+ tvShopSale.setText(shop.getSale()); //设置店铺公告
+ tvShopLoc.setText("位置:" + shop.getLocation()); //设置店铺位置
+ tvShopPhone.setText("电话:" + shop.getPhone()); //设置店铺联系电话
+
+ btnCommit = (Button) view2.findViewById(R.id.btn_commit);
+ btnCommit.setOnClickListener(this);
+
+ // 获取到评论的布局
+ etCommit = (EditText) view2.findViewById(R.id.et_commit);
+ llCommitParent = (LinearLayout) view2
+ .findViewById(R.id.ll_commit_parent_view);
+ llCommitSon = (LinearLayout) findViewById(R.id.ll_commit_son_view);
+
+ imgCall = (ImageView) view2.findViewById(R.id.img_call);
+ imgCall.setOnClickListener(this);
+
+ }
+
+ /**
+ * 添加一条评论
+ * @param user
+ * @param content
+ */
+ public void insertCommit(String user, String content) {
+ View view = LayoutInflater.from(this).inflate(R.layout.commit, null);
+ TextView tvUser = (TextView) view.findViewById(R.id.tv_commit_user);
+ TextView tvContent = (TextView) view
+ .findViewById(R.id.tv_commit_content);
+ tvUser.setText(user);
+ tvContent.setText(content);
+ llCommitParent.addView(view);
+ tvUser = null;
+ tvContent = null;
+ }
+
+ public void clickBuyGood(View v) {
+ toast("亲, 记得在弹出的对话框中选择数量哦");
+ Animation shake = AnimationUtils.loadAnimation(this, R.anim.shake);
+ lvGoodsList.startAnimation(shake);
+ }
+
+
+ public void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.btn_commit:
+ if (etCommit.getText().toString().equals("")) {
+ toast("亲,先写一句吧");
+ } else {
+ SimpleDateFormat formatter = new SimpleDateFormat(
+ "yyyy年MM月dd日 HH:mm:ss ");
+ Date curDate = new Date(System.currentTimeMillis());// 获取当前时间
+ String time = formatter.format(curDate);
+ String content = etCommit.getText().toString()+" [ "+time+" ] ";
+ insertCommit("admin" + ":", content);
+ etCommit.setText("");
+ }
+ break;
+
+ case R.id.img_call:
+ toast("亲,店主好懒,木有留下电话,求别戳");
+ break;
+
+ default:
+ break;
+ }
+
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/AutoScrollViewPager.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/AutoScrollViewPager.java
new file mode 100644
index 0000000..0d542cd
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/AutoScrollViewPager.java
@@ -0,0 +1,337 @@
+package com.stone.ui;
+
+import java.lang.reflect.Field;
+
+import android.content.Context;
+import android.os.Handler;
+import android.os.Message;
+import android.support.v4.view.PagerAdapter;
+import android.support.v4.view.ViewPager;
+import android.util.AttributeSet;
+import android.view.MotionEvent;
+import android.view.animation.Interpolator;
+
+/**
+ * Auto Scroll View Pager
+ *
+ * Basic Setting and Usage
+ *
{@link #startAutoScroll()} start auto scroll, or {@link #startAutoScroll(int)} start auto scroll delayed
+ *
{@link #stopAutoScroll()} stop auto scroll
+ *
{@link #setInterval(long)} set auto scroll time in milliseconds, default is {@link #DEFAULT_INTERVAL}
+ *
+ *
+ * Advanced Settings and Usage
+ *
{@link #setDirection(int)} set auto scroll direction
+ *
{@link #setCycle(boolean)} set whether automatic cycle when auto scroll reaching the last or first item, default
+ * is true
+ *
{@link #setSlideBorderMode(int)} set how to process when sliding at the last or first item
+ *
{@link #setStopScrollWhenTouch(boolean)} set whether stop auto scroll when touching, default is true
+ *
+ *
+ * @author Trinea 2013-12-30
+ */
+public class AutoScrollViewPager extends ViewPager {
+ public static final int DEFAULT_INTERVAL = 1500;
+
+ public static final int LEFT = 0;
+ public static final int RIGHT = 1;
+
+ /** do nothing when sliding at the last or first item **/
+ public static final int SLIDE_BORDER_MODE_NONE = 0;
+ /** cycle when sliding at the last or first item **/
+ public static final int SLIDE_BORDER_MODE_CYCLE = 1;
+ /** deliver event to parent when sliding at the last or first item **/
+ public static final int SLIDE_BORDER_MODE_TO_PARENT = 2;
+
+ /** auto scroll time in milliseconds, default is {@link #DEFAULT_INTERVAL} **/
+ private long interval = DEFAULT_INTERVAL;
+ /** auto scroll direction, default is {@link #RIGHT} **/
+ private int direction = RIGHT;
+ /** whether automatic cycle when auto scroll reaching the last or first item, default is true **/
+ private boolean isCycle = true;
+ /** whether stop auto scroll when touching, default is true **/
+ private boolean stopScrollWhenTouch = true;
+ /** how to process when sliding at the last or first item, default is {@link #SLIDE_BORDER_MODE_NONE} **/
+ private int slideBorderMode = SLIDE_BORDER_MODE_NONE;
+ /** whether animating when auto scroll at the last or first item **/
+ private boolean isBorderAnimation = true;
+
+ private Handler handler;
+ private boolean isAutoScroll = false;
+ private boolean isStopByTouch = false;
+ private float touchX = 0f, downX = 0f;
+ private CustomDurationScroller scroller = null;
+
+ public static final int SCROLL_WHAT = 0;
+
+ public AutoScrollViewPager(Context paramContext){
+ super(paramContext);
+ init();
+ }
+
+ public AutoScrollViewPager(Context paramContext, AttributeSet paramAttributeSet){
+ super(paramContext, paramAttributeSet);
+ init();
+ }
+
+ private void init() {
+ handler = new MyHandler();
+ setViewPagerScroller();
+ }
+
+ /**
+ * start auto scroll, first scroll delay time is {@link #getInterval()}
+ */
+ public void startAutoScroll() {
+ isAutoScroll = true;
+ sendScrollMessage(interval);
+ }
+
+ /**
+ * start auto scroll
+ *
+ * @param delayTimeInMills first scroll delay time
+ */
+ public void startAutoScroll(int delayTimeInMills) {
+ isAutoScroll = true;
+ sendScrollMessage(delayTimeInMills);
+ }
+
+ /**
+ * stop auto scroll
+ */
+ public void stopAutoScroll() {
+ isAutoScroll = false;
+ handler.removeMessages(SCROLL_WHAT);
+ }
+
+ /**
+ * set the factor by which the duration of sliding animation will change
+ */
+ public void setScrollDurationFactor(double scrollFactor) {
+ scroller.setScrollDurationFactor(scrollFactor);
+ }
+
+ private void sendScrollMessage(long delayTimeInMills) {
+ /** remove messages before, keeps one message is running at most **/
+ handler.removeMessages(SCROLL_WHAT);
+ handler.sendEmptyMessageDelayed(SCROLL_WHAT, delayTimeInMills);
+ }
+
+ /**
+ * set ViewPager scroller to change animation duration when sliding
+ */
+ private void setViewPagerScroller() {
+ try {
+ Field scrollerField = ViewPager.class.getDeclaredField("mScroller");
+ scrollerField.setAccessible(true);
+ Field interpolatorField = ViewPager.class.getDeclaredField("sInterpolator");
+ interpolatorField.setAccessible(true);
+
+ scroller = new CustomDurationScroller(getContext(), (Interpolator)interpolatorField.get(null));
+ scrollerField.set(this, scroller);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * scroll only once
+ */
+ public void scrollOnce() {
+ PagerAdapter adapter = getAdapter();
+ int currentItem = getCurrentItem();
+ int totalCount;
+ if (adapter == null || (totalCount = adapter.getCount()) <= 1) {
+ return;
+ }
+
+ int nextItem = (direction == LEFT) ? --currentItem : ++currentItem;
+ if (nextItem < 0) {
+ if (isCycle) {
+ setCurrentItem(totalCount - 1, isBorderAnimation);
+ }
+ } else if (nextItem == totalCount) {
+ if (isCycle) {
+ setCurrentItem(0, isBorderAnimation);
+ }
+ } else {
+ setCurrentItem(nextItem, true);
+ }
+ }
+
+ /**
+ *
+ * if stopScrollWhenTouch is true
+ *
if event is down, stop auto scroll.
+ *
if event is up, start auto scroll again.
+ *
+ */
+ @Override
+ public boolean onTouchEvent(MotionEvent ev) {
+ if (stopScrollWhenTouch) {
+ if (ev.getAction() == MotionEvent.ACTION_DOWN && isAutoScroll) {
+ isStopByTouch = true;
+ stopAutoScroll();
+ } else if (ev.getAction() == MotionEvent.ACTION_UP && isStopByTouch) {
+ startAutoScroll();
+ }
+ }
+
+ if (slideBorderMode == SLIDE_BORDER_MODE_TO_PARENT || slideBorderMode == SLIDE_BORDER_MODE_CYCLE) {
+ touchX = ev.getX();
+ if (ev.getAction() == MotionEvent.ACTION_DOWN) {
+ downX = touchX;
+ }
+ int currentItem = getCurrentItem();
+ PagerAdapter adapter = getAdapter();
+ int pageCount = adapter == null ? 0 : adapter.getCount();
+ /**
+ * current index is first one and slide to right or current index is last one and slide to left.
+ * if slide border mode is to parent, then requestDisallowInterceptTouchEvent false.
+ * else scroll to last one when current item is first one, scroll to first one when current item is last
+ * one.
+ */
+ if ((currentItem == 0 && downX <= touchX) || (currentItem == pageCount - 1 && downX >= touchX)) {
+ if (slideBorderMode == SLIDE_BORDER_MODE_TO_PARENT) {
+ getParent().requestDisallowInterceptTouchEvent(false);
+ } else {
+ if (pageCount > 1) {
+ setCurrentItem(pageCount - currentItem - 1, isBorderAnimation);
+ }
+ getParent().requestDisallowInterceptTouchEvent(true);
+ }
+ return super.onTouchEvent(ev);
+ }
+ }
+ getParent().requestDisallowInterceptTouchEvent(true);
+ return super.onTouchEvent(ev);
+ }
+
+ private class MyHandler extends Handler {
+
+ @Override
+ public void handleMessage(Message msg) {
+ super.handleMessage(msg);
+
+ switch (msg.what) {
+ case SCROLL_WHAT:
+ scrollOnce();
+ sendScrollMessage(interval);
+ default:
+ break;
+ }
+ }
+ }
+
+ /**
+ * get auto scroll time in milliseconds, default is {@link #DEFAULT_INTERVAL}
+ *
+ * @return the interval
+ */
+ public long getInterval() {
+ return interval;
+ }
+
+ /**
+ * set auto scroll time in milliseconds, default is {@link #DEFAULT_INTERVAL}
+ *
+ * @param interval the interval to set
+ */
+ public void setInterval(long interval) {
+ this.interval = interval;
+ }
+
+ /**
+ * get auto scroll direction
+ *
+ * @return {@link #LEFT} or {@link #RIGHT}, default is {@link #RIGHT}
+ */
+ public int getDirection() {
+ return (direction == LEFT) ? LEFT : RIGHT;
+ }
+
+ /**
+ * set auto scroll direction
+ *
+ * @param direction {@link #LEFT} or {@link #RIGHT}, default is {@link #RIGHT}
+ */
+ public void setDirection(int direction) {
+ this.direction = direction;
+ }
+
+ /**
+ * whether automatic cycle when auto scroll reaching the last or first item, default is true
+ *
+ * @return the isCycle
+ */
+ public boolean isCycle() {
+ return isCycle;
+ }
+
+ /**
+ * set whether automatic cycle when auto scroll reaching the last or first item, default is true
+ *
+ * @param isCycle the isCycle to set
+ */
+ public void setCycle(boolean isCycle) {
+ this.isCycle = isCycle;
+ }
+
+ /**
+ * whether stop auto scroll when touching, default is true
+ *
+ * @return the stopScrollWhenTouch
+ */
+ public boolean isStopScrollWhenTouch() {
+ return stopScrollWhenTouch;
+ }
+
+ /**
+ * set whether stop auto scroll when touching, default is true
+ *
+ * @param stopScrollWhenTouch
+ */
+ public void setStopScrollWhenTouch(boolean stopScrollWhenTouch) {
+ this.stopScrollWhenTouch = stopScrollWhenTouch;
+ }
+
+ /**
+ * get how to process when sliding at the last or first item
+ *
+ * @return the slideBorderMode {@link #SLIDE_BORDER_MODE_NONE}, {@link #SLIDE_BORDER_MODE_TO_PARENT},
+ * {@link #SLIDE_BORDER_MODE_CYCLE}, default is {@link #SLIDE_BORDER_MODE_NONE}
+ */
+ public int getSlideBorderMode() {
+ return slideBorderMode;
+ }
+
+ /**
+ * set how to process when sliding at the last or first item
+ *
+ * @param slideBorderMode {@link #SLIDE_BORDER_MODE_NONE}, {@link #SLIDE_BORDER_MODE_TO_PARENT},
+ * {@link #SLIDE_BORDER_MODE_CYCLE}, default is {@link #SLIDE_BORDER_MODE_NONE}
+ */
+ public void setSlideBorderMode(int slideBorderMode) {
+ this.slideBorderMode = slideBorderMode;
+ }
+
+ /**
+ * whether animating when auto scroll at the last or first item, default is true
+ *
+ * @return
+ */
+ public boolean isBorderAnimation() {
+ return isBorderAnimation;
+ }
+
+ /**
+ * set whether animating when auto scroll at the last or first item, default is true
+ *
+ * @param isBorderAnimation
+ */
+ public void setBorderAnimation(boolean isBorderAnimation) {
+ this.isBorderAnimation = isBorderAnimation;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/CustomDurationScroller.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/CustomDurationScroller.java
new file mode 100644
index 0000000..6155603
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/CustomDurationScroller.java
@@ -0,0 +1,47 @@
+package com.stone.ui;
+
+import android.content.Context;
+import android.view.animation.Interpolator;
+import android.widget.Scroller;
+
+
+/**
+ * CustomDurationScroller
+ *
+ * @author Trinea 2014-3-2
+ */
+public class CustomDurationScroller extends Scroller {
+ private double scrollFactor = 2;
+
+ public CustomDurationScroller(Context context){
+ super(context);
+ }
+
+ public CustomDurationScroller(Context context, Interpolator interpolator){
+ super(context, interpolator);
+ }
+
+ /**
+ * not exist in android 2.3
+ *
+ * @param context
+ * @param interpolator
+ * @param flywheel
+ */
+ // @SuppressLint("NewApi")
+ // public CustomDurationScroller(Context context, Interpolator interpolator, boolean flywheel){
+ // super(context, interpolator, flywheel);
+ // }
+
+ /**
+ * Set the factor by which the duration will change
+ */
+ public void setScrollDurationFactor(double scrollFactor) {
+ this.scrollFactor = scrollFactor;
+ }
+
+ @Override
+ public void startScroll(int startX, int startY, int dx, int dy, int duration) {
+ super.startScroll(startX, startY, dx, dy, (int)(duration * scrollFactor));
+ }
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/ListScrollView.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/ListScrollView.java
new file mode 100644
index 0000000..a04aaf7
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/ListScrollView.java
@@ -0,0 +1,63 @@
+package com.stone.ui;
+
+import android.content.Context;
+import android.util.AttributeSet;
+import android.view.MotionEvent;
+import android.view.View;
+import android.widget.ListView;
+import android.widget.ScrollView;
+
+public class ListScrollView extends ScrollView {
+
+ private ListView listView;
+
+ public ListScrollView(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ }
+
+ public ListScrollView(Context context) {
+ super(context);
+ }
+
+ /**
+ * 覆写onInterceptTouchEvent方法,点击操作发生在ListView的区域的时候,
+ * 返回false让ScrollView的onTouchEvent接收不到MotionEvent,而是把Event传到下一级的控件中
+ */
+ @Override
+ public boolean onInterceptTouchEvent(MotionEvent ev) {
+ // TODO Auto-generated method stub
+ if (listView != null && checkArea(listView, ev)) {
+ return false;
+ }
+ return super.onInterceptTouchEvent(ev);
+ }
+
+ /**
+ * 测试view是否在点击范围内
+ * @param locate
+ * @param v
+ * @return
+ */
+ private boolean checkArea(View v, MotionEvent event){
+ float x = event.getRawX();
+ float y = event.getRawY();
+ int[] locate = new int[2];
+ v.getLocationOnScreen(locate);
+ int l = locate[0];
+ int r = l + v.getWidth();
+ int t = locate[1];
+ int b = t + v.getHeight();
+ if (l < x && x < r && t < y && y < b) {
+ return true;
+ }
+ return false;
+ }
+
+ public ListView getListView() {
+ return listView;
+ }
+
+ public void setListView(ListView listView) {
+ this.listView = listView;
+ }
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/MyGridView.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/MyGridView.java
new file mode 100644
index 0000000..dbbbf38
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/MyGridView.java
@@ -0,0 +1,32 @@
+package com.stone.ui;
+
+import android.content.Context;
+import android.util.AttributeSet;
+import android.widget.GridView;
+
+/**
+ * 商品详情页--商品分类网格视图
+ * @author Stone
+ */
+public class MyGridView extends GridView {
+
+ public MyGridView(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ }
+
+ public MyGridView(Context context) {
+ super(context);
+ }
+
+ public MyGridView(Context context, AttributeSet attrs, int defStyle) {
+ super(context, attrs, defStyle);
+ }
+
+ @Override
+ public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
+ int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,
+ MeasureSpec.AT_MOST);
+ super.onMeasure(widthMeasureSpec, expandSpec);
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/ViewPagerCompat.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/ViewPagerCompat.java
new file mode 100644
index 0000000..72f36a8
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/ui/ViewPagerCompat.java
@@ -0,0 +1,66 @@
+package com.stone.ui;
+
+import android.content.Context;
+import android.support.v4.view.ViewPager;
+import android.util.AttributeSet;
+import android.view.MotionEvent;
+
+/**
+ * 商铺详情页--ViewPager的加强类,主要是为了解决滑动冲突的问题。不然的话,
+ * 在ViewPager内部加入ListView等可滑动控件,两者之间会产生干扰。
+ * @author Stone
+ * {@link} http://blog.csdn.net/singwhatiwanna/article/details/17201587
+ */
+public class ViewPagerCompat extends ViewPager {
+ // mViewTouchMode表示ViewPager是否全权控制滑动事件,默认为false,即不控制
+ private boolean mViewTouchMode = false;
+
+ public ViewPagerCompat(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ }
+
+ public void setViewTouchMode(boolean b) {
+ if (b && !isFakeDragging()) {
+ // 全权控制滑动事件
+ beginFakeDrag();
+ } else if (!b && isFakeDragging()) {
+ // 终止控制滑动事件
+ endFakeDrag();
+ }
+ mViewTouchMode = b;
+ }
+
+ /**
+ * 在mViewTouchMode为true的时候,ViewPager不拦截点击事件,点击事件将由子View处理
+ */
+ @Override
+ public boolean onInterceptTouchEvent(MotionEvent event) {
+ if (mViewTouchMode) {
+ return false;
+ }
+ return super.onInterceptTouchEvent(event);
+ }
+
+ @Override
+ public boolean onTouchEvent(MotionEvent ev) {
+ try {
+ return super.onTouchEvent(ev);
+ } catch (Exception e) {
+ return false;
+ }
+ }
+
+ /**
+ * 在mViewTouchMode为true或者滑动方向不是左右的时候,ViewPager将放弃控制点击事件,
+ * 这样做有利于在ViewPager中加入ListView等可以滑动的控件,否则两者之间的滑动将会有冲突
+ */
+ @Override
+ public boolean arrowScroll(int direction) {
+ if (mViewTouchMode)
+ return false;
+ if (direction != FOCUS_LEFT && direction != FOCUS_RIGHT)
+ return false;
+ return super.arrowScroll(direction);
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/util/Util.java b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/util/Util.java
new file mode 100644
index 0000000..fc0f3dd
--- /dev/null
+++ b/代码/在这里1.0/src/1.5.8/Shop/src/com/stone/util/Util.java
@@ -0,0 +1,54 @@
+package com.stone.util;
+
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import android.content.Context;
+import android.net.ConnectivityManager;
+import android.net.NetworkInfo;
+
+/**
+ * 工具类
+ *
+ * @date 2014-5-9
+ * @author Stone
+ */
+public class Util {
+
+ /**
+ * 判断电话号码是否有效
+ *
+ * @param phoneNumber
+ * @return true 有效 / false 无效
+ */
+ public static boolean isPhoneNumberValid(String phoneNumber) {
+
+ boolean isValid = false;
+
+ String expression = "((^(13|15|18)[0-9]{9}$)|(^0[1,2]{1}\\d{1}-?\\d{8}$)|(^0[3-9] {1}\\d{2}-?\\d{7,8}$)|(^0[1,2]{1}\\d{1}-?\\d{8}-(\\d{1,4})$)|(^0[3-9]{1}\\d{2}-? \\d{7,8}-(\\d{1,4})$))";
+ CharSequence inputStr = phoneNumber;
+
+ Pattern pattern = Pattern.compile(expression);
+ Matcher matcher = pattern.matcher(inputStr);
+
+ if (matcher.matches()) {
+ isValid = true;
+ }
+ return isValid;
+ }
+
+ // 判断网络是否连接
+ public static boolean isNetworkConnected(Context context) {
+ if (context != null) {
+ ConnectivityManager mConnectivityManager = (ConnectivityManager) context
+ .getSystemService(Context.CONNECTIVITY_SERVICE);
+ NetworkInfo mNetworkInfo = mConnectivityManager
+ .getActiveNetworkInfo();
+ if (mNetworkInfo != null) {
+ return mNetworkInfo.isAvailable();
+ }
+ }
+ return false;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/.classpath b/代码/在这里1.0/src/1.6.3/Shop/.classpath
new file mode 100644
index 0000000..a10adb9
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/.classpath
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/.project b/代码/在这里1.0/src/1.6.3/Shop/.project
new file mode 100644
index 0000000..b261c40
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/.project
@@ -0,0 +1,33 @@
+
+
+ Shop
+
+
+
+
+
+ com.android.ide.eclipse.adt.ResourceManagerBuilder
+
+
+
+
+ com.android.ide.eclipse.adt.PreCompilerBuilder
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ com.android.ide.eclipse.adt.ApkBuilder
+
+
+
+
+
+ com.android.ide.eclipse.adt.AndroidNature
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/.settings/org.eclipse.core.resources.prefs b/代码/在这里1.0/src/1.6.3/Shop/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..99f26c0
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/=UTF-8
diff --git a/代码/在这里1.0/src/1.6.3/Shop/.settings/org.eclipse.jdt.core.prefs b/代码/在这里1.0/src/1.6.3/Shop/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..8000cd6
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/代码/在这里1.0/src/1.6.3/Shop/AndroidManifest.xml b/代码/在这里1.0/src/1.6.3/Shop/AndroidManifest.xml
new file mode 100644
index 0000000..dd2c6cd
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/AndroidManifest.xml
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/AndroidManifest.xml b/代码/在这里1.0/src/1.6.3/Shop/bin/AndroidManifest.xml
new file mode 100644
index 0000000..dd2c6cd
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/bin/AndroidManifest.xml
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/Shop.apk b/代码/在这里1.0/src/1.6.3/Shop/bin/Shop.apk
new file mode 100644
index 0000000..70fd0dd
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/Shop.apk differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes.dex b/代码/在这里1.0/src/1.6.3/Shop/bin/classes.dex
new file mode 100644
index 0000000..dfe5e9e
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes.dex differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/date/MessageDef.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/date/MessageDef.class
new file mode 100644
index 0000000..22f75d6
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/date/MessageDef.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/date/TypeDef.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/date/TypeDef.class
new file mode 100644
index 0000000..fe5476e
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/date/TypeDef.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/BuildConfig.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/BuildConfig.class
new file mode 100644
index 0000000..1387198
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/BuildConfig.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$anim.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$anim.class
new file mode 100644
index 0000000..302d8ec
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$anim.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$attr.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$attr.class
new file mode 100644
index 0000000..b1c0a95
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$attr.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$dimen.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$dimen.class
new file mode 100644
index 0000000..9aebad5
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$dimen.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$drawable.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$drawable.class
new file mode 100644
index 0000000..c419516
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$drawable.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$id.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$id.class
new file mode 100644
index 0000000..7c85172
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$id.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$layout.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$layout.class
new file mode 100644
index 0000000..e72e157
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$layout.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$menu.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$menu.class
new file mode 100644
index 0000000..4b75b61
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$menu.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$string.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$string.class
new file mode 100644
index 0000000..d9a8ce0
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$string.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$style.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$style.class
new file mode 100644
index 0000000..9a0ed9f
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R$style.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R.class
new file mode 100644
index 0000000..0a31b19
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/R.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/BXTListAdapter.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/BXTListAdapter.class
new file mode 100644
index 0000000..005d333
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/BXTListAdapter.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/BXTNewsHolder.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/BXTNewsHolder.class
new file mode 100644
index 0000000..e1ff9fa
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/BXTNewsHolder.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/GoodsHolder.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/GoodsHolder.class
new file mode 100644
index 0000000..e3bc779
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/GoodsHolder.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/GoodsListAdapter.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/GoodsListAdapter.class
new file mode 100644
index 0000000..8823972
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/GoodsListAdapter.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/GridAdapter.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/GridAdapter.class
new file mode 100644
index 0000000..5e4174a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/GridAdapter.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ImagePagerAdapter.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ImagePagerAdapter.class
new file mode 100644
index 0000000..2f908a5
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ImagePagerAdapter.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineListAdapter.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineListAdapter.class
new file mode 100644
index 0000000..e5f0c0e
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineListAdapter.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineListHolder.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineListHolder.class
new file mode 100644
index 0000000..73eb151
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineListHolder.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineSoftAdapter.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineSoftAdapter.class
new file mode 100644
index 0000000..a89b5ec
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineSoftAdapter.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineSoftHolder.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineSoftHolder.class
new file mode 100644
index 0000000..ab8cdff
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/MineSoftHolder.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/NewsHolder.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/NewsHolder.class
new file mode 100644
index 0000000..2e0aca3
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/NewsHolder.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/NewsListAdapter.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/NewsListAdapter.class
new file mode 100644
index 0000000..00e609a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/NewsListAdapter.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/OrderInfoHolder.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/OrderInfoHolder.class
new file mode 100644
index 0000000..2202ce8
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/OrderInfoHolder.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/OrderInfoListAdapter.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/OrderInfoListAdapter.class
new file mode 100644
index 0000000..2a8cf43
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/OrderInfoListAdapter.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/SComHolder.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/SComHolder.class
new file mode 100644
index 0000000..1d74fb9
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/SComHolder.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/SCommentAdapter.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/SCommentAdapter.class
new file mode 100644
index 0000000..1d5735a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/SCommentAdapter.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ShopHolder.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ShopHolder.class
new file mode 100644
index 0000000..32685bc
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ShopHolder.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ShopListAdapter.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ShopListAdapter.class
new file mode 100644
index 0000000..43a2394
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ShopListAdapter.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ViewPagerAdapter.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ViewPagerAdapter.class
new file mode 100644
index 0000000..99fa505
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/adapter/ViewPagerAdapter.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/BXTNews.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/BXTNews.class
new file mode 100644
index 0000000..d6e8093
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/BXTNews.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/FeedBack.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/FeedBack.class
new file mode 100644
index 0000000..2e29dc3
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/FeedBack.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/Good.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/Good.class
new file mode 100644
index 0000000..64769d9
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/Good.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/LuckyUser.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/LuckyUser.class
new file mode 100644
index 0000000..15990c3
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/LuckyUser.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/News.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/News.class
new file mode 100644
index 0000000..d206387
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/News.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/Order.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/Order.class
new file mode 100644
index 0000000..021c4be
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/Order.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/SComment.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/SComment.class
new file mode 100644
index 0000000..be7ff20
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/SComment.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/Shop.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/Shop.class
new file mode 100644
index 0000000..469f145
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/Shop.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/User.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/User.class
new file mode 100644
index 0000000..484c99c
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/model/User.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AboutActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AboutActivity.class
new file mode 100644
index 0000000..a5ddd38
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AboutActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AwardActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AwardActivity$1.class
new file mode 100644
index 0000000..7183b3f
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AwardActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AwardActivity$2.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AwardActivity$2.class
new file mode 100644
index 0000000..34ab0ff
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AwardActivity$2.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AwardActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AwardActivity.class
new file mode 100644
index 0000000..bebea1a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/AwardActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BXTActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BXTActivity$1.class
new file mode 100644
index 0000000..b298922
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BXTActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BXTActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BXTActivity.class
new file mode 100644
index 0000000..ee6e147
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BXTActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BXTNewsActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BXTNewsActivity.class
new file mode 100644
index 0000000..d0e1b18
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BXTNewsActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BaseActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BaseActivity.class
new file mode 100644
index 0000000..fb9584f
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/BaseActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/FeedBackActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/FeedBackActivity$1.class
new file mode 100644
index 0000000..5cb8122
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/FeedBackActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/FeedBackActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/FeedBackActivity.class
new file mode 100644
index 0000000..785c401
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/FeedBackActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/HomeActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/HomeActivity$1.class
new file mode 100644
index 0000000..385a0c2
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/HomeActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/HomeActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/HomeActivity.class
new file mode 100644
index 0000000..451c672
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/HomeActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/LoginActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/LoginActivity$1.class
new file mode 100644
index 0000000..78f7606
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/LoginActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/LoginActivity$2.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/LoginActivity$2.class
new file mode 100644
index 0000000..4efc207
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/LoginActivity$2.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/LoginActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/LoginActivity.class
new file mode 100644
index 0000000..9680265
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/LoginActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineActivity$1.class
new file mode 100644
index 0000000..32158be
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineActivity$2.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineActivity$2.class
new file mode 100644
index 0000000..784b166
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineActivity$2.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineActivity.class
new file mode 100644
index 0000000..57ef2e8
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoActivity$1.class
new file mode 100644
index 0000000..edd28ab
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoActivity$2.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoActivity$2.class
new file mode 100644
index 0000000..d1cefb5
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoActivity$2.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoActivity.class
new file mode 100644
index 0000000..7604745
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity$1.class
new file mode 100644
index 0000000..7a78ecb
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity$2.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity$2.class
new file mode 100644
index 0000000..9cd5dbc
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity$2.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity$3.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity$3.class
new file mode 100644
index 0000000..6d2dcf0
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity$3.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity.class
new file mode 100644
index 0000000..2237d53
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineInfoEditActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineSoftActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineSoftActivity.class
new file mode 100644
index 0000000..8b0b0f8
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/MineSoftActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/NewsActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/NewsActivity.class
new file mode 100644
index 0000000..76279a8
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/NewsActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderActivity$1.class
new file mode 100644
index 0000000..0415ea2
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderActivity$2.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderActivity$2.class
new file mode 100644
index 0000000..c0cbaae
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderActivity$2.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderActivity.class
new file mode 100644
index 0000000..1e2247a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderInfoActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderInfoActivity$1.class
new file mode 100644
index 0000000..7f0dda5
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderInfoActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderInfoActivity$2.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderInfoActivity$2.class
new file mode 100644
index 0000000..4df351b
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderInfoActivity$2.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderInfoActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderInfoActivity.class
new file mode 100644
index 0000000..e0be481
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/OrderInfoActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/RegisterActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/RegisterActivity$1.class
new file mode 100644
index 0000000..d4d9680
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/RegisterActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/RegisterActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/RegisterActivity.class
new file mode 100644
index 0000000..3a4d488
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/RegisterActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopActivity.class
new file mode 100644
index 0000000..57f24ca
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopAllActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopAllActivity$1.class
new file mode 100644
index 0000000..3d0312f
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopAllActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopAllActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopAllActivity.class
new file mode 100644
index 0000000..9fdd9fa
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopAllActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopItemActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopItemActivity$1.class
new file mode 100644
index 0000000..d7ffc0b
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopItemActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopItemActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopItemActivity.class
new file mode 100644
index 0000000..c16404c
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/ShopItemActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/UserInfoActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/UserInfoActivity.class
new file mode 100644
index 0000000..6bef677
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/UserInfoActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/WsqActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/WsqActivity$1.class
new file mode 100644
index 0000000..56d7d00
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/WsqActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/WsqActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/WsqActivity.class
new file mode 100644
index 0000000..fec7d74
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/WsqActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/old/OldAboutActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/old/OldAboutActivity.class
new file mode 100644
index 0000000..53167c8
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/old/OldAboutActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/old/OldMineActivity$1.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/old/OldMineActivity$1.class
new file mode 100644
index 0000000..958019a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/old/OldMineActivity$1.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/old/OldMineActivity.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/old/OldMineActivity.class
new file mode 100644
index 0000000..93d860d
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/shop/view/old/OldMineActivity.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/AutoScrollViewPager$MyHandler.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/AutoScrollViewPager$MyHandler.class
new file mode 100644
index 0000000..75e985d
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/AutoScrollViewPager$MyHandler.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/AutoScrollViewPager.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/AutoScrollViewPager.class
new file mode 100644
index 0000000..3c31662
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/AutoScrollViewPager.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/CustomDurationScroller.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/CustomDurationScroller.class
new file mode 100644
index 0000000..cb8dd98
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/CustomDurationScroller.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/DialogOrder$OrderDialogListener.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/DialogOrder$OrderDialogListener.class
new file mode 100644
index 0000000..dbb56fc
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/DialogOrder$OrderDialogListener.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/DialogOrder.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/DialogOrder.class
new file mode 100644
index 0000000..9464059
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/DialogOrder.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/ListScrollView.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/ListScrollView.class
new file mode 100644
index 0000000..a1467e5
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/ListScrollView.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/MyGridView.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/MyGridView.class
new file mode 100644
index 0000000..7aaf8ed
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/MyGridView.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/ViewPagerCompat.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/ViewPagerCompat.class
new file mode 100644
index 0000000..ddc619a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/ui/ViewPagerCompat.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/util/Util.class b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/util/Util.class
new file mode 100644
index 0000000..58f75d1
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/classes/com/stone/util/Util.class differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/android-support-v4-56cbf0d5b8cf2bef9079cbeffb62171f.jar b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/android-support-v4-56cbf0d5b8cf2bef9079cbeffb62171f.jar
new file mode 100644
index 0000000..1a6647d
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/android-support-v4-56cbf0d5b8cf2bef9079cbeffb62171f.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/android-support-v4-c9fb4dc3d1676f354fbdcccf53e42aa1.jar b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/android-support-v4-c9fb4dc3d1676f354fbdcccf53e42aa1.jar
new file mode 100644
index 0000000..c82cb09
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/android-support-v4-c9fb4dc3d1676f354fbdcccf53e42aa1.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmobPush_0.1beta-6abc1f08bc26af7a7eca242cf6f7d0d9.jar b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmobPush_0.1beta-6abc1f08bc26af7a7eca242cf6f7d0d9.jar
new file mode 100644
index 0000000..0902820
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmobPush_0.1beta-6abc1f08bc26af7a7eca242cf6f7d0d9.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmobPush_0.1beta-991ddbb1c758d185be1d586d21b13326.jar b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmobPush_0.1beta-991ddbb1c758d185be1d586d21b13326.jar
new file mode 100644
index 0000000..ca40574
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmobPush_0.1beta-991ddbb1c758d185be1d586d21b13326.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmob_v3.1.0beta-41c94e47e2a0fc50357ae89582ed197e.jar b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmob_v3.1.0beta-41c94e47e2a0fc50357ae89582ed197e.jar
new file mode 100644
index 0000000..d69720a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmob_v3.1.0beta-41c94e47e2a0fc50357ae89582ed197e.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmob_v3.1.0beta-94d1c9a60dce6645d1cfe2762a4b8e13.jar b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmob_v3.1.0beta-94d1c9a60dce6645d1cfe2762a4b8e13.jar
new file mode 100644
index 0000000..1b05a4e
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/bmob_v3.1.0beta-94d1c9a60dce6645d1cfe2762a4b8e13.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/mta-sdk-1.0.0-30ac204d00783cec5cdbf2a1f6f0c7be.jar b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/mta-sdk-1.0.0-30ac204d00783cec5cdbf2a1f6f0c7be.jar
new file mode 100644
index 0000000..9004c7c
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/mta-sdk-1.0.0-30ac204d00783cec5cdbf2a1f6f0c7be.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/mta-sdk-1.0.0-aec22db32aaf8b913eb822c4c8efe68a.jar b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/mta-sdk-1.0.0-aec22db32aaf8b913eb822c4c8efe68a.jar
new file mode 100644
index 0000000..47d7674
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/mta-sdk-1.0.0-aec22db32aaf8b913eb822c4c8efe68a.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/open_sdk-3fd3fa37f56027786f9945aa53c03b33.jar b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/open_sdk-3fd3fa37f56027786f9945aa53c03b33.jar
new file mode 100644
index 0000000..a183899
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/open_sdk-3fd3fa37f56027786f9945aa53c03b33.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/open_sdk-82e9ccd4a8c30f340fe324f437b015c4.jar b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/open_sdk-82e9ccd4a8c30f340fe324f437b015c4.jar
new file mode 100644
index 0000000..489f471
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/dexedLibs/open_sdk-82e9ccd4a8c30f340fe324f437b015c4.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/jarlist.cache b/代码/在这里1.0/src/1.6.3/Shop/bin/jarlist.cache
new file mode 100644
index 0000000..0565465
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/bin/jarlist.cache
@@ -0,0 +1,3 @@
+# cache for current jar dependency. DO NOT EDIT.
+# format is
+# Encoding is UTF-8
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/proguard.txt b/代码/在这里1.0/src/1.6.3/Shop/bin/proguard.txt
new file mode 100644
index 0000000..8401492
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/bin/proguard.txt
@@ -0,0 +1,99 @@
+# view res/layout/activity_shop_item.xml #generated:12
+-keep class android.support.v4.view.PagerTabStrip { (...); }
+
+# view AndroidManifest.xml #generated:118
+-keep class com.stone.shop.view.AboutActivity { (...); }
+
+# view AndroidManifest.xml #generated:86
+-keep class com.stone.shop.view.AwardActivity { (...); }
+
+# view AndroidManifest.xml #generated:124
+-keep class com.stone.shop.view.BXTActivity { (...); }
+
+# view AndroidManifest.xml #generated:128
+-keep class com.stone.shop.view.BXTNewsActivity { (...); }
+
+# view AndroidManifest.xml #generated:50
+-keep class com.stone.shop.view.BaseActivity { (...); }
+
+# view AndroidManifest.xml #generated:106
+-keep class com.stone.shop.view.FeedBackActivity { (...); }
+
+# view AndroidManifest.xml #generated:78
+-keep class com.stone.shop.view.HomeActivity { (...); }
+
+# view AndroidManifest.xml #generated:42
+-keep class com.stone.shop.view.LoginActivity { (...); }
+
+# view AndroidManifest.xml #generated:90
+-keep class com.stone.shop.view.MineActivity { (...); }
+
+# view AndroidManifest.xml #generated:94
+-keep class com.stone.shop.view.MineInfoActivity { (...); }
+
+# view AndroidManifest.xml #generated:98
+-keep class com.stone.shop.view.MineInfoEditActivity { (...); }
+
+# view AndroidManifest.xml #generated:102
+-keep class com.stone.shop.view.MineSoftActivity { (...); }
+
+# view AndroidManifest.xml #generated:114
+-keep class com.stone.shop.view.NewsActivity { (...); }
+
+# view AndroidManifest.xml #generated:70
+-keep class com.stone.shop.view.OrderActivity { (...); }
+
+# view AndroidManifest.xml #generated:74
+-keep class com.stone.shop.view.OrderInfoActivity { (...); }
+
+# view AndroidManifest.xml #generated:54
+-keep class com.stone.shop.view.RegisterActivity { (...); }
+
+# view AndroidManifest.xml #generated:58
+-keep class com.stone.shop.view.ShopActivity { (...); }
+
+# view AndroidManifest.xml #generated:62
+-keep class com.stone.shop.view.ShopAllActivity { (...); }
+
+# view AndroidManifest.xml #generated:66
+-keep class com.stone.shop.view.ShopItemActivity { (...); }
+
+# view AndroidManifest.xml #generated:82
+-keep class com.stone.shop.view.WsqActivity { (...); }
+
+# view AndroidManifest.xml #generated:110
+-keep class com.stone.shop.view.old.OldMineActivity { (...); }
+
+# view res/layout/activity_home.xml #generated:85
+-keep class com.stone.ui.AutoScrollViewPager { (...); }
+
+# view res/layout/activity_home.xml #generated:12
+-keep class com.stone.ui.ListScrollView { (...); }
+
+# view res/layout/activity_shop.xml #generated:119
+# view res/layout/activity_shop.xml #generated:151
+# view res/layout/activity_shop.xml #generated:39
+# view res/layout/activity_shop.xml #generated:79
+-keep class com.stone.ui.MyGridView { (...); }
+
+# view res/layout/activity_shop_item.xml #generated:6
+-keep class com.stone.ui.ViewPagerCompat { (...); }
+
+# onClick res/layout/header_mine_info.xml #generated:8
+-keepclassmembers class * { *** clickBack(...); }
+
+# onClick res/layout/header_mine_info_edit.xml #generated:8
+-keepclassmembers class * { *** clickCancel(...); }
+
+# onClick res/layout/header_mine_info.xml #generated:32
+-keepclassmembers class * { *** clickEdit(...); }
+
+# onClick res/layout/header_feedback.xml #generated:8
+-keepclassmembers class * { *** clickFeedBack(...); }
+
+# onClick res/layout/header_mine_info_edit.xml #generated:32
+-keepclassmembers class * { *** clickSave(...); }
+
+# onClick res/layout/header_soft.xml #generated:8
+-keepclassmembers class * { *** clickSoftBack(...); }
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-hdpi/ic_launcher.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-hdpi/ic_launcher.png
new file mode 100644
index 0000000..efa7c5f
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-hdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-mdpi/ic_launcher.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-mdpi/ic_launcher.png
new file mode 100644
index 0000000..ec27f2e
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-mdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-xhdpi/ic_launcher.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..92fc57d
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-xhdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-xxhdpi/ic_launcher.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..b6f8f4e
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable-xxhdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_selected.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_selected.png
new file mode 100644
index 0000000..54b74dc
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_selected.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_selected_press.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_selected_press.png
new file mode 100644
index 0000000..6d5756a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_selected_press.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_unselect.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_unselect.png
new file mode 100644
index 0000000..9185ada
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_unselect.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_unselect_press.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_unselect_press.png
new file mode 100644
index 0000000..0bf72e9
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/checkbox_unselect_press.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_1.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_1.png
new file mode 100644
index 0000000..f6b9de2
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_1.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_2.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_2.png
new file mode 100644
index 0000000..cdc5f24
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_2.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_3.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_3.png
new file mode 100644
index 0000000..ead23a9
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_3.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_4.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_4.png
new file mode 100644
index 0000000..5d7da50
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_4.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_5.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_5.png
new file mode 100644
index 0000000..64a8847
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_5.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_6.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_6.png
new file mode 100644
index 0000000..7ec915c
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_6.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_7.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_7.png
new file mode 100644
index 0000000..1df46b0
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_7.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_8.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_8.png
new file mode 100644
index 0000000..8bc6b23
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_8.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_app.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_app.png
new file mode 100644
index 0000000..e9c4014
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_app.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_app1.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_app1.png
new file mode 100644
index 0000000..7cdee50
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_app1.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_banner1.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_banner1.png
new file mode 100644
index 0000000..93e25d3
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_banner1.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_banner_hide.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_banner_hide.png
new file mode 100644
index 0000000..860e79e
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_banner_hide.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_breakfast.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_breakfast.png
new file mode 100644
index 0000000..1bb8b03
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_breakfast.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_car.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_car.png
new file mode 100644
index 0000000..83d6810
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_car.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_date.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_date.png
new file mode 100644
index 0000000..9df2a0e
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_date.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_hbut.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_hbut.png
new file mode 100644
index 0000000..775cc41
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_hbut.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_hide.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_hide.png
new file mode 100644
index 0000000..ca30710
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_hide.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_loc.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_loc.png
new file mode 100644
index 0000000..4590b69
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_loc.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_copy_holo_light.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_copy_holo_light.png
new file mode 100644
index 0000000..c4c33b1
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_copy_holo_light.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_find_holo_light.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_find_holo_light.png
new file mode 100644
index 0000000..e8a9f98
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_find_holo_light.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_info_details.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_info_details.png
new file mode 100644
index 0000000..057d063
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_info_details.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_myplaces.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_myplaces.png
new file mode 100644
index 0000000..3f4bbe9
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_myplaces.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_notifications.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_notifications.png
new file mode 100644
index 0000000..6fdf21f
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_notifications.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_share.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_share.png
new file mode 100644
index 0000000..62c4002
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_menu_share.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_mine.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_mine.png
new file mode 100644
index 0000000..a1727ef
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_mine.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_page_indicator.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_page_indicator.png
new file mode 100644
index 0000000..ddd68c8
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_page_indicator.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_page_indicator_focused.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_page_indicator_focused.png
new file mode 100644
index 0000000..a9a52dc
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_page_indicator_focused.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_phone.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_phone.png
new file mode 100644
index 0000000..435ae6b
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_phone.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_phone2.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_phone2.png
new file mode 100644
index 0000000..57ab828
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_phone2.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_phone3.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_phone3.png
new file mode 100644
index 0000000..6ce6629
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_phone3.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_sale.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_sale.png
new file mode 100644
index 0000000..7a0e775
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_sale.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_search.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_search.png
new file mode 100644
index 0000000..8ff6204
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_search.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_shelf_category_divider.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_shelf_category_divider.png
new file mode 100644
index 0000000..836688a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_shelf_category_divider.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_shop.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_shop.png
new file mode 100644
index 0000000..b51d593
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_shop.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_star_no.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_star_no.png
new file mode 100644
index 0000000..37797b9
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_star_no.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_star_yes.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_star_yes.png
new file mode 100644
index 0000000..3b3aa73
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/ic_star_yes.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/qq.png b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/qq.png
new file mode 100644
index 0000000..8510143
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/res/crunch/drawable/qq.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/bin/resources.ap_ b/代码/在这里1.0/src/1.6.3/Shop/bin/resources.ap_
new file mode 100644
index 0000000..2593b49
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/bin/resources.ap_ differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/gen/com/stone/shop/BuildConfig.java b/代码/在这里1.0/src/1.6.3/Shop/gen/com/stone/shop/BuildConfig.java
new file mode 100644
index 0000000..f1eddbc
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/gen/com/stone/shop/BuildConfig.java
@@ -0,0 +1,6 @@
+/** Automatically generated file. DO NOT MODIFY */
+package com.stone.shop;
+
+public final class BuildConfig {
+ public final static boolean DEBUG = true;
+}
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/gen/com/stone/shop/R.java b/代码/在这里1.0/src/1.6.3/Shop/gen/com/stone/shop/R.java
new file mode 100644
index 0000000..9cf3894
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/gen/com/stone/shop/R.java
@@ -0,0 +1,345 @@
+/* AUTO-GENERATED FILE. DO NOT MODIFY.
+ *
+ * This class was automatically generated by the
+ * aapt tool from the resource data it found. It
+ * should not be modified by hand.
+ */
+
+package com.stone.shop;
+
+public final class R {
+ public static final class anim {
+ public static final int cycle_7=0x7f040000;
+ public static final int scale=0x7f040001;
+ public static final int shake=0x7f040002;
+ }
+ public static final class attr {
+ }
+ public static final class dimen {
+ /** Default screen margins, per the Android Design guidelines.
+
+ Customize dimensions originally defined in res/values/dimens.xml (such as
+ screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
+
+ */
+ public static final int activity_horizontal_margin=0x7f050000;
+ public static final int activity_vertical_margin=0x7f050001;
+ }
+ public static final class drawable {
+ public static final int abs__tab_selected_focused_holo=0x7f020000;
+ public static final int abs__tab_selected_holo=0x7f020001;
+ public static final int abs__tab_selected_pressed_holo=0x7f020002;
+ public static final int abs__tab_unselected_pressed_holo=0x7f020003;
+ public static final int bg1=0x7f020004;
+ public static final int bg3=0x7f020005;
+ public static final int checkbox_bg1=0x7f020006;
+ public static final int checkbox_selected=0x7f020007;
+ public static final int checkbox_selected_press=0x7f020008;
+ public static final int checkbox_unselect=0x7f020009;
+ public static final int checkbox_unselect_press=0x7f02000a;
+ public static final int custom_ratingbar=0x7f02000b;
+ public static final int ic_1=0x7f02000c;
+ public static final int ic_2=0x7f02000d;
+ public static final int ic_3=0x7f02000e;
+ public static final int ic_4=0x7f02000f;
+ public static final int ic_5=0x7f020010;
+ public static final int ic_6=0x7f020011;
+ public static final int ic_7=0x7f020012;
+ public static final int ic_8=0x7f020013;
+ public static final int ic_app=0x7f020014;
+ public static final int ic_app1=0x7f020015;
+ public static final int ic_banner1=0x7f020016;
+ public static final int ic_banner_hide=0x7f020017;
+ public static final int ic_banner_image_default1=0x7f020018;
+ public static final int ic_banner_image_default11=0x7f020019;
+ public static final int ic_banner_image_default2=0x7f02001a;
+ public static final int ic_banner_image_default22=0x7f02001b;
+ public static final int ic_banner_image_default3=0x7f02001c;
+ public static final int ic_banner_image_default4=0x7f02001d;
+ public static final int ic_banner_image_default55=0x7f02001e;
+ public static final int ic_banner_image_default77=0x7f02001f;
+ public static final int ic_breakfast=0x7f020020;
+ public static final int ic_car=0x7f020021;
+ public static final int ic_date=0x7f020022;
+ public static final int ic_hbut=0x7f020023;
+ public static final int ic_hide=0x7f020024;
+ public static final int ic_launcher=0x7f020025;
+ public static final int ic_loc=0x7f020026;
+ public static final int ic_menu_copy_holo_light=0x7f020027;
+ public static final int ic_menu_find_holo_light=0x7f020028;
+ public static final int ic_menu_info_details=0x7f020029;
+ public static final int ic_menu_myplaces=0x7f02002a;
+ public static final int ic_menu_notifications=0x7f02002b;
+ public static final int ic_menu_share=0x7f02002c;
+ public static final int ic_mine=0x7f02002d;
+ public static final int ic_page_indicator=0x7f02002e;
+ public static final int ic_page_indicator_focused=0x7f02002f;
+ public static final int ic_phone=0x7f020030;
+ public static final int ic_phone2=0x7f020031;
+ public static final int ic_phone3=0x7f020032;
+ public static final int ic_sale=0x7f020033;
+ public static final int ic_search=0x7f020034;
+ public static final int ic_shelf_category_divider=0x7f020035;
+ public static final int ic_shop=0x7f020036;
+ public static final int ic_shop_info_bg=0x7f020037;
+ public static final int ic_shop_info_bg2=0x7f020038;
+ public static final int ic_shop_info_bg22=0x7f020039;
+ public static final int ic_star_no=0x7f02003a;
+ public static final int ic_star_yes=0x7f02003b;
+ public static final int qq=0x7f02003c;
+ public static final int shap_circle=0x7f02003d;
+ public static final int shap_divider=0x7f02003e;
+ public static final int shape_color_frame=0x7f02003f;
+ public static final int shape_grid_item=0x7f020040;
+ public static final int shape_left_radius_color_square=0x7f020041;
+ public static final int shape_radius=0x7f020042;
+ public static final int shape_radius_color_square=0x7f020043;
+ public static final int shape_radius_square=0x7f020044;
+ public static final int tab_bg_selector=0x7f020045;
+ }
+ public static final class id {
+ public static final int action_settings=0x7f090099;
+ public static final int btn_about=0x7f090040;
+ public static final int btn_add_good=0x7f090068;
+ public static final int btn_add_news=0x7f090069;
+ public static final int btn_add_shop=0x7f090067;
+ public static final int btn_buy_good=0x7f090074;
+ public static final int btn_commit=0x7f090098;
+ public static final int btn_contact=0x7f090041;
+ public static final int btn_dlg_ok=0x7f090070;
+ public static final int btn_feedback_submit=0x7f090010;
+ public static final int btn_hide_ads=0x7f090017;
+ public static final int btn_login=0x7f090020;
+ public static final int btn_look_goods=0x7f090065;
+ public static final int btn_look_news=0x7f090066;
+ public static final int btn_look_shops=0x7f090064;
+ public static final int btn_look_users=0x7f090063;
+ public static final int btn_order_count_less=0x7f090049;
+ public static final int btn_order_count_more=0x7f09004b;
+ public static final int btn_order_submit=0x7f090050;
+ public static final int btn_reg_now=0x7f090059;
+ public static final int btn_register=0x7f090023;
+ public static final int btn_set_time=0x7f09004d;
+ public static final int btn_share=0x7f090042;
+ public static final int cancel=0x7f09009b;
+ public static final int cb_rem_psd=0x7f090022;
+ public static final int et_award_new=0x7f090002;
+ public static final int et_award_old=0x7f090003;
+ public static final int et_comfirm_psd=0x7f090054;
+ public static final int et_commit=0x7f090097;
+ public static final int et_feedback_content=0x7f09000f;
+ public static final int et_mineinfo_cademy=0x7f090034;
+ public static final int et_mineinfo_dornum=0x7f090036;
+ public static final int et_mineinfo_dorpart=0x7f090035;
+ public static final int et_mineinfo_phone=0x7f090037;
+ public static final int et_mineinfo_qq=0x7f090038;
+ public static final int et_mineinfo_school=0x7f090033;
+ public static final int et_mineinfo_username=0x7f090032;
+ public static final int et_order_phone=0x7f09004e;
+ public static final int et_order_words=0x7f09004f;
+ public static final int et_password=0x7f09001e;
+ public static final int et_phone=0x7f090057;
+ public static final int et_username=0x7f09001b;
+ public static final int fl_image_ads=0x7f090015;
+ public static final int gv_food_class=0x7f09005c;
+ public static final int gv_gift_class=0x7f09005b;
+ public static final int gv_out_class=0x7f09005d;
+ public static final int gv_school_class=0x7f09005a;
+ public static final int header_shop_all=0x7f09005e;
+ public static final int imageview=0x7f09008b;
+ public static final int img_call=0x7f090092;
+ public static final int img_chooseImage=0x7f090089;
+ public static final int img_date=0x7f090012;
+ public static final int img_item=0x7f090078;
+ public static final int img_search=0x7f090077;
+ public static final int img_shop=0x7f090081;
+ public static final int img_welcome=0x7f090001;
+ public static final int listScrollView=0x7f090011;
+ public static final int ll_commit_parent_view=0x7f090096;
+ public static final int ll_commit_son_view=0x7f09006d;
+ public static final int ll_row1=0x7f090019;
+ public static final int ll_row2=0x7f09001c;
+ public static final int ll_row3=0x7f09001f;
+ public static final int ll_row4=0x7f090055;
+ public static final int ll_row6=0x7f090058;
+ public static final int lv_bxt_news=0x7f090004;
+ public static final int lv_goods_list=0x7f09008d;
+ public static final int lv_mine_about=0x7f09002a;
+ public static final int lv_mine_order=0x7f090029;
+ public static final int lv_mine_soft=0x7f090062;
+ public static final int lv_mine_user=0x7f090028;
+ public static final int lv_news=0x7f090018;
+ public static final int lv_order_info=0x7f090051;
+ public static final int lv_shop_all=0x7f09005f;
+ public static final int modify=0x7f09009a;
+ public static final int new_login_btn=0x7f090024;
+ public static final int pagertab=0x7f090061;
+ public static final int ratingBar1=0x7f09008f;
+ public static final int rb_rate=0x7f090087;
+ public static final int relaGrid=0x7f090088;
+ public static final int rl_last=0x7f090021;
+ public static final int rl_welcome=0x7f090000;
+ public static final int sp_bxt_header=0x7f090075;
+ public static final int textview=0x7f09008c;
+ public static final int tp_dlg_time=0x7f090071;
+ public static final int tv_bowl=0x7f09003a;
+ public static final int tv_bxt_news_holder1=0x7f09000a;
+ public static final int tv_bxt_news_holder2=0x7f09000b;
+ public static final int tv_bxt_news_item_title=0x7f09006c;
+ public static final int tv_bxt_news_loc=0x7f090009;
+ public static final int tv_bxt_news_point=0x7f09000c;
+ public static final int tv_bxt_news_speaker=0x7f090007;
+ public static final int tv_bxt_news_speaker_info=0x7f09000d;
+ public static final int tv_bxt_news_time=0x7f090008;
+ public static final int tv_bxt_news_title=0x7f090005;
+ public static final int tv_bxt_news_topic=0x7f090006;
+ public static final int tv_cademy=0x7f09003d;
+ public static final int tv_chooseText=0x7f09008a;
+ public static final int tv_comfirm_psd=0x7f090053;
+ public static final int tv_commit_content=0x7f09006f;
+ public static final int tv_commit_title=0x7f090095;
+ public static final int tv_commit_user=0x7f09006e;
+ public static final int tv_day=0x7f090014;
+ public static final int tv_dorNum=0x7f09003f;
+ public static final int tv_dorPart=0x7f09003e;
+ public static final int tv_edit=0x7f090076;
+ public static final int tv_good_name=0x7f090072;
+ public static final int tv_good_price=0x7f090073;
+ public static final int tv_item_content=0x7f09007a;
+ public static final int tv_item_name=0x7f090079;
+ public static final int tv_me=0x7f090039;
+ public static final int tv_mineinfo_cademy=0x7f09002d;
+ public static final int tv_mineinfo_dornum=0x7f09002f;
+ public static final int tv_mineinfo_dorpart=0x7f09002e;
+ public static final int tv_mineinfo_phone=0x7f090030;
+ public static final int tv_mineinfo_qq=0x7f090031;
+ public static final int tv_mineinfo_school=0x7f09002c;
+ public static final int tv_mineinfo_username=0x7f09002b;
+ public static final int tv_news_author=0x7f090044;
+ public static final int tv_news_content=0x7f090046;
+ public static final int tv_news_date=0x7f09007c;
+ public static final int tv_news_time=0x7f090045;
+ public static final int tv_news_title=0x7f090043;
+ public static final int tv_news_type=0x7f09007b;
+ public static final int tv_order_count=0x7f09004a;
+ public static final int tv_order_good=0x7f090048;
+ public static final int tv_order_info_good_name=0x7f09007d;
+ public static final int tv_order_info_price=0x7f09007f;
+ public static final int tv_order_info_shop_name=0x7f09007e;
+ public static final int tv_order_info_state=0x7f090080;
+ public static final int tv_order_shop=0x7f090047;
+ public static final int tv_order_time=0x7f09004c;
+ public static final int tv_password=0x7f09001d;
+ public static final int tv_phone=0x7f090056;
+ public static final int tv_reg_title=0x7f090052;
+ public static final int tv_res=0x7f09006b;
+ public static final int tv_school=0x7f09003c;
+ public static final int tv_shop_discount=0x7f090084;
+ public static final int tv_shop_introduce=0x7f090093;
+ public static final int tv_shop_loc=0x7f090086;
+ public static final int tv_shop_location=0x7f090090;
+ public static final int tv_shop_name=0x7f090082;
+ public static final int tv_shop_paper=0x7f090083;
+ public static final int tv_shop_phone=0x7f090091;
+ public static final int tv_shop_promotion=0x7f090094;
+ public static final int tv_shop_title=0x7f09008e;
+ public static final int tv_shop_type=0x7f090085;
+ public static final int tv_title=0x7f09006a;
+ public static final int tv_username=0x7f09001a;
+ public static final int tv_week=0x7f090013;
+ public static final int tv_xiaocai=0x7f09003b;
+ public static final int user_callback=0x7f090027;
+ public static final int user_logo=0x7f090026;
+ public static final int user_nickname=0x7f090025;
+ public static final int view_pager=0x7f090016;
+ public static final int viewpager=0x7f090060;
+ public static final int wv_wsq=0x7f09000e;
+ }
+ public static final class layout {
+ public static final int activity_about=0x7f030000;
+ public static final int activity_award=0x7f030001;
+ public static final int activity_base=0x7f030002;
+ public static final int activity_bxt=0x7f030003;
+ public static final int activity_bxt_news=0x7f030004;
+ public static final int activity_car=0x7f030005;
+ public static final int activity_feedback=0x7f030006;
+ public static final int activity_home=0x7f030007;
+ public static final int activity_login=0x7f030008;
+ public static final int activity_mine=0x7f030009;
+ public static final int activity_mine_info=0x7f03000a;
+ public static final int activity_mine_info_edit=0x7f03000b;
+ public static final int activity_mine_old=0x7f03000c;
+ public static final int activity_news=0x7f03000d;
+ public static final int activity_order=0x7f03000e;
+ public static final int activity_order_info=0x7f03000f;
+ public static final int activity_reg=0x7f030010;
+ public static final int activity_shop=0x7f030011;
+ public static final int activity_shop_all=0x7f030012;
+ public static final int activity_shop_item=0x7f030013;
+ public static final int activity_soft=0x7f030014;
+ public static final int activity_test=0x7f030015;
+ public static final int activity_userinfo=0x7f030016;
+ public static final int bxt_list_item=0x7f030017;
+ public static final int commit=0x7f030018;
+ public static final int dlg_order_settime=0x7f030019;
+ public static final int goods_list_item=0x7f03001a;
+ public static final int header_award=0x7f03001b;
+ public static final int header_bxt=0x7f03001c;
+ public static final int header_bxt_news=0x7f03001d;
+ public static final int header_feedback=0x7f03001e;
+ public static final int header_home=0x7f03001f;
+ public static final int header_mine=0x7f030020;
+ public static final int header_mine_info=0x7f030021;
+ public static final int header_mine_info_edit=0x7f030022;
+ public static final int header_news=0x7f030023;
+ public static final int header_order=0x7f030024;
+ public static final int header_order_info=0x7f030025;
+ public static final int header_shop=0x7f030026;
+ public static final int header_shop_all=0x7f030027;
+ public static final int header_soft=0x7f030028;
+ public static final int mine_list_item=0x7f030029;
+ public static final int mine_soft_list_item=0x7f03002a;
+ public static final int news_list_item=0x7f03002b;
+ public static final int order_info_list_item=0x7f03002c;
+ public static final int popmenu=0x7f03002d;
+ public static final int scom_list_item=0x7f03002e;
+ public static final int shop_all_list_item=0x7f03002f;
+ public static final int shop_grid_item=0x7f030030;
+ public static final int tab_widget_item=0x7f030031;
+ public static final int viewpager_menu=0x7f030032;
+ public static final int viewpager_shopinfo=0x7f030033;
+ }
+ public static final class menu {
+ public static final int main=0x7f080000;
+ public static final int popup=0x7f080001;
+ }
+ public static final class string {
+ public static final int action_settings=0x7f060001;
+ public static final int app_name=0x7f060000;
+ public static final int hello_world=0x7f060002;
+ }
+ public static final class style {
+ /**
+ Base application theme for API 11+. This theme completely replaces
+ AppBaseTheme from res/values/styles.xml on API 11+ devices.
+
+ API 11 theme customizations can go here.
+
+ Base application theme for API 14+. This theme completely replaces
+ AppBaseTheme from BOTH res/values/styles.xml and
+ res/values-v11/styles.xml on API 14+ devices.
+
+ API 14 theme customizations can go here.
+ */
+ public static final int AppBaseTheme=0x7f070000;
+ public static final int AppNoTitleBarTheme=0x7f070003;
+ public static final int AppTheme=0x7f070001;
+ /** 自定义对话框的样式
+ */
+ public static final int MyDialog=0x7f070004;
+ public static final int NoTitleBarTheme=0x7f070002;
+ /** 自定义RatingBar样式
+ */
+ public static final int custom_ratingbar_style=0x7f070005;
+ }
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/ic_launcher-web.png b/代码/在这里1.0/src/1.6.3/Shop/ic_launcher-web.png
new file mode 100644
index 0000000..a18cbb4
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/ic_launcher-web.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/libs/android-support-v4.jar b/代码/在这里1.0/src/1.6.3/Shop/libs/android-support-v4.jar
new file mode 100644
index 0000000..9056828
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/libs/android-support-v4.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/libs/bmobPush_0.1beta.jar b/代码/在这里1.0/src/1.6.3/Shop/libs/bmobPush_0.1beta.jar
new file mode 100644
index 0000000..1d64f33
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/libs/bmobPush_0.1beta.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/libs/bmob_v3.1.0beta.jar b/代码/在这里1.0/src/1.6.3/Shop/libs/bmob_v3.1.0beta.jar
new file mode 100644
index 0000000..1882b21
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/libs/bmob_v3.1.0beta.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/libs/mta-sdk-1.0.0.jar b/代码/在这里1.0/src/1.6.3/Shop/libs/mta-sdk-1.0.0.jar
new file mode 100644
index 0000000..5ca476e
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/libs/mta-sdk-1.0.0.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/libs/open_sdk.jar b/代码/在这里1.0/src/1.6.3/Shop/libs/open_sdk.jar
new file mode 100644
index 0000000..8311820
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/libs/open_sdk.jar differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/lint.xml b/代码/在这里1.0/src/1.6.3/Shop/lint.xml
new file mode 100644
index 0000000..9d72abb
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/lint.xml
@@ -0,0 +1,75 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/proguard-project.txt b/代码/在这里1.0/src/1.6.3/Shop/proguard-project.txt
new file mode 100644
index 0000000..f2fe155
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/proguard-project.txt
@@ -0,0 +1,20 @@
+# To enable ProGuard in your project, edit project.properties
+# to define the proguard.config property as described in that file.
+#
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in ${sdk.dir}/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the ProGuard
+# include property in project.properties.
+#
+# 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 *;
+#}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/project.properties b/代码/在这里1.0/src/1.6.3/Shop/project.properties
new file mode 100644
index 0000000..5c5f4c7
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/project.properties
@@ -0,0 +1,15 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system edit
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+#
+# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
+#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
+
+# Project target.
+target=android-20
+proguard.config=proguard.cfg
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/anim/cycle_7.xml b/代码/在这里1.0/src/1.6.3/Shop/res/anim/cycle_7.xml
new file mode 100644
index 0000000..57932a8
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/anim/cycle_7.xml
@@ -0,0 +1,3 @@
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/anim/scale.xml b/代码/在这里1.0/src/1.6.3/Shop/res/anim/scale.xml
new file mode 100644
index 0000000..77cdc91
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/anim/scale.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/anim/shake.xml b/代码/在这里1.0/src/1.6.3/Shop/res/anim/shake.xml
new file mode 100644
index 0000000..4352ab2
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/anim/shake.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable-hdpi/ic_launcher.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 0000000..288b665
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable-hdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable-mdpi/ic_launcher.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 0000000..6ae570b
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable-mdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable-xhdpi/ic_launcher.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..d4fb7cd
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable-xhdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable-xxhdpi/ic_launcher.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..85a6081
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable-xxhdpi/ic_launcher.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_selected_focused_holo.9.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_selected_focused_holo.9.png
new file mode 100644
index 0000000..140ebfd
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_selected_focused_holo.9.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_selected_holo.9.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_selected_holo.9.png
new file mode 100644
index 0000000..a94f098
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_selected_holo.9.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_selected_pressed_holo.9.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_selected_pressed_holo.9.png
new file mode 100644
index 0000000..25ec789
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_selected_pressed_holo.9.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_unselected_pressed_holo.9.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_unselected_pressed_holo.9.png
new file mode 100644
index 0000000..3e7f9e4
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/abs__tab_unselected_pressed_holo.9.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/bg1.jpg b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/bg1.jpg
new file mode 100644
index 0000000..cbb06e0
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/bg1.jpg differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/bg3.jpg b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/bg3.jpg
new file mode 100644
index 0000000..69333a7
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/bg3.jpg differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_bg1.xml b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_bg1.xml
new file mode 100644
index 0000000..24e98f1
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_bg1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_selected.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_selected.png
new file mode 100644
index 0000000..54b74dc
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_selected.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_selected_press.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_selected_press.png
new file mode 100644
index 0000000..6d5756a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_selected_press.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_unselect.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_unselect.png
new file mode 100644
index 0000000..9185ada
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_unselect.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_unselect_press.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_unselect_press.png
new file mode 100644
index 0000000..0bf72e9
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/checkbox_unselect_press.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/custom_ratingbar.xml b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/custom_ratingbar.xml
new file mode 100644
index 0000000..ab2cf58
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/custom_ratingbar.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_1.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_1.png
new file mode 100644
index 0000000..9ccc4da
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_1.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_2.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_2.png
new file mode 100644
index 0000000..bc9f9ff
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_2.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_3.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_3.png
new file mode 100644
index 0000000..1192560
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_3.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_4.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_4.png
new file mode 100644
index 0000000..f151b25
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_4.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_5.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_5.png
new file mode 100644
index 0000000..32e9ab3
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_5.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_6.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_6.png
new file mode 100644
index 0000000..4172b94
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_6.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_7.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_7.png
new file mode 100644
index 0000000..ccfabb4
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_7.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_8.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_8.png
new file mode 100644
index 0000000..609d322
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_8.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_app.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_app.png
new file mode 100644
index 0000000..77df0ed
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_app.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_app1.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_app1.png
new file mode 100644
index 0000000..5e0a4a9
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_app1.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner1.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner1.png
new file mode 100644
index 0000000..769c54c
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner1.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_hide.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_hide.png
new file mode 100644
index 0000000..ff669ae
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_hide.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default1.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default1.png
new file mode 100644
index 0000000..5f4b680
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default1.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default11.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default11.png
new file mode 100644
index 0000000..48b457e
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default11.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default2.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default2.png
new file mode 100644
index 0000000..51cdab6
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default2.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default22.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default22.png
new file mode 100644
index 0000000..90c6304
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default22.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default3.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default3.png
new file mode 100644
index 0000000..9c265c7
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default3.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default4.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default4.png
new file mode 100644
index 0000000..a2a3229
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default4.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default55.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default55.png
new file mode 100644
index 0000000..4ce9b4f
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default55.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default77.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default77.png
new file mode 100644
index 0000000..49bda9c
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_banner_image_default77.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_breakfast.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_breakfast.png
new file mode 100644
index 0000000..82a0eae
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_breakfast.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_car.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_car.png
new file mode 100644
index 0000000..f6e6b53
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_car.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_date.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_date.png
new file mode 100644
index 0000000..1ce7f73
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_date.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_hbut.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_hbut.png
new file mode 100644
index 0000000..dfc211b
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_hbut.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_hide.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_hide.png
new file mode 100644
index 0000000..f6b6fb9
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_hide.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_loc.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_loc.png
new file mode 100644
index 0000000..080c76a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_loc.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_copy_holo_light.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_copy_holo_light.png
new file mode 100644
index 0000000..0dd8865
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_copy_holo_light.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_find_holo_light.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_find_holo_light.png
new file mode 100644
index 0000000..efee6df
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_find_holo_light.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_info_details.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_info_details.png
new file mode 100644
index 0000000..6a7a1e9
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_info_details.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_myplaces.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_myplaces.png
new file mode 100644
index 0000000..ade7532
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_myplaces.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_notifications.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_notifications.png
new file mode 100644
index 0000000..ded4323
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_notifications.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_share.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_share.png
new file mode 100644
index 0000000..2837615
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_menu_share.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_mine.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_mine.png
new file mode 100644
index 0000000..08e701b
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_mine.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_page_indicator.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_page_indicator.png
new file mode 100644
index 0000000..6204a24
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_page_indicator.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_page_indicator_focused.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_page_indicator_focused.png
new file mode 100644
index 0000000..f75c2e1
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_page_indicator_focused.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_phone.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_phone.png
new file mode 100644
index 0000000..91d3d2b
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_phone.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_phone2.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_phone2.png
new file mode 100644
index 0000000..19c6769
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_phone2.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_phone3.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_phone3.png
new file mode 100644
index 0000000..c3c55dc
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_phone3.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_sale.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_sale.png
new file mode 100644
index 0000000..1c4518e
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_sale.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_search.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_search.png
new file mode 100644
index 0000000..9f6df03
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_search.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shelf_category_divider.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shelf_category_divider.png
new file mode 100644
index 0000000..836688a
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shelf_category_divider.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop.png
new file mode 100644
index 0000000..129e2c2
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop_info_bg.jpg b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop_info_bg.jpg
new file mode 100644
index 0000000..2d84e7c
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop_info_bg.jpg differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop_info_bg2.jpg b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop_info_bg2.jpg
new file mode 100644
index 0000000..566f0e1
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop_info_bg2.jpg differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop_info_bg22.jpg b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop_info_bg22.jpg
new file mode 100644
index 0000000..9ec3fd3
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_shop_info_bg22.jpg differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_star_no.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_star_no.png
new file mode 100644
index 0000000..303c979
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_star_no.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_star_yes.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_star_yes.png
new file mode 100644
index 0000000..add85d5
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/ic_star_yes.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/qq.png b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/qq.png
new file mode 100644
index 0000000..c65c220
Binary files /dev/null and b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/qq.png differ
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shap_circle.xml b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shap_circle.xml
new file mode 100644
index 0000000..5da73a6
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shap_circle.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shap_divider.xml b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shap_divider.xml
new file mode 100644
index 0000000..01c2205
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shap_divider.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_color_frame.xml b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_color_frame.xml
new file mode 100644
index 0000000..43ddd6e
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_color_frame.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_grid_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_grid_item.xml
new file mode 100644
index 0000000..2f9482e
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_grid_item.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_left_radius_color_square.xml b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_left_radius_color_square.xml
new file mode 100644
index 0000000..e367174
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_left_radius_color_square.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_radius.xml b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_radius.xml
new file mode 100644
index 0000000..ac0596b
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_radius.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_radius_color_square.xml b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_radius_color_square.xml
new file mode 100644
index 0000000..9dd4c88
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_radius_color_square.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_radius_square.xml b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_radius_square.xml
new file mode 100644
index 0000000..041ac07
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/shape_radius_square.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/drawable/tab_bg_selector.xml b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/tab_bg_selector.xml
new file mode 100644
index 0000000..8efcdbf
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/drawable/tab_bg_selector.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_about.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_about.xml
new file mode 100644
index 0000000..e366094
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_about.xml
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_award.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_award.xml
new file mode 100644
index 0000000..d7c8743
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_award.xml
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_base.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_base.xml
new file mode 100644
index 0000000..3fe3662
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_base.xml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_bxt.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_bxt.xml
new file mode 100644
index 0000000..dc32da0
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_bxt.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_bxt_news.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_bxt_news.xml
new file mode 100644
index 0000000..56290df
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_bxt_news.xml
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_car.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_car.xml
new file mode 100644
index 0000000..42a5665
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_car.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_feedback.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_feedback.xml
new file mode 100644
index 0000000..46ad46f
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_feedback.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_home.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_home.xml
new file mode 100644
index 0000000..87b9ba7
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_home.xml
@@ -0,0 +1,130 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_login.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_login.xml
new file mode 100644
index 0000000..fb772c4
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_login.xml
@@ -0,0 +1,183 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine.xml
new file mode 100644
index 0000000..0594b4e
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine.xml
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine_info.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine_info.xml
new file mode 100644
index 0000000..7a44f76
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine_info.xml
@@ -0,0 +1,218 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine_info_edit.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine_info_edit.xml
new file mode 100644
index 0000000..e7fa0b8
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine_info_edit.xml
@@ -0,0 +1,218 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine_old.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine_old.xml
new file mode 100644
index 0000000..298729d
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_mine_old.xml
@@ -0,0 +1,335 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_news.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_news.xml
new file mode 100644
index 0000000..ae1fd9c
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_news.xml
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_order.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_order.xml
new file mode 100644
index 0000000..9692bfc
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_order.xml
@@ -0,0 +1,218 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_order_info.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_order_info.xml
new file mode 100644
index 0000000..2617a2e
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_order_info.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_reg.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_reg.xml
new file mode 100644
index 0000000..e6ef8e5
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_reg.xml
@@ -0,0 +1,157 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_shop.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_shop.xml
new file mode 100644
index 0000000..eab72a0
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_shop.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_shop_all.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_shop_all.xml
new file mode 100644
index 0000000..363ab03
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_shop_all.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_shop_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_shop_item.xml
new file mode 100644
index 0000000..aca5ee3
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_shop_item.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_soft.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_soft.xml
new file mode 100644
index 0000000..292f1f1
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_soft.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_test.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_test.xml
new file mode 100644
index 0000000..e83d691
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_test.xml
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_userinfo.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_userinfo.xml
new file mode 100644
index 0000000..0ae99aa
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/activity_userinfo.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/bxt_list_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/bxt_list_item.xml
new file mode 100644
index 0000000..d361af5
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/bxt_list_item.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/commit.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/commit.xml
new file mode 100644
index 0000000..5367094
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/commit.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/dlg_order_settime.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/dlg_order_settime.xml
new file mode 100644
index 0000000..974cfd6
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/dlg_order_settime.xml
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/goods_list_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/goods_list_item.xml
new file mode 100644
index 0000000..5a0fb97
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/goods_list_item.xml
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_award.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_award.xml
new file mode 100644
index 0000000..370dcf8
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_award.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_bxt.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_bxt.xml
new file mode 100644
index 0000000..e679c11
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_bxt.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_bxt_news.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_bxt_news.xml
new file mode 100644
index 0000000..72032ab
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_bxt_news.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_feedback.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_feedback.xml
new file mode 100644
index 0000000..3b9ac1d
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_feedback.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_home.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_home.xml
new file mode 100644
index 0000000..4bb33e0
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_home.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_mine.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_mine.xml
new file mode 100644
index 0000000..05ee9e5
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_mine.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_mine_info.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_mine_info.xml
new file mode 100644
index 0000000..818280d
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_mine_info.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_mine_info_edit.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_mine_info_edit.xml
new file mode 100644
index 0000000..a48689f
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_mine_info_edit.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_news.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_news.xml
new file mode 100644
index 0000000..9372403
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_news.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_order.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_order.xml
new file mode 100644
index 0000000..5bb8eb0
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_order.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_order_info.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_order_info.xml
new file mode 100644
index 0000000..664a304
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_order_info.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_shop.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_shop.xml
new file mode 100644
index 0000000..1d9e640
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_shop.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_shop_all.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_shop_all.xml
new file mode 100644
index 0000000..a893d03
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_shop_all.xml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_soft.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_soft.xml
new file mode 100644
index 0000000..a7530c7
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/header_soft.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/mine_list_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/mine_list_item.xml
new file mode 100644
index 0000000..b98c2d4
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/mine_list_item.xml
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/mine_soft_list_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/mine_soft_list_item.xml
new file mode 100644
index 0000000..b403c2a
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/mine_soft_list_item.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/news_list_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/news_list_item.xml
new file mode 100644
index 0000000..169372f
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/news_list_item.xml
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/order_info_list_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/order_info_list_item.xml
new file mode 100644
index 0000000..f1da9b3
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/order_info_list_item.xml
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/popmenu.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/popmenu.xml
new file mode 100644
index 0000000..435138e
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/popmenu.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/scom_list_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/scom_list_item.xml
new file mode 100644
index 0000000..5367094
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/scom_list_item.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/shop_all_list_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/shop_all_list_item.xml
new file mode 100644
index 0000000..d11da9c
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/shop_all_list_item.xml
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/shop_grid_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/shop_grid_item.xml
new file mode 100644
index 0000000..97252d3
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/shop_grid_item.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/tab_widget_item.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/tab_widget_item.xml
new file mode 100644
index 0000000..6c54957
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/tab_widget_item.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/viewpager_menu.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/viewpager_menu.xml
new file mode 100644
index 0000000..c9e0fe8
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/viewpager_menu.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/layout/viewpager_shopinfo.xml b/代码/在这里1.0/src/1.6.3/Shop/res/layout/viewpager_shopinfo.xml
new file mode 100644
index 0000000..2f3b515
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/layout/viewpager_shopinfo.xml
@@ -0,0 +1,292 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/menu/main.xml b/代码/在这里1.0/src/1.6.3/Shop/res/menu/main.xml
new file mode 100644
index 0000000..c002028
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/menu/main.xml
@@ -0,0 +1,9 @@
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/menu/popup.xml b/代码/在这里1.0/src/1.6.3/Shop/res/menu/popup.xml
new file mode 100644
index 0000000..c75aecd
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/menu/popup.xml
@@ -0,0 +1,9 @@
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/values-sw600dp/dimens.xml b/代码/在这里1.0/src/1.6.3/Shop/res/values-sw600dp/dimens.xml
new file mode 100644
index 0000000..44f01db
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/values-sw600dp/dimens.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/values-sw720dp-land/dimens.xml b/代码/在这里1.0/src/1.6.3/Shop/res/values-sw720dp-land/dimens.xml
new file mode 100644
index 0000000..61e3fa8
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/values-sw720dp-land/dimens.xml
@@ -0,0 +1,9 @@
+
+
+
+ 128dp
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/values-v11/styles.xml b/代码/在这里1.0/src/1.6.3/Shop/res/values-v11/styles.xml
new file mode 100644
index 0000000..3c02242
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/values-v11/styles.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/values-v14/styles.xml b/代码/在这里1.0/src/1.6.3/Shop/res/values-v14/styles.xml
new file mode 100644
index 0000000..a91fd03
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/values-v14/styles.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/values/dimens.xml b/代码/在这里1.0/src/1.6.3/Shop/res/values/dimens.xml
new file mode 100644
index 0000000..55c1e59
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/values/dimens.xml
@@ -0,0 +1,7 @@
+
+
+
+ 16dp
+ 16dp
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/values/strings.xml b/代码/在这里1.0/src/1.6.3/Shop/res/values/strings.xml
new file mode 100644
index 0000000..258866e
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/values/strings.xml
@@ -0,0 +1,9 @@
+
+
+
+ Shop
+ Settings
+ Hello world!
+
+
+
diff --git a/代码/在这里1.0/src/1.6.3/Shop/res/values/styles.xml b/代码/在这里1.0/src/1.6.3/Shop/res/values/styles.xml
new file mode 100644
index 0000000..5a0bc8b
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/res/values/styles.xml
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/date/MessageDef.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/date/MessageDef.java
new file mode 100644
index 0000000..1128511
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/date/MessageDef.java
@@ -0,0 +1,11 @@
+package com.stone.date;
+
+
+public class MessageDef {
+
+ //查询用户订单成功完成
+ public static final int MINE_FINISH_LOAD_DATA = 401;
+
+ //查询用户成功完成
+ public static final int MINE_INFO_FINISH_FIND_USER = 402;
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/date/TypeDef.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/date/TypeDef.java
new file mode 100644
index 0000000..d2114a6
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/date/TypeDef.java
@@ -0,0 +1,30 @@
+package com.stone.date;
+
+/**
+ * 类型分类汇总
+ *
+ * @date 2014-4-29
+ * @author Stone
+ */
+public class TypeDef {
+
+ //父分类
+ public static final String[] typeDadList = { "学习小菜", "小菜点餐", "校园服务", "疯狂小菜" };
+
+ //子分类--学习小菜
+ public static final String[] typeSonList1 = { "博学堂", "图书馆", "大礼堂", "二手交易",
+ "湖工大在线" };
+
+ //子分类--吃饭小菜
+ public static final String[] typeSonList2 = { "东区食堂", "西区食堂", "中区食堂", "南区食堂", "北区食堂" };
+
+ //子分类--购物小菜
+ public static final String[] typeSonList3 = {"博学堂", "打印", "理发", "宾馆", "自行车", "生日蛋糕", "宿舍超市"};
+
+ //子分类--疯狂小菜
+ public static final String[] typeSonList4 = { "兼职", "景点门票", "租车", "旅游",
+ "聚餐", "宾馆", "KTV" };
+
+ public static final String[] chDayOfWeek = {"天","一","二","三","四","五","六"};
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/BXTListAdapter.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/BXTListAdapter.java
new file mode 100644
index 0000000..df02860
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/BXTListAdapter.java
@@ -0,0 +1,75 @@
+package com.stone.shop.adapter;
+
+import java.util.Iterator;
+import java.util.List;
+
+import com.stone.shop.R;
+import com.stone.shop.model.BXTNews;
+import com.stone.shop.model.Good;
+
+import android.content.Context;
+import android.util.Log;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.Button;
+import android.widget.TextView;
+
+/**
+ * 教学类-博学堂-讲座列表适配器
+ *
+ * @date 2014-5-10
+ * @author Stone
+ */
+public class BXTListAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private List mNewsList; // 商品列表信息
+ private LayoutInflater mInflater = null;
+
+ public BXTListAdapter(Context context, List newsList) {
+ mContext = context;
+ mNewsList = newsList;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mNewsList.size();
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mNewsList.get(position);
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ // 刷新列表中的数据
+ public void refresh(List list) {
+ Log.i("BXTNewsAdapter", "Adapter刷新数据");
+ mNewsList = list;
+ notifyDataSetChanged();
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ BXTNewsHolder newsHolder;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.bxt_list_item, null);
+ newsHolder = new BXTNewsHolder();
+ newsHolder.tvBXTNewsTitle = (TextView) convertView
+ .findViewById(R.id.tv_bxt_news_item_title);
+ convertView.setTag(newsHolder);
+ } else {
+ newsHolder = (BXTNewsHolder) convertView.getTag();
+ }
+ newsHolder.tvBXTNewsTitle.setText(mNewsList.get(position).getTitle());
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/BXTNewsHolder.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/BXTNewsHolder.java
new file mode 100644
index 0000000..976395b
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/BXTNewsHolder.java
@@ -0,0 +1,9 @@
+package com.stone.shop.adapter;
+
+import android.widget.TextView;
+
+public class BXTNewsHolder {
+
+ public TextView tvBXTNewsTitle; //博学堂讲座标题
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/GoodsHolder.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/GoodsHolder.java
new file mode 100644
index 0000000..0a4e852
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/GoodsHolder.java
@@ -0,0 +1,17 @@
+package com.stone.shop.adapter;
+
+import android.widget.Button;
+import android.widget.TextView;
+
+/**
+ * 商品视图
+ * @date 2014-4-26
+ * @author Stone
+ */
+public class GoodsHolder {
+
+ public TextView tvName; //商品名称
+ public TextView tvPrice; //商品单价
+ public TextView btnBuyGood; //购买按钮
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/GoodsListAdapter.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/GoodsListAdapter.java
new file mode 100644
index 0000000..0befe9a
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/GoodsListAdapter.java
@@ -0,0 +1,70 @@
+package com.stone.shop.adapter;
+
+import java.util.List;
+
+import android.content.Context;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.Button;
+import android.widget.TextView;
+
+import com.stone.shop.R;
+import com.stone.shop.model.Good;
+
+public class GoodsListAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private List mGoodsList; // 商品列表信息
+ private LayoutInflater mInflater = null;
+
+ public GoodsListAdapter(Context context, List goodsList) {
+ mContext = context;
+ mGoodsList = goodsList;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mGoodsList.size();
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mGoodsList.get(position);
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ // 刷新列表中的数据
+ public void refresh(List list) {
+ mGoodsList = list;
+ notifyDataSetChanged();
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ GoodsHolder goodHolder;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.goods_list_item, null);
+ goodHolder = new GoodsHolder();
+ goodHolder.tvName = (TextView) convertView
+ .findViewById(R.id.tv_good_name);
+ goodHolder.tvPrice = (TextView) convertView
+ .findViewById(R.id.tv_good_price);
+ goodHolder.btnBuyGood = (TextView) convertView
+ .findViewById(R.id.btn_buy_good);
+ convertView.setTag(goodHolder);
+ } else {
+ goodHolder = (GoodsHolder) convertView.getTag();
+ }
+ goodHolder.tvName.setText(mGoodsList.get(position).getName());
+ goodHolder.tvPrice.setText("¥"+mGoodsList.get(position).getPrice());
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/GridAdapter.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/GridAdapter.java
new file mode 100644
index 0000000..b71b6b8
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/GridAdapter.java
@@ -0,0 +1,116 @@
+package com.stone.shop.adapter;
+
+import android.R.integer;
+import android.content.Context;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.ImageView;
+import android.widget.TextView;
+
+import com.stone.date.TypeDef;
+import com.stone.shop.R;
+
+/**
+ * 生活-- 网格布局(ImageView+TextView)适配器
+ *
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class GridAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private int mIndex = 0; // 代表当前需要适配页面中第几个GridView
+
+ //学习小菜
+ public static String[] mSchoolTexts = TypeDef.typeSonList1;
+ private int[] mSchoolImages = { R.drawable.ic_8, R.drawable.ic_8,
+ R.drawable.ic_8, R.drawable.ic_8, R.drawable.ic_8 };
+
+ //吃饭小菜
+ public static String[] mFoodTexts = TypeDef.typeSonList2;
+ private int[] mFoodImages = { R.drawable.ic_4, R.drawable.ic_4,
+ R.drawable.ic_4, R.drawable.ic_4, R.drawable.ic_4 };
+
+ //购物小菜
+ public static String[] mGiftTexts = TypeDef.typeSonList3;
+ private int[] mGiftImages = { R.drawable.ic_7, R.drawable.ic_7,
+ R.drawable.ic_7, R.drawable.ic_7, R.drawable.ic_7,
+ R.drawable.ic_7, R.drawable.ic_7};
+
+ //疯狂小菜
+ public static String[] mOutTexts = TypeDef.typeSonList4;
+ private int[] mOutImages = { R.drawable.ic_3, R.drawable.ic_3,
+ R.drawable.ic_3, R.drawable.ic_3, R.drawable.ic_3,
+ R.drawable.ic_3, R.drawable.ic_3 };
+
+ public GridAdapter(Context context, int index) {
+ mContext = context;
+ mIndex = index;
+ }
+
+ @Override
+ public int getCount() {
+ int count = 0;
+ switch (mIndex) {
+ case 0:
+ count = mFoodImages.length;
+ break;
+ case 1:
+ count = mGiftImages.length;
+ break;
+ case 2:
+ count = mOutImages.length;
+ break;
+ case 3:
+ count = mSchoolImages.length;
+ break;
+ default:
+ break;
+ }
+ return count;
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return null;
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return 0;
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ View view = View.inflate(mContext, R.layout.shop_grid_item, null);
+ // RelativeLayout rl = (RelativeLayout)
+ // view.findViewById(R.id.relaGrid);
+
+ ImageView image = (ImageView) view.findViewById(R.id.img_chooseImage);
+ TextView text = (TextView) view.findViewById(R.id.tv_chooseText);
+ switch (mIndex) {
+ case 0:
+ image.setImageResource(mFoodImages[position]);
+ text.setText(mFoodTexts[position]);
+ break;
+ case 1:
+ image.setImageResource(mGiftImages[position]);
+ text.setText(mGiftTexts[position]);
+ break;
+ case 2:
+ image.setImageResource(mOutImages[position]);
+ text.setText(mOutTexts[position]);
+ break;
+ case 3:
+ image.setImageResource(mSchoolImages[position]);
+ text.setText(mSchoolTexts[position]);
+ break;
+ default:
+ break;
+ }
+
+ return view;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ImagePagerAdapter.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ImagePagerAdapter.java
new file mode 100644
index 0000000..c73ef5a
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ImagePagerAdapter.java
@@ -0,0 +1,67 @@
+package com.stone.shop.adapter;
+
+import java.util.List;
+
+import android.content.Context;
+import android.os.Parcelable;
+import android.support.v4.view.PagerAdapter;
+import android.support.v4.view.ViewPager;
+import android.view.View;
+
+/**
+ * 首页--图片轮播AutoScrollViewPager适配器
+ * @author Stone
+ */
+public class ImagePagerAdapter extends PagerAdapter {
+
+ private List mImgViews;
+
+ public ImagePagerAdapter(Context context, List imgViews) {
+ this.mImgViews = imgViews;
+ }
+
+ @Override
+ public int getCount() {
+ if(mImgViews != null){
+ return mImgViews.size();
+ }
+ return 0;
+ }
+
+ @Override
+ public Object instantiateItem(View arg0, int arg1) {
+ ((ViewPager) arg0).addView(mImgViews.get(arg1));
+ return mImgViews.get(arg1);
+ }
+
+ @Override
+ public void destroyItem(View arg0, int arg1, Object arg2) {
+ ((ViewPager) arg0).removeView(mImgViews.get(arg1));
+ }
+
+ @Override
+ public boolean isViewFromObject(View arg0, Object arg1) {
+ return arg0 == arg1;
+ }
+
+ @Override
+ public void restoreState(Parcelable arg0, ClassLoader arg1) {
+
+ }
+
+ @Override
+ public Parcelable saveState() {
+ return null;
+ }
+
+ @Override
+ public void startUpdate(View arg0) {
+
+ }
+
+ @Override
+ public void finishUpdate(View arg0) {
+
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineListAdapter.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineListAdapter.java
new file mode 100644
index 0000000..29a2f69
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineListAdapter.java
@@ -0,0 +1,69 @@
+package com.stone.shop.adapter;
+
+import android.content.Context;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.ImageView;
+import android.widget.TextView;
+
+import com.stone.shop.R;
+
+/**
+ * MineActivity 项目列表适配器
+ * @date 2014-5-10
+ * @author Stone
+ */
+public class MineListAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private String[] mItemNames; // 项目列表名称
+ private String[] mItemContents; //项目列表的备注值
+ private int[] mItemImgIds; // 项目列表Icon
+ private LayoutInflater mInflater = null;
+
+ public MineListAdapter(Context context, String[] names, String[] contents, int[] imgIds) {
+ mContext = context;
+ mItemNames = names;
+ mItemContents = contents;
+ mItemImgIds = imgIds;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mItemNames.length;
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mItemNames[position];
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ MineListHolder holder;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.mine_list_item, null);
+ holder = new MineListHolder();
+ holder.imgItem = (ImageView) convertView.findViewById(R.id.img_item);
+ holder.tvItemName = (TextView) convertView
+ .findViewById(R.id.tv_item_name);
+ holder.tvItemContent = (TextView) convertView.findViewById(R.id.tv_item_content);
+ convertView.setTag(holder);
+ } else {
+ holder = (MineListHolder) convertView.getTag();
+ }
+ holder.imgItem.setBackgroundResource(mItemImgIds[position]);
+ holder.tvItemName.setText(mItemNames[position]);
+ holder.tvItemContent.setText(mItemContents[position]);
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineListHolder.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineListHolder.java
new file mode 100644
index 0000000..eb315fe
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineListHolder.java
@@ -0,0 +1,12 @@
+package com.stone.shop.adapter;
+
+import android.widget.ImageView;
+import android.widget.TextView;
+
+public class MineListHolder {
+
+ public ImageView imgItem; //项目Icon
+ public TextView tvItemName; //项目名称
+ public TextView tvItemContent; //项目值
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineSoftAdapter.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineSoftAdapter.java
new file mode 100644
index 0000000..9dae107
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineSoftAdapter.java
@@ -0,0 +1,65 @@
+package com.stone.shop.adapter;
+
+import android.content.Context;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.ImageView;
+import android.widget.TextView;
+
+import com.stone.shop.R;
+
+/**
+ * MineActivity 项目列表适配器
+ * @date 2014-5-10
+ * @author Stone
+ */
+public class MineSoftAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private String[] mItemNames; // 项目列表名称
+ private String[] mItemContents; //项目列表的备注值
+ private LayoutInflater mInflater = null;
+
+ public MineSoftAdapter(Context context, String[] names, String[] contents) {
+ mContext = context;
+ mItemNames = names;
+ mItemContents = contents;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mItemNames.length;
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mItemNames[position];
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ MineListHolder holder;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.mine_soft_list_item, null);
+ holder = new MineListHolder();
+ holder.tvItemName = (TextView) convertView
+ .findViewById(R.id.tv_item_name);
+ holder.tvItemContent = (TextView) convertView.findViewById(R.id.tv_item_content);
+ convertView.setTag(holder);
+ } else {
+ holder = (MineListHolder) convertView.getTag();
+ }
+ holder.tvItemName.setText(mItemNames[position]);
+ holder.tvItemContent.setText(mItemContents[position]);
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineSoftHolder.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineSoftHolder.java
new file mode 100644
index 0000000..d3ed1ac
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/MineSoftHolder.java
@@ -0,0 +1,10 @@
+package com.stone.shop.adapter;
+
+import android.widget.TextView;
+
+public class MineSoftHolder {
+
+ public TextView tvItemName; //项目名称
+ public TextView tvItemContent; //项目值
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/NewsHolder.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/NewsHolder.java
new file mode 100644
index 0000000..b49850d
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/NewsHolder.java
@@ -0,0 +1,11 @@
+package com.stone.shop.adapter;
+
+import android.widget.TextView;
+
+public class NewsHolder {
+
+ public TextView tvNewsType; //新闻分类
+ public TextView tvNewsTitle; //新闻标题
+ public TextView tvNewsDate; //新闻时间
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/NewsListAdapter.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/NewsListAdapter.java
new file mode 100644
index 0000000..92264ca
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/NewsListAdapter.java
@@ -0,0 +1,82 @@
+package com.stone.shop.adapter;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.stone.shop.R;
+import com.stone.shop.model.News;
+
+import android.R.integer;
+import android.content.Context;
+import android.graphics.pdf.PdfDocument.Page;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.TextView;
+
+/**
+ * 新闻列表适配器
+ *
+ * @date 2014-5-3
+ * @author Stone
+ */
+public class NewsListAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private LayoutInflater mInflater = null;
+ private List mNewsList = null; // 所选分类下的所有店铺列表
+
+ public NewsListAdapter(Context context, List newsList) {
+ mContext = context;
+ mNewsList = newsList;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mNewsList.size();
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mNewsList.get(position);
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ // 刷新列表中的数据
+ public void refresh(ArrayList list) {
+ mNewsList = list;
+ notifyDataSetChanged();
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ NewsHolder newsHolder;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.news_list_item, null);
+ newsHolder = new NewsHolder();
+ newsHolder.tvNewsType = (TextView) convertView
+ .findViewById(R.id.tv_news_type);
+ newsHolder.tvNewsTitle = (TextView) convertView
+ .findViewById(R.id.tv_news_title);
+ newsHolder.tvNewsDate = (TextView) convertView
+ .findViewById(R.id.tv_news_date);
+ convertView.setTag(newsHolder);
+ } else {
+ newsHolder = (NewsHolder) convertView.getTag();
+ }
+ //拆分字符串,只取年月日
+ String[] ss = new String[2];
+ ss = mNewsList.get(position).getCreatedAt().split(" ");
+ newsHolder.tvNewsType.setText(mNewsList.get(position).getType()); //新闻类型
+ newsHolder.tvNewsTitle.setText(mNewsList.get(position).getTitle()); //新闻标题
+ newsHolder.tvNewsDate.setText(ss[0]); //新闻发布日期
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/OrderInfoHolder.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/OrderInfoHolder.java
new file mode 100644
index 0000000..7b94ec6
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/OrderInfoHolder.java
@@ -0,0 +1,12 @@
+package com.stone.shop.adapter;
+
+import android.widget.TextView;
+
+public class OrderInfoHolder {
+
+ public TextView tvOrderInfoGoodName;
+ public TextView tvOrderInfoShopName;
+ public TextView tvOrderInfoPrice;
+ public TextView tvOrderInfoState;
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/OrderInfoListAdapter.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/OrderInfoListAdapter.java
new file mode 100644
index 0000000..35c9294
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/OrderInfoListAdapter.java
@@ -0,0 +1,88 @@
+package com.stone.shop.adapter;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import android.content.Context;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.TextView;
+
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.listener.GetListener;
+
+import com.stone.date.TypeDef;
+import com.stone.shop.R;
+import com.stone.shop.model.Good;
+import com.stone.shop.model.Order;
+import com.stone.shop.model.Shop;
+import com.stone.shop.view.OrderInfoActivity;
+
+/**
+ * 适配器--适配订单列表中的数据
+ *
+ * @date 2014-5-27
+ * @author Stone
+ */
+public class OrderInfoListAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private LayoutInflater mInflater = null;
+ private List mOrderList = null; // 所选分类下的所有店铺列表
+ private String mType; // 商店的分类
+
+ public OrderInfoListAdapter(Context context, List orderList) {
+ mContext = context;
+ mOrderList = orderList;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mOrderList.size();
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mOrderList.get(position);
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ public void refresh(List list) {
+ mOrderList = list;
+ notifyDataSetChanged();
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ OrderInfoHolder orderInfoHolder;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.order_info_list_item, null);
+ orderInfoHolder = new OrderInfoHolder();
+ orderInfoHolder.tvOrderInfoGoodName = (TextView) convertView
+ .findViewById(R.id.tv_order_info_good_name);
+ orderInfoHolder.tvOrderInfoShopName = (TextView) convertView
+ .findViewById(R.id.tv_order_info_shop_name);
+ orderInfoHolder.tvOrderInfoPrice = (TextView) convertView
+ .findViewById(R.id.tv_order_info_price);
+ orderInfoHolder.tvOrderInfoState = (TextView) convertView
+ .findViewById(R.id.tv_order_info_state);
+ convertView.setTag(orderInfoHolder);
+ } else {
+ orderInfoHolder = (OrderInfoHolder) convertView.getTag();
+ }
+ orderInfoHolder.tvOrderInfoGoodName.setText(mOrderList.get(position).getGoodName());
+ orderInfoHolder.tvOrderInfoShopName.setText(mOrderList.get(position).getShopName());
+ orderInfoHolder.tvOrderInfoPrice.setText("¥" + mOrderList.get(position).getPrice());
+ orderInfoHolder.tvOrderInfoState.setText(mOrderList.get(position).getState());
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/SComHolder.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/SComHolder.java
new file mode 100644
index 0000000..5bf60e8
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/SComHolder.java
@@ -0,0 +1,10 @@
+package com.stone.shop.adapter;
+
+import android.widget.TextView;
+
+public class SComHolder {
+
+ public TextView tvComUser;
+ public TextView tvComContent;
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/SCommentAdapter.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/SCommentAdapter.java
new file mode 100644
index 0000000..98cf470
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/SCommentAdapter.java
@@ -0,0 +1,66 @@
+package com.stone.shop.adapter;
+
+import java.util.List;
+
+import com.stone.shop.R;
+import com.stone.shop.model.SComment;
+
+import android.content.Context;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.TextView;
+
+/**
+ * 店铺评论列表适配器
+ * @date 2014-5-3
+ * @author Stone
+ */
+public class SCommentAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private LayoutInflater mInflater = null;
+ private List mSComList = null; // 所选分类下的所有店铺列表
+
+ public SCommentAdapter(Context context, List list) {
+ mContext = context;
+ mSComList = list;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mSComList.size();
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mSComList.get(position);
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ SComHolder scomHolder;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.scom_list_item, null);
+ scomHolder = new SComHolder();
+ scomHolder.tvComUser = (TextView) convertView
+ .findViewById(R.id.tv_commit_user);
+ scomHolder.tvComContent = (TextView) convertView
+ .findViewById(R.id.tv_commit_content);
+ convertView.setTag(scomHolder);
+ } else {
+ scomHolder = (SComHolder) convertView.getTag();
+ }
+ scomHolder.tvComUser.setText(mSComList.get(position).getUserName());
+ scomHolder.tvComContent.setText(mSComList.get(position).getContent());
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ShopHolder.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ShopHolder.java
new file mode 100644
index 0000000..f0c3de3
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ShopHolder.java
@@ -0,0 +1,16 @@
+package com.stone.shop.adapter;
+
+import android.widget.TextView;
+
+/**
+ * 商店视图
+ * @date 2014-4-29
+ * @author Stone
+ */
+public class ShopHolder {
+
+ public TextView tvShopName;
+ public TextView tvShopType;
+ public TextView tvShopLoc;
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ShopListAdapter.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ShopListAdapter.java
new file mode 100644
index 0000000..0691e3b
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ShopListAdapter.java
@@ -0,0 +1,126 @@
+package com.stone.shop.adapter;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import android.content.Context;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.TextView;
+
+import com.stone.date.TypeDef;
+import com.stone.shop.R;
+import com.stone.shop.model.Shop;
+
+/**
+ * 适配器--适配某一分类下的店铺列表数据
+ *
+ * @date 2014-4-29
+ * @author Stone
+ */
+public class ShopListAdapter extends BaseAdapter {
+
+ private Context mContext;
+ private LayoutInflater mInflater = null;
+ private ArrayList mShopList = null; // 所选分类下的所有店铺列表
+ private String mType; // 商店的分类
+
+ public ShopListAdapter(Context context, ArrayList shopList,
+ String type) {
+ mContext = context;
+ mShopList = shopList;
+ mType = type;
+ mInflater = LayoutInflater.from(context);
+ }
+
+ @Override
+ public int getCount() {
+ return mShopList.size();
+ }
+
+ @Override
+ public Object getItem(int position) {
+ return mShopList.get(position);
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ // 刷新列表中的数据
+ public void refresh(ArrayList list) {
+ mShopList = list;
+ //将数字的类型编号转换为文字
+ exchangeType(mType);
+ notifyDataSetChanged();
+ }
+
+ /**
+ * 根据当前的type类型, 转换成相应的文字
+ * @date 2014-4-29
+ * @param typeString
+ */
+ private void exchangeType(String typeString) {
+
+ int type = Integer.parseInt(typeString);
+ int fatherType = type / 10; //父类型编号
+ int sonType = type % 10; //子类型编号
+
+ Iterator iterator = mShopList.iterator();
+ while (iterator.hasNext()) {
+ switch (fatherType) {
+ case 1:
+ iterator.next().setType(
+ TypeDef.typeDadList[fatherType-1] + "/"
+ + TypeDef.typeSonList1[sonType-1]);
+ break;
+ case 2:
+ iterator.next().setType(
+ TypeDef.typeDadList[fatherType-1] + "/"
+ + TypeDef.typeSonList2[sonType-1]);
+ break;
+ case 3:
+ iterator.next().setType(
+ TypeDef.typeDadList[fatherType-1] + "/"
+ + TypeDef.typeSonList3[sonType-1]);
+ break;
+ case 4:
+ iterator.next().setType(
+ TypeDef.typeDadList[fatherType-1] + "/"
+ + TypeDef.typeSonList4[sonType-1]);
+ break;
+ default:
+ break;
+ }
+
+ }
+ }
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ ShopHolder shopHodler;
+ if (convertView == null) {
+ convertView = mInflater.inflate(R.layout.shop_all_list_item, null);
+ shopHodler = new ShopHolder();
+ shopHodler.tvShopName = (TextView) convertView
+ .findViewById(R.id.tv_shop_name);
+ shopHodler.tvShopType = (TextView) convertView
+ .findViewById(R.id.tv_shop_type);
+ shopHodler.tvShopLoc = (TextView) convertView
+ .findViewById(R.id.tv_shop_loc);
+ convertView.setTag(shopHodler);
+ } else {
+ shopHodler = (ShopHolder) convertView.getTag();
+ }
+ shopHodler.tvShopName.setText(mShopList.get(position).getName());
+ // 商店的类型需要单独处理
+ shopHodler.tvShopType.setText(mShopList.get(position).getType());
+ shopHodler.tvShopLoc.setText(mShopList.get(position).getLocation());
+ return convertView;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ViewPagerAdapter.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ViewPagerAdapter.java
new file mode 100644
index 0000000..38dedc2
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/adapter/ViewPagerAdapter.java
@@ -0,0 +1,59 @@
+package com.stone.shop.adapter;
+
+import java.util.List;
+
+import com.stone.shop.R;
+import com.stone.shop.view.ShopItemActivity;
+import com.stone.ui.ViewPagerCompat;
+
+import android.support.v4.view.PagerAdapter;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.AdapterView;
+import android.widget.AdapterView.OnItemClickListener;
+import android.widget.ListView;
+import android.widget.Toast;
+
+/**
+ * 商铺详情页--ViewPagerCompat适配器
+ * @author Stone
+ */
+public class ViewPagerAdapter extends PagerAdapter {
+
+ private List mListViews;
+ private List mTitleList;
+
+ public ViewPagerAdapter(List mListViews, List mTitleList) {
+ this.mListViews = mListViews;
+ this.mTitleList = mTitleList;
+ }
+
+ @Override
+ public void destroyItem(ViewGroup container, int position, Object object) {
+ container.removeView(mListViews.get(position));//删除页卡
+ }
+
+ @Override
+ public CharSequence getPageTitle(int position) {
+
+ return mTitleList.get(position);//直接用适配器来完成标题的显示,所以从上面可以看到,我们没有使用PagerTitleStrip。当然你可以使用。
+ }
+
+
+ @Override
+ public Object instantiateItem(ViewGroup container, int position) { //这个方法用来实例化页卡
+ container.addView(mListViews.get(position), 0);//添加页卡
+ return mListViews.get(position);
+ }
+
+ @Override
+ public int getCount() {
+ return mListViews.size();//返回页卡的数量
+ }
+
+ @Override
+ public boolean isViewFromObject(View arg0, Object arg1) {
+ return arg0==arg1;//官方提示这样写
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/BXTNews.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/BXTNews.java
new file mode 100644
index 0000000..fb8f926
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/BXTNews.java
@@ -0,0 +1,78 @@
+package com.stone.shop.model;
+
+import cn.bmob.v3.BmobObject;
+
+/**
+ * 博学堂讲座实体类
+ * @date 2014-5-10
+ * @author Stone
+ */
+public class BXTNews extends BmobObject{
+
+ //private String id;
+
+ private String title; //标题
+ private String topic; //讲座主题
+ private String speaker; //主 讲 人
+ private String time; //讲座时间
+ private String location; //讲座地点
+ private String holder1; //主办单位
+ private String holder2; //承办单位
+ private String points; //主讲内容提要
+ private String speakerinfo; //主讲人简介
+
+ public String getTitle() {
+ return title;
+ }
+ public String getTopic() {
+ return topic;
+ }
+ public String getSpeaker() {
+ return speaker;
+ }
+ public String getTime() {
+ return time;
+ }
+ public String getLocation() {
+ return location;
+ }
+ public String getHolder1() {
+ return holder1;
+ }
+ public String getHolder2() {
+ return holder2;
+ }
+ public String getPoints() {
+ return points;
+ }
+ public String getSpeakerinfo() {
+ return speakerinfo;
+ }
+ public void setTitle(String title) {
+ this.title = title;
+ }
+ public void setTopic(String topic) {
+ this.topic = topic;
+ }
+ public void setSpeaker(String speaker) {
+ this.speaker = speaker;
+ }
+ public void setTime(String time) {
+ this.time = time;
+ }
+ public void setLocation(String location) {
+ this.location = location;
+ }
+ public void setHolder1(String holder1) {
+ this.holder1 = holder1;
+ }
+ public void setHolder2(String holder2) {
+ this.holder2 = holder2;
+ }
+ public void setPoints(String points) {
+ this.points = points;
+ }
+ public void setSpeakerinfo(String speakerinfo) {
+ this.speakerinfo = speakerinfo;
+ }
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/FeedBack.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/FeedBack.java
new file mode 100644
index 0000000..9461f41
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/FeedBack.java
@@ -0,0 +1,49 @@
+package com.stone.shop.model;
+
+import cn.bmob.v3.BmobObject;
+
+/**
+ * 用户反馈信息
+ * @date 2014-5-27
+ * @author Stone
+ */
+public class FeedBack extends BmobObject {
+
+ private String username;
+ private String phone;
+ private String email;
+ private String content;
+
+ public String getUsername() {
+ return username;
+ }
+
+ public String getPhone() {
+ return phone;
+ }
+
+ public String getEmail() {
+ return email;
+ }
+
+ public String getContent() {
+ return content;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+ public void setContent(String content) {
+ this.content = content;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/Good.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/Good.java
new file mode 100644
index 0000000..b0a9ac8
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/Good.java
@@ -0,0 +1,63 @@
+package com.stone.shop.model;
+
+import java.io.Serializable;
+
+import cn.bmob.v3.BmobObject;
+import cn.bmob.v3.datatype.BmobFile;
+
+/**
+ * 商品实体类
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class Good extends BmobObject implements Serializable{
+
+ private static final long serialVersionUID = -3248168273019127389L;
+
+ //private String id; 商品ID, 默认
+
+ private String shopID = ""; // 商店ID
+ private String shopName = ""; //商店名称
+ private String type = ""; // 类型
+ private String name = ""; // 名称
+ private String price = ""; // 价格
+ private BmobFile picGood = null; // 商品主图
+
+ public Good(String name, String price) {
+ this.name = name;
+ this.price = price;
+ }
+
+ public String getShopID() {
+ return shopID;
+ }
+
+ public void setShopID(String shopID) {
+ this.shopID = shopID;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getPrice() {
+ return price;
+ }
+
+ public void setPrice(String price) {
+ this.price = price;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/LuckyUser.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/LuckyUser.java
new file mode 100644
index 0000000..4600723
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/LuckyUser.java
@@ -0,0 +1,28 @@
+package com.stone.shop.model;
+
+import cn.bmob.v3.BmobObject;
+
+/**
+ * 中奖用户
+ * @date 2014-5-28
+ * @author Stone
+ */
+public class LuckyUser extends BmobObject {
+
+ private String username;
+ private String award;
+
+ public String getUsername() {
+ return username;
+ }
+ public String getAward() {
+ return award;
+ }
+ public void setUsername(String username) {
+ this.username = username;
+ }
+ public void setAward(String award) {
+ this.award = award;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/News.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/News.java
new file mode 100644
index 0000000..b169779
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/News.java
@@ -0,0 +1,53 @@
+package com.stone.shop.model;
+
+import cn.bmob.v3.BmobObject;
+
+/**
+ * 首页校内新闻实体类
+ *
+ * @date 2014-5-3
+ * @author Stone
+ */
+public class News extends BmobObject {
+
+ // private String id;
+ // private String time;
+
+ private String type; // 新闻类型
+ private String title; // 新闻标题
+ private String author; // 新闻作者
+ private String content; // 新闻内容
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getAuthor() {
+ return author;
+ }
+
+ public void setAuthor(String author) {
+ this.author = author;
+ }
+
+ public String getContent() {
+ return content;
+ }
+
+ public void setContent(String content) {
+ this.content = content;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/Order.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/Order.java
new file mode 100644
index 0000000..4879ef3
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/Order.java
@@ -0,0 +1,92 @@
+package com.stone.shop.model;
+
+import cn.bmob.v3.BmobObject;
+
+/**
+ * 订单实体类
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class Order extends BmobObject {
+
+ private String userName;
+ private String goodID; // 商品ID
+ private String goodName;
+ private String shopID; // 商店ID
+ private String shopName;
+ private String count; // 数量
+ private String price; // 价格
+ private String time; // 取餐时间
+ private String phone; // 联系电话
+ private String state = "未取餐"; // 订单状态(已取, 未取)
+ private String tips; // 附加信息
+
+ public String getGoodID() {
+ return goodID;
+ }
+ public String getGoodName() {
+ return goodName;
+ }
+ public String getUserName() {
+ return userName;
+ }
+ public String getShopID() {
+ return shopID;
+ }
+ public String getShopName() {
+ return shopName;
+ }
+ public String getCount() {
+ return count;
+ }
+ public String getPrice() {
+ return price;
+ }
+ public String getTime() {
+ return time;
+ }
+ public String getPhone() {
+ return phone;
+ }
+ public String getState() {
+ return state;
+ }
+ public String getTips() {
+ return tips;
+ }
+ public void setGoodID(String goodID) {
+ this.goodID = goodID;
+ }
+ public void setGoodName(String goodName) {
+ this.goodName = goodName;
+ }
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+ public void setShopID(String shopID) {
+ this.shopID = shopID;
+ }
+ public void setShopName(String shopName) {
+ this.shopName = shopName;
+ }
+ public void setCount(String count) {
+ this.count = count;
+ }
+ public void setTime(String time) {
+ this.time = time;
+ }
+ public void setPrice(String price) {
+ this.price = price;
+ }
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+ public void setState(String state) {
+ this.state = state;
+ }
+ public void setTips(String tips) {
+ this.tips = tips;
+ }
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/SComment.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/SComment.java
new file mode 100644
index 0000000..7abf4ae
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/SComment.java
@@ -0,0 +1,61 @@
+package com.stone.shop.model;
+
+import cn.bmob.v3.BmobObject;
+
+/**
+ * 店铺评论实体类
+ * @date 2014-5-3
+ * @author Stone
+ */
+public class SComment extends BmobObject {
+
+ // private String id;
+ // private String time;
+
+ private String shopID;
+ private String shopName;
+ private String userID;
+ private String userName;
+ private String content;
+
+ public String getShopID() {
+ return shopID;
+ }
+
+ public void setShopID(String shopID) {
+ this.shopID = shopID;
+ }
+
+ public String getShopName() {
+ return shopName;
+ }
+
+ public void setShopName(String shopName) {
+ this.shopName = shopName;
+ }
+
+ public String getUserID() {
+ return userID;
+ }
+
+ public void setUserID(String userID) {
+ this.userID = userID;
+ }
+
+ public String getUserName() {
+ return userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
+ public String getContent() {
+ return content;
+ }
+
+ public void setContent(String content) {
+ this.content = content;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/Shop.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/Shop.java
new file mode 100644
index 0000000..5e22bde
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/Shop.java
@@ -0,0 +1,82 @@
+package com.stone.shop.model;
+
+import java.io.Serializable;
+
+import cn.bmob.v3.BmobObject;
+import cn.bmob.v3.datatype.BmobFile;
+
+/**
+ * 店铺实体类, 实现序列化, Activity之间实现传递
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class Shop extends BmobObject implements Serializable{
+
+ private static final long serialVersionUID = -8796635595320697255L;
+
+ private String userID; // 主人
+ private String type; // 类型(11代表第一个GridView中的第一个)
+ private String name; // 店名
+ private String location; // 地理位置
+ private String phone; // 联系电话
+ private String info; // 简介
+ private String sale; // 促销信息
+ private BmobFile picShop; // 商店主图
+
+ public String getUserID() {
+ return userID;
+ }
+
+ public void setUserID(String userID) {
+ this.userID = userID;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getLocation() {
+ return location;
+ }
+
+ public void setLocation(String location) {
+ this.location = location;
+ }
+
+ public String getPhone() {
+ return phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public String getInfo() {
+ return info;
+ }
+
+ public void setInfo(String info) {
+ this.info = info;
+ }
+
+ public String getSale() {
+ return sale;
+ }
+
+ public void setSale(String sale) {
+ this.sale = sale;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/User.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/User.java
new file mode 100644
index 0000000..f84799e
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/model/User.java
@@ -0,0 +1,102 @@
+package com.stone.shop.model;
+
+import cn.bmob.v3.BmobUser;
+
+/**
+ * 用户实体类
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class User extends BmobUser {
+
+ // 父类中已经存在的属性
+ // private String id;
+ // private String username;
+ // private String password;
+ // private String email;
+ // private String regTime;
+
+ private String sex; // 性别
+ private String phone; // 电话
+ private String qq; // QQ
+ private String school = "湖北工业大学"; // 学校
+ private String cademy; // 学院
+ private String dorPart; // 校区
+ private String dorNum; // 寝室号
+ private String state = "未登陆"; // 登录状态
+ private String type = "普通用户"; // 用户类型(普通用户、黑名单、中奖者)
+ //private BmobFile picUser; // 头像
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getSex() {
+ return sex;
+ }
+
+ public void setSex(String sex) {
+ this.sex = sex;
+ }
+
+ public String getPhone() {
+ return phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ public String getQQ() {
+ return qq;
+ }
+
+ public void setQQ(String qq) {
+ this.qq = qq;
+ }
+
+ public String getSchool() {
+ return school;
+ }
+
+ public void setSchool(String school) {
+ this.school = school;
+ }
+
+ public String getCademy() {
+ return cademy;
+ }
+
+ public void setCademy(String cademy) {
+ this.cademy = cademy;
+ }
+
+ public String getDorPart() {
+ return dorPart;
+ }
+
+ public void setDorPart(String dorPart) {
+ this.dorPart = dorPart;
+ }
+
+ public String getDorNum() {
+ return dorNum;
+ }
+
+ public void setDorNum(String dorNum) {
+ this.dorNum = dorNum;
+ }
+
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/AboutActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/AboutActivity.java
new file mode 100644
index 0000000..1e5944c
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/AboutActivity.java
@@ -0,0 +1,21 @@
+package com.stone.shop.view;
+
+import com.stone.shop.R;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+/**
+ * 关于软件
+ * @author Stone
+ */
+public class AboutActivity extends Activity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_about);
+ }
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/AwardActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/AwardActivity.java
new file mode 100644
index 0000000..54cd361
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/AwardActivity.java
@@ -0,0 +1,87 @@
+package com.stone.shop.view;
+
+import java.util.List;
+
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.listener.FindListener;
+
+import com.stone.date.MessageDef;
+import com.stone.shop.R;
+import com.stone.shop.model.LuckyUser;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.os.Handler;
+import android.os.Message;
+import android.widget.EditText;
+import android.widget.Toast;
+
+/**
+ * 每日一抽页面
+ * @date 2014-5-18
+ * @author Stone
+ */
+public class AwardActivity extends Activity {
+
+ private EditText etAwardNew;
+ private EditText etAwardOld;
+
+ private String awardNew;
+ private String awardOld;
+
+ private Handler mHandler = new Handler() {
+ @Override
+ public void handleMessage(Message msg) {
+ switch (msg.what) {
+ case 0:
+ initView();
+ break;
+ default:
+ break;
+ }
+ }
+ };
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_award);
+
+ initData();
+ }
+
+ private void initView() {
+ etAwardNew = (EditText) findViewById(R.id.et_award_new);
+ etAwardOld = (EditText) findViewById(R.id.et_award_old);
+
+ etAwardNew.setText(awardNew);
+ etAwardOld.setText(awardOld);
+ }
+
+ private void initData() {
+ BmobQuery query = new BmobQuery();
+ query.order("-updateAt");
+ query.findObjects(this, new FindListener() {
+
+ @Override
+ public void onSuccess(List list) {
+ awardNew = list.get(0).getUsername()+" " +list.get(0).getAward();
+ awardOld = list.get(1).getUsername()+" " +list.get(1).getAward();
+ Message msg = new Message();
+ msg.what = 0;
+ mHandler.sendMessage(msg);
+ }
+
+ @Override
+ public void onError(int arg0, String arg1) {
+ toast("获取中奖名单失败");
+ }
+ });
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/BXTActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/BXTActivity.java
new file mode 100644
index 0000000..50d4a42
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/BXTActivity.java
@@ -0,0 +1,98 @@
+package com.stone.shop.view;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.listener.FindListener;
+
+import com.stone.shop.R;
+import com.stone.shop.adapter.BXTListAdapter;
+import com.stone.shop.model.BXTNews;
+import com.stone.shop.model.BXTNews;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.renderscript.Element;
+import android.view.View;
+import android.widget.AdapterView;
+import android.widget.AdapterView.OnItemClickListener;
+import android.widget.ListView;
+import android.widget.Toast;
+/**
+ * 教学类-博学堂界面
+ * @date 2014-5-10
+ * @author Stone
+ */
+public class BXTActivity extends Activity implements OnItemClickListener{
+
+ private static final String TAG = "BXTActivity";
+
+ private ListView lvBXTNews;
+ private BXTListAdapter mBxtListAdapter;
+ private List mBXTNewsList;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_bxt);
+
+ initView();
+ initData();
+
+ }
+
+ private void initView() {
+ lvBXTNews = (ListView) findViewById(R.id.lv_bxt_news);
+ mBXTNewsList = new ArrayList();
+ mBxtListAdapter = new BXTListAdapter(this, mBXTNewsList);
+ lvBXTNews.setAdapter(mBxtListAdapter);
+ lvBXTNews.setOnItemClickListener(this);
+ }
+
+ private void initData() {
+ BmobQuery query = new BmobQuery();
+ query.findObjects(this, new FindListener() {
+
+ @Override
+ public void onSuccess(List newsList) {
+ //toast("查询商品成功, 共" + newsList.size());
+ if(newsList.size()==0)
+ toast("亲, 暂时还木有讲座哦");
+ else {
+ mBXTNewsList = newsList;
+ mBxtListAdapter.refresh(newsList);
+ mBxtListAdapter.notifyDataSetChanged();
+ }
+
+ }
+
+ @Override
+ public void onError(int arg0, String arg1) {
+ toast("查询失败");
+ }
+ });
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+ @Override
+ public void onItemClick(AdapterView> parent, View view, int position,
+ long id) {
+ Intent toBXTNewsActivity = new Intent(BXTActivity.this, BXTNewsActivity.class);
+ toBXTNewsActivity.putExtra("title", mBXTNewsList.get(position).getTitle());
+ toBXTNewsActivity.putExtra("topic", mBXTNewsList.get(position).getTopic());
+ toBXTNewsActivity.putExtra("speaker", mBXTNewsList.get(position).getSpeaker());
+ toBXTNewsActivity.putExtra("time", mBXTNewsList.get(position).getTime());
+ toBXTNewsActivity.putExtra("location", mBXTNewsList.get(position).getLocation());
+ toBXTNewsActivity.putExtra("holder1", mBXTNewsList.get(position).getHolder1());
+ toBXTNewsActivity.putExtra("holder2", mBXTNewsList.get(position).getHolder2());
+ toBXTNewsActivity.putExtra("points", mBXTNewsList.get(position).getPoints());
+ toBXTNewsActivity.putExtra("speakerinfo", mBXTNewsList.get(position).getSpeakerinfo());
+ startActivity(toBXTNewsActivity);
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/BXTNewsActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/BXTNewsActivity.java
new file mode 100644
index 0000000..a39c090
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/BXTNewsActivity.java
@@ -0,0 +1,65 @@
+package com.stone.shop.view;
+
+import com.stone.shop.R;
+import com.stone.shop.model.BXTNews;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.widget.TextView;
+
+/**
+ * 教学类-博学堂-讲座详情界面
+ * @date 2014-5-10
+ * @author Stone
+ */
+public class BXTNewsActivity extends Activity {
+
+ private static final String TAG = "BXTNewsActivity";
+
+ private BXTNews news;
+ private TextView tvBXTNewsTitle;
+ private TextView tvBXTNewsTopic;
+ private TextView tvBXTNewsSpeaker;
+ private TextView tvBXTNewsTime;
+ private TextView tvBXTNewsLoc;
+ private TextView tvBXTNewsHolder1;
+ private TextView tvBXTNewsHolder2;
+ private TextView tvBXTNewsPoints;
+ private TextView tvBXTNewsSpeakerInfo;
+
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_bxt_news);
+
+ initView();
+ }
+
+ private void initView() {
+
+ tvBXTNewsTitle = (TextView) findViewById(R.id.tv_bxt_news_title);
+ tvBXTNewsTopic = (TextView) findViewById(R.id.tv_bxt_news_topic);
+ tvBXTNewsSpeaker = (TextView) findViewById(R.id.tv_bxt_news_speaker);
+ tvBXTNewsTime = (TextView) findViewById(R.id.tv_bxt_news_time);
+ tvBXTNewsLoc = (TextView) findViewById(R.id.tv_bxt_news_loc);
+ tvBXTNewsHolder1 = (TextView) findViewById(R.id.tv_bxt_news_holder1);
+ tvBXTNewsHolder2 = (TextView) findViewById(R.id.tv_bxt_news_holder2);
+ tvBXTNewsPoints = (TextView) findViewById(R.id.tv_bxt_news_point);
+ tvBXTNewsSpeakerInfo = (TextView) findViewById(R.id.tv_bxt_news_speaker_info);
+
+ tvBXTNewsTitle.setText(getIntent().getStringExtra("title"));
+ tvBXTNewsTopic.setText(getIntent().getStringExtra("topic"));
+ tvBXTNewsSpeaker.setText(getIntent().getStringExtra("speaker"));
+ tvBXTNewsTime.setText(getIntent().getStringExtra("time"));
+ tvBXTNewsLoc.setText(getIntent().getStringExtra("location"));
+ tvBXTNewsHolder1.setText(getIntent().getStringExtra("holder1"));
+ tvBXTNewsHolder2.setText(getIntent().getStringExtra("holder2"));
+ tvBXTNewsPoints.setText(getIntent().getStringExtra("points"));
+ tvBXTNewsSpeakerInfo.setText(getIntent().getStringExtra("speakerinfo"));
+
+ }
+
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/BaseActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/BaseActivity.java
new file mode 100644
index 0000000..64c34ea
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/BaseActivity.java
@@ -0,0 +1,104 @@
+package com.stone.shop.view;
+
+import cn.bmob.v3.Bmob;
+
+import com.stone.shop.R;
+import com.stone.shop.view.old.OldMineActivity;
+
+import android.os.Bundle;
+import android.app.TabActivity;
+import android.content.Context;
+import android.content.Intent;
+import android.content.SharedPreferences;
+import android.content.SharedPreferences.Editor;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.widget.ImageView;
+import android.widget.Space;
+import android.widget.TabHost;
+import android.widget.TextView;
+import android.widget.Toast;
+
+/**
+ * 应用主界面
+ * @date 2014-4-24
+ * @author Stone
+ */
+@SuppressWarnings("deprecation")
+public class BaseActivity extends TabActivity {
+
+ private static final String TAG = "BaseActivity";
+
+ private TabHost tabHost;
+ private LayoutInflater layoutInflater;
+
+
+ String[] mTitle = new String[] { "小菜", "每日一抽", "我的"};
+ int[] mIcon = new int[] { R.drawable.ic_shop, R.drawable.ic_sale,
+ R.drawable.ic_car, R.drawable.ic_mine };
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_base);
+
+ initTabView();
+
+
+ }
+
+ public View getTabItemView(int i) {
+ // TODO Auto-generated method stub
+ View view = layoutInflater.inflate(R.layout.tab_widget_item, null);
+ ImageView imageView = (ImageView) view.findViewById(R.id.imageview);
+ imageView.setImageResource(mIcon[i]);
+ TextView textView = (TextView) view.findViewById(R.id.textview);
+ textView.setText(mTitle[i]);
+ return view;
+ }
+
+ public void initTabView() {
+
+ /**
+ * tabHost.newTabSpec("artist")创建一个标签项,其中artist为它的标签标识符,相当于jsp页面标签的name属性
+ * setIndicator("艺术标签",resources.getDrawable(R.drawable.ic_tab))设置标签显示文本以及标签上的图标(该图标并不是一个图片,而是一个xml文件哦)
+ * setContent(intent)为当前标签指定一个意图
+ * tabHost.addTab(spec); 将标签项添加到标签中
+ */
+
+ tabHost = getTabHost();
+ layoutInflater = LayoutInflater.from(this);
+ TabHost.TabSpec spec;
+
+ Intent intent1 = new Intent(this, ShopActivity.class);
+ spec = tabHost.newTabSpec(mTitle[0]).setIndicator( getTabItemView(0) ).setContent(intent1);
+ tabHost.addTab(spec);
+
+ Intent intent2 = new Intent(this, AwardActivity.class);
+ spec = tabHost.newTabSpec(mTitle[1]).setIndicator( getTabItemView(1) ).setContent(intent2);
+ tabHost.addTab(spec);
+
+ Intent intent3 = new Intent(this, MineActivity.class);
+ spec = tabHost.newTabSpec(mTitle[2]).setIndicator( getTabItemView(2) ).setContent(intent3);
+ tabHost.addTab(spec);
+
+ /*
+ Intent intent3 = new Intent(this, WsqActivity.class);
+ spec = tabHost.newTabSpec(mTitle[2]).setIndicator( getTabItemView(2) ).setContent(intent3);
+ tabHost.addTab(spec);
+
+ Intent intent4 = new Intent(this, OldMineActivity.class);
+ spec = tabHost.newTabSpec(mTitle[3]).setIndicator( getTabItemView(3) ).setContent(intent4);
+ tabHost.addTab(spec); */
+
+ tabHost.setCurrentTab(0);
+ }
+
+ @Override
+ public void onBackPressed() {
+ Toast.makeText(this, "确定要退出校园小菜么?", Toast.LENGTH_LONG).show();
+ //super.onBackPressed();
+ }
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/FeedBackActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/FeedBackActivity.java
new file mode 100644
index 0000000..6e4eb25
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/FeedBackActivity.java
@@ -0,0 +1,100 @@
+package com.stone.shop.view;
+
+import cn.bmob.v3.BmobUser;
+import cn.bmob.v3.listener.InsertListener;
+
+import com.stone.shop.R;
+import com.stone.shop.model.FeedBack;
+import com.stone.shop.model.User;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.Toast;
+/**
+ * 意见反馈界面
+ * @date 2014-5-27
+ * @author Stone
+ */
+public class FeedBackActivity extends Activity implements OnClickListener{
+
+ private static final String TAG = "FeedBackActivity";
+
+ private EditText etContent;
+ private Button btnSubmit;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_feedback);
+
+ initView();
+ }
+
+ private void initView() {
+ etContent = (EditText) findViewById(R.id.et_feedback_content);
+ btnSubmit = (Button) findViewById(R.id.btn_feedback_submit);
+ btnSubmit.setOnClickListener(this);
+ }
+
+ /**
+ * 提交用户的反馈信息
+ */
+ private void submit() {
+ String content = etContent.getText().toString();
+ if(content.equals("")) {
+ toast("亲,请先写点东西吧");
+ } else {
+ BmobUser user = BmobUser.getCurrentUser(this);
+ FeedBack fb = new FeedBack();
+ fb.setUsername(user.getUsername());
+ fb.setEmail(user.getEmail());
+ fb.setContent(content);
+ fb.insertObject(this, new InsertListener() {
+
+ @Override
+ public void onSuccess() {
+ toast("提交成功, 小小菜会尽快回复");
+ back();
+ }
+
+ @Override
+ public void onFailure(String arg0) {
+ toast("提交失败");
+ }
+ });
+
+ }
+
+ }
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.btn_feedback_submit:
+ submit();
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ private void back() {
+ finish();
+ }
+
+ public void clickFeedBack(View v) {
+ finish();
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/HomeActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/HomeActivity.java
new file mode 100644
index 0000000..461119c
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/HomeActivity.java
@@ -0,0 +1,195 @@
+package com.stone.shop.view;
+
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.List;
+
+import android.app.Activity;
+import android.content.Context;
+import android.content.Intent;
+import android.opengl.Visibility;
+import android.os.Bundle;
+import android.support.v4.view.ViewPager.OnPageChangeListener;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.AdapterView;
+import android.widget.AdapterView.OnItemClickListener;
+import android.widget.FrameLayout;
+import android.widget.ImageButton;
+import android.widget.ImageView;
+import android.widget.ListView;
+import android.widget.ImageView.ScaleType;
+import android.widget.TextView;
+import android.widget.Toast;
+
+import cn.bmob.v3.Bmob;
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.listener.FindListener;
+import cn.bmob.v3.listener.GetServerTimeListener;
+
+import com.stone.date.TypeDef;
+import com.stone.shop.R;
+import com.stone.shop.adapter.ImagePagerAdapter;
+import com.stone.shop.adapter.NewsListAdapter;
+import com.stone.shop.model.News;
+import com.stone.shop.model.Shop;
+import com.stone.ui.AutoScrollViewPager;
+import com.stone.ui.ListScrollView;
+
+/**
+ * 主界面
+ *
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class HomeActivity extends Activity implements OnClickListener,
+ OnItemClickListener {
+
+ private static final String TAG = "HomeActivity";
+
+ private ListScrollView listScrollView;
+
+ // 校历
+ private TextView tvWeek; // 周次和星期
+ private TextView tvDay; // 年月日
+
+ // 图片轮播
+ private FrameLayout flImageAds;
+ private AutoScrollViewPager viewPager;
+ private List mImgViews;
+ private ImageButton btnHideAds;
+ private int[] mImgResId = { R.drawable.ic_banner1, R.drawable.ic_banner1,
+ R.drawable.ic_banner1, R.drawable.ic_banner1 };
+
+ // 校园新闻
+ private ListView lvNewsList;
+ private List newsList = new ArrayList();
+ private NewsListAdapter newsListAdapter;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_home);
+
+ // 解决ScrollView和ListView之间的冲突
+ listScrollView = (ListScrollView) findViewById(R.id.listScrollView);
+ lvNewsList = (ListView) findViewById(R.id.lv_news);
+ listScrollView.setListView(lvNewsList);
+
+ flImageAds = (FrameLayout) findViewById(R.id.fl_image_ads);
+ viewPager = (AutoScrollViewPager) findViewById(R.id.view_pager);
+ btnHideAds = (ImageButton) findViewById(R.id.btn_hide_ads);
+
+ mImgViews = new ArrayList();
+ for (int i = 0; i < mImgResId.length; i++) {
+ ImageView imageView = new ImageView(this);
+ imageView.setImageResource(mImgResId[i]);
+ imageView.setScaleType(ScaleType.CENTER_CROP);
+ mImgViews.add(imageView);
+ }
+
+ btnHideAds.setOnClickListener(this);
+
+ viewPager.setAdapter(new ImagePagerAdapter(this, mImgViews));
+ viewPager.setInterval(3000); // 设置自动滚动的间隔时间,单位为毫秒
+ viewPager.setDirection(AutoScrollViewPager.RIGHT); // 设置自动滚动的方向,默认向右
+ viewPager.setCycle(true); // 是否自动循环轮播,默认为true
+ viewPager.setScrollDurationFactor(3); // 设置ViewPager滑动动画间隔时间的倍率,达到减慢动画或改变动画速度的效果
+ viewPager.setStopScrollWhenTouch(true); // 当手指碰到ViewPager时是否停止自动滚动,默认为true
+ viewPager.setBorderAnimation(true); // 设置循环滚动时滑动到从边缘滚动到下一个是否需要动画,默认为true
+ viewPager
+ .setSlideBorderMode(AutoScrollViewPager.SLIDE_BORDER_MODE_NONE);// 滑动到第一个或最后一个Item的处理方式,支持没有任何操作、轮播以及传递到父View三种模式
+
+ viewPager.startAutoScroll();
+
+ // 校历
+ tvWeek = (TextView) findViewById(R.id.tv_week);
+ tvDay = (TextView) findViewById(R.id.tv_day);
+ setTime();
+
+ // 新闻
+ newsListAdapter = new NewsListAdapter(this, newsList);
+ lvNewsList.setAdapter(newsListAdapter);
+ lvNewsList.setOnItemClickListener(this);
+
+ getNewsData();
+ }
+
+ /**
+ * 设置校历中日期的时间
+ */
+ public void setTime() {
+ Calendar calendar = Calendar.getInstance();
+ String year = calendar.get(Calendar.YEAR)+"";
+ String month = calendar.get(Calendar.MONTH)+1+"";
+ String day = calendar.get(Calendar.DAY_OF_MONTH)+"";
+ String week = calendar.get(Calendar.WEEK_OF_YEAR)-9+"";
+ String dayOfWeek = calendar.get(Calendar.DAY_OF_WEEK)+"";
+ String chDayOfWeek = TypeDef.chDayOfWeek[Integer.parseInt(dayOfWeek)-1];
+ toast(year+"-"+month+"-"+day+" "+" 第 "+week+" 周 "+" "+" 星期 "+chDayOfWeek);
+ tvWeek.setText(" 第 "+week+" 周 "+" "+" 星期 "+chDayOfWeek);
+ tvDay.setText(year+" 年 "+month+" 月 "+day+" 日");
+ }
+
+ /**
+ * 初始化新闻列表数据
+ * @date 2014-5-3
+ * @author Stone
+ */
+ public void getNewsData() {
+ BmobQuery query = new BmobQuery();
+ query.order("-updatedAt");
+ query.findObjects(this, new FindListener() {
+
+ @Override
+ public void onSuccess(List object) {
+ newsList = object;
+ // 通知Adapter数据更新
+ newsListAdapter.refresh((ArrayList) newsList);
+ newsListAdapter.notifyDataSetChanged();
+ }
+
+ @Override
+ public void onError(int arg0, String arg1) {
+ toast("都怪小菜我, 获取数据失败了");
+ }
+ });
+ }
+
+ @Override
+ protected void onResume() {
+ super.onResume();
+ // start auto scroll when onResume
+ viewPager.startAutoScroll();
+ }
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.btn_hide_ads:
+ flImageAds.setVisibility(View.GONE);
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ @Override
+ public void onItemClick(AdapterView> parent, View view, int position,
+ long id) {
+ Intent toNewsDetail = new Intent(HomeActivity.this, NewsActivity.class);
+ toNewsDetail.putExtra("NewsTitle", newsList.get(position).getTitle());
+ toNewsDetail.putExtra("NewsAuthor", newsList.get(position).getAuthor());
+ toNewsDetail.putExtra("NewsTime", newsList.get(position).getCreatedAt());
+ toNewsDetail.putExtra("NewsContent", newsList.get(position).getContent());
+ startActivity(toNewsDetail);
+ }
+
+ public void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT);
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/LoginActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/LoginActivity.java
new file mode 100644
index 0000000..7db9d60
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/LoginActivity.java
@@ -0,0 +1,361 @@
+package com.stone.shop.view;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.HttpURLConnection;
+import java.net.URL;
+
+import org.json.JSONException;
+import org.json.JSONObject;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.content.SharedPreferences;
+import android.content.SharedPreferences.Editor;
+import android.graphics.Bitmap;
+import android.graphics.BitmapFactory;
+import android.graphics.Color;
+import android.os.Bundle;
+import android.os.Handler;
+import android.os.Message;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.ImageView;
+import android.widget.TextView;
+import android.widget.Toast;
+import cn.bmob.v3.Bmob;
+import cn.bmob.v3.listener.InsertListener;
+
+import com.stone.shop.R;
+import com.stone.shop.model.User;
+import com.stone.util.Util;
+import com.tencent.connect.UserInfo;
+import com.tencent.connect.auth.QQAuth;
+import com.tencent.tauth.IUiListener;
+import com.tencent.tauth.Tencent;
+import com.tencent.tauth.UiError;
+
+/**
+ * 登陆界面
+ *
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class LoginActivity extends Activity implements OnClickListener{
+
+ private static final String TAG = "LoginActicity";
+
+ private Button btnLogin;
+ private Button btnReg;
+ private EditText etUsername;
+ private EditText etPassword;
+
+ private String username;
+ private String password;
+
+ private static final String APP_ID = "101080318";
+ private UserInfo mInfo;
+ private TextView mUserInfo;
+ private ImageView mUserLogo;
+ private ImageView mNewLoginButton;
+ private TextView backInfo;
+
+ //QQ登陆
+// private Tencent mTencent;
+// private QQAuth mQQAuth;
+ Handler mHandler = new Handler() {
+
+ @Override
+ public void handleMessage(Message msg) {
+ if (msg.what == 0) {
+ mUserInfo.setVisibility(android.view.View.VISIBLE);
+ mUserInfo.setText(msg.getData().getString("nickname"));
+ } else if (msg.what == 1) {
+ Bitmap bitmap = (Bitmap) msg.obj;
+ mUserLogo.setImageBitmap(bitmap);
+ mUserLogo.setVisibility(android.view.View.VISIBLE);
+ }
+ }
+ };
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ // 初始化 Bmob SDK
+ // 使用时请将第二个参数Application ID替换成你在Bmob服务器端创建的Application ID
+ Bmob.initialize(this, "999848e5d36a83ae049281de8b8ae1a5");
+ setContentView(R.layout.activity_login);
+
+ //QQ登陆, 获取实例
+// mQQAuth = QQAuth.createInstance(APP_ID, this.getApplicationContext());
+// mTencent = Tencent.createInstance(APP_ID, this.getApplicationContext());
+
+ btnLogin = (Button) findViewById(R.id.btn_login);
+ btnReg = (Button) findViewById(R.id.btn_register);
+
+ etUsername = (EditText) findViewById(R.id.et_username);
+ etPassword = (EditText) findViewById(R.id.et_password);
+
+ btnLogin.setOnClickListener(this);
+ btnReg.setOnClickListener(this);
+
+ mUserInfo = (TextView) findViewById(R.id.user_nickname);
+ mUserLogo = (ImageView) findViewById(R.id.user_logo);
+ mNewLoginButton = (ImageView) findViewById(R.id.new_login_btn);
+ mNewLoginButton.setOnClickListener(this);
+ backInfo = (TextView) findViewById(R.id.user_callback);
+
+ getUserInfo();
+
+ }
+
+ private void getUserInfo() {
+ SharedPreferences sp = getSharedPreferences("UserInfo", 0);
+ etUsername.setText(sp.getString("username", null));
+ etPassword.setText(sp.getString("password", null));
+ }
+
+ //保存用户的登陆记录
+ private void saveUserInfo(String username, String password) {
+ SharedPreferences sp = getSharedPreferences("UserInfo", 0);
+ Editor editor = sp.edit();
+ editor.putString("username", username);
+ editor.putString("password", password);
+ editor.commit();
+ }
+
+// private void updateUserInfo() {
+// if (mQQAuth != null && mQQAuth.isSessionValid()) {
+// IUiListener listener = new IUiListener() {
+// @Override
+// public void onError(UiError e) {
+// Toast.makeText(LoginActivity.this, "授权失败", 1000).show();
+// }
+//
+// @Override
+// public void onComplete(final Object response) {
+// Toast.makeText(LoginActivity.this, "授权成功", 1000).show();
+// JSONObject json = (JSONObject) response;
+// // 昵称
+// Message msg = new Message();
+// String nickname = null;
+// try {
+// nickname = ((JSONObject) response)
+// .getString("nickname");
+// } catch (JSONException e) {
+// e.printStackTrace();
+// }
+// msg.getData().putString("nickname", nickname);
+// msg.what = 0;
+// mHandler.sendMessage(msg);
+// // 头像
+// String path;
+// try {
+// path = json.getString("figureurl_qq_2");
+// MyImgThread imgThread = new MyImgThread(path);
+// Thread thread = new Thread(imgThread);
+// thread.start();
+// } catch (JSONException e1) {
+// // TODO Auto-generated catch block
+// e1.printStackTrace();
+// }
+// }
+//
+// @Override
+// public void onCancel() {
+// Toast.makeText(LoginActivity.this, "取消授权", 1000).show();
+//
+// }
+// };
+// // MainActivity.mTencent.requestAsync(Constants.GRAPH_SIMPLE_USER_INFO,
+// // null,
+// // Constants.HTTP_GET, requestListener, null);
+// mInfo = new UserInfo(this, mQQAuth.getQQToken());
+// mInfo.getUserInfo(listener);
+//
+// } else {
+// // mUserInfo.setText("");
+// // mUserInfo.setVisibility(android.view.View.GONE);
+// // mUserLogo.setVisibility(android.view.View.GONE);
+// }
+// }
+//
+// /**
+// * 开启线程 获取头像
+// */
+// class MyImgThread implements Runnable {
+// private String imgPath;
+// private Bitmap bitmap;
+//
+// public MyImgThread(String imgpath) {
+// this.imgPath = imgpath;
+// }
+//
+// @Override
+// public void run() {
+// // TODO Auto-generated method stub
+// bitmap = getImgBitmap(imgPath);
+// Message msg = new Message();
+// msg.obj = bitmap;
+// msg.what = 1;
+// mHandler.sendMessage(msg);
+// }
+// }
+//
+// /**
+// * 根据头像的url 获取bitmap
+// */
+// public Bitmap getImgBitmap(String imageUri) {
+// // 显示网络上的图片
+// Bitmap bitmap = null;
+// HttpURLConnection conn = null;
+// InputStream is = null;
+// try {
+// URL myFileUrl = new URL(imageUri);
+// conn = (HttpURLConnection) myFileUrl.openConnection();
+// conn.setDoInput(true);
+// conn.connect();
+//
+// is = conn.getInputStream();
+// bitmap = BitmapFactory.decodeStream(is);
+// is.close();
+// } catch (IOException e) {
+// e.printStackTrace();
+// return null;
+// } finally {
+// try {
+// conn.disconnect();
+// is.close();
+// is.reset();
+// } catch (IOException e) {
+// e.printStackTrace();
+// }
+// }
+// return bitmap;
+// }
+//
+// public void onClickLogin() {
+// // 登录
+// if (!mQQAuth.isSessionValid()) {
+// // 实例化回调接口
+// IUiListener listener = new BaseUiListener() {
+// @Override
+// protected void doComplete(JSONObject values) {
+// updateUserInfo();
+// // updateLoginButton();
+// if (mQQAuth != null) {
+// /////mNewLoginButton.setTextColor(Color.BLUE);
+// //////mNewLoginButton.setText("登录");
+// }
+// }
+// };
+// // "all": 所有权限,listener: 回调的实例
+// // mQQAuth.login(this, "all", listener);
+//
+// // 这版本登录是使用的这种方式,后面的几个参数是啥意思 我也没查到
+// mTencent.loginWithOEM(this, "all", listener, "10000144",
+// "10000144", "xxxx");
+// } else {
+// // 注销登录
+// mQQAuth.logout(this);
+// updateUserInfo();
+//
+// // updateLoginButton();
+// /////mNewLoginButton.setTextColor(Color.RED);
+// /////mNewLoginButton.setText("退出帐号");
+// }
+// }
+//
+// /**
+// * 调用SDK封装好的借口,需要传入回调的实例 会返回服务器的消息
+// */
+// private class BaseUiListener implements IUiListener {
+// /**
+// * 成功
+// */
+// @Override
+// public void onComplete(Object response) {
+// backInfo.setText(response.toString());
+// doComplete((JSONObject) response);
+// }
+//
+// /**
+// * 处理返回的消息 比如把json转换为对象什么的
+// *
+// * @param values
+// */
+// protected void doComplete(JSONObject values) {
+//
+// }
+//
+// @Override
+// public void onError(UiError e) {
+// Toast.makeText(LoginActivity.this, e.toString(), 1000).show();
+// }
+//
+// @Override
+// public void onCancel() {
+// Toast.makeText(LoginActivity.this, "cancel", 1000).show();
+// }
+// }
+
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ // 登陆
+ case R.id.btn_login:
+ username = etUsername.getText().toString();
+ password = etPassword.getText().toString();
+
+ if( !Util.isNetworkConnected(this) ){
+ toast("亲, 木有网络 ( ⊙ o ⊙ ) ");
+ } else if (username.equals("") || password.equals("")) {
+ toast("亲, 请输入小菜账号和密码");
+ break;
+ } else {
+ User bu2 = new User();
+ bu2.setUsername(username);
+ bu2.setPassword(password);
+ bu2.login(this, new InsertListener() {
+ @Override
+ public void onSuccess() {
+ toast("亲, 小菜来罗~");
+ //保存用户信息
+ saveUserInfo(username, password);
+ // 跳转到主页
+ Intent toHome = new Intent(LoginActivity.this,
+ BaseActivity.class);
+ startActivity(toHome);
+ finish();
+ }
+
+ @Override
+ public void onFailure(String msg) {
+ toast("亲, 用户名或密码错误");
+ }
+ });
+ }
+ break;
+
+ case R.id.btn_register:
+ Intent toReg = new Intent(LoginActivity.this,
+ RegisterActivity.class);
+ startActivity(toReg);
+ break;
+// case R.id.new_login_btn:
+// onClickLogin();
+// break;
+ default:
+ break;
+
+ }
+ }
+
+ public void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineActivity.java
new file mode 100644
index 0000000..5e612f4
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineActivity.java
@@ -0,0 +1,202 @@
+package com.stone.shop.view;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.os.Handler;
+import android.os.Message;
+import android.view.View;
+import android.widget.AdapterView;
+import android.widget.AdapterView.OnItemClickListener;
+import android.widget.ListView;
+import android.widget.Toast;
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.BmobUser;
+import cn.bmob.v3.listener.CountListener;
+
+import com.stone.date.MessageDef;
+import com.stone.shop.R;
+import com.stone.shop.adapter.MineListAdapter;
+import com.stone.shop.model.Order;
+
+/**
+ * 个人中心主界面
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class MineActivity extends Activity implements OnItemClickListener{
+
+ private static final String TAG = "MineActivity" ;
+
+ private String[] userItemNames = {"stonekity"} ;
+ private String[] userItemContents = {""} ;
+ private String[] orderItemNames = {"当前订单", "历史订单"};
+ private String[] orderItemContents = {"*", ""};
+ private String[] aboutItemNames = {"通知中心", "软件相关", "推荐给朋友", "退出账号"};
+ private String[] aboutItemContents = {"", "", "", ""};
+
+ private int[] userImgIds = {R.drawable.ic_menu_myplaces};
+ private int[] orderImgIds = {R.drawable.ic_menu_find_holo_light, R.drawable.ic_menu_copy_holo_light};
+ private int[] aboutImgIds = {R.drawable.ic_menu_notifications, R.drawable.ic_menu_info_details, R.drawable.ic_menu_share, R.drawable.ic_star_yes};
+
+ private ListView lvMineUser;
+ private ListView lvMineOrder;
+ private ListView lvMineAbout;
+ private MineListAdapter userListAdapter;
+ private MineListAdapter orderListAdapter;
+ private MineListAdapter aboutListAdapter;
+
+ private Handler mHandler = new Handler() {
+ @Override
+ public void handleMessage(Message msg) {
+ switch (msg.what) {
+ case MessageDef.MINE_FINISH_LOAD_DATA:
+ //toast("Handler 收到数据加载完成的消息");
+ orderListAdapter.notifyDataSetChanged();
+ break;
+ default:
+ break;
+ }
+ }
+};
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_mine);
+
+ initData("已取餐");
+ initData("未取餐");
+ initView();
+ }
+
+ private void initView() {
+
+ lvMineUser = (ListView) findViewById(R.id.lv_mine_user);
+ lvMineOrder = (ListView) findViewById(R.id.lv_mine_order);
+ lvMineAbout = (ListView) findViewById(R.id.lv_mine_about);
+
+ userListAdapter = new MineListAdapter(this, userItemNames, userItemContents, userImgIds);
+ orderListAdapter = new MineListAdapter(this, orderItemNames, orderItemContents, orderImgIds);
+ aboutListAdapter = new MineListAdapter(this, aboutItemNames, aboutItemContents, aboutImgIds);
+
+ lvMineUser.setAdapter(userListAdapter);
+ lvMineOrder.setAdapter(orderListAdapter);
+ lvMineAbout.setAdapter(aboutListAdapter);
+
+ lvMineUser.setOnItemClickListener(this);
+ lvMineOrder.setOnItemClickListener(this);
+ lvMineAbout.setOnItemClickListener(this);
+
+ }
+
+ //初始化列表菜单中数据
+ public void initData(final String type) {
+ //获取用户
+ BmobUser user = BmobUser.getCurrentUser(this);
+ userItemNames[0] = user.getUsername();
+
+ //获取小菜订单(数量)
+ BmobQuery query = new BmobQuery();
+ query.order("-updatedAt");
+ query.addWhereEqualTo("userName", user.getUsername());
+ query.addWhereEqualTo("state", type);
+ query.count(this, Order.class, new CountListener() {
+
+ @Override
+ public void onSuccess(int count) {
+ if(type.equals("未取餐")) {
+ orderItemContents[0] ="( " +count+ " )";
+ }
+ if(type.equals("已取餐")) {
+ orderItemContents[1] ="( " +count+ " )";
+ }
+ Message msg = new Message();
+ msg.what = MessageDef.MINE_FINISH_LOAD_DATA;
+ mHandler.sendMessage(msg);
+ }
+
+ @Override
+ public void onFailure(int arg0, String arg1) {
+ toast("查询失败");
+ }
+ });
+
+ }
+
+ @Override
+ public void onItemClick(AdapterView> parent, View view, int position,
+ long id) {
+
+ //个人资料
+ if(parent.getId() == R.id.lv_mine_user) {
+ switch (position) {
+ case 0: //资料卡
+ //toast("点击个人资料");
+ Intent toMineInfo = new Intent(MineActivity.this, MineInfoActivity.class);
+ startActivity(toMineInfo);
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ //小菜订单
+ if(parent.getId() == R.id.lv_mine_order) {
+ //toast("点击了订单区域");
+ Intent toOrderInfo;
+ switch (position) {
+ case 0:
+ toOrderInfo = new Intent(MineActivity.this, OrderInfoActivity.class);
+ toOrderInfo.putExtra("type", "now");
+ startActivity(toOrderInfo);
+ break;
+ case 1:
+ toOrderInfo = new Intent(MineActivity.this, OrderInfoActivity.class);
+ toOrderInfo.putExtra("type", "old");
+ startActivity(toOrderInfo);
+ break;
+ default:
+ break;
+ }
+ }
+
+ //其他
+ if(parent.getId() == R.id.lv_mine_about) {
+
+ switch (position) {
+ case 1: //软件相关
+ Intent toMineSoft = new Intent(MineActivity.this, MineSoftActivity.class);
+ startActivity(toMineSoft);
+ break;
+ case 2: //推荐给朋友
+ Intent toShare = new Intent(Intent.ACTION_SEND);
+ toShare.setType("text/plain");
+ toShare.putExtra(Intent.EXTRA_SUBJECT, "分享");
+ toShare.putExtra(Intent.EXTRA_TEXT, "校园小菜-HBUT版" +"\n" + "针对湖工大的校园小菜测试版上线了,赶紧下载体验吧"
+ + "http://xiaocai.bmob.cn");
+ startActivity(Intent.createChooser(toShare, "分享到"));
+ break;
+ case 3: //退出当期账号
+ BmobUser.logOut(this);
+ Intent toLogin = new Intent(MineActivity.this, LoginActivity.class);
+ startActivity(toLogin);
+ finish();
+ break;
+
+ default:
+ //toast("点击了通知区域");
+ break;
+ }
+
+ }
+
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineInfoActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineInfoActivity.java
new file mode 100644
index 0000000..d5ce189
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineInfoActivity.java
@@ -0,0 +1,124 @@
+package com.stone.shop.view;
+
+import java.util.List;
+
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.BmobUser;
+import cn.bmob.v3.listener.FindListener;
+
+import com.stone.date.MessageDef;
+import com.stone.shop.R;
+import com.stone.shop.model.User;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.os.Handler;
+import android.os.Message;
+import android.view.View;
+import android.widget.TextView;
+import android.widget.Toast;
+
+/**
+ * 个人资料卡
+ * @date 2014-5-21
+ * @author Stone
+ */
+public class MineInfoActivity extends Activity {
+
+ private TextView tvUsername;
+ private TextView tvSchool;
+ private TextView tvCademy;
+ private TextView tvDorPart;
+ private TextView tvDorNum;
+ private TextView tvPhone;
+ private TextView tvQQ;
+
+ private User curUser = new User();
+
+ private Handler mHandler = new Handler() {
+ @Override
+ public void handleMessage(Message msg) {
+ switch (msg.what) {
+ case MessageDef.MINE_INFO_FINISH_FIND_USER:
+ initView();
+ break;
+ default:
+ break;
+ }
+ }
+ };
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_mine_info);
+
+ getCurUser();
+ }
+
+ private void initView() {
+ tvUsername = (TextView) findViewById(R.id.tv_mineinfo_username);
+ tvSchool = (TextView) findViewById(R.id.tv_mineinfo_school);
+ tvCademy = (TextView) findViewById(R.id.tv_mineinfo_cademy);
+ tvDorPart = (TextView) findViewById(R.id.tv_mineinfo_dorpart);
+ tvDorNum = (TextView) findViewById(R.id.tv_mineinfo_dornum);
+ tvPhone = (TextView) findViewById(R.id.tv_mineinfo_phone);
+ tvQQ = (TextView) findViewById(R.id.tv_mineinfo_qq);
+
+ tvUsername.setText(curUser.getUsername());
+ tvSchool.setText(curUser.getSchool());
+ tvCademy.setText(curUser.getCademy());
+ tvDorPart.setText(curUser.getDorPart());
+ tvDorNum.setText(curUser.getDorNum());
+ tvPhone.setText(curUser.getPhone());
+ tvQQ.setText(curUser.getQQ());
+
+ }
+
+ private void getCurUser() {
+ BmobUser bmobUser = BmobUser.getCurrentUser(this);
+ BmobQuery query = new BmobQuery();
+ query.addWhereEqualTo("objectId", bmobUser.getObjectId());
+ query.findObjects(this, new FindListener() {
+
+ @Override
+ public void onSuccess(List object) {
+ curUser = object.get(0);
+ Message msg = new Message();
+ msg.what = MessageDef.MINE_INFO_FINISH_FIND_USER;
+ mHandler.sendMessage(msg);
+ }
+
+ @Override
+ public void onError(int arg0, String arg1) {
+ toast("亲, 获取当前用户失败");
+ }
+ });
+
+ }
+
+ public void clickEdit(View v) {
+ Intent toEditMineInfo = new Intent(MineInfoActivity.this, MineInfoEditActivity.class);
+// Bundle bundle = new Bundle();
+// bundle.putString("username", curUser.getUsername());
+// bundle.putString("school", curUser.getSchool());
+// bundle.putString("cademy", curUser.getCademy());
+// bundle.putString("dorpart", curUser.getDorPart());
+// bundle.putString("dornum", curUser.getDorNum());
+// bundle.putString("phone", curUser.getPhone());
+// bundle.putString("qq", curUser.getQQ());
+// toEditMineInfo.putExtras(bundle);
+ startActivity(toEditMineInfo);
+ }
+
+ public void clickBack(View v) {
+ finish();
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineInfoEditActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineInfoEditActivity.java
new file mode 100644
index 0000000..319eeae
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineInfoEditActivity.java
@@ -0,0 +1,145 @@
+package com.stone.shop.view;
+
+import java.util.List;
+
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.BmobUser;
+import cn.bmob.v3.listener.FindListener;
+import cn.bmob.v3.listener.UpdateListener;
+
+import com.stone.date.MessageDef;
+import com.stone.shop.R;
+import com.stone.shop.model.User;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.os.Handler;
+import android.os.Message;
+import android.util.Log;
+import android.view.View;
+import android.widget.EditText;
+import android.widget.Toast;
+
+/**
+ * 修改个人资料卡
+ * @date 2014-5-28
+ * @author Stone
+ */
+public class MineInfoEditActivity extends Activity {
+
+ private EditText etUsername;
+ private EditText etSchool;
+ private EditText etCademy;
+ private EditText etDorPart;
+ private EditText etDorNum;
+ private EditText etPhone;
+ private EditText etQQ;
+
+ private User curUser;
+ private Bundle bundle;
+ private Handler mHandler = new Handler() {
+ @Override
+ public void handleMessage(Message msg) {
+ switch (msg.what) {
+ case MessageDef.MINE_INFO_FINISH_FIND_USER:
+ initView();
+ break;
+ default:
+ break;
+ }
+ }
+ };
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_mine_info_edit);
+
+ setCurUser();
+ }
+
+ private void initView() {
+ etUsername = (EditText) findViewById(R.id.et_mineinfo_username);
+ etSchool = (EditText) findViewById(R.id.et_mineinfo_school);
+ etCademy = (EditText) findViewById(R.id.et_mineinfo_cademy);
+ etDorPart = (EditText) findViewById(R.id.et_mineinfo_dorpart);
+ etDorNum = (EditText) findViewById(R.id.et_mineinfo_dornum);
+ etPhone = (EditText) findViewById(R.id.et_mineinfo_phone);
+ etQQ = (EditText) findViewById(R.id.et_mineinfo_qq);
+
+ etUsername.setText(curUser.getUsername());
+ etSchool.setText(curUser.getSchool());
+ etCademy.setText(curUser.getCademy());
+ etDorPart.setText(curUser.getDorPart());
+ etDorNum.setText(curUser.getDorNum());
+ etPhone.setText(curUser.getPhone());
+ etQQ.setText(curUser.getQQ());
+ }
+
+ private void setCurUser() {
+ BmobUser bmobUser = BmobUser.getCurrentUser(this);
+ BmobQuery query = new BmobQuery();
+ query.addWhereEqualTo("objectId", bmobUser.getObjectId());
+ query.findObjects(this, new FindListener() {
+
+ @Override
+ public void onSuccess(List object) {
+ curUser = object.get(0);
+ //toast("查询到用户 " + object.size());
+ Message msg = new Message();
+ msg.what = MessageDef.MINE_INFO_FINISH_FIND_USER;
+ mHandler.sendMessage(msg);
+ }
+
+ @Override
+ public void onError(int arg0, String arg1) {
+ toast("亲, 获取当前用户失败");
+ }
+ });
+
+ }
+
+ private void saveUserInfo() {
+ if(curUser == null) {
+ toast("curUser为空");
+ } else {
+ toast("当前用户为 " + curUser.getUsername());
+ }
+ Log.i("当前用户的ID: ", curUser.getObjectId());
+ curUser.setUsername(etUsername.getText().toString());
+ curUser.setSchool(etSchool.getText().toString());
+ curUser.setCademy(etCademy.getText().toString());
+ curUser.setDorPart(etDorPart.getText().toString());
+ curUser.setDorNum(etDorNum.getText().toString());
+ curUser.setPhone(etPhone.getText().toString());
+ curUser.setQQ(etQQ.getText().toString());
+ curUser.update(this, curUser.getObjectId(), new UpdateListener() {
+
+ @Override
+ public void onSuccess() {
+ toast("更新成功");
+ }
+
+ @Override
+ public void onFailure(int arg0, String arg1) {
+ toast("更新失败");
+ }
+ });
+ }
+
+ public void clickSave(View v) {
+ saveUserInfo();
+ finish();
+ }
+
+ public void clickCancel(View v) {
+ finish();
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineSoftActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineSoftActivity.java
new file mode 100644
index 0000000..c1960fd
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/MineSoftActivity.java
@@ -0,0 +1,76 @@
+package com.stone.shop.view;
+
+import com.stone.shop.R;
+import com.stone.shop.adapter.MineListAdapter;
+import com.stone.shop.adapter.MineSoftAdapter;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.View;
+import android.widget.AdapterView;
+import android.widget.ListView;
+import android.widget.Toast;
+import android.widget.AdapterView.OnItemClickListener;
+
+/**
+ * 软件相关
+ * @date 2014-5-21
+ * @author Stone
+ */
+public class MineSoftActivity extends Activity implements OnItemClickListener{
+
+
+ private String[] softItemNames = {"意见反馈", "检查更新", "使用协议", "关于我们"};
+ private String[] softItemContents = {"", "", "", ""};
+ private ListView lvMineSoft;
+
+ private MineSoftAdapter softListAdapter;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_soft);
+
+ initView();
+ }
+
+ private void initView() {
+ lvMineSoft = (ListView) findViewById(R.id.lv_mine_soft);
+ softListAdapter = new MineSoftAdapter(this, softItemNames, softItemContents);
+ lvMineSoft.setAdapter(softListAdapter);
+ lvMineSoft.setOnItemClickListener(this);
+ }
+
+ @Override
+ public void onItemClick(AdapterView> parent, View view, int position,
+ long id) {
+ switch (position) {
+ case 0:
+ Intent toFeedBack = new Intent(MineSoftActivity.this, FeedBackActivity.class);
+ startActivity(toFeedBack);
+ break;
+ case 1:
+ toast("已经是最新版本");
+ break;
+ case 2:
+ break;
+ case 3:
+ Intent toAboutSoft = new Intent(MineSoftActivity.this, AboutActivity.class);
+ startActivity(toAboutSoft);
+ break;
+
+ default:
+ break;
+ }
+
+ }
+
+ public void clickSoftBack(View v) {
+ finish();
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/NewsActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/NewsActivity.java
new file mode 100644
index 0000000..2014960
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/NewsActivity.java
@@ -0,0 +1,72 @@
+package com.stone.shop.view;
+
+import com.stone.shop.R;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.widget.TextView;
+
+/**
+ * 新闻内容显示界面
+ * @date 2014-5-8
+ * @author Stone
+ */
+public class NewsActivity extends Activity {
+
+ private static String TAG = "NewsActivity";
+
+ private TextView tvNewsTitle;
+ private TextView tvNewsAuthor;
+ private TextView tvNewsTime;
+ private TextView tvNewsContent;
+
+ private String newsTitle;
+ private String newsAuthor;
+ private String newsTime;
+ private String newsContent;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_news);
+
+ getIntentData();
+ initView();
+ }
+
+ //获取Intent中传入的新闻数据
+ private void getIntentData() {
+ newsTitle = getIntent().getStringExtra("NewsTitle");
+ newsAuthor = getIntent().getStringExtra("NewsAuthor");
+ newsTime = getIntent().getStringExtra("NewsTime");
+ newsContent = getIntent().getStringExtra("NewsContent");
+
+ newsTitle = splitString(newsTitle); //拆分字符串, 将新闻标题设置为 "】" 后面的内容
+ }
+
+ private String splitString(String str) {
+ String[] strs = null;
+ if(str.equals("")){
+ return "";
+ } else if ( !(str.contains("【") || str.contains("】")) ) {
+ return str;
+ }
+ strs = str.split("】");
+ return strs[1];
+ }
+
+ private void initView() {
+ tvNewsTitle = (TextView) findViewById(R.id.tv_news_title);
+ tvNewsAuthor = (TextView) findViewById(R.id.tv_news_author);
+ tvNewsTime = (TextView) findViewById(R.id.tv_news_time);
+ tvNewsContent = (TextView) findViewById(R.id.tv_news_content);
+
+ tvNewsTitle.setText(newsTitle);
+ tvNewsAuthor.setText("作者: "+newsAuthor);
+ tvNewsTime.setText("发布日期 : "+newsTime);
+ tvNewsContent.setText(newsContent);
+ }
+
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/OrderActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/OrderActivity.java
new file mode 100644
index 0000000..017274f
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/OrderActivity.java
@@ -0,0 +1,217 @@
+package com.stone.shop.view;
+
+import java.util.Calendar;
+
+import android.app.Activity;
+import android.app.TimePickerDialog;
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.TextView;
+import android.widget.TimePicker;
+import android.widget.Toast;
+
+import cn.bmob.v3.BmobUser;
+import cn.bmob.v3.listener.InsertListener;
+
+import com.stone.shop.R;
+import com.stone.shop.model.Good;
+import com.stone.shop.model.Order;
+import com.stone.shop.model.Shop;
+import com.stone.ui.DialogOrder;
+import com.stone.util.Util;
+
+/**
+ * 应用主界面
+ * @date 2014-5-13
+ * @author Stone
+ */
+public class OrderActivity extends Activity implements OnClickListener{
+
+ private TextView tvOrderShop; // 店名
+ private TextView tvOrderGood; // 菜名
+ private TextView tvOrderCount; // 数量
+ private TextView tvOrderTime; // 取餐时间
+ private TimePicker tpOrderTime; // 时间选择控件
+ private EditText etOrderPhone; // 联系电话
+ private EditText etOrderWords; // 附加留言
+ private Button btnOrderCountMore; // 增加数量
+ private Button btnOrderCountLess; // 减少数量
+
+ private Button btnOrderSetTime; // 设置时间
+ private Button btnDlgOk; // 设置时间完成
+ private Button btnOrderSubmit; // 提交订单
+
+// private DialogOrder dlgSetOrderTime;
+// private View dlgOrderView;
+ private int mHour;
+ private int mMinute;
+ private String time = "12 : 30";
+ private TimePickerDialog dlgSetOrderTime;
+ private TimePickerDialog.OnTimeSetListener mTimeSetListener =
+ new TimePickerDialog.OnTimeSetListener() {
+
+ public void onTimeSet(TimePicker view, int hourOfDay, int minute) {
+ mHour = hourOfDay;
+ mMinute = minute;
+ updateDisplay();
+ }
+ };
+
+ // 从上级页面中传入的数据
+ private Shop shop; // 当期选择的Shop
+ private Good good; //当前选择的商品
+ private String shopID; // 当前选择的Shop的ID
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_order);
+
+ shop = (Shop) getIntent().getSerializableExtra("shop");
+ good = (Good) getIntent().getSerializableExtra("good");
+ shopID = getIntent().getStringExtra("shopID");
+
+ initView();
+ //initDlgView();
+ }
+
+ private void initView() {
+
+ tvOrderShop = (TextView) findViewById(R.id.tv_order_shop);
+ tvOrderGood = (TextView) findViewById(R.id.tv_order_good);
+ tvOrderCount = (TextView) findViewById(R.id.tv_order_count);
+ tvOrderTime = (TextView) findViewById(R.id.tv_order_time);
+ tvOrderShop.setText(shop.getName());
+ tvOrderGood.setText(good.getName());
+
+
+ etOrderPhone = (EditText) findViewById(R.id.et_order_phone);
+ etOrderWords = (EditText) findViewById(R.id.et_order_words);
+
+ btnOrderCountMore = (Button) findViewById(R.id.btn_order_count_more);
+ btnOrderCountLess = (Button) findViewById(R.id.btn_order_count_less);
+ btnOrderSetTime = (Button) findViewById(R.id.btn_set_time);
+ btnOrderSubmit = (Button) findViewById(R.id.btn_order_submit);
+ btnOrderCountMore.setOnClickListener(this);
+ btnOrderCountLess.setOnClickListener(this);
+ btnOrderSetTime.setOnClickListener(this);
+ btnOrderSubmit.setOnClickListener(this);
+
+ }
+
+// private void initDlgView() {
+// LayoutInflater inflater = LayoutInflater.from(this);
+// dlgOrderView = inflater.inflate(R.layout.dlg_order_settime, null);
+// tpOrderTime = (TimePicker) dlgOrderView.findViewById(R.id.tp_dlg_time);
+// tpOrderTime.setIs24HourView(true);
+// btnDlgOk = (Button) dlgOrderView.findViewById(R.id.btn_dlg_ok);
+// btnDlgOk.setOnClickListener(this);
+// }
+
+ @Override
+ public void onClick(View v) {
+ int count = 1;
+ switch (v.getId()) {
+ case R.id.btn_order_count_more:
+ count = Integer.parseInt(tvOrderCount.getText().toString());
+ if (count == 4) {
+ toast("亲, 每份订单数量不能超过 4 哦");
+ } else {
+ tvOrderCount.setText( (count+1)+"");
+ }
+ break;
+ case R.id.btn_order_count_less:
+ count = Integer.parseInt(tvOrderCount.getText().toString());
+ if (count == 1) {
+ toast("亲, 每份订单数量至少为 1 哦");
+ } else {
+ tvOrderCount.setText( (count-1)+"");
+ }
+ break;
+ case R.id.btn_set_time:
+// dlgSetOrderTime = new DialogOrder(this, R.style.MyDialog);
+// dlgSetOrderTime.show();
+ final Calendar c = Calendar.getInstance();
+ mHour = c.get(Calendar.HOUR_OF_DAY);
+ mMinute = c.get(Calendar.MINUTE);
+ dlgSetOrderTime = new TimePickerDialog(this, mTimeSetListener, mHour, mMinute, true);
+ dlgSetOrderTime.show();
+ break;
+ case R.id.btn_dlg_ok:
+ time = tpOrderTime.getCurrentHour()+ " : " + tpOrderTime.getCurrentMinute();
+ dlgSetOrderTime.dismiss();
+ case R.id.btn_order_submit:
+ //toast("小菜订单提交成功");
+ postOrder();
+ finish();
+ //back();
+ break;
+ default:
+ break;
+ }
+
+ }
+
+ /**
+ * 提交订单数据
+ */
+ private void postOrder() {
+ String count = tvOrderCount.getText().toString();
+ String phone = etOrderPhone.getText().toString();
+ String words = etOrderWords.getText().toString();
+ float price = Integer.parseInt(count)* Float.parseFloat(good.getPrice());
+ if( !Util.isPhoneNumberValid(phone) ) {
+ toast("请输入正确的联系电话, 方便取餐");
+ } else {
+ Order order = new Order();
+ BmobUser user = BmobUser.getCurrentUser(this);
+ order.setUserName(user.getUsername());
+ order.setGoodID(good.getObjectId());
+ order.setGoodName(good.getName());
+ order.setShopID(shop.getObjectId());
+ order.setShopName(shop.getName());
+ order.setCount(count);
+ order.setTime(time);
+ order.setPrice(price+"");
+ order.setPhone(phone);
+ order.setTips(words);
+ order.insertObject(this, new InsertListener() {
+
+ @Override
+ public void onSuccess() {
+ toast("订单提交成功");
+ }
+
+ @Override
+ public void onFailure(String arg0) {
+ toast("订单提交失败");
+ }
+ });
+
+ }
+ }
+
+ private void updateDisplay() {
+ time = mHour + " : " + mMinute;
+ tvOrderTime.setText(time);
+ }
+
+ private void back() {
+ Intent back = new Intent(OrderActivity.this, ShopItemActivity.class);
+ Bundle bundle = new Bundle();
+ bundle.putSerializable("shop", shop );
+ bundle.putString("shopID", shopID); //商铺的ID需要单独传递,否则获取到的是null
+ back.putExtras(bundle);
+ startActivity(back);
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/OrderInfoActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/OrderInfoActivity.java
new file mode 100644
index 0000000..18874f7
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/OrderInfoActivity.java
@@ -0,0 +1,116 @@
+package com.stone.shop.view;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.view.MenuItem;
+import android.view.View;
+import android.widget.AdapterView;
+import android.widget.AdapterView.OnItemLongClickListener;
+import android.widget.ListView;
+import android.widget.PopupMenu;
+import android.widget.Toast;
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.BmobUser;
+import cn.bmob.v3.listener.FindListener;
+
+import com.stone.shop.R;
+import com.stone.shop.adapter.OrderInfoListAdapter;
+import com.stone.shop.model.Order;
+
+/**
+ * 订单详情页面
+ *
+ * @date 2014-5-27
+ * @author Stone
+ */
+public class OrderInfoActivity extends Activity implements OnItemLongClickListener{
+
+ private static final String TAG = "OrderInfoActivity";
+
+ private ListView lvOrderInfo;
+ private OrderInfoListAdapter orderInfoListAdapter;
+ private List orderList = new ArrayList();
+
+ private String type = ""; // now-当前订单 old-历史订单
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_order_info);
+
+ type = getIntent().getStringExtra("type");
+
+ initData();
+ initView();
+ }
+
+ private void initView() {
+ lvOrderInfo = (ListView) findViewById(R.id.lv_order_info);
+ orderInfoListAdapter = new OrderInfoListAdapter(this, orderList);
+ lvOrderInfo.setAdapter(orderInfoListAdapter);
+ lvOrderInfo.setOnItemLongClickListener(this);
+ }
+
+ // 初始化列表菜单中数据
+ public void initData() {
+ // 获取用户
+ BmobUser user = BmobUser.getCurrentUser(this);
+
+ // 获取小菜订单(数量)
+ BmobQuery query = new BmobQuery();
+ query.order("-updatedAt");
+ query.addWhereEqualTo("userName", user.getUsername());
+ if(type.equals("now")) {
+ query.addWhereEqualTo("state", "未取餐");
+ } else if(type.equals("old")) {
+ query.addWhereEqualTo("state", "已取餐");
+ } else {
+ // do nothing
+ }
+ query.findObjects(this, new FindListener() {
+
+ @Override
+ public void onSuccess(List object) {
+ if (object.size() == 0)
+ toast("亲, 您还木有订单哦");
+ orderList = object;
+ // 通知Adapter数据更新
+ orderInfoListAdapter.refresh(orderList);
+ orderInfoListAdapter.notifyDataSetChanged();
+ }
+
+ @Override
+ public void onError(int arg0, String arg1) {
+ toast("查询失败");
+ }
+ });
+
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+ //订单长按响应事件
+ @Override
+ public boolean onItemLongClick(AdapterView> parent, View view,
+ int position, long id) {
+ PopupMenu popup = new PopupMenu(this, lvOrderInfo);
+ popup.getMenuInflater().inflate(R.menu.popup, popup.getMenu());
+
+ popup.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {
+ public boolean onMenuItemClick(MenuItem item) {
+ Toast.makeText(OrderInfoActivity.this, "Clicked popup menu item " + item.getTitle(),
+ Toast.LENGTH_SHORT).show();
+ return true;
+ }
+ });
+
+ popup.show();
+ return false;
+ };
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/RegisterActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/RegisterActivity.java
new file mode 100644
index 0000000..ceed714
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/RegisterActivity.java
@@ -0,0 +1,105 @@
+package com.stone.shop.view;
+
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import com.stone.shop.R;
+import com.stone.shop.model.User;
+import com.stone.util.Util;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.Toast;
+import cn.bmob.v3.listener.InsertListener;
+
+/**
+ * 注册界面
+ *
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class RegisterActivity extends Activity implements OnClickListener {
+
+ private static final String TAG = "RegisterActivity";
+
+ private Button btnReg;
+ private EditText etUsername;
+ private EditText etPassword;
+ private EditText etComfirmPsd;
+ private EditText etPhone;
+
+ private String username = null;
+ private String password = null;
+ private String comfirmPsd = null;
+ private String phone = null;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_reg);
+
+ etUsername = (EditText) findViewById(R.id.et_username);
+ etPassword = (EditText) findViewById(R.id.et_password);
+ etComfirmPsd = (EditText) findViewById(R.id.et_comfirm_psd);
+ etPhone = (EditText) findViewById(R.id.et_phone);
+
+ btnReg = (Button) findViewById(R.id.btn_reg_now);
+ btnReg.setOnClickListener(this);
+ }
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.btn_reg_now:
+ username = etUsername.getText().toString();
+ password = etPassword.getText().toString();
+ comfirmPsd = etComfirmPsd.getText().toString();
+ phone = etPhone.getText().toString();
+ if(!Util.isNetworkConnected(this)) {
+ toast("亲, 木有网络 ( ⊙ o ⊙ ) ");
+ } else if (username.equals("") || password.equals("")
+ || comfirmPsd.equals("") || phone.equals("")) {
+ toast("亲, 不填完整, 小菜不能拿到身份证, ~~~~(>_<)~~~~ ");
+ } else if (!comfirmPsd.equals(password)) {
+ toast("亲, 小菜说你手抖了下, 两次密码输入不一致");
+ } else if(!Util.isPhoneNumberValid(phone)) {
+ toast("亲, 请输入正确的手机号码");
+ }else {
+ // 开始提交注册信息
+ User bu = new User();
+ bu.setUsername(username);
+ bu.setPassword(password);
+ bu.setPhone(phone);
+ bu.signUp(this, new InsertListener() {
+ @Override
+ public void onSuccess() {
+ toast("亲, 小菜拿到身份证了, 一起登陆辽宁号去吧");
+ Intent backLogin = new Intent(RegisterActivity.this,
+ LoginActivity.class);
+ startActivity(backLogin);
+ RegisterActivity.this.finish();
+ }
+
+ @Override
+ public void onFailure(String msg) {
+ toast("亲, 被人捷足先登了, 换个名字吧.");
+ }
+ });
+ }
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ public void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ };
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/ShopActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/ShopActivity.java
new file mode 100644
index 0000000..4721dea
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/ShopActivity.java
@@ -0,0 +1,129 @@
+package com.stone.shop.view;
+
+import com.stone.shop.R;
+import com.stone.shop.adapter.GridAdapter;
+import com.stone.ui.MyGridView;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.util.Log;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.view.animation.Animation;
+import android.view.animation.AnimationUtils;
+import android.widget.AdapterView;
+import android.widget.AdapterView.OnItemClickListener;
+import android.widget.GridView;
+import android.widget.ImageView;
+import android.widget.TextView;
+import android.widget.Toast;
+
+/**
+ * 商品主界面
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class ShopActivity extends Activity implements OnItemClickListener{
+
+ private static final String TAG = "ShopActivity" ;
+
+ private MyGridView gvSchoolClass; //学习小菜
+ private MyGridView gvFoodClass; //吃饭小菜
+ private MyGridView gvGiftClass; //购物小菜
+ private MyGridView gvOutClass; //疯狂小菜
+
+ //private ImageView imgLoc;
+ //private ImageView imgSearch;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ // TODO Auto-generated method stub
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_shop);
+
+ initView();
+ }
+
+ /**
+ * 初始化组件并适配数据
+ */
+ public void initView() {
+ gvFoodClass = (MyGridView) findViewById(R.id.gv_food_class);
+ gvGiftClass = (MyGridView) findViewById(R.id.gv_gift_class);
+ gvOutClass = (MyGridView) findViewById(R.id.gv_out_class);
+ gvSchoolClass = (MyGridView) findViewById(R.id.gv_school_class);
+
+ gvFoodClass.setAdapter(new GridAdapter(this, 0));
+ gvFoodClass.setOnItemClickListener(this);
+
+ gvGiftClass.setAdapter(new GridAdapter(this, 1));
+ gvGiftClass.setOnItemClickListener(this);
+
+ gvOutClass.setAdapter(new GridAdapter(this, 2));
+ gvOutClass.setOnItemClickListener(this);
+
+ gvSchoolClass.setAdapter(new GridAdapter(this, 3));
+ gvSchoolClass.setOnItemClickListener(this);
+
+ }
+
+ @Override
+ public void onItemClick(AdapterView> parent, View view, int position,
+ long id) {
+ Log.i("GridView点击了: ", "position"+position);
+ //toast("点击了: " + position);
+ switch (parent.getId()) {
+
+ //点击 学习小菜 中的子项(1代表第一个GridView, (position+1)代表GridView中第几个元素)
+ case R.id.gv_school_class:
+ //教学类的做特别处理
+ if(position==0) {
+ Intent toBXTActivity = new Intent(ShopActivity.this, BXTActivity.class);
+ startActivity(toBXTActivity);
+ } else {
+ toShopAllActivity( GridAdapter.mSchoolTexts[position], "1"+(position+1) );
+ }
+
+ break;
+ //点击 吃饭小菜 中的子项
+ case R.id.gv_food_class:
+ toShopAllActivity( GridAdapter.mFoodTexts[position], "2"+(position+1) );
+ break;
+ //点击 购物小菜 中的子项
+ case R.id.gv_gift_class:
+ if(position==0) {
+ Intent toBXTActivity = new Intent(ShopActivity.this, BXTActivity.class);
+ startActivity(toBXTActivity);
+ } else {
+ toShopAllActivity( GridAdapter.mGiftTexts[position], "3"+(position+1) );
+ }
+ break;
+ //点击 疯狂小菜 中的子项
+ case R.id.gv_out_class:
+ toShopAllActivity( GridAdapter.mOutTexts[position], "4"+(position+1) );
+ break;
+ default:
+ break;
+ }
+
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ };
+
+ /**
+ *
+ * @param title 父分类标题
+ * @param type
+ */
+ private void toShopAllActivity(String title, String type) {
+ Intent toShopAll = new Intent(ShopActivity.this, ShopAllActivity.class);
+ toShopAll.putExtra("title", title);
+ //当前点击的项的父分类
+ toShopAll.putExtra("type", type);
+ startActivity(toShopAll);
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/ShopAllActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/ShopAllActivity.java
new file mode 100644
index 0000000..81d3e1a
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/ShopAllActivity.java
@@ -0,0 +1,120 @@
+package com.stone.shop.view;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.listener.FindListener;
+
+import com.stone.shop.R;
+import com.stone.shop.adapter.ShopListAdapter;
+import com.stone.shop.model.Shop;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.util.Log;
+import android.view.View;
+import android.widget.AdapterView;
+import android.widget.ListView;
+import android.widget.TextView;
+import android.widget.Toast;
+import android.widget.AdapterView.OnItemClickListener;
+
+/**
+ * 某一分类下的所有店铺页面
+ * @author Stone
+ * @date 2014-4-26
+ */
+public class ShopAllActivity extends Activity implements OnItemClickListener{
+
+ private static final String TAG = "ShopAllActivity" ;
+
+ private TextView tvTitle;
+ private ListView lvShopAllList;
+ private ShopListAdapter shopListAdapter;
+
+ //记录从ShopActivity中传过来的当前点击项的类型
+ private String type;
+ private List shopList = new ArrayList();
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ // TODO Auto-generated method stub
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_shop_all);
+
+ //得到从上级Activity中传入的Type数据
+ type = getIntent().getStringExtra("type");
+
+ //获取商店数据
+ getShopsDate();
+
+ initView();
+
+ }
+
+ public void initView() {
+ //设置标题
+ tvTitle = (TextView) findViewById(R.id.tv_title);
+ tvTitle.setText(getIntent().getStringExtra("title"));
+
+ lvShopAllList = (ListView) findViewById(R.id.lv_shop_all);
+ shopListAdapter = new ShopListAdapter(this, (ArrayList) shopList, type);
+ lvShopAllList.setAdapter(shopListAdapter);
+ lvShopAllList.setOnItemClickListener(this);
+
+ }
+
+ @Override
+ public void onItemClick(AdapterView> parent, View view, int position,
+ long id) {
+ //toast("点击了: " + position);
+ //将当前点击的Shop对象传递给下一个Activity
+ Intent toShopItem = new Intent(ShopAllActivity.this, ShopItemActivity.class);
+ Bundle bundle = new Bundle();
+ bundle.putSerializable("shop", shopList.get(position) );
+ bundle.putString("shopID", shopList.get(position).getObjectId()); //商铺的ID需要单独传递,否则获取到的是null
+ Log.i(TAG, ">>发出>>" + "shopID: "+shopList.get(position).getObjectId()+" shopName: "+shopList.get(position).getName());
+ toShopItem.putExtras(bundle);
+ startActivity(toShopItem);
+ }
+
+ /**
+ * 加载当前分类的所有店铺到ListView中
+ */
+ private void getShopsDate() {
+ BmobQuery query = new BmobQuery();
+ query.order("-updatedAt");
+ Shop shop = new Shop();
+ shop.setType(type);
+ query.addWhereEqualTo("type", shop.getType()); // 查询当前类型的所有店铺
+ query.findObjects(this, new FindListener() {
+
+ @Override
+ public void onSuccess(List object) {
+ //toast("查询成功. 共计" + object.size());
+ if(object.size()==0)
+ toast("亲, 还没开张, 耐心等待吧");
+ shopList = object;
+ // 通知Adapter数据更新
+ shopListAdapter.refresh((ArrayList) shopList);
+ shopListAdapter.notifyDataSetChanged();
+
+ }
+
+ @Override
+ public void onError(int arg0, String msg) {
+ toast("查询失败:"+msg);
+ }
+
+ });
+ }
+
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ };
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/ShopItemActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/ShopItemActivity.java
new file mode 100644
index 0000000..72c3ed0
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/ShopItemActivity.java
@@ -0,0 +1,313 @@
+package com.stone.shop.view;
+
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.graphics.Color;
+import android.os.Bundle;
+import android.support.v4.view.PagerTabStrip;
+import android.support.v4.view.PagerTitleStrip;
+import android.support.v4.view.ViewPager;
+import android.util.Log;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.AdapterView;
+import android.widget.AdapterView.OnItemClickListener;
+import android.widget.Button;
+import android.widget.EditText;
+import android.widget.ImageView;
+import android.widget.LinearLayout;
+import android.widget.ListView;
+import android.widget.TextView;
+import android.widget.Toast;
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.BmobQuery.CachePolicy;
+import cn.bmob.v3.listener.FindListener;
+
+import com.stone.shop.R;
+import com.stone.shop.adapter.GoodsListAdapter;
+import com.stone.shop.adapter.ViewPagerAdapter;
+import com.stone.shop.model.Good;
+import com.stone.shop.model.Shop;
+import com.stone.ui.ViewPagerCompat;
+
+public class ShopItemActivity extends Activity implements OnClickListener, OnItemClickListener{
+
+ private static final String TAG = "ShopItemActivity";
+
+ // ViewPager页
+ private View view1, view2; // 需要滑动的页卡
+ private ViewPagerCompat viewPager; // viewpager
+ private ViewPagerAdapter shopViewPagerAdapter;
+ private PagerTitleStrip pagerTitleStrip; // viewpager的标题
+ private PagerTabStrip pagerTabStrip; // 一个viewpager的指示器,效果就是一个横的粗的下划线
+ private List viewList; // 把需要滑动的页卡添加到这个list中
+ private List titleList; // viewpager的标题
+
+ // 店铺商品列表
+ private ListView lvGoodsList;
+ private GoodsListAdapter goodsListAdapter;
+ private Button btnBuyGood;
+
+ // 店铺简介页中的控件
+ private TextView tvShopName; // 店铺名
+ private TextView tvShopInfo; // 店铺简介
+ private TextView tvShopSale; // 店铺促销信息
+ private TextView tvShopLoc; // 店铺地理位置
+ private TextView tvShopPhone; // 店铺电话
+ private Button btnCommit;
+ private EditText etCommit;
+ private LinearLayout llCommitParent; // 评论父线性布局
+ private LinearLayout llCommitSon; // 评论子线性布局
+ private ImageView imgCall; // 拨打电话
+
+ // UI测试数据
+ private static List goodsList;
+
+ // 从上级页面中传入的数据
+ private Shop shop; // 当期选择的Shop
+ private Good selectGood;
+ private String shopID; // 当前选择的Shop的ID
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_shop_item);
+
+ // 获取到从ShopAllActivity中传递过来的Shop对象
+ shop = (Shop) getIntent().getSerializableExtra("shop");
+ shopID = getIntent().getStringExtra("shopID");
+ Log.i(TAG, "<<收到<<" + "shopID: " + shop.getObjectId() + " shopName: "
+ + shop.getName());
+ Log.i(TAG,
+ "<<收到<<" + "shopID: " + shopID + " shopName: " + shop.getName());
+
+ // 初始化商品页面以及适配数据
+ initGoodsDate();
+ initView();
+
+
+ }
+
+ public void initView() {
+
+ viewPager = (ViewPagerCompat) findViewById(R.id.viewpager);
+ pagerTabStrip = (PagerTabStrip) findViewById(R.id.pagertab);
+ pagerTabStrip.setTabIndicatorColor(Color.argb(255, 255, 127, 39));
+ pagerTabStrip.setDrawFullUnderline(false);
+ pagerTabStrip.setTextSpacing(50);
+ pagerTabStrip.setTextColor(Color.argb(255, 255, 127, 39));
+
+ view1 = LayoutInflater.from(this)
+ .inflate(R.layout.viewpager_menu, null);
+ view2 = LayoutInflater.from(this).inflate(R.layout.viewpager_shopinfo,
+ null);
+
+ initContentView();
+
+ viewList = new ArrayList();// 将要分页显示的View装入数组中
+ viewList.add(view1);
+ viewList.add(view2);
+
+ titleList = new ArrayList();// 每个页面的Title数据
+ titleList.add("商品");
+ titleList.add("店铺简介");
+ shopViewPagerAdapter = new ViewPagerAdapter(viewList, titleList);
+
+ viewPager.setAdapter(shopViewPagerAdapter);
+ viewPager.setCurrentItem(0);
+
+ }
+
+ /**
+ * 获取某一商店的所有商品
+ *
+ * @date 2014-5-1
+ * @autor Stone
+ */
+ public void initGoodsDate() {
+ goodsList = new ArrayList();
+ goodsListAdapter = new GoodsListAdapter(this, goodsList);
+ BmobQuery query = new BmobQuery();
+ query.addWhereEqualTo("shopID", shopID);
+ query.setCachePolicy(CachePolicy.CACHE_ELSE_NETWORK); //
+ // 先从缓存取数据,如果没有,再从网络取。
+ query.setLimit(15); // 限制最多15个结果
+ query.findObjects(this, new FindListener() {
+
+ @Override
+ public void onSuccess(List goods) {
+ // toast("查询商品成功, 共" + goods.size());
+ if (goods.size() == 0) {
+ toast("亲, 该店还没有添加商品哦");
+ }
+ goodsList = goods;
+ goodsListAdapter.refresh(goodsList);
+ goodsListAdapter.notifyDataSetChanged();
+ }
+
+ @Override
+ public void onError(int arg0, String arg1) {
+ toast("查询失败");
+ }
+ });
+
+ }
+
+ public void initContentView() {
+ // 商品列表页
+ lvGoodsList = (ListView) view1.findViewById(R.id.lv_goods_list);
+ lvGoodsList.setAdapter(goodsListAdapter);
+ lvGoodsList.setOnItemClickListener(this);
+
+ // 店铺简介页
+ tvShopName = (TextView) view2.findViewById(R.id.tv_shop_title);
+ tvShopInfo = (TextView) view2.findViewById(R.id.tv_shop_introduce);
+ tvShopSale = (TextView) view2.findViewById(R.id.tv_shop_promotion);
+ tvShopLoc = (TextView) view2.findViewById(R.id.tv_shop_location);
+ tvShopPhone = (TextView) view2.findViewById(R.id.tv_shop_phone);
+ tvShopName.setText(shop.getName()); // 设置店铺名
+ tvShopInfo.setText(shop.getInfo()); // 设置店铺简介
+ tvShopSale.setText(shop.getSale()); // 设置店铺公告
+ tvShopLoc.setText("位置:" + shop.getLocation()); // 设置店铺位置
+ tvShopPhone.setText("电话:" + shop.getPhone()); // 设置店铺联系电话
+
+ btnCommit = (Button) view2.findViewById(R.id.btn_commit);
+ btnCommit.setOnClickListener(this);
+
+ // 获取到评论的布局
+ etCommit = (EditText) view2.findViewById(R.id.et_commit);
+ llCommitParent = (LinearLayout) view2
+ .findViewById(R.id.ll_commit_parent_view);
+ llCommitSon = (LinearLayout) findViewById(R.id.ll_commit_son_view);
+
+ imgCall = (ImageView) view2.findViewById(R.id.img_call);
+ imgCall.setOnClickListener(this);
+
+ }
+
+ /**
+ * 添加一条评论
+ *
+ * @param user
+ * @param content
+ */
+ public void insertCommit(String user, String content) {
+ View view = LayoutInflater.from(this).inflate(R.layout.commit, null);
+ TextView tvUser = (TextView) view.findViewById(R.id.tv_commit_user);
+ TextView tvContent = (TextView) view
+ .findViewById(R.id.tv_commit_content);
+ tvUser.setText(user);
+ tvContent.setText(content);
+ llCommitParent.addView(view);
+ tvUser = null;
+ tvContent = null;
+ }
+
+// public void clickBuyGood(View v) {
+// Intent toOrderActivity = new Intent(ShopItemActivity.this, OrderActivity.class);
+// Bundle bundle = new Bundle();
+// bundle.putSerializable("shop", shop );
+// bundle.putString("shopID", shopID); //商铺的ID需要单独传递,否则获取到的是null
+// toOrderActivity.putExtras(bundle);
+// startActivity(toOrderActivity);
+// //-------------------------------------------------------------------
+// toast("亲, 记得在弹出的对话框中选择数量哦");
+// Animation shake = AnimationUtils.loadAnimation(this, R.anim.shake);
+// lvGoodsList.startAnimation(shake);
+//
+// // 显示订单对话框
+// orderDlg = new DialogOrder(this, R.style.MyDialog);
+// orderDlg.show();
+// // 得到订单对话框的View
+// LayoutInflater factory = LayoutInflater.from(this);
+// dlgOrderView = factory.inflate(R.layout.dlg_order, null);
+// tvOrderCount = (TextView) dlgOrderView
+// .findViewById(R.id.tv_order_count);
+// etOrderPhone = (EditText) dlgOrderView
+// .findViewById(R.id.et_order_phone);
+// etOrderWords = (EditText) dlgOrderView
+// .findViewById(R.id.et_order_phone);
+// ;
+// btnOrderCount = (Button) dlgOrderView
+// .findViewById(R.id.btn_order_count);
+// btnOrderSubmit = (Button) dlgOrderView
+// .findViewById(R.id.btn_order_submit);
+// btnOrderCount.setOnClickListener(this);
+// btnOrderSubmit.setOnClickListener(this);
+// //-------------------------------------------------------------------
+// }
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.btn_commit:
+ if (etCommit.getText().toString().equals("")) {
+ toast("亲,先写一句吧");
+ } else {
+ SimpleDateFormat formatter = new SimpleDateFormat(
+ "yyyy年MM月dd日 HH:mm:ss ");
+ Date curDate = new Date(System.currentTimeMillis());// 获取当前时间
+ String time = formatter.format(curDate);
+ String content = etCommit.getText().toString() + " [ " + time
+ + " ] ";
+ insertCommit("admin" + ":", content);
+ etCommit.setText("");
+ }
+ break;
+
+ case R.id.img_call:
+ toast("亲,店主好懒,木有留下电话,求别戳");
+ break;
+
+ default:
+ break;
+ }
+
+ }
+
+ @Override
+ public void onItemClick(AdapterView> parent, View view, int position,
+ long id) {
+ switch (viewPager.getCurrentItem()) {
+ case 0:
+ toast("选择的商品名称: " + goodsList.get(position).getName());
+ selectGood = goodsList.get(position);
+ toast("点击了购买按钮");
+ Intent toOrderActivity = new Intent(ShopItemActivity.this, OrderActivity.class);
+ Bundle bundle = new Bundle();
+ bundle.putSerializable("shop", shop );
+ bundle.putSerializable("good", selectGood);
+ bundle.putString("shopID", shopID); //商铺的ID需要单独传递,否则获取到的是null
+ toOrderActivity.putExtras(bundle);
+ startActivity(toOrderActivity);
+ //toast("点击了Position " + position);
+// if(view.getId() == R.id.btn_buy_good) {
+// toast("点击了购买按钮");
+// Intent toOrderActivity = new Intent(ShopItemActivity.this, OrderActivity.class);
+// Bundle bundle = new Bundle();
+// bundle.putSerializable("shop", shop );
+// bundle.putSerializable("good", selectGood);
+// bundle.putString("shopID", shopID); //商铺的ID需要单独传递,否则获取到的是null
+// toOrderActivity.putExtras(bundle);
+// startActivity(toOrderActivity);
+// }
+ break;
+ case 1:
+ break;
+ default:
+ break;
+ }
+
+ }
+
+ public void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/UserInfoActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/UserInfoActivity.java
new file mode 100644
index 0000000..738b792
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/UserInfoActivity.java
@@ -0,0 +1,20 @@
+package com.stone.shop.view;
+
+import com.stone.shop.R;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+/**
+ * @date 2014-5-19
+ * @author Stone
+ */
+public class UserInfoActivity extends Activity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_userinfo);
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/WsqActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/WsqActivity.java
new file mode 100644
index 0000000..0b1947e
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/WsqActivity.java
@@ -0,0 +1,60 @@
+package com.stone.shop.view;
+
+import android.app.Activity;
+import android.os.Bundle;
+import android.webkit.WebChromeClient;
+import android.webkit.WebView;
+import android.webkit.WebViewClient;
+import android.widget.Toast;
+
+import com.stone.shop.R;
+
+/**
+ * 购物车主界面
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class WsqActivity extends Activity {
+
+ private static final String TAG = "CarActivity";
+
+ private static final String URL_WSQ = "http://wx.wsq.qq.com/231782938";
+ private WebView wsqWebView;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ // TODO Auto-generated method stub
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_car);
+
+ wsqWebView = (WebView) findViewById(R.id.wv_wsq);
+
+ // -----------------------------------------------------------------
+
+ wsqWebView.getSettings().setJavaScriptEnabled(true); // 设置使用够执行JS脚本
+ //wsqWebView.getSettings().setBuiltInZoomControls(true); // 设置使支持缩放
+ wsqWebView.getSettings().setDefaultFontSize(12);
+ wsqWebView.setWebChromeClient(new WebChromeClient());
+ wsqWebView.setWebViewClient(new WebViewClient() {
+ @Override
+ public boolean shouldOverrideUrlLoading(WebView view,
+ String url) {
+ view.loadUrl(url);// 使用当前WebView处理跳转
+ return true;// true表示此事件在此处被处理,不需要再广播
+ }
+
+ @Override
+ // 转向错误时的处理
+ public void onReceivedError(WebView view, int errorCode,
+ String description, String failingUrl) {
+ Toast.makeText(WsqActivity.this,
+ "Oh no! " + description, Toast.LENGTH_SHORT)
+ .show();
+ }
+ });
+ wsqWebView.loadUrl(URL_WSQ);
+ // ------------------------------------------------
+
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/old/OldAboutActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/old/OldAboutActivity.java
new file mode 100644
index 0000000..64cd483
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/old/OldAboutActivity.java
@@ -0,0 +1,21 @@
+package com.stone.shop.view.old;
+
+import com.stone.shop.R;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+/**
+ * 关于软件
+ * @author Stone
+ */
+public class OldAboutActivity extends Activity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_about);
+ }
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/old/OldMineActivity.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/old/OldMineActivity.java
new file mode 100644
index 0000000..a3ec384
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/shop/view/old/OldMineActivity.java
@@ -0,0 +1,166 @@
+package com.stone.shop.view.old;
+
+import java.util.List;
+
+import javax.security.auth.PrivateCredentialPermission;
+
+import cn.bmob.v3.BmobQuery;
+import cn.bmob.v3.BmobUser;
+import cn.bmob.v3.listener.FindListener;
+
+import com.stone.shop.R;
+import com.stone.shop.model.User;
+import com.stone.shop.view.AboutActivity;
+
+import android.app.Activity;
+import android.content.Intent;
+import android.os.Bundle;
+import android.util.Log;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.view.animation.Animation;
+import android.view.animation.AnimationUtils;
+import android.widget.Button;
+import android.widget.TextView;
+import android.widget.Toast;
+
+/**
+ * 个人中心主界面
+ * @date 2014-4-24
+ * @author Stone
+ */
+public class OldMineActivity extends Activity implements OnClickListener{
+
+ private static final String TAG = "OldMineActivity" ;
+
+ private Button btnAbout;
+ private Button btnContact;
+ private Button btnJoin;
+
+ private TextView tvUserName; //当前用户的用户名
+ private TextView tvSchool; //学校
+ private TextView tvCademy; //学院
+ private TextView tvDorPart; //所在区 西区
+ private TextView tvDorNum; //宿舍楼号 19栋
+
+ private TextView tvMe; //我
+ private TextView tvXiaoCai; //小菜
+ private TextView tvBowl; //饭碗
+ private User user = new User();
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_mine_old);
+
+ BmobUser user = BmobUser.getCurrentUser(this);
+ Log.i(TAG, "BmobUser.userName = " + user.getUsername());
+ getCurUser(user.getUsername());
+
+ initView();
+ }
+
+ public void initView() {
+
+ tvUserName = (TextView) findViewById(R.id.tv_username);
+ tvSchool = (TextView) findViewById(R.id.tv_school);
+ tvCademy = (TextView) findViewById(R.id.tv_cademy);
+ tvDorPart = (TextView) findViewById(R.id.tv_dorPart);
+ tvDorNum = (TextView) findViewById(R.id.tv_dorNum);
+
+ btnAbout = (Button) findViewById(R.id.btn_about);
+ btnContact = (Button) findViewById(R.id.btn_contact);
+ btnJoin = (Button) findViewById(R.id.btn_share);
+
+ tvUserName = (TextView) findViewById(R.id.tv_username);
+ tvMe = (TextView) findViewById(R.id.tv_me);
+ tvXiaoCai = (TextView) findViewById(R.id.tv_xiaocai);
+ tvBowl = (TextView) findViewById(R.id.tv_bowl);
+
+ btnAbout.setOnClickListener(this);
+ btnContact.setOnClickListener(this);
+ btnJoin.setOnClickListener(this);
+
+ tvMe.setOnClickListener(this);
+ tvXiaoCai.setOnClickListener(this);
+ tvBowl.setOnClickListener(this);
+ }
+
+ //获得当前用户User类型
+ public void getCurUser(String username) {
+ BmobQuery query = new BmobQuery();
+ query.addWhereEqualTo("username", username);
+ query.findObjects(this, new FindListener() {
+ @Override
+ public void onSuccess(List object) {
+ if(object.size()==1)
+ user = object.get(0);
+ else
+ user = null;
+ loadData();
+ //toast("查询到:" + object.size());
+ }
+
+ @Override
+ public void onError(int arg0, String arg1) {
+ toast("呜呜, 获取小菜的信息失败了.");
+ }
+ });
+ }
+
+ //加载查询到的用户数据
+ public void loadData() {
+ //toast("加载数据中...");
+ tvUserName.setText(user.getUsername());
+ tvSchool.setText(user.getSchool());
+ tvCademy.setText(user.getCademy());
+ tvDorPart.setText(user.getDorPart());
+ tvDorNum.setText(user.getDorNum());
+ }
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.btn_share:
+ Intent toShare = new Intent(Intent.ACTION_SEND);
+ toShare.setType("text/plain");
+ toShare.putExtra(Intent.EXTRA_SUBJECT, "分享");
+ toShare.putExtra(Intent.EXTRA_TEXT, "校园小菜-HBUT版" +"\n" + "针对湖工大的校园小菜测试版上线了,赶紧下载体验吧"
+ + "http://xiaocai.bmob.cn");
+ startActivity(Intent.createChooser(toShare, "分享到"));
+ break;
+ case R.id.tv_me:
+ startAnim(R.id.tv_me);
+ break;
+ case R.id.tv_xiaocai:
+ startAnim(R.id.tv_xiaocai);
+ break;
+ case R.id.tv_bowl:
+ startAnim(R.id.tv_bowl);
+ break;
+ default:
+ Intent toAbout = new Intent(OldMineActivity.this, AboutActivity.class);
+ startActivity(toAbout);
+ break;
+ }
+ }
+
+ //点击文字动画
+ private void startAnim(int id){
+ Animation scale = AnimationUtils.loadAnimation(this, R.anim.shake);
+ if(id == R.id.tv_me)
+ tvMe.startAnimation(scale);
+ else if(id == R.id.tv_xiaocai)
+ tvXiaoCai.startAnimation(scale);
+ else if(id == R.id.tv_bowl)
+ tvBowl.startAnimation(scale);
+ else { }
+ }
+
+ private void toast(String toast) {
+ Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
+ }
+
+
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/AutoScrollViewPager.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/AutoScrollViewPager.java
new file mode 100644
index 0000000..0d542cd
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/AutoScrollViewPager.java
@@ -0,0 +1,337 @@
+package com.stone.ui;
+
+import java.lang.reflect.Field;
+
+import android.content.Context;
+import android.os.Handler;
+import android.os.Message;
+import android.support.v4.view.PagerAdapter;
+import android.support.v4.view.ViewPager;
+import android.util.AttributeSet;
+import android.view.MotionEvent;
+import android.view.animation.Interpolator;
+
+/**
+ * Auto Scroll View Pager
+ *
+ * Basic Setting and Usage
+ *
{@link #startAutoScroll()} start auto scroll, or {@link #startAutoScroll(int)} start auto scroll delayed
+ *
{@link #stopAutoScroll()} stop auto scroll
+ *
{@link #setInterval(long)} set auto scroll time in milliseconds, default is {@link #DEFAULT_INTERVAL}
+ *
+ *
+ * Advanced Settings and Usage
+ *
{@link #setDirection(int)} set auto scroll direction
+ *
{@link #setCycle(boolean)} set whether automatic cycle when auto scroll reaching the last or first item, default
+ * is true
+ *
{@link #setSlideBorderMode(int)} set how to process when sliding at the last or first item
+ *
{@link #setStopScrollWhenTouch(boolean)} set whether stop auto scroll when touching, default is true
+ *
+ *
+ * @author Trinea 2013-12-30
+ */
+public class AutoScrollViewPager extends ViewPager {
+ public static final int DEFAULT_INTERVAL = 1500;
+
+ public static final int LEFT = 0;
+ public static final int RIGHT = 1;
+
+ /** do nothing when sliding at the last or first item **/
+ public static final int SLIDE_BORDER_MODE_NONE = 0;
+ /** cycle when sliding at the last or first item **/
+ public static final int SLIDE_BORDER_MODE_CYCLE = 1;
+ /** deliver event to parent when sliding at the last or first item **/
+ public static final int SLIDE_BORDER_MODE_TO_PARENT = 2;
+
+ /** auto scroll time in milliseconds, default is {@link #DEFAULT_INTERVAL} **/
+ private long interval = DEFAULT_INTERVAL;
+ /** auto scroll direction, default is {@link #RIGHT} **/
+ private int direction = RIGHT;
+ /** whether automatic cycle when auto scroll reaching the last or first item, default is true **/
+ private boolean isCycle = true;
+ /** whether stop auto scroll when touching, default is true **/
+ private boolean stopScrollWhenTouch = true;
+ /** how to process when sliding at the last or first item, default is {@link #SLIDE_BORDER_MODE_NONE} **/
+ private int slideBorderMode = SLIDE_BORDER_MODE_NONE;
+ /** whether animating when auto scroll at the last or first item **/
+ private boolean isBorderAnimation = true;
+
+ private Handler handler;
+ private boolean isAutoScroll = false;
+ private boolean isStopByTouch = false;
+ private float touchX = 0f, downX = 0f;
+ private CustomDurationScroller scroller = null;
+
+ public static final int SCROLL_WHAT = 0;
+
+ public AutoScrollViewPager(Context paramContext){
+ super(paramContext);
+ init();
+ }
+
+ public AutoScrollViewPager(Context paramContext, AttributeSet paramAttributeSet){
+ super(paramContext, paramAttributeSet);
+ init();
+ }
+
+ private void init() {
+ handler = new MyHandler();
+ setViewPagerScroller();
+ }
+
+ /**
+ * start auto scroll, first scroll delay time is {@link #getInterval()}
+ */
+ public void startAutoScroll() {
+ isAutoScroll = true;
+ sendScrollMessage(interval);
+ }
+
+ /**
+ * start auto scroll
+ *
+ * @param delayTimeInMills first scroll delay time
+ */
+ public void startAutoScroll(int delayTimeInMills) {
+ isAutoScroll = true;
+ sendScrollMessage(delayTimeInMills);
+ }
+
+ /**
+ * stop auto scroll
+ */
+ public void stopAutoScroll() {
+ isAutoScroll = false;
+ handler.removeMessages(SCROLL_WHAT);
+ }
+
+ /**
+ * set the factor by which the duration of sliding animation will change
+ */
+ public void setScrollDurationFactor(double scrollFactor) {
+ scroller.setScrollDurationFactor(scrollFactor);
+ }
+
+ private void sendScrollMessage(long delayTimeInMills) {
+ /** remove messages before, keeps one message is running at most **/
+ handler.removeMessages(SCROLL_WHAT);
+ handler.sendEmptyMessageDelayed(SCROLL_WHAT, delayTimeInMills);
+ }
+
+ /**
+ * set ViewPager scroller to change animation duration when sliding
+ */
+ private void setViewPagerScroller() {
+ try {
+ Field scrollerField = ViewPager.class.getDeclaredField("mScroller");
+ scrollerField.setAccessible(true);
+ Field interpolatorField = ViewPager.class.getDeclaredField("sInterpolator");
+ interpolatorField.setAccessible(true);
+
+ scroller = new CustomDurationScroller(getContext(), (Interpolator)interpolatorField.get(null));
+ scrollerField.set(this, scroller);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * scroll only once
+ */
+ public void scrollOnce() {
+ PagerAdapter adapter = getAdapter();
+ int currentItem = getCurrentItem();
+ int totalCount;
+ if (adapter == null || (totalCount = adapter.getCount()) <= 1) {
+ return;
+ }
+
+ int nextItem = (direction == LEFT) ? --currentItem : ++currentItem;
+ if (nextItem < 0) {
+ if (isCycle) {
+ setCurrentItem(totalCount - 1, isBorderAnimation);
+ }
+ } else if (nextItem == totalCount) {
+ if (isCycle) {
+ setCurrentItem(0, isBorderAnimation);
+ }
+ } else {
+ setCurrentItem(nextItem, true);
+ }
+ }
+
+ /**
+ *
+ * if stopScrollWhenTouch is true
+ *
if event is down, stop auto scroll.
+ *
if event is up, start auto scroll again.
+ *
+ */
+ @Override
+ public boolean onTouchEvent(MotionEvent ev) {
+ if (stopScrollWhenTouch) {
+ if (ev.getAction() == MotionEvent.ACTION_DOWN && isAutoScroll) {
+ isStopByTouch = true;
+ stopAutoScroll();
+ } else if (ev.getAction() == MotionEvent.ACTION_UP && isStopByTouch) {
+ startAutoScroll();
+ }
+ }
+
+ if (slideBorderMode == SLIDE_BORDER_MODE_TO_PARENT || slideBorderMode == SLIDE_BORDER_MODE_CYCLE) {
+ touchX = ev.getX();
+ if (ev.getAction() == MotionEvent.ACTION_DOWN) {
+ downX = touchX;
+ }
+ int currentItem = getCurrentItem();
+ PagerAdapter adapter = getAdapter();
+ int pageCount = adapter == null ? 0 : adapter.getCount();
+ /**
+ * current index is first one and slide to right or current index is last one and slide to left.
+ * if slide border mode is to parent, then requestDisallowInterceptTouchEvent false.
+ * else scroll to last one when current item is first one, scroll to first one when current item is last
+ * one.
+ */
+ if ((currentItem == 0 && downX <= touchX) || (currentItem == pageCount - 1 && downX >= touchX)) {
+ if (slideBorderMode == SLIDE_BORDER_MODE_TO_PARENT) {
+ getParent().requestDisallowInterceptTouchEvent(false);
+ } else {
+ if (pageCount > 1) {
+ setCurrentItem(pageCount - currentItem - 1, isBorderAnimation);
+ }
+ getParent().requestDisallowInterceptTouchEvent(true);
+ }
+ return super.onTouchEvent(ev);
+ }
+ }
+ getParent().requestDisallowInterceptTouchEvent(true);
+ return super.onTouchEvent(ev);
+ }
+
+ private class MyHandler extends Handler {
+
+ @Override
+ public void handleMessage(Message msg) {
+ super.handleMessage(msg);
+
+ switch (msg.what) {
+ case SCROLL_WHAT:
+ scrollOnce();
+ sendScrollMessage(interval);
+ default:
+ break;
+ }
+ }
+ }
+
+ /**
+ * get auto scroll time in milliseconds, default is {@link #DEFAULT_INTERVAL}
+ *
+ * @return the interval
+ */
+ public long getInterval() {
+ return interval;
+ }
+
+ /**
+ * set auto scroll time in milliseconds, default is {@link #DEFAULT_INTERVAL}
+ *
+ * @param interval the interval to set
+ */
+ public void setInterval(long interval) {
+ this.interval = interval;
+ }
+
+ /**
+ * get auto scroll direction
+ *
+ * @return {@link #LEFT} or {@link #RIGHT}, default is {@link #RIGHT}
+ */
+ public int getDirection() {
+ return (direction == LEFT) ? LEFT : RIGHT;
+ }
+
+ /**
+ * set auto scroll direction
+ *
+ * @param direction {@link #LEFT} or {@link #RIGHT}, default is {@link #RIGHT}
+ */
+ public void setDirection(int direction) {
+ this.direction = direction;
+ }
+
+ /**
+ * whether automatic cycle when auto scroll reaching the last or first item, default is true
+ *
+ * @return the isCycle
+ */
+ public boolean isCycle() {
+ return isCycle;
+ }
+
+ /**
+ * set whether automatic cycle when auto scroll reaching the last or first item, default is true
+ *
+ * @param isCycle the isCycle to set
+ */
+ public void setCycle(boolean isCycle) {
+ this.isCycle = isCycle;
+ }
+
+ /**
+ * whether stop auto scroll when touching, default is true
+ *
+ * @return the stopScrollWhenTouch
+ */
+ public boolean isStopScrollWhenTouch() {
+ return stopScrollWhenTouch;
+ }
+
+ /**
+ * set whether stop auto scroll when touching, default is true
+ *
+ * @param stopScrollWhenTouch
+ */
+ public void setStopScrollWhenTouch(boolean stopScrollWhenTouch) {
+ this.stopScrollWhenTouch = stopScrollWhenTouch;
+ }
+
+ /**
+ * get how to process when sliding at the last or first item
+ *
+ * @return the slideBorderMode {@link #SLIDE_BORDER_MODE_NONE}, {@link #SLIDE_BORDER_MODE_TO_PARENT},
+ * {@link #SLIDE_BORDER_MODE_CYCLE}, default is {@link #SLIDE_BORDER_MODE_NONE}
+ */
+ public int getSlideBorderMode() {
+ return slideBorderMode;
+ }
+
+ /**
+ * set how to process when sliding at the last or first item
+ *
+ * @param slideBorderMode {@link #SLIDE_BORDER_MODE_NONE}, {@link #SLIDE_BORDER_MODE_TO_PARENT},
+ * {@link #SLIDE_BORDER_MODE_CYCLE}, default is {@link #SLIDE_BORDER_MODE_NONE}
+ */
+ public void setSlideBorderMode(int slideBorderMode) {
+ this.slideBorderMode = slideBorderMode;
+ }
+
+ /**
+ * whether animating when auto scroll at the last or first item, default is true
+ *
+ * @return
+ */
+ public boolean isBorderAnimation() {
+ return isBorderAnimation;
+ }
+
+ /**
+ * set whether animating when auto scroll at the last or first item, default is true
+ *
+ * @param isBorderAnimation
+ */
+ public void setBorderAnimation(boolean isBorderAnimation) {
+ this.isBorderAnimation = isBorderAnimation;
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/CustomDurationScroller.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/CustomDurationScroller.java
new file mode 100644
index 0000000..6155603
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/CustomDurationScroller.java
@@ -0,0 +1,47 @@
+package com.stone.ui;
+
+import android.content.Context;
+import android.view.animation.Interpolator;
+import android.widget.Scroller;
+
+
+/**
+ * CustomDurationScroller
+ *
+ * @author Trinea 2014-3-2
+ */
+public class CustomDurationScroller extends Scroller {
+ private double scrollFactor = 2;
+
+ public CustomDurationScroller(Context context){
+ super(context);
+ }
+
+ public CustomDurationScroller(Context context, Interpolator interpolator){
+ super(context, interpolator);
+ }
+
+ /**
+ * not exist in android 2.3
+ *
+ * @param context
+ * @param interpolator
+ * @param flywheel
+ */
+ // @SuppressLint("NewApi")
+ // public CustomDurationScroller(Context context, Interpolator interpolator, boolean flywheel){
+ // super(context, interpolator, flywheel);
+ // }
+
+ /**
+ * Set the factor by which the duration will change
+ */
+ public void setScrollDurationFactor(double scrollFactor) {
+ this.scrollFactor = scrollFactor;
+ }
+
+ @Override
+ public void startScroll(int startX, int startY, int dx, int dy, int duration) {
+ super.startScroll(startX, startY, dx, dy, (int)(duration * scrollFactor));
+ }
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/DialogOrder.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/DialogOrder.java
new file mode 100644
index 0000000..efbd9a3
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/DialogOrder.java
@@ -0,0 +1,68 @@
+package com.stone.ui;
+
+import android.app.Dialog;
+import android.content.Context;
+import android.os.Bundle;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.TimePicker;
+
+import com.stone.shop.R;
+
+/**
+ * 对话框订单
+ * @date 2014-5-11
+ * @author Stone
+ */
+public class DialogOrder extends Dialog implements OnClickListener{
+
+ private Context context;
+ private Button btnDlgOk;
+ private TimePicker tpDlgTime;
+ private OrderDialogListener listener;
+
+ public interface OrderDialogListener{
+ public void onClick(View view);
+ }
+
+ public DialogOrder(Context context) {
+ super(context);
+ this.context = context;
+ }
+
+ public DialogOrder(Context context, int theme){
+ super(context, theme);
+ this.context = context;
+ }
+
+ public DialogOrder(Context context, int theme, DialogOrder.OrderDialogListener orderDialogListener){
+ super(context, theme);
+ this.context = context;
+ this.listener = orderDialogListener;
+ }
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ this.setContentView(R.layout.dlg_order_settime);
+ initView();
+ }
+
+ private void initView() {
+ tpDlgTime = (TimePicker) findViewById(R.id.tp_dlg_time);
+ tpDlgTime.setIs24HourView(true);
+ btnDlgOk = (Button) findViewById(R.id.btn_dlg_ok);
+ btnDlgOk.setOnClickListener(this);
+ }
+
+ @Override
+ public void onClick(View v) {
+ listener.onClick(v);
+ }
+
+ public String getTime() {
+ return tpDlgTime.getCurrentHour() + " : " + tpDlgTime.getCurrentMinute();
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/ListScrollView.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/ListScrollView.java
new file mode 100644
index 0000000..a04aaf7
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/ListScrollView.java
@@ -0,0 +1,63 @@
+package com.stone.ui;
+
+import android.content.Context;
+import android.util.AttributeSet;
+import android.view.MotionEvent;
+import android.view.View;
+import android.widget.ListView;
+import android.widget.ScrollView;
+
+public class ListScrollView extends ScrollView {
+
+ private ListView listView;
+
+ public ListScrollView(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ }
+
+ public ListScrollView(Context context) {
+ super(context);
+ }
+
+ /**
+ * 覆写onInterceptTouchEvent方法,点击操作发生在ListView的区域的时候,
+ * 返回false让ScrollView的onTouchEvent接收不到MotionEvent,而是把Event传到下一级的控件中
+ */
+ @Override
+ public boolean onInterceptTouchEvent(MotionEvent ev) {
+ // TODO Auto-generated method stub
+ if (listView != null && checkArea(listView, ev)) {
+ return false;
+ }
+ return super.onInterceptTouchEvent(ev);
+ }
+
+ /**
+ * 测试view是否在点击范围内
+ * @param locate
+ * @param v
+ * @return
+ */
+ private boolean checkArea(View v, MotionEvent event){
+ float x = event.getRawX();
+ float y = event.getRawY();
+ int[] locate = new int[2];
+ v.getLocationOnScreen(locate);
+ int l = locate[0];
+ int r = l + v.getWidth();
+ int t = locate[1];
+ int b = t + v.getHeight();
+ if (l < x && x < r && t < y && y < b) {
+ return true;
+ }
+ return false;
+ }
+
+ public ListView getListView() {
+ return listView;
+ }
+
+ public void setListView(ListView listView) {
+ this.listView = listView;
+ }
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/MyGridView.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/MyGridView.java
new file mode 100644
index 0000000..dbbbf38
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/MyGridView.java
@@ -0,0 +1,32 @@
+package com.stone.ui;
+
+import android.content.Context;
+import android.util.AttributeSet;
+import android.widget.GridView;
+
+/**
+ * 商品详情页--商品分类网格视图
+ * @author Stone
+ */
+public class MyGridView extends GridView {
+
+ public MyGridView(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ }
+
+ public MyGridView(Context context) {
+ super(context);
+ }
+
+ public MyGridView(Context context, AttributeSet attrs, int defStyle) {
+ super(context, attrs, defStyle);
+ }
+
+ @Override
+ public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
+ int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,
+ MeasureSpec.AT_MOST);
+ super.onMeasure(widthMeasureSpec, expandSpec);
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/ViewPagerCompat.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/ViewPagerCompat.java
new file mode 100644
index 0000000..72f36a8
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/ui/ViewPagerCompat.java
@@ -0,0 +1,66 @@
+package com.stone.ui;
+
+import android.content.Context;
+import android.support.v4.view.ViewPager;
+import android.util.AttributeSet;
+import android.view.MotionEvent;
+
+/**
+ * 商铺详情页--ViewPager的加强类,主要是为了解决滑动冲突的问题。不然的话,
+ * 在ViewPager内部加入ListView等可滑动控件,两者之间会产生干扰。
+ * @author Stone
+ * {@link} http://blog.csdn.net/singwhatiwanna/article/details/17201587
+ */
+public class ViewPagerCompat extends ViewPager {
+ // mViewTouchMode表示ViewPager是否全权控制滑动事件,默认为false,即不控制
+ private boolean mViewTouchMode = false;
+
+ public ViewPagerCompat(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ }
+
+ public void setViewTouchMode(boolean b) {
+ if (b && !isFakeDragging()) {
+ // 全权控制滑动事件
+ beginFakeDrag();
+ } else if (!b && isFakeDragging()) {
+ // 终止控制滑动事件
+ endFakeDrag();
+ }
+ mViewTouchMode = b;
+ }
+
+ /**
+ * 在mViewTouchMode为true的时候,ViewPager不拦截点击事件,点击事件将由子View处理
+ */
+ @Override
+ public boolean onInterceptTouchEvent(MotionEvent event) {
+ if (mViewTouchMode) {
+ return false;
+ }
+ return super.onInterceptTouchEvent(event);
+ }
+
+ @Override
+ public boolean onTouchEvent(MotionEvent ev) {
+ try {
+ return super.onTouchEvent(ev);
+ } catch (Exception e) {
+ return false;
+ }
+ }
+
+ /**
+ * 在mViewTouchMode为true或者滑动方向不是左右的时候,ViewPager将放弃控制点击事件,
+ * 这样做有利于在ViewPager中加入ListView等可以滑动的控件,否则两者之间的滑动将会有冲突
+ */
+ @Override
+ public boolean arrowScroll(int direction) {
+ if (mViewTouchMode)
+ return false;
+ if (direction != FOCUS_LEFT && direction != FOCUS_RIGHT)
+ return false;
+ return super.arrowScroll(direction);
+ }
+
+}
diff --git a/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/util/Util.java b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/util/Util.java
new file mode 100644
index 0000000..fc0f3dd
--- /dev/null
+++ b/代码/在这里1.0/src/1.6.3/Shop/src/com/stone/util/Util.java
@@ -0,0 +1,54 @@
+package com.stone.util;
+
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import android.content.Context;
+import android.net.ConnectivityManager;
+import android.net.NetworkInfo;
+
+/**
+ * 工具类
+ *
+ * @date 2014-5-9
+ * @author Stone
+ */
+public class Util {
+
+ /**
+ * 判断电话号码是否有效
+ *
+ * @param phoneNumber
+ * @return true 有效 / false 无效
+ */
+ public static boolean isPhoneNumberValid(String phoneNumber) {
+
+ boolean isValid = false;
+
+ String expression = "((^(13|15|18)[0-9]{9}$)|(^0[1,2]{1}\\d{1}-?\\d{8}$)|(^0[3-9] {1}\\d{2}-?\\d{7,8}$)|(^0[1,2]{1}\\d{1}-?\\d{8}-(\\d{1,4})$)|(^0[3-9]{1}\\d{2}-? \\d{7,8}-(\\d{1,4})$))";
+ CharSequence inputStr = phoneNumber;
+
+ Pattern pattern = Pattern.compile(expression);
+ Matcher matcher = pattern.matcher(inputStr);
+
+ if (matcher.matches()) {
+ isValid = true;
+ }
+ return isValid;
+ }
+
+ // 判断网络是否连接
+ public static boolean isNetworkConnected(Context context) {
+ if (context != null) {
+ ConnectivityManager mConnectivityManager = (ConnectivityManager) context
+ .getSystemService(Context.CONNECTIVITY_SERVICE);
+ NetworkInfo mNetworkInfo = mConnectivityManager
+ .getActiveNetworkInfo();
+ if (mNetworkInfo != null) {
+ return mNetworkInfo.isAvailable();
+ }
+ }
+ return false;
+ }
+
+}