Copy File to android device

Copy File to android device

Hello,

how can I copy a file to my Android-device?

I have e.g. tried copying a file through a package, but it did not succeed (Destination: 1:\MiniIni.txt\

7 Answers

Order By:   Standard | Newest | Votes
Matt Dermody | posted this 08 July 2019

That destination looks a little strange and is likely your issue. This is Android, not Windows! You should be looking for something like /sdcard/MiniIni.txt

  • 0
  • 0
Jürgen Zahn | posted this 08 July 2019

Hi Matt,

thanks for your fast response. In the help-file "1:\" is used very often: https://www.soti.net/mc/help/v14.3/en/index.html#scriptcmds/reference/androidplus.html . Unfortunately "/sdcard/MiniIni.txt" didn't works. Do you have any other suggestions?

  • 0
  • 0
Matt Dermody | posted this 08 July 2019

The scripting documentation is admittedly lacking. There are many scripts not even documented and there also is poor separation between Windows and Android capabilities, and even Android+ and Android Enterprise capabilities. This script for instance references a C drive which is almost certainly a reference to a Windows device.

 

 

 

What type of devices are you managing? How are they enrolled (eg. Android+, Android Enterprise Profile Owner - Managed Profile, Android Enterprise Device Owner - Managed Device, Samsung Knox, etc). 

  • 0
  • 0
Raymond Chan | posted this 08 July 2019

Hi Jurgen,

I don't know which device model and brand you are using, so I'm not sure how its firmware mounts the file systems.  Assuming your target location is the Download directory in the internal flash (NOT the external SD-card), you can try 

   %sdcard%/Download

or 

  /mnt/sdcard/Download

or

 /storage/emulated/0/Download

 

  • 0
  • 0
Jürgen Zahn | posted this 09 July 2019

Hello Matt, Hello Chan.

- I am using a TC52 (Zebra) with Android 8.1

- I have installed MobiControl via Google Play Store

- I am using Work- Profiles

- It looks like I was struggling because of the visibility of my file...

-  "%sdcard%/Download" works!

 

Thanks a lot for your help!

  • 0
  • 0
Matt Dermody | posted this 09 July 2019

If you installed the agent directly from the Play Store then you are most likely using Managed Profile and not Managed Device (AEDO) so your management capabilities are going to be severely limited. Managed Profile is designed for BYOD use cases and it is unlikely that a Zebra TC52 is being used for BYOD as those are traditionally COSU / Dedicated devices. 

  • 0
  • 0
Jürgen Zahn | posted this 11 July 2019

Hello Matt,

thank you for the clarification.
  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback