Can't add a button 'Send to app -> TotalCmd (Queue)'

Support for Android version of Total Commander

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1113
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Can't add a button 'Send to app -> TotalCmd (Queue)'

Post by *DrShark » 2017-08-23, 23:32 UTC

history2.txt wrote:... v 2.80 beta 5
... Added: Media player: Restore playlist when player is opened without parameters (Add button, type "Send to", use >> to pick "TotalCmd (Queue)", change type to "Main function")
On my device with Android 4.3.1 after pressing >> button in the "Choose app" dialog I don't see "TotalCmd (Queue)", there is only "Total Commander" (com.ghisler.android.TotalCommander.DirBrowseActivity).
Last edited by DrShark on 2017-08-26, 18:10 UTC, edited 5 times in total.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36557
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-08-24, 09:46 UTC

As described, you have to change the program type to "Send to", otherwise you can't see the player because it doesn't have a launcher activity. After choosing the player, you can change the operation type from "Send to" to "Main function". It will work although it's not listed.
Author of Total Commander
http://www.ghisler.com

User avatar
DrShark
Power Member
Power Member
Posts: 1113
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Post by *DrShark » 2017-08-25, 08:15 UTC

ghisler(Author) wrote:As described...
I followed all steps as described. If the type of the button is "Send to app", the "Choose app" list has 11 apps, if the type is "Launch app (main function)" - the list has 34 apps. But "TotalCmd (Queue)" isn't present in "Send to app" choose app list.

If it matters, I use TC4A 2.81b7 installed as an update to 2.72. I also used the Android option in installed apps TC4A properties to move it to SDCard, which as far as I understand moved some TC data to fake internal sdcard.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
DrShark
Power Member
Power Member
Posts: 1113
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Post by *DrShark » 2017-08-26, 18:08 UTC

I could reproduce the issue on Android 5.1 device with installed TC 2.81b7 too, so I changed the topic title (original title: "TC4A, Android 4: button from history2.txt can't be created".)

Edit: I added a button with "TotalCmd (Queue)" activity by manual edit of Command field:
Function type:
Launch app (main function)
Command:
Total Commander:com.ghisler.android.TotalCommander:.MediaPlayerActivity

Is it the same that should be created by selecting "TotalCmd (Queue)" from Choose app dialog after a click on >> button? The Parameters field of the button is supposed to be empty?
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36557
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-08-28, 10:44 UTC

Yes, that's the correct entry.
Author of Total Commander
http://www.ghisler.com

User avatar
DrShark
Power Member
Power Member
Posts: 1113
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Post by *DrShark » 2017-09-04, 10:03 UTC

ghisler(Author) wrote:As described, you have to change the program type to "Send to", otherwise you can't see the player because it doesn't have a launcher activity.
Indeed the "TotalCmd (Queue)" activity available for selection if the button function type is changed to "View file with app". Are you sure it should be available for "Send to app" function type too? If not, I suggest to correct the instruction in history2.txt.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36557
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2017-09-04, 12:53 UTC

You are right, it's "View file with app", not "Send to".
Author of Total Commander
http://www.ghisler.com

User avatar
DrShark
Power Member
Power Member
Posts: 1113
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Post by *DrShark » 2018-02-07, 10:13 UTC

ghisler(Author) wrote:You are right, it's "View file with app", not "Send to".
Please fix it in history, there it's still "Send to" for 2.80 beta 5.
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

Post Reply