删除了错误版本。
This commit is contained in:
parent
0aeeb50eb2
commit
06546057a3
Binary file not shown.
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
|
||||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
|
||||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="src" path="gen"/>
|
|
||||||
<classpathentry kind="output" path="bin/classes"/>
|
|
||||||
</classpath>
|
|
|
@ -1,33 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>Shop</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
|
@ -1,2 +0,0 @@
|
||||||
eclipse.preferences.version=1
|
|
||||||
encoding/<project>=UTF-8
|
|
|
@ -1,12 +0,0 @@
|
||||||
eclipse.preferences.version=1
|
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
|
||||||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
|
||||||
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
|
|
|
@ -1,220 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
package="com.stone.shop"
|
|
||||||
android:versionCode="2"
|
|
||||||
android:versionName="Beta 1.5.8" >
|
|
||||||
|
|
||||||
<uses-sdk
|
|
||||||
android:minSdkVersion="8"
|
|
||||||
android:targetSdkVersion="19" />
|
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
||||||
<uses-permission android:name="android.permission.READ_LOGS" />
|
|
||||||
<uses-permission android:name="android.permission.VIBRATE" />
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
||||||
<!-- SDK2.1新增获取用户位置信息 -->
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
|
|
||||||
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.GET_TASKS" />
|
|
||||||
|
|
||||||
<application
|
|
||||||
android:allowBackup="true"
|
|
||||||
android:icon="@drawable/ic_app"
|
|
||||||
android:label="@string/app_name"
|
|
||||||
android:theme="@style/NoTitleBarTheme" >
|
|
||||||
|
|
||||||
<!-- ********************************QQ登陆配置*********************************** -->
|
|
||||||
<!--
|
|
||||||
<activity
|
|
||||||
android:name="com.tencent.connect.common.AssistActivity"
|
|
||||||
android:screenOrientation="portrait"
|
|
||||||
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
|
|
||||||
<activity
|
|
||||||
android:name="com.tencent.tauth.AuthActivity"
|
|
||||||
android:launchMode="singleTask"
|
|
||||||
android:noHistory="true" >
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.VIEW" />
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
|
||||||
<category android:name="android.intent.category.BROWSABLE" />
|
|
||||||
<data android:scheme="tencent101080318" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
-->
|
|
||||||
<!-- ********************************QQ登陆配置*********************************** -->
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.SplashActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.MAIN" />
|
|
||||||
|
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.BaseActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.LoginActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.ClassroomActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.LibraryActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.RegisterActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.ShopActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.ShopAllActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.ShopItemActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.OrderActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.OrderInfoActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.HomeActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.WsqActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.AwardActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MineActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.ReservationActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.LibraryReservationActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MineInfoActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MineInfoEditActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MineSoftActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.FeedBackActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.old.OldMineActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.NewsActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.AboutActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
|
|
||||||
<!-- 教学类 -->
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.BXTActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.BXTNewsActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.InformationActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.InfoContentActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.InfoNewsContentActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MultiScreenActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MultiViewGroup"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MainActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.tencent.tauth.AuthActivity"
|
|
||||||
android:launchMode="singleTask"
|
|
||||||
android:noHistory="true" >
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.VIEW" />
|
|
||||||
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
|
||||||
<category android:name="android.intent.category.BROWSABLE" />
|
|
||||||
|
|
||||||
<data android:scheme="tencent222222" />
|
|
||||||
<!-- 100380359 100381104 222222 -->
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.tencent.connect.common.AssistActivity"
|
|
||||||
android:configChanges="orientation|keyboardHidden"
|
|
||||||
android:screenOrientation="behind"
|
|
||||||
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.EditActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.CommentActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
</application>
|
|
||||||
|
|
||||||
</manifest>
|
|
|
@ -1,220 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
package="com.stone.shop"
|
|
||||||
android:versionCode="2"
|
|
||||||
android:versionName="Beta 1.5.8" >
|
|
||||||
|
|
||||||
<uses-sdk
|
|
||||||
android:minSdkVersion="8"
|
|
||||||
android:targetSdkVersion="19" />
|
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
||||||
<uses-permission android:name="android.permission.READ_LOGS" />
|
|
||||||
<uses-permission android:name="android.permission.VIBRATE" />
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
||||||
<!-- SDK2.1新增获取用户位置信息 -->
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
|
|
||||||
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
|
||||||
<uses-permission android:name="android.permission.GET_TASKS" />
|
|
||||||
|
|
||||||
<application
|
|
||||||
android:allowBackup="true"
|
|
||||||
android:icon="@drawable/ic_app"
|
|
||||||
android:label="@string/app_name"
|
|
||||||
android:theme="@style/NoTitleBarTheme" >
|
|
||||||
|
|
||||||
<!-- ********************************QQ登陆配置*********************************** -->
|
|
||||||
<!--
|
|
||||||
<activity
|
|
||||||
android:name="com.tencent.connect.common.AssistActivity"
|
|
||||||
android:screenOrientation="portrait"
|
|
||||||
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
|
|
||||||
<activity
|
|
||||||
android:name="com.tencent.tauth.AuthActivity"
|
|
||||||
android:launchMode="singleTask"
|
|
||||||
android:noHistory="true" >
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.VIEW" />
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
|
||||||
<category android:name="android.intent.category.BROWSABLE" />
|
|
||||||
<data android:scheme="tencent101080318" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
-->
|
|
||||||
<!-- ********************************QQ登陆配置*********************************** -->
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.SplashActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.MAIN" />
|
|
||||||
|
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.BaseActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.LoginActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.ClassroomActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.LibraryActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.RegisterActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.ShopActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.ShopAllActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.ShopItemActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.OrderActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.OrderInfoActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.HomeActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.WsqActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.AwardActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MineActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.ReservationActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.LibraryReservationActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MineInfoActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MineInfoEditActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MineSoftActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.FeedBackActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.old.OldMineActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.NewsActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.AboutActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
|
|
||||||
<!-- 教学类 -->
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.BXTActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.BXTNewsActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.InformationActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.InfoContentActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.InfoNewsContentActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MultiScreenActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MultiViewGroup"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.MainActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.tencent.tauth.AuthActivity"
|
|
||||||
android:launchMode="singleTask"
|
|
||||||
android:noHistory="true" >
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="android.intent.action.VIEW" />
|
|
||||||
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
|
||||||
<category android:name="android.intent.category.BROWSABLE" />
|
|
||||||
|
|
||||||
<data android:scheme="tencent222222" />
|
|
||||||
<!-- 100380359 100381104 222222 -->
|
|
||||||
</intent-filter>
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.tencent.connect.common.AssistActivity"
|
|
||||||
android:configChanges="orientation|keyboardHidden"
|
|
||||||
android:screenOrientation="behind"
|
|
||||||
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.EditActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
<activity
|
|
||||||
android:name="com.stone.shop.view.CommentActivity"
|
|
||||||
android:label="@string/app_name" >
|
|
||||||
</activity>
|
|
||||||
</application>
|
|
||||||
|
|
||||||
</manifest>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,82 +0,0 @@
|
||||||
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<News> mNewsList = null; // 所选分类下的所有店铺列表
|
|
||||||
|
|
||||||
public NewsListAdapter(Context context, List<News> 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<News> 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,81 +0,0 @@
|
||||||
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.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<News> mNewsList = null; // 所选分类下的所有店铺列表
|
|
||||||
|
|
||||||
public NewsListAdapter(Context context, List<News> 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<News> 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,124 +0,0 @@
|
||||||
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<User> query = new BmobQuery<User>();
|
|
||||||
query.addWhereEqualTo("objectId", bmobUser.getObjectId());
|
|
||||||
query.findObjects(this, new FindListener<User>() {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onSuccess(List<User> 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();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,116 +0,0 @@
|
||||||
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<User> query = new BmobQuery<User>();
|
|
||||||
query.addWhereEqualTo("objectId", bmobUser.getObjectId());
|
|
||||||
query.findObjects(this, new FindListener<User>() {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onSuccess(List<User> 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);
|
|
||||||
|
|
||||||
startActivity(toEditMineInfo);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void clickBack(View v) {
|
|
||||||
finish();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void toast(String toast) {
|
|
||||||
Toast.makeText(this, toast, Toast.LENGTH_SHORT).show();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue