张泽亮 před 3 měsíci
rodič
revize
a80b715841
30 změnil soubory, kde provedl 52 přidání a 7 odebrání
  1. +1
    -1
      .idea/gradle.xml
  2. +1
    -0
      .idea/misc.xml
  3. binární
      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ární
      app/src/debug/res/mipmap-hdpi/ic_launcher_njytj.png
  7. binární
      app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_background.png
  8. binární
      app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_foreground.png
  9. binární
      app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_round.png
  10. binární
      app/src/debug/res/mipmap-mdpi/ic_launcher_njytj.png
  11. binární
      app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_background.png
  12. binární
      app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_foreground.png
  13. binární
      app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_round.png
  14. binární
      app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj.png
  15. binární
      app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_background.png
  16. binární
      app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_foreground.png
  17. binární
      app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_round.png
  18. binární
      app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj.png
  19. binární
      app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_background.png
  20. binární
      app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_foreground.png
  21. binární
      app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_round.png
  22. binární
      app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj.png
  23. binární
      app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj_background.png
  24. binární
      app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj_foreground.png
  25. binární
      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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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ární
app/src/debug/ic_launcher_njytj-playstore.png Zobrazit soubor

Před Za
Šířka: 512  |  Výška: 512  |  Velikost: 68 KiB

+ 5
- 0
app/src/debug/res/mipmap-anydpi-v26/ic_launcher_njytj.xml Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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ární
app/src/debug/res/mipmap-hdpi/ic_launcher_njytj.png Zobrazit soubor

Před Za
Šířka: 72  |  Výška: 72  |  Velikost: 6.5 KiB

binární
app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_background.png Zobrazit soubor

Před Za
Šířka: 162  |  Výška: 162  |  Velikost: 28 KiB

binární
app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_foreground.png Zobrazit soubor

Před Za
Šířka: 162  |  Výška: 162  |  Velikost: 182 B

binární
app/src/debug/res/mipmap-hdpi/ic_launcher_njytj_round.png Zobrazit soubor

Před Za
Šířka: 72  |  Výška: 72  |  Velikost: 7.5 KiB

binární
app/src/debug/res/mipmap-mdpi/ic_launcher_njytj.png Zobrazit soubor

Před Za
Šířka: 48  |  Výška: 48  |  Velikost: 3.8 KiB

binární
app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_background.png Zobrazit soubor

Před Za
Šířka: 108  |  Výška: 108  |  Velikost: 15 KiB

binární
app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_foreground.png Zobrazit soubor

Před Za
Šířka: 108  |  Výška: 108  |  Velikost: 125 B

binární
app/src/debug/res/mipmap-mdpi/ic_launcher_njytj_round.png Zobrazit soubor

Před Za
Šířka: 48  |  Výška: 48  |  Velikost: 4.3 KiB

binární
app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj.png Zobrazit soubor

Před Za
Šířka: 96  |  Výška: 96  |  Velikost: 9.8 KiB

binární
app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_background.png Zobrazit soubor

Před Za
Šířka: 216  |  Výška: 216  |  Velikost: 42 KiB

binární
app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_foreground.png Zobrazit soubor

Před Za
Šířka: 216  |  Výška: 216  |  Velikost: 261 B

binární
app/src/debug/res/mipmap-xhdpi/ic_launcher_njytj_round.png Zobrazit soubor

Před Za
Šířka: 96  |  Výška: 96  |  Velikost: 11 KiB

binární
app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj.png Zobrazit soubor

Před Za
Šířka: 144  |  Výška: 144  |  Velikost: 18 KiB

binární
app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_background.png Zobrazit soubor

Před Za
Šířka: 324  |  Výška: 324  |  Velikost: 60 KiB

binární
app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_foreground.png Zobrazit soubor

Před Za
Šířka: 324  |  Výška: 324  |  Velikost: 487 B

binární
app/src/debug/res/mipmap-xxhdpi/ic_launcher_njytj_round.png Zobrazit soubor

Před Za
Šířka: 144  |  Výška: 144  |  Velikost: 20 KiB

binární
app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj.png Zobrazit soubor

Před Za
Šířka: 192  |  Výška: 192  |  Velikost: 26 KiB

binární
app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj_background.png Zobrazit soubor

Před Za
Šířka: 432  |  Výška: 432  |  Velikost: 32 KiB

binární
app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj_foreground.png Zobrazit soubor

Před Za
Šířka: 432  |  Výška: 432  |  Velikost: 803 B

binární
app/src/debug/res/mipmap-xxxhdpi/ic_launcher_njytj_round.png Zobrazit soubor

Před Za
Šířka: 192  |  Výška: 192  |  Velikost: 29 KiB

+ 11
- 2
app/src/main/AndroidManifest.xml Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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>

Načítá se…
Zrušit
Uložit