Skip to content

Will inject strings.xml, google-services.json, logo.png, assets and more files into an android app programmatically (dynamically)

License

Notifications You must be signed in to change notification settings

osfunapps/os-android-files-injector-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This script will inject:

  • strings.xml
  • google-services.json
  • logo.png
  • assets
    and more files into an android app programmatically (dynamically).

Installation

Install via pip:

pip install os-android-files-injector

Usage

From Python:

import os_android_files_injector.app_files_injector as fi

fi.run('/path/to/android/project',
       '/path/to/strings.xml',
       '/path/to/logo.png',
       '/path/to//google-services.json',
       ['/path/to/asset_file_1.png', '/path/to/asset_file_2.mov', '/path/to/asset_file_3.txt'],
       clear_old_assets=False)

Or from the command line:

python3 -c 'import os_android_files_injector.app_files_injector as fi; 
fi.run("/path/to/android/app",
       "/path/to/strings.xml",
       "/path/to/logo.png",
       "/path/to//google-services.json",
       ["/path/to/asset_file_1.png", "/path/to/asset_file_2.mov", "/path/to/asset_file_3.txt"],
       clear_old_assets=False)'

Licence

MIT

About

Will inject strings.xml, google-services.json, logo.png, assets and more files into an android app programmatically (dynamically)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages