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
d0820eb3
Commit
d0820eb3
authored
Jul 22, 2020
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#38977 【Check Android 1.2.300】TEATAライブラリ画面に何も表示されない
parent
7f39d0c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
ABVJE_UI_Android/src/com/theta/network/HttpConnector.java
+10
-7
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/theta/task/ImageListTask.java
+0
-4
No files found.
ABVJE_UI_Android/src/com/theta/network/HttpConnector.java
View file @
d0820eb3
...
...
@@ -293,7 +293,8 @@ public class HttpConnector {
}
}
else
{
input
.
put
(
"name"
,
"camera.listFiles"
);
parameters
.
put
(
"fileType"
,
"image"
);
//THETA SC2の場合、imageのみ取得すると、最新2つの画像ファイル取得できないため、全て取得
parameters
.
put
(
"fileType"
,
"all"
);
parameters
.
put
(
"maxThumbSize"
,
0
);
parameters
.
put
(
"startPosition"
,
startPosition
);
}
...
...
@@ -357,16 +358,19 @@ public class HttpConnector {
//API2.0
if
(
mIsOldApi
)
{
entry
.
getInt
(
"recordTime"
);
imageInfo
.
setFileFormat
(
ImageInfo
.
FILE_FORMAT_CODE_EXIF_MPEG
);
//動画ファイルは保存しない。
continue
;
}
else
{
//API2.1では画像ファイルのみとなるので、FileFormatはJPEG固定
//THETA SC2では「_recordTime」値が画像ファイルでも0が設定されているので、例外発生しない。
entry
.
getInt
(
"_recordTime"
);
imageInfo
.
setFileFormat
(
ImageInfo
.
FILE_FORMAT_CODE_EXIF_JPEG
);
int
recordTime
=
entry
.
getInt
(
"_recordTime"
);
if
(
recordTime
>
0
)
{
//動画ファイルは保存しない。
continue
;
}
}
}
catch
(
JSONException
e
)
{
imageInfo
.
setFileFormat
(
ImageInfo
.
FILE_FORMAT_CODE_EXIF_JPEG
);
//画像ファイルなので何もしない。
}
imageInfos
.
add
(
imageInfo
);
}
}
...
...
@@ -1460,7 +1464,6 @@ public class HttpConnector {
}
}
}
return
exposureCompensation
;
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/theta/task/ImageListTask.java
View file @
d0820eb3
...
...
@@ -55,10 +55,6 @@ public class ImageListTask extends AsyncTask<Void, String, List<ImageRow>> {
ThetaHelper
thetaHelper
=
new
ThetaHelper
(
refActivity
.
get
());
for
(
int
i
=
0
;
i
<
objectSize
;
i
++)
{
ImageInfo
object
=
objects
.
get
(
i
);
//動画ファイルは除外
if
(
object
.
getFileFormat
().
equals
(
ImageInfo
.
FILE_FORMAT_CODE_EXIF_MPEG
))
{
continue
;
}
ImageRow
imageRow
=
new
ImageRow
();
imageRow
.
setFileId
(
object
.
getFileId
());
imageRow
.
setFileSize
(
object
.
getFileSize
());
...
...
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