// Path: app/src/main/java/com/mummyding/app/leisure/support/CONSTANT.java
// public class CONSTANT {
//     public static final String TYPE_UTF8_CHARSET = "charset=UTF-8";
// 
//     public static final String VERSION_URL ="https://raw.githubusercontent.com/MummyDing/Leisure/master/currentVersion.txt"; //"https://raw.githubusercontent.com/MummyDing/Leisure/master/currentVersion.txt";
// 
//     public static final String CURRENT_VERSION = "2.1";
// 
//     public static final String DEMO_VIDEO_URL = "http://v.qq.com/page/l/e/8/l0176duy7e8.html";
// 
//     public static final String MONTH [] =
//             {"","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"};
// 
//     public static final String placeHolderUri="http://pic.baike.soso.com/p/20140126/20140126144232-793838389.jpg";
//     public static final int ID_SUCCESS = 1;
//     public static final int ID_FAILURE = 2;
//     public static final int ID_LOAD_FROM_NET = 3;
//     public static final int ID_UPDATE_UI = 4;
//     public static final int ID_FROM_CACHE = 5;
// 
//     public static final int exitConfirmTime = 2000;
//     public static final float shakeValue=25f;
// 
//     public static final int NIGHT_BRIGHTNESS = 40;
//     public static final int DAY_BRIGHTNESS = 150;
// }
// 
// Path: app/src/main/java/com/mummyding/app/leisure/ui/support/WebViewUrlActivity.java
// public class WebViewUrlActivity extends BaseWebViewActivity {
//     @Override
//     protected String getData() {
//         return getIntent().getStringExtra(getString(R.string.id_url));
//     }
//     @Override
//     protected void loadData() {
//         webView.post(new Runnable() {
//             @Override
//             public void run() {
//                 webView.loadUrl(data);
//             }
//         });
//     }
// }


import com.mummyding.app.leisure.support.CONSTANT;
import com.mummyding.app.leisure.ui.support.WebViewUrlActivity;
/*
 *  Copyright (C) 2015 MummyDing
 *
 *  This file is part of Leisure( <https://github.com/MummyDing/Leisure> )
 *
 *  Leisure is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *                             ｀
 *  Leisure is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Leisure.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.mummyding.app.leisure.ui.about;


/**
 * Created by mummyding on 15-12-11.
 * GitHub: https://github.com/MummyDing/
 * Blog: http://blog.csdn.net/mummyding
 */
public class DemoVideoActivity extends WebViewUrlActivity{

    @Override
    protected void loadData() {
        webView.post(new Runnable() {
            @Override
            public void run() {
// Path: app/src/main/java/com/mummyding/app/leisure/support/CONSTANT.java
// public class CONSTANT {
//     public static final String TYPE_UTF8_CHARSET = "charset=UTF-8";
// 
//     public static final String VERSION_URL ="https://raw.githubusercontent.com/MummyDing/Leisure/master/currentVersion.txt"; //"https://raw.githubusercontent.com/MummyDing/Leisure/master/currentVersion.txt";
// 
//     public static final String CURRENT_VERSION = "2.1";
// 
//     public static final String DEMO_VIDEO_URL = "http://v.qq.com/page/l/e/8/l0176duy7e8.html";
// 
//     public static final String MONTH [] =
//             {"","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"};
// 
//     public static final String placeHolderUri="http://pic.baike.soso.com/p/20140126/20140126144232-793838389.jpg";
//     public static final int ID_SUCCESS = 1;
//     public static final int ID_FAILURE = 2;
//     public static final int ID_LOAD_FROM_NET = 3;
//     public static final int ID_UPDATE_UI = 4;
//     public static final int ID_FROM_CACHE = 5;
// 
//     public static final int exitConfirmTime = 2000;
//     public static final float shakeValue=25f;
// 
//     public static final int NIGHT_BRIGHTNESS = 40;
//     public static final int DAY_BRIGHTNESS = 150;
// }
// 
// Path: app/src/main/java/com/mummyding/app/leisure/ui/support/WebViewUrlActivity.java
// public class WebViewUrlActivity extends BaseWebViewActivity {
//     @Override
//     protected String getData() {
//         return getIntent().getStringExtra(getString(R.string.id_url));
//     }
//     @Override
//     protected void loadData() {
//         webView.post(new Runnable() {
//             @Override
//             public void run() {
//                 webView.loadUrl(data);
//             }
//         });
//     }
// }


// Path: app/src/main/java/com/mummyding/app/leisure/ui/about/DemoVideoActivity.java
import com.mummyding.app.leisure.support.CONSTANT;
import com.mummyding.app.leisure.ui.support.WebViewUrlActivity;

/*
 *  Copyright (C) 2015 MummyDing
 *
 *  This file is part of Leisure( <https://github.com/MummyDing/Leisure> )
 *
 *  Leisure is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *                             ｀
 *  Leisure is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Leisure.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.mummyding.app.leisure.ui.about;


/**
 * Created by mummyding on 15-12-11.
 * GitHub: https://github.com/MummyDing/
 * Blog: http://blog.csdn.net/mummyding
 */
public class DemoVideoActivity extends WebViewUrlActivity{

    @Override
    protected void loadData() {
        webView.post(new Runnable() {
            @Override
            public void run() {
                webView.loadUrl(CONSTANT.DEMO_VIDEO_URL);