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
b749b752
Commit
b749b752
authored
Jul 27, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'features/1.4.0_lmk' into 'features/1.4.0'
Features/1.4.0 lmk See merge request
!188
parents
4bd6e259
965295c8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
50 additions
and
23 deletions
+50
-23
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/json/content/ContentJSON.java
+1
-0
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookKeys.java
+15
-1
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/OperationDao.java
+2
-2
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
+2
-2
ABVJE_Launcher_Android/assets/check
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVActivity.java
+5
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
+8
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVUIActivity.java
+2
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
+0
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/HomeOperationListHelper.java
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/OperationListHelper.java
+2
-2
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLWebViewActivity.java
+11
-13
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/json/content/ContentJSON.java
View file @
b749b752
...
@@ -51,6 +51,7 @@ public class ContentJSON extends AbstractJSON {
...
@@ -51,6 +51,7 @@ public class ContentJSON extends AbstractJSON {
public
static
final
String
KEY_WIDTH
=
"width"
;
public
static
final
String
KEY_WIDTH
=
"width"
;
public
static
final
String
KEY_BACKGROUND_COLOR
=
"backgroundColor"
;
public
static
final
String
KEY_BACKGROUND_COLOR
=
"backgroundColor"
;
public
static
final
String
KEY_BACKGROUND_ALPHA
=
"backgroundAlpha"
;
public
static
final
String
KEY_BACKGROUND_ALPHA
=
"backgroundAlpha"
;
public
static
final
String
KEY_LIST_TYPE
=
"list"
;
private
JSONArray
mPages
;
private
JSONArray
mPages
;
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/constant/ABookKeys.java
View file @
b749b752
...
@@ -71,6 +71,7 @@ public class ABookKeys {
...
@@ -71,6 +71,7 @@ public class ABookKeys {
public
static
final
String
CMD_SHOW_RELATED_CONTENT
=
"showRelatedContent"
;
public
static
final
String
CMD_SHOW_RELATED_CONTENT
=
"showRelatedContent"
;
public
static
final
String
CMD_PAGE_NUM
=
"pageNum"
;
public
static
final
String
CMD_PAGE_NUM
=
"pageNum"
;
public
static
final
String
CMD_GET_GROUP_TREE_INFO
=
"getGroupTreeInfo"
;
public
static
final
String
CMD_GET_GROUP_TREE_INFO
=
"getGroupTreeInfo"
;
public
static
final
String
CMD_CLOSE_TASK_LIST
=
"closeTaskList"
;
public
static
final
String
GPS_TYPE
=
"gpsType"
;
public
static
final
String
GPS_TYPE
=
"gpsType"
;
public
static
final
String
STATUS_CODE
=
"statusCode"
;
public
static
final
String
STATUS_CODE
=
"statusCode"
;
...
@@ -93,11 +94,12 @@ public class ABookKeys {
...
@@ -93,11 +94,12 @@ public class ABookKeys {
public
static
final
String
GO_COMMUNICATION
=
"goCommunication"
;
public
static
final
String
GO_COMMUNICATION
=
"goCommunication"
;
public
static
final
String
GO_PANORAMA_EDIT
=
"goPanoramaEdit"
;
public
static
final
String
GO_PANORAMA_EDIT
=
"goPanoramaEdit"
;
public
static
final
String
REFRESH_CONTENT
=
"refreshContent"
;
public
static
final
String
REFRESH_CONTENT
=
"refreshContent"
;
public
static
final
String
RESET_SEARCH
=
"resetSearch"
;
public
static
final
String
CHANGE_OPERATION_GROUP_MASTER
=
"changeOperationGroupMaster"
;
public
static
final
String
CHANGE_OPERATION_GROUP_MASTER
=
"changeOperationGroupMaster"
;
}
}
// #32782 指示者テーブル関連削除 start
// #32782 指示者テーブル関連削除 start
btn_pano_edit
// TODO change TASK_DIRECTIONS 削除が必要
// TODO change TASK_DIRECTIONS 削除が必要
// public static final String TASK_DIRECTIONS = "taskReport";
// public static final String TASK_DIRECTIONS = "taskReport";
// public static final String TASK_DIRECTIONS_SUGGEST = "taskReportSuggest";
// public static final String TASK_DIRECTIONS_SUGGEST = "taskReportSuggest";
...
@@ -207,4 +209,16 @@ public class ABookKeys {
...
@@ -207,4 +209,16 @@ public class ABookKeys {
public
static
final
String
PROCESS_LIST
=
"processList"
;
public
static
final
String
PROCESS_LIST
=
"processList"
;
public
static
final
String
MAIL_TO_URL
=
"mailto"
;
public
static
final
String
MAIL_TO_URL
=
"mailto"
;
public
static
class
SCAN_TYPE_VALUE
{
public
static
final
Integer
BARCODE
=
0
;
public
static
final
Integer
RFID
=
1
;
}
public
static
class
SCAN_TYPE_KEY
{
public
static
final
String
BARCODE
=
"BARCODE"
;
public
static
final
String
RFID
=
"RFID"
;
}
public
static
final
String
SCAN_TYPE
=
"scanType"
;
}
}
ABVJE_BL/src/jp/agentec/abook/abv/bl/data/dao/OperationDao.java
View file @
b749b752
...
@@ -279,8 +279,8 @@ public class OperationDao extends AbstractDao {
...
@@ -279,8 +279,8 @@ public class OperationDao extends AbstractDao {
* @param operationSortType
* @param operationSortType
* @return
* @return
*/
*/
public
List
<
OperationDto
>
getOperations
(
String
searchOperationName
,
String
searchStartDateStr
,
String
searchEndDateStr
,
OperationSortingType
operationSortType
)
{
public
List
<
OperationDto
>
getOperations
(
String
searchOperationName
,
String
searchStartDateStr
,
String
searchEndDateStr
,
OperationSortingType
operationSortType
,
int
operationGroupMasterId
)
{
String
sql
=
generateGetOperationQuery
(
searchOperationName
,
searchStartDateStr
,
searchEndDateStr
,
operationSortType
,
null
);
String
sql
=
generateGetOperationQuery
(
searchOperationName
,
searchStartDateStr
,
searchEndDateStr
,
operationSortType
,
Integer
.
valueOf
(
operationGroupMasterId
)
==
0
?
null
:
Integer
.
valueOf
(
operationGroupMasterId
)
);
return
rawQueryGetDtoList
(
sql
,
null
,
OperationDto
.
class
);
return
rawQueryGetDtoList
(
sql
,
null
,
OperationDto
.
class
);
}
}
...
...
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
View file @
b749b752
...
@@ -1329,9 +1329,9 @@ public class OperationLogic extends AbstractLogic {
...
@@ -1329,9 +1329,9 @@ public class OperationLogic extends AbstractLogic {
* @param operationSortingType ソート順
* @param operationSortingType ソート順
* @return 作業リスト
* @return 作業リスト
*/
*/
public
List
<
OperationDto
>
getRefreshOperation
(
String
searchWord
,
String
searchStartDateStr
,
String
searchEndDateStr
,
OperationSortingType
operationSortingType
)
{
public
List
<
OperationDto
>
getRefreshOperation
(
String
searchWord
,
String
searchStartDateStr
,
String
searchEndDateStr
,
OperationSortingType
operationSortingType
,
int
operationGroupMasterId
)
{
List
<
OperationDto
>
operationDtoList
;
List
<
OperationDto
>
operationDtoList
;
operationDtoList
=
mOperationDao
.
getOperations
(
searchWord
,
searchStartDateStr
,
searchEndDateStr
,
operationSortingType
);
operationDtoList
=
mOperationDao
.
getOperations
(
searchWord
,
searchStartDateStr
,
searchEndDateStr
,
operationSortingType
,
operationGroupMasterId
);
for
(
OperationDto
operationDto
:
operationDtoList
)
{
for
(
OperationDto
operationDto
:
operationDtoList
)
{
// 作業送信フラグが存在する場合またはホットスポット更新フラグが存在する場合、needSyncFlgをtrueにセット
// 作業送信フラグが存在する場合またはホットスポット更新フラグが存在する場合、needSyncFlgをtrueにセット
if
(
mTaskReportDao
.
isExistSendTaskData
(
operationDto
.
operationId
)
||
mTaskReportDao
.
isExistUpdateTargetHotSpotTaskData
(
operationDto
.
operationId
))
{
if
(
mTaskReportDao
.
isExistSendTaskData
(
operationDto
.
operationId
)
||
mTaskReportDao
.
isExistUpdateTargetHotSpotTaskData
(
operationDto
.
operationId
))
{
...
...
check
@
bc3a9f61
Subproject commit
0a9dd91eab004d76ae2fec60aae676d3c5058d30
Subproject commit
bc3a9f61ac08d0965b48f1b5e3f1411ed177c244
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVActivity.java
View file @
b749b752
...
@@ -104,7 +104,7 @@ public abstract class ABVActivity extends Activity {
...
@@ -104,7 +104,7 @@ public abstract class ABVActivity extends Activity {
public
static
final
String
URL
=
"url"
;
public
static
final
String
URL
=
"url"
;
public
static
final
String
MESSAGE
=
"message"
;
public
static
final
String
MESSAGE
=
"message"
;
public
static
final
String
PASSWORD
=
"password"
;
public
static
final
String
PASSWORD
=
"password"
;
public
Runnable
mCallBack
;
protected
static
final
int
FP
=
android
.
view
.
ViewGroup
.
LayoutParams
.
MATCH_PARENT
;
protected
static
final
int
FP
=
android
.
view
.
ViewGroup
.
LayoutParams
.
MATCH_PARENT
;
protected
static
final
int
WC
=
android
.
view
.
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
;
protected
static
final
int
WC
=
android
.
view
.
ViewGroup
.
LayoutParams
.
WRAP_CONTENT
;
protected
static
final
int
R_FP
=
ViewGroup
.
LayoutParams
.
MATCH_PARENT
;
protected
static
final
int
R_FP
=
ViewGroup
.
LayoutParams
.
MATCH_PARENT
;
...
@@ -198,6 +198,10 @@ public abstract class ABVActivity extends Activity {
...
@@ -198,6 +198,10 @@ public abstract class ABVActivity extends Activity {
catch
(
Exception
e
)
{
catch
(
Exception
e
)
{
Logger
.
e
(
TAG
,
"_closeProgressPopup error. progressDialogHorizontal error = "
+
e
.
toString
());
Logger
.
e
(
TAG
,
"_closeProgressPopup error. progressDialogHorizontal error = "
+
e
.
toString
());
}
}
if
(
mCallBack
!=
null
)
{
mCallBack
.
run
();
mCallBack
=
null
;
}
}
}
}
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
View file @
b749b752
...
@@ -1125,6 +1125,14 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
...
@@ -1125,6 +1125,14 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
}
else
if
(
mCmd
.
equals
(
ABookKeys
.
CMD_GET_GROUP_TREE_INFO
))
{
}
else
if
(
mCmd
.
equals
(
ABookKeys
.
CMD_GET_GROUP_TREE_INFO
))
{
List
<
JSONObject
>
groups
=
groupLogic
.
getAllGroupsJson
();
List
<
JSONObject
>
groups
=
groupLogic
.
getAllGroupsJson
();
afterABookCheckApi
(
mCmd
,
null
,
0
,
"getAllGroups"
,
groups
.
toString
());
afterABookCheckApi
(
mCmd
,
null
,
0
,
"getAllGroups"
,
groups
.
toString
());
}
else
if
(
mCmd
.
equals
(
ABookKeys
.
CMD_CLOSE_TASK_LIST
))
{
if
(
mXWalkOpenType
==
Constant
.
XWalkOpenType
.
PANO_EDIT
)
{
showConfirmSavePanoEdit
();
}
else
{
// 作業終了する時、作業ID設定して作業一覧で使用するメソットを行う。
putUserPref
(
AppDefType
.
UserPrefKey
.
SYNC_TARGET_OPERATION_ID
,
mOperationId
);
finishActivity
();
// 開いてる画面を閉じる
}
}
}
}
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVUIActivity.java
View file @
b749b752
...
@@ -216,6 +216,8 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity {
...
@@ -216,6 +216,8 @@ public abstract class ABVUIActivity extends ABVAuthenticatedActivity {
stopUpdateAnimation
();
stopUpdateAnimation
();
Logger
.
e
(
TAG
,
"Exception DataRefresh"
,
e
);
Logger
.
e
(
TAG
,
"Exception DataRefresh"
,
e
);
handleErrorMessageToast
(
ErrorCode
.
E107
);
handleErrorMessageToast
(
ErrorCode
.
E107
);
}
finally
{
closeProgressPopup
();
}
}
return
result
;
return
result
;
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
View file @
b749b752
This diff is collapsed.
Click to expand it.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/HomeOperationListHelper.java
View file @
b749b752
...
@@ -22,6 +22,6 @@ public class HomeOperationListHelper extends OperationListHelper {
...
@@ -22,6 +22,6 @@ public class HomeOperationListHelper extends OperationListHelper {
protected
List
<
OperationDto
>
findOperationList
()
throws
Exception
{
protected
List
<
OperationDto
>
findOperationList
()
throws
Exception
{
int
operationSortType
=
mAppActivity
.
getSortCondition
();
int
operationSortType
=
mAppActivity
.
getSortCondition
();
OperationSortingType
operationSortingType
=
OperationSortingType
.
parse
(
operationSortType
);
OperationSortingType
operationSortingType
=
OperationSortingType
.
parse
(
operationSortType
);
return
operationLogic
.
getRefreshOperation
(
mAppActivity
.
mSearchWord
,
mAppActivity
.
mStartDateStr
,
mAppActivity
.
mEndDateStr
,
operationSortingType
);
return
operationLogic
.
getRefreshOperation
(
mAppActivity
.
mSearchWord
,
mAppActivity
.
mStartDateStr
,
mAppActivity
.
mEndDateStr
,
operationSortingType
,
mAppActivity
.
mOperationGroupMasterId
);
}
}
}
}
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/OperationListHelper.java
View file @
b749b752
...
@@ -167,7 +167,7 @@ public abstract class OperationListHelper {
...
@@ -167,7 +167,7 @@ public abstract class OperationListHelper {
@Override
@Override
public
void
onSyncOperation
(
final
OperationDto
operationDto
)
{
public
void
onSyncOperation
(
final
OperationDto
operationDto
)
{
// 同期処理
// 同期処理
mAppActivity
.
startSyncOperation
(
operationDto
,
null
);
mAppActivity
.
startSyncOperation
(
operationDto
);
}
}
});
});
...
@@ -235,7 +235,7 @@ public abstract class OperationListHelper {
...
@@ -235,7 +235,7 @@ public abstract class OperationListHelper {
@Override
@Override
public
void
onSyncOperation
(
final
OperationDto
operationDto
)
{
public
void
onSyncOperation
(
final
OperationDto
operationDto
)
{
// 同期処理
// 同期処理
mAppActivity
.
startSyncOperation
(
operationDto
,
null
);
mAppActivity
.
startSyncOperation
(
operationDto
);
}
}
});
});
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLWebViewActivity.java
View file @
b749b752
...
@@ -123,10 +123,16 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
...
@@ -123,10 +123,16 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
settings
.
setCacheMode
(
WebSettings
.
LOAD_NO_CACHE
);
settings
.
setCacheMode
(
WebSettings
.
LOAD_NO_CACHE
);
// webView.loadDataWithBaseURL("", url2, "text/html", "UTF-8", "");
// webView.loadDataWithBaseURL("", url2, "text/html", "UTF-8", "");
settings
.
setAllowFileAccessFromFileURLs
(
true
);
//Android7利用で警告ダイヤログ表示問題対応
settings
.
setAllowFileAccessFromFileURLs
(
true
);
//Android7利用で警告ダイヤログ表示問題対応
settings
.
setAllowFileAccess
(
true
);
settings
.
setAllowContentAccess
(
true
);
settings
.
setAllowUniversalAccessFromFileURLs
(
true
);
settings
.
setMixedContentMode
(
WebSettings
.
MIXED_CONTENT_ALWAYS_ALLOW
);
final
RelativeLayout
fl
=
(
RelativeLayout
)
findViewById
(
R
.
id
.
frameTopbar
);
final
RelativeLayout
fl
=
(
RelativeLayout
)
findViewById
(
R
.
id
.
frameTopbar
);
fl
.
setVisibility
(
View
.
GONE
);
//fl.setVisibility(View.GONE);
// ***** 戻るボタン
// ***** 戻るボタン
closeButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
closeButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
@Override
...
@@ -400,11 +406,13 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
...
@@ -400,11 +406,13 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
printButtonActivityControl
();
printButtonActivityControl
();
historyListBtn
.
setVisibility
(
View
.
GONE
);
historyListBtn
.
setVisibility
(
View
.
GONE
);
if
(
ContentJSON
.
KEY_LIST_TYPE
.
equals
(
mContentDto
.
contentType
))
{
fl
.
setVisibility
(
View
.
GONE
);
}
if
(
isLinkedContent
)
{
if
(
isLinkedContent
)
{
if
(
ContentJSON
.
KEY_MOVIE_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_MUSIC_TYPE
.
equals
(
mContentDto
.
contentType
)
if
(
ContentJSON
.
KEY_MOVIE_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_MUSIC_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_PANO_IMAGE_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_PANO_MOVIE_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_PANO_IMAGE_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_PANO_MOVIE_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_OBJECTVR_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_OTHER_TYPE
.
equals
(
mContentDto
.
contentType
))
{
||
ContentJSON
.
KEY_OBJECTVR_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_OTHER_TYPE
.
equals
(
mContentDto
.
contentType
))
{
closeButton
.
setBackgroundResource
(
R
.
drawable
.
btn_first_back
);
closeButton
.
setBackgroundResource
(
R
.
drawable
.
btn_first_back
);
btnLinkOriginalBack
.
setVisibility
(
View
.
VISIBLE
);
btnLinkOriginalBack
.
setVisibility
(
View
.
VISIBLE
);
btnWebBack
.
setVisibility
(
View
.
GONE
);
btnWebBack
.
setVisibility
(
View
.
GONE
);
...
@@ -430,6 +438,7 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
...
@@ -430,6 +438,7 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
subMenuBtn
.
setVisibility
(
View
.
GONE
);
subMenuBtn
.
setVisibility
(
View
.
GONE
);
}
}
}
else
{
}
else
{
configureRemote
();
configureRemote
();
}
}
if
(
meetingManager
.
isCollaboration
())
{
if
(
meetingManager
.
isCollaboration
())
{
...
@@ -483,17 +492,6 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
...
@@ -483,17 +492,6 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
}
}
@JavascriptInterface
@JavascriptInterface
public
void
goOperationHome
()
{
if
(
mXWalkOpenType
==
Constant
.
XWalkOpenType
.
PANO_EDIT
)
{
showConfirmSavePanoEdit
();
}
else
{
// 作業終了する時、作業ID設定して作業一覧で使用するメソットを行う。
putUserPref
(
AppDefType
.
UserPrefKey
.
SYNC_TARGET_OPERATION_ID
,
mOperationId
);
finishActivity
();
// 開いてる画面を閉じる
}
}
@JavascriptInterface
public
String
getOperation
()
{
public
String
getOperation
()
{
ArrayList
<
OperationDto
>
operationDtos
=
new
ArrayList
<
OperationDto
>();
ArrayList
<
OperationDto
>
operationDtos
=
new
ArrayList
<
OperationDto
>();
OperationDto
opertaionDto
=
mOperationLogic
.
getOperation
(
mOperationId
);
OperationDto
opertaionDto
=
mOperationLogic
.
getOperation
(
mOperationId
);
...
...
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