PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
How to save Picture on Ios
How to save Picture on Ios
Started by Nicu, Jan., 25 2017 10:15 AM - 2 replies
Connect yourself…
Nicu
#1
Posted on January, 25 2017 - 10:15 AM
Hello, I use Windev mobile 18
This is not working on IOS
Can anyone tell me how i can use camera to capture picture on IOS?
sPhoto is string
sPhoto = VideoStartApp(viPictureCapture)
IF sPhoto <> "" THEN
Info("Photo saved in the file " + sPhoto)
END
Report
0
0
Titix
#2
Registered member
19 messages
Popularité : +1 (1 vote)
Posted on February, 01 2017 - 9:35 AM
http://doc.windev.com/en-US/…
n
RecordingType is
int
// Let the user choose the type of capture
IF
Dialog
(
"Do you want to save an image or a video?"
, [
"An image"
, ...
"A video"
]
,
1
,
2
,
dlgIconQuestion
) =
1
THEN
n
RecordingType
=
viPictureCapture
ELSE
n
RecordingType
=
viVideoCapture
END
// Starts the application
VideoStartApp
(
n
RecordingType
,
CB_VideoStartApp
)
INTERNAL
Procedure
CB_VideoStartApp
(
s
Path is
string
)
// If the return is an empty string vide (""), an error occurred
IF
s
Path
~
=
""
THEN
Error
(
ErrorInfo
(
)
)
RETURN
END
// Message for end of recording
Info
(
"The file was saved here: "
+
s
Path
)
Report
0
0
Titix
#3
Registered member
19 messages
Popularité : +1 (1 vote)
Posted on February, 01 2017 - 11:50 AM
Hm you use WM18, sorry
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text