USB file transfer in kiosk mode with no user interactionSolved

Participant
Discussion
3 years ago

Hey folks, we’ve got some android phones and tablets set in kiosk mode. But now we need to use usb cable to send photos and docs from a pc to the devices. Main problem we are facing we have disabled the notification panel so users cant drag it down and interact with it. So no user interaction there. Also its crucial for us that device continues in kiosk mode. So taking it out of kiosk is a no go.
Is there any workaround for this?

Any ideas/suggestions are welcome.

Replies (3)

Marked SolutionPending Review
Participant
3 years ago
Marked SolutionPending Review

Before deploying the devices in kiosk mode, you can go to developer options and change the default usb configuration to allow transferring files. Try it out and hopefully it works!

Marked SolutionPending Review
Hexnode Expert
3 years ago
Marked SolutionPending Review

Hello @Damari, thank you for reaching out to us, although it looks like @Milena has got you covered!
As an alternative, if you have enabled developer options in your device and have Android SDK and ADB up and running on your computer, you can make use of the ADB push and pull commands to transfer files.

Pull a file from your Android device using: 

adb pull <path-to-file>

Add the location of the file you are pulling and the location you want it to go.
Ex: adb pull /sdcard/audio.mp3 C:\Users\Emma\Desktop

If you choose to omit the local save location, the file will be saved in the same location as your adb.exe

Push a file to your Android device using: 

adb push <path-to-file>

Add the local location of the file and the location to save it on the Android device.
Ex: adb push C: \Users\Emma\Desktop\audio.mp3 /sdcard/

Try it out, and keep me posted on any updates.

Have a great day!
Emma Jones
Hexnode UEM

  • This reply was modified 2 years, 11 months ago by  Emma.
  • This reply was modified 2 years, 11 months ago by  Emma.
  • This reply was modified 2 years, 11 months ago by  Emma.
Marked SolutionPending Review
Participant
3 years ago
Marked SolutionPending Review

Thanku @milena @emma-jones! I tried both your recommendations and it seems to be working out well for us.

Save