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
0267b544
Commit
0267b544
authored
Apr 13, 2022
by
onuma
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'features/1.4.203_41596' into 'features/1.4.210'
×ボタンをタップした時に、ネイティブで確認ダイアログを表示するように修正した See merge request
!253
parents
5e12ef03
6a7c7630
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
10 deletions
+26
-10
ABVJE_Res_Default_Android/res/values-ja/strings.xml
+2
-0
ABVJE_Res_Default_Android/res/values-ko/strings.xml
+3
-0
ABVJE_Res_Default_Android/res/values/strings.xml
+2
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/CheckOZDViewActivity.java
+16
-7
gradle.properties
+3
-3
No files found.
ABVJE_Res_Default_Android/res/values-ja/strings.xml
View file @
0267b544
...
...
@@ -1508,4 +1508,6 @@
<string
name=
"btn_communication"
>
コミュニケーション
</string>
<string
name=
"btn_setting"
>
設定
</string>
<string
name=
"btn_print"
>
PDF
</string>
<string
name=
"msg_oz_report_cancel"
>
キャンセルした場合入力内容は破棄されます。よろしいですか?
</string>
</resources>
ABVJE_Res_Default_Android/res/values-ko/strings.xml
View file @
0267b544
...
...
@@ -1513,4 +1513,6 @@
<string
name=
"btn_communication"
>
커뮤니케이션
</string>
<string
name=
"btn_setting"
>
설정
</string>
<string
name=
"btn_print"
>
PDF
</string>
<string
name=
"msg_oz_report_cancel"
>
취소할 경우 입력내용은 파기됩니다. 괜찮으시겠습니까?
</string>
</resources>
\ No newline at end of file
ABVJE_Res_Default_Android/res/values/strings.xml
View file @
0267b544
...
...
@@ -1509,4 +1509,6 @@
<string
name=
"btn_communication"
>
Communication
</string>
<string
name=
"btn_setting"
>
Setting
</string>
<string
name=
"btn_print"
>
PDF
</string>
<string
name=
"msg_oz_report_cancel"
>
If you cancel, your input will be discarded. Is it OK?
</string>
</resources>
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/CheckOZDViewActivity.java
View file @
0267b544
package
jp
.
agentec
.
abook
.
abv
.
ui
.
viewer
.
activity
;
import
android.app.AlertDialog
;
import
android.content.Context
;
import
android.content.DialogInterface
;
import
android.content.Intent
;
...
...
@@ -179,13 +180,7 @@ public class CheckOZDViewActivity extends ABVContentViewActivity {
closeButton
.
setOnClickListener
(
new
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
mButtonStatus
=
R
.
id
.
btn_close
;
// HTML側の分岐処理を行うため変数に値を渡す
//#41596 OZの報告入力フォームで☓をタップした際の動作がおかしい
finishActivity
();
doProcess
();
// HTML側に閉じる処理を行う
// if (mProcessKey != null && mPhaseNo != 0) { //連続作業用のOZView画面非表示
// finishActivity();
// }
showCancelConfirmAlert
();
}
});
...
...
@@ -650,6 +645,20 @@ public class CheckOZDViewActivity extends ABVContentViewActivity {
return
true
;
}
/**
* 左上の×ボタンを押したときの処理(ダイアログを表示する)
*/
private
void
showCancelConfirmAlert
()
{
AlertDialogUtil
.
showAlertDialog
(
this
,
getString
(
R
.
string
.
confirm
),
getString
(
R
.
string
.
msg_oz_report_cancel
),
false
,
new
DialogInterface
.
OnClickListener
()
{
@Override
public
void
onClick
(
DialogInterface
dialog
,
int
which
)
{
mButtonStatus
=
R
.
id
.
btn_close
;
finishActivity
();
doProcess
();
// HTML側に閉じる処理を行う
}
});
}
// アラート表示処理
private
void
showSaveConfirmAlert
(
final
int
dialogTitle
,
int
dialogMessage
)
{
ABookAlertDialog
logoutAkert
=
AlertDialogUtil
.
createAlertDialog
(
this
,
dialogTitle
);
...
...
gradle.properties
View file @
0267b544
...
...
@@ -38,8 +38,8 @@ app_versioncode=1
# abvEnvironments.xml
#cms server
acms_address
=
https://ch
eck130
.agentec.jp/acms
download_server_address
=
https://ch
eck130
.agentec.jp/acms
acms_address
=
https://ch
atdev2
.agentec.jp/acms
download_server_address
=
https://ch
atdev2
.agentec.jp/acms
#syncview server
websocket_server_http_url
=
https://check130.agentec.jp/v1
...
...
@@ -108,7 +108,7 @@ repository_fqdn=s.abook.bz
#Login
#0:認証なし, 1:ログインID、パスワード, 2:アカウント文字列、ログインID、パスワード, 3:サイトID、アカウント文字列、ログインID、パスワード4:サイトID、アカウント文字列
login_mode
=
2
login_mode
=
1
#login_modeが0、1の場合のアカウントパス
account_path
=
agtcatalog
...
...
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