1. Jose Luis
  2. PowerServer Mobile (Obsolete)
  3. Tuesday, 4 December 2018 00:00 AM UTC

Hola amigos,

Como puedo obtener la ruta(string source) de un archivo seleccionado de la carpeta descarga u otra ubicación del dispositivo móvil. Intento usar esta función appeonfileservice.of_appeonupload (string source, string destination, boolean isrename, ref long errorcode)

 

Hello Friends,
How can I get the path (string source) of a selected file from the download folder or another location of the mobile device. I try to use this function appeonfileservice.of_appeonupload (string source, string destination, boolean isrename, ref long errorcode)
 
Regards
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 4 December 2018 00:22 AM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

Hi Jose,

The file will be download to plugin folder in application folcer, you can use script like below:
Ls_path = AppeonGetCacheDir( ) + '\plugin\' + 'test.pdf'.

Regards,
ZhaoKai

Comment
There are no comments made yet.
Jose Luis Accepted Answer Pending Moderation
  1. Tuesday, 4 December 2018 14:13 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 2

Hi Zhao Kai,

But I want to select a file located in other folders, I attached two sample images.

Pero quiero seleccionar un archivo ubicado en otras carpetas, adjunto dos imágenes de muestra.

 

Regards,
Jose Luis :)

Attachments (2)
Comment
  1. Jose Luis
  2. Monday, 17 December 2018 20:17 PM UTC
Hola amigos, cual es el equivalente de la funcion GetFileOpenName en power mobile?. Deseo poder seleccionar un archivo desde cualquier ubicacion o carpeta del dispositivo.



Hi friends, what is the equivalent of the GetFileOpenName function in power mobile? I want to be able to select a file from any device location or folder



Regards,

Jose Luis
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 17 December 2018 20:56 PM UTC
Hi Jose;

Unfortunately, there is no equivalent For the GetFolder, GetFileOpenName, GetFileSaveName, FileMove, etc commands in PowerServer Mobile product today. These would be feature enhancements.

Regards ... Chris
  1. Helpful
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 5 December 2018 00:25 AM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 3

Hi Jose,

On mobile device, you can select files in two ways.
1 Using the file under plugin folder.
2 Using function camera.of_openalbums to open the album for the user to select a photo or video.
https://www.appeon.com/support/documents/appeon_online_help/2017/workarounds_and_api_guide/ch01s04s04.html#d0e15148

Regards,
ZhaoKai

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.