GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV Mobile 2024
→
How to save Picture on Ios
How to save Picture on Ios
Iniciado por Nicu, jan., 25 2017 10:15 AM - 2 respostas
Conecte-se…
Nicu
#1
Publicado em janeiro, 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
Denunciar
0
0
Titix
#2
Membro registado
19 mensagems
Popularité : +1 (1 vote)
Publicado em fevereiro, 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
)
Denunciar
0
0
Titix
#3
Membro registado
19 mensagems
Popularité : +1 (1 vote)
Publicado em fevereiro, 01 2017 - 11:50 AM
Hm you use WM18, sorry
Denunciar
0
0
→ Voltar para WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto