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
acbe02e3
Commit
acbe02e3
authored
Apr 20, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
協業参加
parent
761d62a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
57 deletions
+19
-57
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/AcmsClient.java
+15
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
+4
-57
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/client/AcmsClient.java
View file @
acbe02e3
...
...
@@ -785,6 +785,21 @@ public class AcmsClient implements AcmsClientResponseListener {
}
/**
* 協業参加
*
* @param sid
* @param roomId
* @return
* @throws NetworkDisconnectedException
* @throws AcmsException
*/
/*public ArchiveDetailJSON joinCollaboration(String sid, Integer roomId) throws NetworkDisconnectedException, AcmsException {
//HttpResponse response = send(AcmsApis.ApigetArchive, new ArchiveDetailRequestParameters(sid, AcmsApis.ArchiveCmds.getArchiveDetail, archiveId, collaborationDetailId));
//ArchiveDetailJSON json = new ArchiveDetailJSON(response.httpResponseBody);
//return json;
}*/
/**
* 作業報告データ送信
* @param sid
* @param operationId
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
View file @
acbe02e3
...
...
@@ -1257,67 +1257,14 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
@JavascriptInterface
public
void
joinCollaboration
(
String
collaborationType
)
{
collaborationJoinFlg
=
ABookCommConstants
.
FLAG
.
COLLABORATION_JOIN_FLG
.
JOIN
;
switch
(
Integer
.
parseInt
(
collaborationType
))
{
case
0
:
mChatWebView
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
mChatWebView
.
loadUrl
(
VOICE_COLLABORATION_PAGE_URL
);
}
});
break
;
case
2
:
mChatWebView
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
mChatWebView
.
loadUrl
(
PICTURE_COLLABORATION_PAGE_URL
);
}
});
break
;
case
3
:
mChatWebView
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
mChatWebView
.
loadUrl
(
VIDEO_COLLABORATION_PAGE_URL
);
}
});
break
;
default
:
break
;
}
//AcmsClient.getInstance(ABVEnvironment.getInstance().networkAdapter).getArchiveDetail(sid, Integer.parseInt(archiveId), archiveDto.collaborationDetailId);
moveCollaborationScreen
(
Integer
.
parseInt
(
collaborationType
));
}
@JavascriptInterface
public
void
startCollaboration
(
String
collaborationType
)
{
collaborationJoinFlg
=
ABookCommConstants
.
FLAG
.
COLLABORATION_JOIN_FLG
.
CREATE
;
switch
(
Integer
.
parseInt
(
collaborationType
))
{
case
0
:
mChatWebView
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
mChatWebView
.
loadUrl
(
VOICE_COLLABORATION_PAGE_URL
);
}
});
break
;
case
2
:
mChatWebView
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
mChatWebView
.
loadUrl
(
PICTURE_COLLABORATION_PAGE_URL
);
}
});
break
;
case
3
:
mChatWebView
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
mChatWebView
.
loadUrl
(
VIDEO_COLLABORATION_PAGE_URL
);
}
});
break
;
default
:
break
;
}
moveCollaborationScreen
(
Integer
.
parseInt
(
collaborationType
));
}
@JavascriptInterface
...
...
@@ -1377,7 +1324,7 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
return
result
;
}
private
void
moveCollaborationScreen
(
Integer
collaborationType
)
throws
NetworkDisconnectedException
,
AcmsException
{
private
void
moveCollaborationScreen
(
Integer
collaborationType
)
{
switch
(
collaborationType
)
{
case
0
:
mChatWebView
.
post
(
new
Runnable
()
{
...
...
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