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
e054b7ed
Commit
e054b7ed
authored
Jun 22, 2020
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
THETAプレビュー画面から転送処理をスレッド化
parent
5ffd63b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/theta/ThetaImagePreviewActivity.java
+15
-7
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/theta/ThetaImagePreviewActivity.java
View file @
e054b7ed
...
...
@@ -14,6 +14,7 @@ import com.theta.model.Photo;
import
com.theta.model.RotateInertia
;
import
com.theta.network.ImageData
;
import
jp.agentec.abook.abv.bl.common.CommonExecutor
;
import
jp.agentec.abook.abv.bl.common.constant.ABookKeys
;
import
jp.agentec.abook.abv.bl.common.log.Logger
;
import
jp.agentec.abook.abv.launcher.android.R
;
...
...
@@ -65,13 +66,20 @@ public class ThetaImagePreviewActivity extends ThetaActivity {
@Override
public
void
onClick
(
DialogInterface
dialog
,
int
which
)
{
showProgressPopup
();
if
(
mThetaHelper
.
thetaImageLocalSave
(
mTexture
.
getPhoto
(),
mFileId
))
{
showSimpleAlertDialog
(
R
.
string
.
app_name
,
R
.
string
.
msg_theta_image_send_success
);
isSavedSuccess
=
true
;
}
else
{
showSimpleAlertDialog
(
R
.
string
.
app_name
,
R
.
string
.
msg_theta_image_send_fail
);
}
closeProgressPopup
();
CommonExecutor
.
execute
(
new
Runnable
()
{
//スレッド化
@Override
public
void
run
()
{
if
(
mThetaHelper
.
thetaImageLocalSave
(
mTexture
.
getPhoto
(),
mFileId
))
{
showSimpleAlertDialog
(
R
.
string
.
app_name
,
R
.
string
.
msg_theta_image_send_success
);
isSavedSuccess
=
true
;
}
else
{
showSimpleAlertDialog
(
R
.
string
.
app_name
,
R
.
string
.
msg_theta_image_send_fail
);
}
closeProgressPopup
();
}
});
}
});
}
...
...
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