Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
6555a586
Commit
6555a586
authored
Sep 29, 2021
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#44660【And】API30対応
parent
e3b526ff
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
35 additions
and
18 deletions
+35
-18
ABVJE_Launcher_Android/build.gradle
+3
-3
ABVJE_Res_Default_Android/build.gradle
+3
-3
ABVJE_UI_Android/build.gradle
+3
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/util/ABVToastUtil.java
+5
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginActivity.java
+5
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/EnqueteWebViewActivity.java
+2
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLWebViewActivity.java
+2
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/OnlineHTMLWebViewActivity.java
+2
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/ActionZoomLayout.java
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/EnqueteLayout.java
+3
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/OperationTaskLayout.java
+2
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/ZoomRelativeLayout.java
+1
-1
xwalk_core_library/build.gradle
+3
-3
No files found.
ABVJE_Launcher_Android/build.gradle
View file @
6555a586
...
...
@@ -17,12 +17,12 @@ dependencies {
}
android
{
compileSdkVersion
29
buildToolsVersion
'
28.0.3
'
compileSdkVersion
30
buildToolsVersion
'
30.0.2
'
defaultConfig
{
minSdkVersion
23
compileSdkVersion
29
targetSdkVersion
30
multiDexEnabled
true
// from gradle.properties
...
...
ABVJE_Res_Default_Android/build.gradle
View file @
6555a586
...
...
@@ -6,12 +6,12 @@ buildscript {
apply
plugin:
'com.android.library'
android
{
compileSdkVersion
26
buildToolsVersion
'
28.0.3
'
compileSdkVersion
30
buildToolsVersion
'
30.0.2
'
defaultConfig
{
minSdkVersion
23
targetSdkVersion
29
targetSdkVersion
30
//abvEnvironments
resValue
(
"string"
,
"acms_address"
,
"${acms_address}"
)
resValue
(
"string"
,
"download_server_address"
,
"${download_server_address}"
)
...
...
ABVJE_UI_Android/build.gradle
View file @
6555a586
...
...
@@ -27,12 +27,12 @@ dependencies {
}
android
{
compileSdkVersion
26
buildToolsVersion
'
28.0.3
'
compileSdkVersion
30
buildToolsVersion
'
30.0.2
'
defaultConfig
{
minSdkVersion
23
targetSdkVersion
29
targetSdkVersion
30
multiDexEnabled
true
}
sourceSets
{
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/util/ABVToastUtil.java
View file @
6555a586
package
jp
.
agentec
.
abook
.
abv
.
ui
.
common
.
util
;
import
android.content.Context
;
import
android.os.Build
;
import
android.os.Handler
;
import
android.view.Gravity
;
import
android.widget.Toast
;
...
...
@@ -43,7 +44,10 @@ public class ABVToastUtil {
}
else
{
sToast
=
Toast
.
makeText
(
context
.
getApplicationContext
(),
text
,
duration
);
}
sToast
.
setGravity
(
gravity
,
0
,
0
);
if
(
Build
.
VERSION
.
SDK_INT
<
Build
.
VERSION_CODES
.
R
)
{
sToast
.
setGravity
(
gravity
,
0
,
0
);
}
sToast
.
show
();
}
});
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginActivity.java
View file @
6555a586
...
...
@@ -42,6 +42,7 @@ import jp.agentec.adf.util.StringUtil;
import
android.content.DialogInterface
;
import
android.content.Intent
;
import
android.content.SharedPreferences.Editor
;
import
android.os.Build
;
import
android.os.Bundle
;
import
android.view.Gravity
;
import
android.view.KeyEvent
;
...
...
@@ -692,7 +693,10 @@ public class LoginActivity extends ABVLoginActivity {
clickCount
++;
if
(
clickCount
>=
10
)
{
Toast
t
=
Toast
.
makeText
(
getApplicationContext
(),
getResources
().
getString
(
R
.
string
.
acms_address
),
Toast
.
LENGTH_LONG
);
t
.
setGravity
(
Gravity
.
TOP
,
0
,
0
);
if
(
Build
.
VERSION
.
SDK_INT
<
Build
.
VERSION_CODES
.
R
)
{
t
.
setGravity
(
Gravity
.
TOP
,
0
,
0
);
}
t
.
show
();
clickCount
=
0
;
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/EnqueteWebViewActivity.java
View file @
6555a586
...
...
@@ -138,6 +138,8 @@ public class EnqueteWebViewActivity extends ABVContentViewActivity {
settings
.
setAppCacheEnabled
(
false
);
settings
.
setCacheMode
(
WebSettings
.
LOAD_NO_CACHE
);
// webView.loadDataWithBaseURL("", url2, "text/html", "UTF-8", "");
//ターゲットバージョン30以上からデフォルトがfalseに設定されている問題対応
settings
.
setAllowFileAccess
(
true
);
final
RelativeLayout
fl
=
(
RelativeLayout
)
findViewById
(
R
.
id
.
frameTopbar
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLWebViewActivity.java
View file @
6555a586
...
...
@@ -128,7 +128,8 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
settings
.
setCacheMode
(
WebSettings
.
LOAD_NO_CACHE
);
// webView.loadDataWithBaseURL("", url2, "text/html", "UTF-8", "");
settings
.
setAllowFileAccessFromFileURLs
(
true
);
//Android7利用で警告ダイヤログ表示問題対応
//ターゲットバージョン30以上からデフォルトがfalseに設定されている問題対応
settings
.
setAllowFileAccess
(
true
);
final
RelativeLayout
fl
=
(
RelativeLayout
)
findViewById
(
R
.
id
.
frameTopbar
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/OnlineHTMLWebViewActivity.java
View file @
6555a586
...
...
@@ -114,6 +114,8 @@ public class OnlineHTMLWebViewActivity extends ABVContentViewActivity {
settings
.
setAppCacheEnabled
(
false
);
settings
.
setCacheMode
(
WebSettings
.
LOAD_NO_CACHE
);
settings
.
setAllowFileAccessFromFileURLs
(
true
);
//Android7利用で警告ダイヤログ表示問題対応
//ターゲットバージョン30以上からデフォルトがfalseに設定されている問題対応
settings
.
setAllowFileAccess
(
true
);
webView
.
setWebViewClient
(
new
WebViewClient
()
{
@Override
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/ActionZoomLayout.java
View file @
6555a586
...
...
@@ -35,7 +35,7 @@ public class ActionZoomLayout extends RelativeLayout {
@Override
protected
void
dispatchDraw
(
Canvas
canvas
)
{
canvas
.
save
(
Canvas
.
ALL_SAVE_FLAG
);
canvas
.
save
();
canvas
.
concat
(
imgMatrix
);
super
.
dispatchDraw
(
canvas
);
canvas
.
restore
();
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/EnqueteLayout.java
View file @
6555a586
...
...
@@ -133,7 +133,9 @@ public class EnqueteLayout extends RelativeLayout {
return
false
;
}
});
//ターゲットバージョン30以上からデフォルトがfalseに設定されている問題対応
mWebView
.
getSettings
().
setAllowFileAccess
(
true
);
mWebView
.
loadUrl
(
htmlPath
);
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/OperationTaskLayout.java
View file @
6555a586
...
...
@@ -96,6 +96,8 @@ public class OperationTaskLayout extends RelativeLayout {
settings
.
setCacheMode
(
WebSettings
.
LOAD_NO_CACHE
);
// mWebView.loadDataWithBaseURL("", url2, "text/html", "UTF-8", "");
settings
.
setAllowFileAccessFromFileURLs
(
true
);
//Android7利用で警告ダイヤログ表示問題対応
//ターゲットバージョン30以上からデフォルトがfalseに設定されている問題対応
settings
.
setAllowFileAccess
(
true
);
mWebView
.
loadUrl
(
linkUrl
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/ZoomRelativeLayout.java
View file @
6555a586
...
...
@@ -179,7 +179,7 @@ public class ZoomRelativeLayout extends RelativeLayout {
@Override
protected
void
dispatchDraw
(
Canvas
canvas
)
{
canvas
.
save
(
Canvas
.
ALL_SAVE_FLAG
);
canvas
.
save
();
if
(!
isOperationPdf
)
{
canvas
.
concat
(
imgMatrix
);
}
...
...
xwalk_core_library/build.gradle
View file @
6555a586
apply
plugin:
'com.android.library'
android
{
compileSdkVersion
26
buildToolsVersion
'
28.0.3
'
compileSdkVersion
30
buildToolsVersion
'
30.0.2
'
defaultConfig
{
minSdkVersion
23
targetSdkVersion
29
targetSdkVersion
30
}
buildTypes
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment