PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 28
→
Agregar API's a Windev Mobile
Agregar API's a Windev Mobile
Started by Robles Luis, Oct., 31 2017 7:28 PM - 1 reply
Connect yourself…
Robles Luis
#1
Registered member
3 messages
Posted on October, 31 2017 - 7:28 PM
¿Es posible agregar una API a Windev Mobile?
Intento agregar la API android-vision-master de google para Android para el reconocimiento de textos y rostros para validaciones de un proyecto, alguien me puede apoyar con el procedimiento para poder agregar dicha API al proyecto?
Message modified, October, 31 2017 - 7:29 PM
Report
0
0
Rubén Sánchez Peña
#2
Registered member
794 messages
Popularité : +40 (42 votes)
Posted on November, 03 2017 - 5:48 PM
Hola, por supuesto puedes hacerlo, aunque debes tener en cuenta al hacerlo que las funciones Java que crees y que deban ser llamadas desde WM deben ser "public static", con las limitaciones que ello conlleva: no puedes crear multiples objetos, no puedes llamarlo desde diferente partes del código a la vez, etc.
Mi consejo es que simplifiques al máximo el código que debe ser llamado desde WM, y que el resto del código que hace que funcione tu API sea llamado desde ese código. Te obliga crear una capa extra de código, pero será mas facil de mantener.
Rubén
Report
0
0
→ Go back to WINDEV 28
WINDEV 28
WEBDEV 2024
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