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
fa0ee9a8
Commit
fa0ee9a8
authored
Jul 28, 2020
by
yuichiro ogawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
portをURLで直接指定しないよう修正
parent
8d0478fe
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
ABVJE_Launcher_Android/assets/chat/public/js/chat.js
+2
-2
ABVJE_Launcher_Android/assets/chat/public/js/config.js
+1
-2
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
+3
-0
No files found.
ABVJE_Launcher_Android/assets/chat/public/js/chat.js
View file @
fa0ee9a8
const
SERVER_URL
=
CHAT_SERVER_URL
+
':'
+
CHAT_SERVER_PORT
;
const
socket
=
io
(
SERVER_URL
);
const
SERVER_URL
=
CHAT_SERVER_URL
;
const
socket
=
io
(
CHAT_
SERVER_URL
);
// 招待するメンバーを保存する変数
var
globalSelectedUserList
=
new
Array
();
...
...
ABVJE_Launcher_Android/assets/chat/public/js/config.js
View file @
fa0ee9a8
var
CHAT_SERVER_URL
=
"Node Server Address"
;
var
CHAT_SERVER_PORT
=
3000
;
var
CHAT_SERVER_URL
=
"http://abook190.abook.bz"
;
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/ChatWebviewActivity.java
View file @
fa0ee9a8
...
...
@@ -117,6 +117,9 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
mChatWebView
.
getSettings
().
setJavaScriptEnabled
(
true
);
//Javascriptを有効にする。
// mChatWebView.setWebContentsDebuggingEnabled(true);
if
(
Logger
.
isDebugEnabled
())
{
mChatWebView
.
setWebContentsDebuggingEnabled
(
true
);
//デバッグモード(chromeからinspect可)
}
// 最後のチャットのルーム名
String
lastRoomName
=
PreferenceUtil
.
getUserPref
(
getApplicationContext
(),
AppDefType
.
UserPrefKey
.
CHAT_LAST_ROOMNAME
,
""
);
...
...
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