Hi,
I download a zipped file with a Python program and extract informations from the file in the archive. After I use TC editor to see the contents of the final file.
I should want to launch TC from Python and better launch TC editor. I haven't found if it's possible to launch an application programmatically and then how to do. Is it possible? How?
Thank you .
Is it possible to launch TC programatically?
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Here are some instructions:
https://stackoverflow.com/questions/12737150/launch-android-app-from-sl4a-script/12807197
For Total Commander, the app name is
com.ghisler.android.TotalCommander
https://stackoverflow.com/questions/12737150/launch-android-app-from-sl4a-script/12807197
For Total Commander, the app name is
com.ghisler.android.TotalCommander
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
In droid.startActivity, you would need to set the packagename and classname fields to:
com.ghisler.android.TotalCommander
com.ghisler.android.TotalCommander.TCEditActivity
A file name can be passed in the uri field. The action should be android.intent.action.VIEW.
com.ghisler.android.TotalCommander
com.ghisler.android.TotalCommander.TCEditActivity
A file name can be passed in the uri field. The action should be android.intent.action.VIEW.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com