Android Open Source - dttv-android Log






From Project

Back to project page dttv-android.

License

The source code is released under:

GNU General Public License

If you think the Android project dttv-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package dttv.app.utils;
/*from   ww  w  . ja v  a2  s . c o m*/
/**
 * 
 * @author shihx1
 * just simple log for debug
 */
public class Log {
  private static boolean isDebug = true;
  private static final String T_TAG = "[Dttv-Player]";
  
  public static void i(String TAG,String msg){
    TAG = (TAG ==null ? T_TAG : TAG);
    if(isDebug)
      android.util.Log.i(TAG, msg);
  }
  
  public static void d(String TAG,String msg){
    TAG = (TAG ==null ? T_TAG : TAG);
    if(isDebug)
      android.util.Log.d(TAG, msg);
  }
  
  public static void e(String TAG,String msg){
    TAG = (TAG ==null ? T_TAG : TAG);
    if(isDebug)
      android.util.Log.e(TAG, msg);
  }
  
  public static void w(String TAG,String msg){
    TAG = (TAG ==null ? T_TAG : TAG);
    if(isDebug)
      android.util.Log.w(TAG, msg);
  }
  
  public static void v(String TAG,String msg){
    TAG = (TAG ==null ? T_TAG : TAG);
    if(isDebug)
      android.util.Log.v(TAG, msg);
  }
}




Java Source Code List

dttv.app.DtPlayer.java
dttv.app.FileBrowserActivity.java
dttv.app.FileShowActivity.java
dttv.app.IndexActivity.java
dttv.app.MainActivity.java
dttv.app.SettingActivity.java
dttv.app.VideoPlayerActivity.java
dttv.app.adapter.FileAdapter.java
dttv.app.compnent.Compnent.java
dttv.app.compnent.MethodPlayerCompnent.java
dttv.app.compnent.PopWindowCompnent.java
dttv.app.impl.ICallBack.java
dttv.app.impl.I_Async.java
dttv.app.impl.I_KeyIntercept.java
dttv.app.impl.I_OnMyKey.java
dttv.app.impl.I_PopWindow.java
dttv.app.model.Item.java
dttv.app.multithread.DataAsyncTask.java
dttv.app.utils.Constant.java
dttv.app.utils.ControlLightness.java
dttv.app.utils.FileUtil.java
dttv.app.utils.Log.java
dttv.app.utils.MultiMediaTypeUtil.java
dttv.app.utils.MusicUtils.java
dttv.app.utils.PlayerUtil.java
dttv.app.utils.SettingUtil.java
dttv.app.utils.TimesUtil.java
dttv.app.utils.VolumeUtil.java
dttv.app.view.SimpleDialog.java
dttv.app.widget.AudioUIFragment.java
dttv.app.widget.EffectWindow.java
dttv.app.widget.FilesUIFragment.java
dttv.app.widget.GlVideoView.java
dttv.app.widget.OnTouchMoveListener.java
dttv.app.widget.SlideTabsFragment.java
dttv.app.widget.VideoUIFragment.java