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
7f81681f
Commit
7f81681f
authored
May 18, 2020
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
スマートフォン全画面表示対応(ステータスバー非表示)
parent
69574aa4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
20 deletions
+36
-20
ABVJE_Launcher_Android/AndroidManifest.xml
+4
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/DeviceImageListActivityDialog.java
+4
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ParentWebViewActivity.java
+28
-19
No files found.
ABVJE_Launcher_Android/AndroidManifest.xml
View file @
7f81681f
...
...
@@ -183,10 +183,13 @@
android:theme=
"@android:style/Theme.NoTitleBar.Fullscreen"
>
</activity>
<activity
android:name=
"jp.agentec.abook.abv.ui.viewer.activity.DeviceImageListActivity"
android:name=
"jp.agentec.abook.abv.ui.viewer.activity.DeviceImageListActivity
Dialog
"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:label=
"DeviceImageListActivity"
android:theme=
"@style/Theme_Contentdetailview"
/>
<activity
android:name=
"jp.agentec.abook.abv.ui.viewer.activity.DeviceImageListActivity"
android:configChanges=
"keyboardHidden|orientation|screenSize"
android:theme=
"@android:style/Theme.NoTitleBar.Fullscreen"
/>
<activity
android:name=
"jp.agentec.abook.abv.ui.home.activity.ABookSettingActivity"
android:theme=
"@android:style/Theme.NoTitleBar"
/>
<activity
android:name=
"jp.agentec.abook.abv.ui.home.activity.ChangePasswordActivity"
android:theme=
"@android:style/Theme.NoTitleBar.Fullscreen"
/>
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/DeviceImageListActivityDialog.java
0 → 100644
View file @
7f81681f
package
jp
.
agentec
.
abook
.
abv
.
ui
.
viewer
.
activity
;
public
class
DeviceImageListActivityDialog
extends
DeviceImageListActivity
{
}
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ParentWebViewActivity.java
View file @
7f81681f
...
...
@@ -95,26 +95,35 @@ public class ParentWebViewActivity extends ABVContentViewActivity {
addSceneButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
addSceneButton
.
setEnabled
(
false
);
//パーミッションチェック
ABookPermissionHelper
helper
=
new
ABookPermissionHelper
(
context
,
Constant
.
ABookPermissionType
.
ReadExternalStorage
,
null
);
if
(
helper
.
checkMultiPermissions
(
true
))
{
//シーン画像選択画面表示
Logger
.
d
(
"test"
);
Intent
intent
=
new
Intent
();
intent
.
putExtra
(
ABookKeys
.
CONTENT_ID
,
contentId
);
intent
.
setClassName
(
getPackageName
(),
DeviceImageListActivity
.
class
.
getName
());
startActivity
(
intent
);
}
else
{
Logger
.
w
(
TAG
,
"ReadExternalStorage checkMultiPermissions false"
);
}
//連続タップ防止
handler
.
postDelayed
(
new
Runnable
()
{
@Override
public
void
run
()
{
addSceneButton
.
setEnabled
(
true
);
//インターネットチェック
if
(
checkNetworkConnected
())
{
addSceneButton
.
setEnabled
(
false
);
//パーミッションチェック
ABookPermissionHelper
helper
=
new
ABookPermissionHelper
(
context
,
Constant
.
ABookPermissionType
.
ReadExternalStorage
,
null
);
if
(
helper
.
checkMultiPermissions
(
true
))
{
//シーン画像選択画面表示
Logger
.
d
(
"test"
);
Intent
intent
=
new
Intent
();
intent
.
putExtra
(
ABookKeys
.
CONTENT_ID
,
contentId
);
String
className
=
DeviceImageListActivity
.
class
.
getName
();
if
(
isNormalSize
()
==
false
)
{
className
+=
"Dialog"
;
}
intent
.
setClassName
(
getPackageName
(),
className
);
startActivity
(
intent
);
}
else
{
Logger
.
w
(
TAG
,
"ReadExternalStorage checkMultiPermissions false"
);
}
},
500
);
//連続タップ防止
handler
.
postDelayed
(
new
Runnable
()
{
@Override
public
void
run
()
{
addSceneButton
.
setEnabled
(
true
);
}
},
500
);
}
}
});
createCheckToolbar
();
...
...
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