Internal bluetooth file transfer slow
Moderators: Hacker, petermad, Stefan2, white
Internal bluetooth file transfer slow
I observed the internal BT file transfer via the Copy command being several times slower than via the Send option. Any idea?
edit: Android is 4.0.3
edit2: its the same behavior on 2.3.4
edit: Android is 4.0.3
edit2: its the same behavior on 2.3.4
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
There is no BT command via "Send" in Android. Maybe you have installed an APP which does it?
Anyway, I didn't see any speed differences between my internal send function and other apps. Can you give me more details, please?
Anyway, I didn't see any speed differences between my internal send function and other apps. Can you give me more details, please?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I forgot to subscribe the thread...
On my Asus Tnsformer Prime and my Sony Ericsson Xperia Ray there is a Bluetooth.apk preinstalled which I assume to be a standard Android application.
It is on both devices a system app.
When I long click on a file in TC I get the 'Send to' option. This mostly gives me bluetooth, and email as destinations. When I choose bluetooth the transfer rate is much higher then via the copy-> bluetooth option.
I could upload the bluetooth.apk if you like.
On my Asus Tnsformer Prime and my Sony Ericsson Xperia Ray there is a Bluetooth.apk preinstalled which I assume to be a standard Android application.
It is on both devices a system app.
When I long click on a file in TC I get the 'Send to' option. This mostly gives me bluetooth, and email as destinations. When I choose bluetooth the transfer rate is much higher then via the copy-> bluetooth option.
I could upload the bluetooth.apk if you like.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Then just use that instead of the internal function. I guess that your device's function is written in native C code, which is of course faster than the Android Java code used in most of TC...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
The problem is that the system bluetooth function is restricted regarding file extension. My tablet for instance does not allow to send or receive apk files. Thats the reason I would like to use the TC transfer method.
But it is a small problem since I don't want to transfer HD movies via BT.
Thanks
But it is a small problem since I don't want to transfer HD movies via BT.
Thanks
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Could you measure the time it takes to send a certain file (at least 500 kBytes) to the same target? I would like to compare it to the speed I see on my phone. Here I don't see any big speed differences between TC and other Bluetooth tools (which use the same Java functions).
TC is using the block size returned by the Bluetooth function as the optimum size, so I don't really see what I could improve.
TC is using the block size returned by the Bluetooth function as the optimum size, so I don't really see what I could improve.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC was telling the receipient that it accepts only 512 bytes per packet (because it doesn't receive data, only send). Unfortunately the other side then told TC that it also accepts only 512 Byte packets. I thought that the two directions would be independent, but apparently they are not. By telling the other side that TC can accept 32kByte packets, I can send that large packets too...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com