Search code examples
androiddecompilingsmali

How to make the app automatically rename a folder


I have an app... I want to add a feature to that app. Feature is automatically rename a folder in sdcard.

It doing this. Download a file. Then it extract to sd card automatically. So is there anyway to make it rename automatically? Any code for smali?


Solution

  • just use this code oldfilename.renameTo(new_file_name);