Apk development for copy folder from usb drive to local android TV BOX
₹600-1500 INR
Mbyllur
Postuar about 6 years ago
₹600-1500 INR
Paguhet në dorëzim
i want to make 1 android Apk.
which will work in Runtime and it's always running whenever that android device starting.
whenever usb pendrive is connected to that android device.
as of now usb pen drives path will be :
/mnt/usb/sda1
/mnt/usb/sda2
/mnt/usbhost0
/mnt/usbhost1
/mnt/usbhost2
/mnt/usbhost3
/mnt/usbhost4
it will copy or overwrite the usb pendrive "thinpc" folder and sub folders to /sdcard/thinpc folder of that android device
for example i will make 1 folder in the usb pen drive in my laptop
named as "thinpc"
and subfolders & files
/thinpc/video/[login to view URL]
/thinpc/image/[login to view URL]
/thinpc/audio/[login to view URL]
/thinpc/ticker/[login to view URL]
all these will automatically overwrite to android device to /sdcard/thinpc/ folder.
and also while doing this it will show process bar on top of each and all applications whatever running. means process bar should show on the screen whenever pen drive is inserted.
after completion of overwriting it will show window that "All Content are Copied Locally to Device"
and will window Disapear after 15 seconds.
if inserted usb pen drive does not have the thinpc folder on the / it will show the error window that "You need to create folders on the USB pen drive and also copy your contents inside accordingly"
main folder name will be : "thinpc"
and sub folders inside the thinpc folders will be
"video"
"image"
"audio"
"ticker"
So your USB Pen drive folders will be like this :
/thinpc/
/thinpc/video/
/thinpc/image/
/thinpc/audio/
/thinpc/ticker/
and your contents will be like this :
/thinpc/video/[login to view URL]
/thinpc/image/[login to view URL]
/thinpc/audio/[login to view URL]
/thinpc/ticker/[login to view URL]
above names are just for your reference.
you can put your files names according to your content.
some android devices also require the adb shell comands to run
so you also put two adb shell commands while making the apk.
adb shell command should work when application is started.
adb shell command will be :
"adb root"
"mount -o rw,remount /"
Regards,
Dilip Surana
Greetings dear,
I am professional developer having experience of more than 3 years. I am available for the job, just inbox me so that we may discuss the job in depth.
Thanks.