Page 1 of 1

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

Posted: 2017-08-23, 23:32 UTC
by DrShark
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).

Posted: 2017-08-24, 09:46 UTC
by ghisler(Author)
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.

Posted: 2017-08-25, 08:15 UTC
by DrShark
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.

Posted: 2017-08-26, 18:08 UTC
by DrShark
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?

Posted: 2017-08-28, 10:44 UTC
by ghisler(Author)
Yes, that's the correct entry.

Posted: 2017-09-04, 10:03 UTC
by DrShark
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.

Posted: 2017-09-04, 12:53 UTC
by ghisler(Author)
You are right, it's "View file with app", not "Send to".

Posted: 2018-02-07, 10:13 UTC
by DrShark
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.