This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Normalize assets | |
# Sometimes in Android development you find designers that make your assets names with "-" this makes | |
# the android compiler to fail as assets cannot have "-", I create this script to solve this problem | |
# recursively renaming the files and replacing "-" with "_" plus making them lowercase. | |
# | |
# Instructions: | |
# 1- Move this script to your Android {PROJECT_BASE_FOLDER}/app/src/main/res | |
# 2- run it with sudo ex: "sudo ./rename_script.sh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.util.Log; | |
/** | |
* @author eefret | |
* Created by Christopher T. Herrera (eefret) on 4/22/2014 [12:41 AM] | |
* Wrapper class for android Logging utility will select a tag automatically from class, method and line number executed. | |
*/ | |
public class Logger { | |
//TODO Create a detail Enum to define the log detail level. | |
//TODO Create a method that halt every log possible based on the development mode Ex: (PRODUCTION, DEVELOPMENT, DEBUG) that can manage what can be and can't be logged |