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
f04571a9
Commit
f04571a9
authored
Dec 17, 2019
by
yuichiro ogawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
コメントを修正
parent
f4d4602c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
+3
-9
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
View file @
f04571a9
...
...
@@ -1258,7 +1258,7 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
//SmaPriDriverのアドレス、フォーマット印刷のアクションパスを指定
uriBuilder
.
path
(
"http://localhost:8080/Format/Print"
);
// ContentsProviderはプリンター側の仕
とが
出来ないため、
// ContentsProviderはプリンター側の仕
様上利用
出来ないため、
// ラベル用のフォーマットファイルを外部ストレージにコピーする
String
labelFormatFilePath
=
ABVEnvironment
.
getInstance
().
cacheDirectory
+
"/"
+
contentId
+
"/"
+
ABVEnvironment
.
LabelFormatFileName
;
try
{
...
...
@@ -1266,8 +1266,7 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
}
catch
(
Exception
e
)
{
Logger
.
w
(
TAG
,
"[exportSend]: fail send to /sdcard/"
+
contentId
+
"/"
);
}
//__format_archive_urlパラメータにフォーマットアーカイブファイルのコンテンツプロバイダURLを指定
//String labelFormatPath = ABVEnvironment.getInstance().getTaskPdfDirName(ContentFileExtractor.getInstance().getContentCacheDirWithExtract(operationDto.contentId)) + "/" + ABookKeys.LABEL_FORMAT_NAME;
//__format_archive_urlパラメータに外部ストレージのパスを指定
uriBuilder
.
appendQueryParameter
(
"__format_archive_url"
,
"file:///sdcard/"
+
contentId
+
"/"
+
ABVEnvironment
.
LabelFormatFileName
);
//__format_id_numberパラメータに呼出し番号を指定
...
...
@@ -1275,12 +1274,7 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
//__format_archive_updateパラメータにフォーマット変更時の更新を指示
uriBuilder
.
appendQueryParameter
(
"__format_archive_update"
,
"update"
);
// // ロットNoの成形
// StringBuilder sb;
// sb = new StringBuilder(lotNumberQR);
// sb.insert(7, "-");
// sb.insert(4, "-");
//フォーマットの入力項目にeditTextの入力データを設定
uriBuilder
.
appendQueryParameter
(
Uri
.
encode
(
"itemName"
),
Uri
.
encode
(
itemName
));
uriBuilder
.
appendQueryParameter
(
Uri
.
encode
(
"lotNumber"
),
Uri
.
encode
(
lotNumber
));
...
...
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