张泽亮 pirms 3 mēnešiem
vecāks
revīzija
a80b715841
30 mainītis faili ar 52 papildinājumiem un 7 dzēšanām
  1. +1
    -1
      .idea/gradle.xml
  2. +1
    -0
      .idea/misc.xml
  3. Binārs
      app/src/debug/ic_launcher_njytj-playstore.png
  4. +5
    -0
      app/src/debug/res/mipmap-anydpi-v26/ic_launcher_njytj.xml
  5. +5
    -0
      app/src/debug/res/mipmap-anydpi-v26/ic_launcher_njytj_round.xml
  6. Binārs
      app/src/debug/res/mipmap-hdpi/ic_launcher_njytj.png
  7. Binārs
      app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_background.png
  8. Binārs
      app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_foreground.png
  9. Binārs
      app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_round.png
  10. Binārs
      app/src/debug/res/mipmap-mdpi/ic_launcher_njytj.png
  11. Binārs
      app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_background.png
  12. Binārs
      app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_foreground.png
  13. Binārs
      app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_round.png
  14. Binārs
      app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj.png
  15. Binārs
      app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_background.png
  16. Binārs
      app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_foreground.png
  17. Binārs
      app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_round.png
  18. Binārs
      app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj.png
  19. Binārs
      app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_background.png
  20. Binārs
      app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_foreground.png
  21. Binārs
      app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_round.png
  22. Binārs
      app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj.png
  23. Binārs
      app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj_background.png
  24. Binārs
      app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj_foreground.png
  25. Binārs
      app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj_round.png
  26. +11
    -2
      app/src/main/AndroidManifest.xml
  27. +2
    -1
      app/src/main/java/com/nsgk/ruralWeb/FullscreenActivity.java
  28. +24
    -0
      app/src/main/java/com/nsgk/ruralWeb/Receiver.java
  29. +2
    -2
      app/src/main/res/layout/activity_welcome.xml
  30. +1
    -1
      app/src/main/res/values/strings.xml

+ 1
- 1
.idea/gradle.xml Parādīt failu

@@ -7,7 +7,7 @@
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="$PROJECT_DIR$/../../program/gradle-6.8.1" />
<option name="gradleJvm" value="Android Studio default JDK" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />


+ 1
- 0
.idea/misc.xml Parādīt failu

@@ -24,6 +24,7 @@
</map>
</option>
</component>
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="Android Studio default JDK" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>


Binārs
app/src/debug/ic_launcher_njytj-playstore.png Parādīt failu

Pirms Pēc
Platums: 512  |  Augstums: 512  |  Izmērs: 68 KiB

+ 5
- 0
app/src/debug/res/mipmap-anydpi-v26/ic_launcher_njytj.xml Parādīt failu

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_njytj_background"/>
<foreground android:drawable="@mipmap/ic_launcher_njytj_foreground"/>
</adaptive-icon>

+ 5
- 0
app/src/debug/res/mipmap-anydpi-v26/ic_launcher_njytj_round.xml Parādīt failu

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/ic_launcher_njytj_background"/>
<foreground android:drawable="@mipmap/ic_launcher_njytj_foreground"/>
</adaptive-icon>

Binārs
app/src/debug/res/mipmap-hdpi/ic_launcher_njytj.png Parādīt failu

Pirms Pēc
Platums: 72  |  Augstums: 72  |  Izmērs: 6.5 KiB

Binārs
app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_background.png Parādīt failu

Pirms Pēc
Platums: 162  |  Augstums: 162  |  Izmērs: 28 KiB

Binārs
app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_foreground.png Parādīt failu

Pirms Pēc
Platums: 162  |  Augstums: 162  |  Izmērs: 182 B

Binārs
app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_round.png Parādīt failu

Pirms Pēc
Platums: 72  |  Augstums: 72  |  Izmērs: 7.5 KiB

Binārs
app/src/debug/res/mipmap-mdpi/ic_launcher_njytj.png Parādīt failu

Pirms Pēc
Platums: 48  |  Augstums: 48  |  Izmērs: 3.8 KiB

Binārs
app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_background.png Parādīt failu

Pirms Pēc
Platums: 108  |  Augstums: 108  |  Izmērs: 15 KiB

Binārs
app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_foreground.png Parādīt failu

Pirms Pēc
Platums: 108  |  Augstums: 108  |  Izmērs: 125 B

Binārs
app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_round.png Parādīt failu

Pirms Pēc
Platums: 48  |  Augstums: 48  |  Izmērs: 4.3 KiB

Binārs
app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj.png Parādīt failu

Pirms Pēc
Platums: 96  |  Augstums: 96  |  Izmērs: 9.8 KiB

Binārs
app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_background.png Parādīt failu

Pirms Pēc
Platums: 216  |  Augstums: 216  |  Izmērs: 42 KiB

Binārs
app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_foreground.png Parādīt failu

Pirms Pēc
Platums: 216  |  Augstums: 216  |  Izmērs: 261 B

Binārs
app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_round.png Parādīt failu

Pirms Pēc
Platums: 96  |  Augstums: 96  |  Izmērs: 11 KiB

Binārs
app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj.png Parādīt failu

Pirms Pēc
Platums: 144  |  Augstums: 144  |  Izmērs: 18 KiB

Binārs
app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_background.png Parādīt failu

Pirms Pēc
Platums: 324  |  Augstums: 324  |  Izmērs: 60 KiB

Binārs
app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_foreground.png Parādīt failu

Pirms Pēc
Platums: 324  |  Augstums: 324  |  Izmērs: 487 B

Binārs
app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_round.png Parādīt failu

Pirms Pēc
Platums: 144  |  Augstums: 144  |  Izmērs: 20 KiB

Binārs
app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj.png Parādīt failu

Pirms Pēc
Platums: 192  |  Augstums: 192  |  Izmērs: 26 KiB

Binārs
app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj_background.png Parādīt failu

Pirms Pēc
Platums: 432  |  Augstums: 432  |  Izmērs: 32 KiB

Binārs
app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj_foreground.png Parādīt failu

Pirms Pēc
Platums: 432  |  Augstums: 432  |  Izmērs: 803 B

Binārs
app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj_round.png Parādīt failu

Pirms Pēc
Platums: 192  |  Augstums: 192  |  Izmērs: 29 KiB

+ 11
- 2
app/src/main/AndroidManifest.xml Parādīt failu

@@ -15,13 +15,14 @@
<!--AgentWeb 是默认允许定位的 ,如果你需要该功能 , 请在你的 AndroidManifest 文件里面加入如下权限 。-->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

<!-- android:icon 、 android:roundIcon 是APP显示图标-->
<application
android:requestLegacyExternalStorage="true"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher_cqjy"
android:roundIcon="@mipmap/ic_launcher_cqjy_round"
android:icon="@mipmap/ic_launcher_yhzl"
android:roundIcon="@mipmap/ic_launcher_yhzl_round"
android:label="@string/app_name"
android:supportsRtl="true"
android:usesCleartextTraffic="true"
@@ -40,6 +41,14 @@
<activity
android:name=".FullscreenActivity"
android:configChanges="orientation|keyboardHidden|screenSize|layoutDirection|uiMode" />

<!--开机广播接受者
<receiver android:name=".Receiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
-->
</application>

</manifest>

+ 2
- 1
app/src/main/java/com/nsgk/ruralWeb/FullscreenActivity.java Parādīt failu

@@ -43,7 +43,7 @@ public class FullscreenActivity extends AppCompatActivity {
.interceptUnkownUrl() //拦截找不到相关页面的Url AgentWeb 3.0.0 加入。
.createAgentWeb()//创建AgentWeb。
.ready()//设置 WebSettings。
.go("http://218.59.175.43:84/index"); //WebView载入该url地址的页面并显示。
.go("http://218.59.175.43:71/yinnongLogin"); //WebView载入该url地址的页面并显示。

/* 上边url是各个APP项目的入口地址
事项审批 http://116.255.223.226:82/yinnongLogin 图标 ic_launcher_sxsp 或者 ic_launcher_yhzl
@@ -56,6 +56,7 @@ public class FullscreenActivity extends AppCompatActivity {
两清三化 http://116.255.223.226:89/homestead/login 图标 ic_launcher_2q3h
网上家园(废) http://116.255.223.226:82/onlineHomeLogin 图标 ic_launcher_white
确权调查 http://116.255.223.226:82/contracted/login 图标 ic_launcher_qqdc
一体机 http://47.98.113.57:81 图标 ic_launcher_njytj
*/

}


+ 24
- 0
app/src/main/java/com/nsgk/ruralWeb/Receiver.java Parādīt failu

@@ -0,0 +1,24 @@
package com.nsgk.ruralWeb;


import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class Receiver extends BroadcastReceiver {

@Override
public void onReceive(Context context, Intent intent) {

//Log.e("broadCastReceiver","onReceiver...");

try {
Intent mBootIntent = new Intent(context, FullscreenActivity.class);
// 下面这句话必须加上才能开机自动运行app的界面
mBootIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(mBootIntent);
} catch (Exception e) {
e.printStackTrace();
}
}
}

+ 2
- 2
app/src/main/res/layout/activity_welcome.xml Parādīt failu

@@ -36,7 +36,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:text="Copyright © 2020 NSGK All Rights Reserved." />
android:text="Copyright © 2024 ZNRX All Rights Reserved." />

<TextView
android:layout_width="match_parent"
@@ -44,7 +44,7 @@
android:layout_gravity="center"
android:gravity="center"
android:textStyle="bold"
android:text="北京农燊高科信息技术有限公司" />
android:text="中农融信(北京)科技股份有限公司" />

</LinearLayout>


+ 1
- 1
app/src/main/res/values/strings.xml Parādīt failu

@@ -1,6 +1,6 @@
<resources>
<!--下边是APP安装后的显示名称文字-->
<string name="app_name">产权交易</string>
<string name="app_name">银农直连</string>
<string name="dummy_button">Dummy Button</string>
<string name="dummy_content">DUMMY\nCONTENT</string>
</resources>

Notiek ielāde…
Atcelt
Saglabāt