评论、点赞、收藏功能完善
This commit is contained in:
parent
d9458b1f6d
commit
f7173bcbd4
@ -5,12 +5,12 @@ plugins {
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdk 31
|
||||
compileSdk 30
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.zjgsu.jianshu"
|
||||
applicationId "edu.whut.jianshu"
|
||||
minSdk 19
|
||||
targetSdkVersion 31
|
||||
targetSdkVersion 30
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
@ -1,20 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="edu.whut.jianshu">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <!-- 监听网络的变化 -->
|
||||
<!-- 网络权限 -->
|
||||
|
||||
<!--获取wifi网络状态的信息 -->
|
||||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" /> <!-- 设备休眠 -->
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
||||
<uses-permission android:name="android.permission.CAMERA" /> <!-- 摄像头 -->
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO" /> <!-- 录音 -->
|
||||
<uses-permission android:name="android.permission.CAMERA" />
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||||
<uses-permission android:name="android.permission.VIBRATE" />
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
@ -24,6 +22,7 @@
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.Jianshu"
|
||||
android:usesCleartextTraffic="true">
|
||||
|
||||
<activity android:name="edu.whut.jianshu.Activity.GoodBookActivity" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.HotBookActivity" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.BookInformationActivity" />
|
||||
@ -33,23 +32,11 @@
|
||||
<activity android:name="edu.whut.jianshu.Activity.PsychologyActivity" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.ManagementActivity" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.PhilosophyActivity" />
|
||||
<!-- <activity android:name=".BookShelfActivity"/>-->
|
||||
<activity android:name="edu.whut.jianshu.Activity.ScienceActivity" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.Author_introductionActivity" />
|
||||
<!-- <activity android:name=".MainActivity"-->
|
||||
<!-- android:exported="true"-->
|
||||
<!-- 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="edu.whut.jianshu.Activity.SendMarkingActivity" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.MainActivity"
|
||||
android:configChanges="orientation|keyboard|keyboardHidden|navigation"
|
||||
/>
|
||||
<activity android:name="edu.whut.jianshu.Activity.MainActivity"
|
||||
android:configChanges="orientation|keyboard|keyboardHidden|navigation" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.RegisterActivity" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.BookShelfActivity" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.Perception_informationActivity" />
|
||||
@ -63,9 +50,18 @@
|
||||
<activity android:name="edu.whut.jianshu.Activity.ReSexActivity" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.ReSignatureActivity" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.AccountManagerActivity" />
|
||||
<activity android:name="edu.whut.jianshu.Activity.ReAddressActivity"/>
|
||||
<activity
|
||||
android:name="edu.whut.jianshu.Activity.LoginActivity"
|
||||
<activity android:name="edu.whut.jianshu.Activity.ReAddressActivity" />
|
||||
<activity android:name="com.bifan.txtreaderlib.ui.HwTxtPlayActivity"
|
||||
android:exported="true"
|
||||
android:theme="@style/HwTxtFullScreen"
|
||||
tools:replace="android:exported">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<data android:mimeType="text/plain" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name="edu.whut.jianshu.Activity.LoginActivity"
|
||||
android:exported="true"
|
||||
android:label="Jianshu">
|
||||
<intent-filter>
|
||||
@ -73,20 +69,8 @@
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.bifan.txtreaderlib.ui.HwTxtPlayActivity"
|
||||
android:exported="true"
|
||||
android:theme="@style/HwTxtFullScreen">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<data android:mimeType="text/plain" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<provider
|
||||
android:name="cn.bmob.v3.util.BmobContentProvider"
|
||||
android:authorities="com.zjgsu.jianshu.BmobContentProvider">
|
||||
</provider>
|
||||
<provider android:name="cn.bmob.v3.util.BmobContentProvider"
|
||||
android:authorities="edu.whut.jianshu.BmobContentProvider"
|
||||
android:exported="false" />
|
||||
</application>
|
||||
|
||||
</manifest>
|
@ -136,6 +136,7 @@ class BookInformationActivity : AppCompatActivity() {
|
||||
if (e == null && bookshelfItems != null && bookshelfItems.isNotEmpty()) {
|
||||
bookinfo_addBook.setImageResource(R.drawable.alreadyin)
|
||||
bookinfo_mess.text="已加入"
|
||||
addBook2.text="已加入"
|
||||
}
|
||||
}
|
||||
})
|
||||
@ -198,6 +199,7 @@ class BookInformationActivity : AppCompatActivity() {
|
||||
if (saveException == null) {
|
||||
bookinfo_addBook.setImageResource(R.drawable.alreadyin)
|
||||
bookinfo_mess.text="已加入"
|
||||
addBook2.text="已加入"
|
||||
Toast.makeText(
|
||||
this@BookInformationActivity,
|
||||
"添加成功",
|
||||
|
BIN
app/src/main/res/drawable/readtime.png
Normal file
BIN
app/src/main/res/drawable/readtime.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 963 B |
@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
|
||||
|
||||
|
||||
android {
|
||||
compileSdkVersion 31
|
||||
compileSdkVersion 30
|
||||
defaultConfig {
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 30
|
||||
|
@ -9,15 +9,16 @@
|
||||
android:label="@string/app_name"
|
||||
android:supportsRtl="true">
|
||||
<activity android:name=".ui.ChatWithGptActivity"></activity>
|
||||
<activity
|
||||
android:name="com.bifan.txtreaderlib.ui.HwTxtPlayActivity"
|
||||
android:theme="@style/HwTxtFullScreen">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<data android:mimeType="text/plain" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<!-- <activity-->
|
||||
<!-- android:name="com.bifan.txtreaderlib.ui.HwTxtPlayActivity"-->
|
||||
<!-- android:exported="true"-->
|
||||
<!-- android:theme="@style/HwTxtFullScreen">-->
|
||||
<!-- <intent-filter>-->
|
||||
<!-- <action android:name="android.intent.action.VIEW" />-->
|
||||
<!-- <category android:name="android.intent.category.DEFAULT" />-->
|
||||
<!-- <data android:mimeType="text/plain" />-->
|
||||
<!-- </intent-filter>-->
|
||||
<!-- </activity>-->
|
||||
</application>
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user