How to run multiple instances of Total Commander on Android?

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
maxxx
Junior Member
Junior Member
Posts: 2
Joined: 2015-08-11, 07:01 UTC

How to run multiple instances of Total Commander on Android?

Post by *maxxx »

Hello,

I started using Total Commander on my Phone and Tablet quite intensively. Quite often I do some long time file copying to WEBDAV or USB stick. During this time it is not possible to use the Total Commander for all the other tasks while working with the device. If I would have a second instance of Total Commander running on Android that would be really helpful.

The major problem is, that Android does not allow two same app IDs to run. Therefore my first approach was, to modify the APK in order to change the App ID. Somehow I broke the package and the App was not working anymore but at least I could install it. Maybe it would be possible to provide a special Version with a different app ID, kind of a Total Commander (2. Instance) or similar.

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

Post by *ghisler(Author) »

Hmm, I don't kow whether this will work well or not. What exactly did you have to change? Is it sufficient to change the package name in the manifest from "com.ghisler.android.TotalCommander" to something else, or did you have to change other things like class names?
Author of Total Commander
https://www.ghisler.com
maxxx
Junior Member
Junior Member
Posts: 2
Joined: 2015-08-11, 07:01 UTC

Post by *maxxx »

I changed only the package name in the beginning, so I could install the commander twice but the second instance was not starting, I only got a white screen.

There is more information on this topic here for example http://stackoverflow.com/questions/9218641/renaming-the-package-name-inside-an-apk but I was not able to do it with the information's I get from the apk.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I see - I will probably have to change the class names too, which may break a lot of things. Unfortunately Android doesn't support conditional compilation, so I would have to create two separate projects.
Author of Total Commander
https://www.ghisler.com
Post Reply