Training Mag For most of the examples given in this tutorial yo | Page 2
Calling Mobile Print via Intent (Print)
Intent
Type
Name
Value
Description
Etc.
action
Action
com.sec.print.mobileprint.ac
tion.PRINT
-
Main action to print using Samsung Mobile Print.
Mandatory
Extra
Contents
com.sec.print.mobileprint.ex
tra.CONTENT
Uri
URI object with the file path of Image or Document to
be printed.
Mandatory
com.sec.print.mobileprint.ex
tra.MULTIPLE_CONTENTS
ArrayList
This is only for printing multiple image files. Content
type must be set as “PHOTO”
※ If this value is set, “.extra.CONTENT” value is ignored.
com.sec.print.mobileprint.ex
tra.CONTENT_TYPE
“PHOTO”
The file to be printed is image.
※ Support formats : JPG, BMP, PNG, GIF
“DOCUMENT”
The file to be printed is document.
※ Support formats : PDF, TXT, HWP, DOC, DOCX PPT,
PPTX, XLS, XLSX
“WEBPAGE”
The URL to be printed is Web URL
Web Print path will e followed.
“WEBPAGE_AUTO”
The URL to be printed is Web URL.
Similar to “WEBPAGE” except it skips Web View screen
and moves directly to Preview screen
“PHOTO_PRINT”
PHOTO_PRINT
Options for Photo printing will be enabled.
Ex) ImageSize , Crop
※ Works with only Photos
Content
type
Option
Type
com.sec.print.mobileprint.ex
tra.OPTION_TYPE
“DOCUMENT_PRI
NT”
Job Name
2
com.sec.print.mobileprint.ex
tra.JOB_NAME
Mandatory
(Version 2.00.00 and
above)
Optional
Default:”PHOTO_PRINT”
DOCUMENT_PRINT
Options for Document printing will be enabled.
Ex) N-UP
※ This option can be used with all content types
The name of print job.
Optional