├── .gitignore
├── gen
└── .gitignore
├── lint.xml
├── assets
├── feed.db
├── huawenxinwei.TTF
└── about.html
├── res
├── .DS_Store
├── drawable
│ ├── blue.png
│ ├── dark_dot.png
│ ├── home_bg_0.png
│ ├── new_1_pic.png
│ ├── new_2_pic.png
│ ├── new_3_pic.png
│ ├── new_4_pic.png
│ ├── splash_bg.png
│ ├── white_dot.png
│ ├── home_bg_night.jpg
│ ├── new_start_btn.png
│ ├── picture_frame.png
│ ├── home_bg_default.jpg
│ ├── loading_default.png
│ ├── umeng_socialize_pv.png
│ ├── umeng_socialize_sms.png
│ ├── umeng_socialize_gmail.png
│ ├── umeng_socialize_google.png
│ ├── umeng_socialize_qq_off.png
│ ├── umeng_socialize_qq_on.png
│ ├── umeng_socialize_tx_off.png
│ ├── umeng_socialize_tx_on.png
│ ├── umeng_socialize_wechat.png
│ ├── umeng_socialize_checked.png
│ ├── umeng_socialize_facebook.png
│ ├── umeng_socialize_qq_login.png
│ ├── umeng_socialize_qzone_on.png
│ ├── umeng_socialize_refersh.png
│ ├── umeng_socialize_sina_off.png
│ ├── umeng_socialize_sina_on.png
│ ├── umeng_socialize_slate_bg.png
│ ├── umeng_socialize_sms_off.png
│ ├── umeng_socialize_twitter.png
│ ├── umeng_socialize_wxcircle.png
│ ├── umeng_socialize_x_button.png
│ ├── umeng_socialize_action_like.png
│ ├── umeng_socialize_at_label_bg.png
│ ├── umeng_socialize_at_normal.png
│ ├── umeng_socialize_at_selected.png
│ ├── umeng_socialize_bind_bg.9.png
│ ├── umeng_socialize_comment_bg.png
│ ├── umeng_socialize_douban_off.png
│ ├── umeng_socialize_douban_on.png
│ ├── umeng_socialize_fetch_image.png
│ ├── umeng_socialize_follow_off.png
│ ├── umeng_socialize_follow_on.png
│ ├── umeng_socialize_gmail_off.png
│ ├── umeng_socialize_google_off.png
│ ├── umeng_socialize_input_bar.png
│ ├── umeng_socialize_location_ic.png
│ ├── umeng_socialize_location_on.png
│ ├── umeng_socialize_nav_bar_bg.png
│ ├── umeng_socialize_qzone_off.png
│ ├── umeng_socialize_renren_off.png
│ ├── umeng_socialize_renren_on.png
│ ├── umeng_socialize_search_icon.png
│ ├── umeng_socialize_twitter_off.png
│ ├── umeng_socialize_ucenter_hbg.png
│ ├── umeng_socialize_wechat_gray.png
│ ├── umeng_update_wifi_disable.png
│ ├── umeng_socialize_action_unlike.png
│ ├── umeng_socialize_button_blue.9.png
│ ├── umeng_socialize_button_grey.9.png
│ ├── umeng_socialize_button_red.9.png
│ ├── umeng_socialize_divider_line.png
│ ├── umeng_socialize_facebook_off.png
│ ├── umeng_socialize_location_grey.png
│ ├── umeng_socialize_location_mark.png
│ ├── umeng_socialize_location_off.png
│ ├── umeng_socialize_wxcircle_gray.png
│ ├── umeng_socialize_action_item_bg.png
│ ├── umeng_socialize_actionbar_bg.9.png
│ ├── umeng_socialize_at_search_bg.9.png
│ ├── umeng_socialize_bind_select_bg.png
│ ├── umeng_socialize_button_white.9.png
│ ├── umeng_socialize_comment_normal.png
│ ├── umeng_socialize_comment_selected.png
│ ├── umeng_socialize_default_avatar.png
│ ├── umeng_socialize_facebook_close.png
│ ├── umeng_socialize_fetch_location.png
│ ├── umeng_socialize_light_bar_bg.9.png
│ ├── umeng_socialize_oauth_check_off.png
│ ├── umeng_socialize_oauth_check_on.png
│ ├── umeng_socialize_action_back_normal.png
│ ├── umeng_socialize_action_back_selected.png
│ ├── umeng_socialize_action_comment_normal.png
│ ├── umeng_socialize_action_share_normal.png
│ ├── umeng_socialize_action_share_selected.png
│ ├── umeng_socialize_button_login_normal.png
│ ├── umeng_socialize_button_login_pressed.png
│ ├── umeng_socialize_fetch_image_disabled.png
│ ├── umeng_socialize_pulltorefresh_arrow.png
│ ├── umeng_socialize_title_back_bt_normal.png
│ ├── umeng_socialize_title_right_bt_normal.png
│ ├── umeng_socialize_title_tab_left_normal.png
│ ├── umeng_socialize_action_comment_selected.png
│ ├── umeng_socialize_action_personal_normal.png
│ ├── umeng_socialize_fetch_location_disabled.png
│ ├── umeng_socialize_title_back_bt_selected.png
│ ├── umeng_socialize_title_right_bt_selected.png
│ ├── umeng_socialize_title_tab_left_pressed.png
│ ├── umeng_socialize_title_tab_right_normal.png
│ ├── umeng_socialize_title_tab_right_pressed.png
│ ├── umeng_socialize_action_personal_selected.png
│ ├── composer_button_center.xml
│ ├── umeng_update_dialog_bg.xml
│ ├── umeng_socialize_share_transparent_corner.xml
│ ├── dot.xml
│ ├── umeng_socialize_shape_solid_black.xml
│ ├── umeng_socialize_shape_solid_grey.xml
│ ├── umeng_socialize_sidebar_normal.xml
│ ├── umeng_socialize_sidebar_selected.xml
│ ├── umeng_update_button_ok_bg_tap.xml
│ ├── umeng_update_button_cancel_bg_tap.xml
│ ├── umeng_common_gradient_green.xml
│ ├── umeng_common_gradient_orange.xml
│ ├── umeng_common_gradient_red.xml
│ ├── umeng_socialize_shape_cyan.xml
│ ├── umeng_socialize_shape_red.xml
│ ├── umeng_socialize_shape_yellow.xml
│ ├── umeng_update_button_ok_bg_focused.xml
│ ├── shap_title_bar.xml
│ ├── umeng_update_button_cancel_bg_focused.xml
│ ├── img_btn_selector.xml
│ ├── shap_title_bar_night.xml
│ ├── umeng_socialize_follow_check.xml
│ ├── umeng_update_button_ok_bg_normal.xml
│ ├── umeng_update_button_cancel_bg_normal.xml
│ ├── umeng_socialize_oauth_check.xml
│ ├── umeng_socialize_share_to_button.xml
│ ├── umeng_socialize_sidebar_selector.xml
│ ├── umeng_update_title_bg.xml
│ ├── umeng_socialize_comment_item_bg_shape.xml
│ ├── umeng_socialize_shape_hollow_grey.xml
│ ├── umeng_socialize_shareboard_item_background.xml
│ ├── umeng_socialize_commnet_header_bg.xml
│ ├── umeng_update_button_close_bg_selector.xml
│ ├── umeng_socialize_at_button.xml
│ ├── umeng_socialize_shape_bt.xml
│ ├── umeng_socialize_button_red_blue.xml
│ ├── umeng_socialize_button_grey_blue.xml
│ ├── umeng_socialize_button_white_blue.xml
│ ├── umeng_socialize_comment_icon.xml
│ ├── umeng_socialize_action_back.xml
│ ├── umeng_socialize_bind_bt.xml
│ ├── umeng_socialize_button_login.xml
│ ├── umeng_update_button_ok_bg_selector.xml
│ ├── umeng_socialize_action_share_icon.xml
│ ├── umeng_socialize_title_back_bt.xml
│ ├── umeng_socialize_title_right_bt.xml
│ ├── umeng_update_button_cancel_bg_selector.xml
│ ├── umeng_socialize_title_tab_button_left.xml
│ ├── umeng_socialize_title_tab_button_right.xml
│ ├── umeng_socialize_action_personal_icon.xml
│ ├── umeng_update_button_check_selector.xml
│ └── umeng_socialize_window_shadow_pad.xml
├── drawable-hdpi
│ ├── add.png
│ ├── added.png
│ ├── btn_ok.png
│ ├── pageid.png
│ ├── btn_back.png
│ ├── btn_more.png
│ ├── btn_play.png
│ ├── bg_setting.9.png
│ ├── btn_delete.png
│ ├── btn_to_share.png
│ ├── composer_add.png
│ ├── composer_sun.png
│ ├── head_default.png
│ ├── ic_launcher.png
│ ├── bt_widget_play.png
│ ├── btn_more_night.png
│ ├── btn_to_comment.png
│ ├── btn_to_speech.png
│ ├── channel_line.9.png
│ ├── composer_about.png
│ ├── composer_moon.png
│ ├── composer_user.png
│ ├── bt_widget_pause.png
│ ├── btn_favorite_full.png
│ ├── channel_icon_bg.9.png
│ ├── composer_button.png
│ ├── composer_favorite.png
│ ├── composer_setting.png
│ ├── feed_custom_btn.png
│ ├── fid_btn_collecte.png
│ ├── bt_widget_next_item.png
│ ├── btn_add_to_launcher.png
│ ├── btn_favorite_empty.png
│ ├── btn_to_share_night.png
│ ├── comment_input_box.9.png
│ ├── composer_icon_plus.png
│ ├── composer_switch_bg.png
│ ├── detail_pic_default.png
│ ├── bt_widget_next_channel.png
│ ├── btn_to_comment_night.png
│ ├── listview_divider_line.png
│ ├── btn_favorite_empty_night.png
│ ├── btn_favorite_full_night.png
│ ├── umeng_socialize_share_music.png
│ ├── umeng_socialize_share_pic.png
│ ├── umeng_socialize_share_video.png
│ ├── umeng_update_close_bg_tap.png
│ ├── umeng_update_close_bg_normal.png
│ ├── umeng_socialize_nav_bar_bg_pad.9.png
│ ├── umeng_socialize_oauth_check_off.png
│ ├── umeng_socialize_oauth_check_on.png
│ ├── umeng_socialize_light_bar_bg_pad.9.png
│ ├── umeng_update_btn_check_off_holo_light.png
│ ├── umeng_update_btn_check_on_holo_light.png
│ ├── umeng_update_btn_check_on_focused_holo_light.png
│ ├── umeng_update_btn_check_on_pressed_holo_light.png
│ ├── umeng_update_btn_check_off_focused_holo_light.png
│ └── umeng_update_btn_check_off_pressed_holo_light.png
├── drawable-mdpi
│ └── ic_launcher.png
├── drawable-xhdpi
│ ├── ic_launcher.png
│ ├── empty_comment.png
│ ├── article_toolbar.png
│ ├── add_comment_bgd.9.png
│ ├── comment_write_icon.png
│ ├── umeng_socialize_switchbutton_mask.png
│ ├── umeng_socialize_switchbutton_bottom.png
│ ├── umeng_socialize_switchbutton_frame.png
│ ├── umeng_socialize_switchimage_choose.png
│ ├── umeng_socialize_switchimage_unchoose.png
│ ├── umeng_socialize_switchbutton_btn_pressed.png
│ └── umeng_socialize_switchbutton_btn_unpressed.png
├── drawable-xxhdpi
│ └── ic_launcher.png
├── values
│ ├── network.xml
│ ├── dimens.xml
│ ├── toast.xml
│ ├── colors.xml
│ ├── attrs.xml
│ ├── umeng_socialize_colors.xml
│ ├── umeng_update_string.xml
│ ├── umeng_common_strings.xml
│ ├── strings.xml
│ └── styles.xml
├── values-sw600dp
│ └── dimens.xml
├── anim
│ ├── umeng_socialize_shareboard_animation_out.xml
│ ├── umeng_socialize_slide_out_from_bottom.xml
│ ├── umeng_socialize_slide_in_from_bottom.xml
│ ├── umeng_socialize_fade_in.xml
│ ├── umeng_socialize_fade_out.xml
│ ├── umeng_socialize_shareboard_animation_in.xml
│ ├── anim_down_toleft6.xml
│ └── anim_fromright_toup6.xml
├── menu
│ └── main.xml
├── layout
│ ├── splash_acitvity.xml
│ ├── umeng_socialize_composer_header.xml
│ ├── category_item.xml
│ ├── umeng_socialize_at_overlay.xml
│ ├── umeng_socialize_failed_load_page.xml
│ ├── what_new_one.xml
│ ├── what_new_two.xml
│ ├── what_new_three.xml
│ ├── umeng_socialize_base_alert_dialog_button.xml
│ ├── umeng_socialize_simple_spinner_item.xml
│ ├── category_detail_item.xml
│ ├── what_new_four.xml
│ ├── umeng_socialize_post_comment_platform.xml
│ ├── umeng_socialize_full_curtain.xml
│ ├── comment_menu.xml
│ ├── about.xml
│ ├── favorite_list.xml
│ ├── umeng_socialize_shareboard_item.xml
│ ├── setting.xml
│ ├── category_detail.xml
│ ├── image_dialog.xml
│ ├── feed_item_list.xml
│ ├── feed_item.xml
│ ├── comment_item.xml
│ ├── umeng_socialize_comment_more.xml
│ ├── umeng_socialize_at_item.xml
│ ├── feed_category.xml
│ ├── umeng_socialize_ucenter_platform_item.xml
│ ├── switch_bg.xml
│ ├── umeng_socialize_comment_detail_nomap.xml
│ ├── umeng_socialize_full_alert_dialog_item.xml
│ ├── section_item.xml
│ ├── guide.xml
│ ├── umeng_socialize_comment_detail.xml
│ ├── feed_item_detail.xml
│ ├── umeng_socialize_comment_view.xml
│ ├── umeng_socialize_base_alert_dialog.xml
│ └── umeng_socialize_oauth_dialog.xml
├── values-sw720dp-land
│ └── dimens.xml
├── xml
│ ├── widget.xml
│ └── preference.xml
├── values-v11
│ └── styles.xml
├── values-v14
│ └── styles.xml
└── values-zh
│ ├── umeng_update_string.xml
│ └── umeng_common_strings.xml
├── ic_launcher-web.png
├── libs
├── SpeechApi.jar
├── httpmime-4.1.3.jar
├── SocialSDK_WeiXin.jar
├── armeabi
│ └── libbspatch.so
├── umeng_social_sdk.jar
├── SocialSDK_QQZone_1.jar
├── SocialSDK_QQZone_2.jar
├── android-support-v4.jar
├── SocialSDK_tencentWB_1.jar
├── SocialSDK_tencentWB_2.jar
└── umeng-sdk-update_v2.4.1.jar
├── .settings
├── org.eclipse.ltk.core.refactoring.prefs
└── org.eclipse.jdt.core.prefs
├── src
└── com
│ └── dreamteam
│ └── app
│ ├── db
│ ├── DbConstant.java
│ ├── FeedDBManager.java
│ ├── FavoItemDbHelper.java
│ └── DbManager.java
│ ├── entity
│ ├── FeedCategory.java
│ ├── ItemListEntity.java
│ ├── UMCommentListEntity.java
│ ├── Section.java
│ ├── Feed.java
│ └── FeedItem.java
│ ├── commons
│ ├── UMHelper.java
│ ├── AppConfig.java
│ ├── SectionHelper.java
│ ├── IFlyHelper.java
│ └── UIHelper.java
│ ├── ui
│ ├── About.java
│ ├── FeedbackUI.java
│ ├── WidgetProvider.java
│ ├── ImageDialog.java
│ ├── FeedUI.java
│ ├── FeedCategoryUI.java
│ └── LoginDialog.java
│ ├── utils
│ ├── DateUtils.java
│ ├── MD5.java
│ ├── CategoryNameExchange.java
│ ├── HttpUtils.java
│ └── ImageUtils.java
│ ├── adapter
│ ├── MPagerAdapter.java
│ ├── FeedCategoryAdapter.java
│ └── CommentAdapter.java
│ └── dao
│ ├── FeedDao.java
│ └── FeedCategoryDao.java
├── sql
└── feed.sql
├── README.md
├── .classpath
├── project.properties
├── proguard-project.txt
└── .project
/.gitignore:
--------------------------------------------------------------------------------
1 | /bin
2 |
--------------------------------------------------------------------------------
/gen/.gitignore:
--------------------------------------------------------------------------------
1 | /com/
2 | /.gitignore
3 |
--------------------------------------------------------------------------------
/lint.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/assets/feed.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/assets/feed.db
--------------------------------------------------------------------------------
/res/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/.DS_Store
--------------------------------------------------------------------------------
/ic_launcher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/ic_launcher-web.png
--------------------------------------------------------------------------------
/libs/SpeechApi.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/libs/SpeechApi.jar
--------------------------------------------------------------------------------
/res/drawable/blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/blue.png
--------------------------------------------------------------------------------
/assets/huawenxinwei.TTF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/assets/huawenxinwei.TTF
--------------------------------------------------------------------------------
/libs/httpmime-4.1.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/libs/httpmime-4.1.3.jar
--------------------------------------------------------------------------------
/libs/SocialSDK_WeiXin.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/libs/SocialSDK_WeiXin.jar
--------------------------------------------------------------------------------
/libs/armeabi/libbspatch.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/libs/armeabi/libbspatch.so
--------------------------------------------------------------------------------
/libs/umeng_social_sdk.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/libs/umeng_social_sdk.jar
--------------------------------------------------------------------------------
/res/drawable-hdpi/add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/add.png
--------------------------------------------------------------------------------
/res/drawable/dark_dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/dark_dot.png
--------------------------------------------------------------------------------
/res/drawable/home_bg_0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/home_bg_0.png
--------------------------------------------------------------------------------
/res/drawable/new_1_pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/new_1_pic.png
--------------------------------------------------------------------------------
/res/drawable/new_2_pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/new_2_pic.png
--------------------------------------------------------------------------------
/res/drawable/new_3_pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/new_3_pic.png
--------------------------------------------------------------------------------
/res/drawable/new_4_pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/new_4_pic.png
--------------------------------------------------------------------------------
/res/drawable/splash_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/splash_bg.png
--------------------------------------------------------------------------------
/res/drawable/white_dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/white_dot.png
--------------------------------------------------------------------------------
/libs/SocialSDK_QQZone_1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/libs/SocialSDK_QQZone_1.jar
--------------------------------------------------------------------------------
/libs/SocialSDK_QQZone_2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/libs/SocialSDK_QQZone_2.jar
--------------------------------------------------------------------------------
/libs/android-support-v4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/libs/android-support-v4.jar
--------------------------------------------------------------------------------
/res/drawable-hdpi/added.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/added.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_ok.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_ok.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/pageid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/pageid.png
--------------------------------------------------------------------------------
/libs/SocialSDK_tencentWB_1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/libs/SocialSDK_tencentWB_1.jar
--------------------------------------------------------------------------------
/libs/SocialSDK_tencentWB_2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/libs/SocialSDK_tencentWB_2.jar
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_back.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_more.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_more.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_play.png
--------------------------------------------------------------------------------
/res/drawable/home_bg_night.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/home_bg_night.jpg
--------------------------------------------------------------------------------
/res/drawable/new_start_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/new_start_btn.png
--------------------------------------------------------------------------------
/res/drawable/picture_frame.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/picture_frame.png
--------------------------------------------------------------------------------
/libs/umeng-sdk-update_v2.4.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/libs/umeng-sdk-update_v2.4.1.jar
--------------------------------------------------------------------------------
/res/drawable-hdpi/bg_setting.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/bg_setting.9.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_delete.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_to_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_to_share.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/composer_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/composer_add.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/composer_sun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/composer_sun.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/head_default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/head_default.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable/home_bg_default.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/home_bg_default.jpg
--------------------------------------------------------------------------------
/res/drawable/loading_default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/loading_default.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/bt_widget_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/bt_widget_play.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_more_night.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_more_night.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_to_comment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_to_comment.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_to_speech.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_to_speech.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/channel_line.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/channel_line.9.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/composer_about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/composer_about.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/composer_moon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/composer_moon.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/composer_user.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/composer_user.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/empty_comment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/empty_comment.png
--------------------------------------------------------------------------------
/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_pv.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_pv.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_sms.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_sms.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/bt_widget_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/bt_widget_pause.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_favorite_full.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_favorite_full.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/channel_icon_bg.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/channel_icon_bg.9.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/composer_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/composer_button.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/composer_favorite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/composer_favorite.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/composer_setting.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/composer_setting.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/feed_custom_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/feed_custom_btn.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/fid_btn_collecte.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/fid_btn_collecte.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/article_toolbar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/article_toolbar.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_gmail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_gmail.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_google.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_google.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_qq_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_qq_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_qq_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_qq_on.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_tx_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_tx_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_tx_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_tx_on.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_wechat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_wechat.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/bt_widget_next_item.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/bt_widget_next_item.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_add_to_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_add_to_launcher.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_favorite_empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_favorite_empty.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_to_share_night.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_to_share_night.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/comment_input_box.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/comment_input_box.9.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/composer_icon_plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/composer_icon_plus.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/composer_switch_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/composer_switch_bg.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/detail_pic_default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/detail_pic_default.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/add_comment_bgd.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/add_comment_bgd.9.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/comment_write_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/comment_write_icon.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_checked.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_checked.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_facebook.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_qq_login.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_qq_login.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_qzone_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_qzone_on.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_refersh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_refersh.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_sina_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_sina_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_sina_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_sina_on.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_slate_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_slate_bg.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_sms_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_sms_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_twitter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_twitter.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_wxcircle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_wxcircle.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_x_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_x_button.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/bt_widget_next_channel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/bt_widget_next_channel.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_to_comment_night.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_to_comment_night.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/listview_divider_line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/listview_divider_line.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_like.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_action_like.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_at_label_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_at_label_bg.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_at_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_at_normal.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_at_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_at_selected.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_bind_bg.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_bind_bg.9.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_comment_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_comment_bg.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_douban_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_douban_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_douban_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_douban_on.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_fetch_image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_fetch_image.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_follow_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_follow_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_follow_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_follow_on.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_gmail_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_gmail_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_google_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_google_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_input_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_input_bar.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_location_ic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_location_ic.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_location_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_location_on.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_nav_bar_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_nav_bar_bg.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_qzone_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_qzone_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_renren_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_renren_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_renren_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_renren_on.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_search_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_search_icon.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_twitter_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_twitter_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_ucenter_hbg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_ucenter_hbg.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_wechat_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_wechat_gray.png
--------------------------------------------------------------------------------
/res/drawable/umeng_update_wifi_disable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_update_wifi_disable.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_favorite_empty_night.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_favorite_empty_night.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/btn_favorite_full_night.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/btn_favorite_full_night.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_unlike.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_action_unlike.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_button_blue.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_button_blue.9.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_button_grey.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_button_grey.9.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_button_red.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_button_red.9.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_divider_line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_divider_line.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_facebook_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_facebook_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_location_grey.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_location_grey.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_location_mark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_location_mark.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_location_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_location_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_wxcircle_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_wxcircle_gray.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_socialize_share_music.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_socialize_share_music.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_socialize_share_pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_socialize_share_pic.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_socialize_share_video.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_socialize_share_video.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_update_close_bg_tap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_update_close_bg_tap.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_item_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_action_item_bg.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_actionbar_bg.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_actionbar_bg.9.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_at_search_bg.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_at_search_bg.9.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_bind_select_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_bind_select_bg.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_button_white.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_button_white.9.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_comment_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_comment_normal.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_comment_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_comment_selected.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_default_avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_default_avatar.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_facebook_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_facebook_close.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_fetch_location.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_fetch_location.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_light_bar_bg.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_light_bar_bg.9.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_oauth_check_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_oauth_check_off.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_oauth_check_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_oauth_check_on.png
--------------------------------------------------------------------------------
/res/values/network.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 网络异常
4 |
5 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.ltk.core.refactoring.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
3 |
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_update_close_bg_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_update_close_bg_normal.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_back_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_action_back_normal.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_socialize_nav_bar_bg_pad.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_socialize_nav_bar_bg_pad.9.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_socialize_oauth_check_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_socialize_oauth_check_off.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_socialize_oauth_check_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_socialize_oauth_check_on.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_back_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_action_back_selected.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_comment_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_action_comment_normal.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_share_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_action_share_normal.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_share_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_action_share_selected.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_button_login_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_button_login_normal.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_button_login_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_button_login_pressed.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_fetch_image_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_fetch_image_disabled.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_pulltorefresh_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_pulltorefresh_arrow.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_back_bt_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_title_back_bt_normal.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_right_bt_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_title_right_bt_normal.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_tab_left_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_title_tab_left_normal.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_socialize_light_bar_bg_pad.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_socialize_light_bar_bg_pad.9.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/umeng_socialize_switchbutton_mask.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/umeng_socialize_switchbutton_mask.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_comment_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_action_comment_selected.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_personal_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_action_personal_normal.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_fetch_location_disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_fetch_location_disabled.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_back_bt_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_title_back_bt_selected.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_right_bt_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_title_right_bt_selected.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_tab_left_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_title_tab_left_pressed.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_tab_right_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_title_tab_right_normal.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_tab_right_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_title_tab_right_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_update_btn_check_off_holo_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_update_btn_check_off_holo_light.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_update_btn_check_on_holo_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_update_btn_check_on_holo_light.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/umeng_socialize_switchbutton_bottom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/umeng_socialize_switchbutton_bottom.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/umeng_socialize_switchbutton_frame.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/umeng_socialize_switchbutton_frame.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/umeng_socialize_switchimage_choose.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/umeng_socialize_switchimage_choose.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/umeng_socialize_switchimage_unchoose.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/umeng_socialize_switchimage_unchoose.png
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_personal_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable/umeng_socialize_action_personal_selected.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/umeng_socialize_switchbutton_btn_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/umeng_socialize_switchbutton_btn_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_update_btn_check_on_focused_holo_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_update_btn_check_on_focused_holo_light.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_update_btn_check_on_pressed_holo_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_update_btn_check_on_pressed_holo_light.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/umeng_socialize_switchbutton_btn_unpressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-xhdpi/umeng_socialize_switchbutton_btn_unpressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_update_btn_check_off_focused_holo_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_update_btn_check_off_focused_holo_light.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/umeng_update_btn_check_off_pressed_holo_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matrixcloud/SimpleReader/HEAD/res/drawable-hdpi/umeng_update_btn_check_off_pressed_holo_light.png
--------------------------------------------------------------------------------
/res/drawable/composer_button_center.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/db/DbConstant.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.db;
2 |
3 | public class DbConstant
4 | {
5 | public static final String FAVO_TABLE_NAME = "favorite_item";
6 | public static final String SECTION_TABLE_NAME = "section";
7 | }
8 |
--------------------------------------------------------------------------------
/res/values-sw600dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 16dp
5 | 16dp
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_dialog_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/res/anim/umeng_socialize_shareboard_animation_out.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_share_transparent_corner.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/dot.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/res/menu/main.xml:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_shape_solid_black.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_shape_solid_grey.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_sidebar_normal.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_sidebar_selected.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/res/anim/umeng_socialize_slide_out_from_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_button_ok_bg_tap.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/res/anim/umeng_socialize_slide_in_from_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_button_cancel_bg_tap.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/res/layout/splash_acitvity.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/res/values-sw720dp-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 | 128dp
8 |
9 |
10 |
--------------------------------------------------------------------------------
/res/drawable/umeng_common_gradient_green.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
--------------------------------------------------------------------------------
/res/drawable/umeng_common_gradient_orange.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
--------------------------------------------------------------------------------
/res/drawable/umeng_common_gradient_red.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
--------------------------------------------------------------------------------
/res/values/toast.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 已切回日间模式
4 | 夜间模式已启用
5 |
6 | 你已登陆
7 | 按下返回键退出编辑模式
8 |
9 | 再按下退出程序
10 |
11 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_shape_cyan.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_shape_red.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_shape_yellow.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/res/xml/widget.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/res/anim/umeng_socialize_fade_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
9 |
10 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_button_ok_bg_focused.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/res/anim/umeng_socialize_fade_out.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
9 |
10 |
--------------------------------------------------------------------------------
/res/drawable/shap_title_bar.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
9 |
10 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_button_cancel_bg_focused.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/sql/feed.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE feed(
2 | `fid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
3 | `fname` CHARACTER(10) NOT NULL,
4 | `url` VARCHAR(255) NOT NULL,
5 | `state` TINYINT(1) DEFAULT 0,
6 | `cid` INTEGER NOT NULL
7 | );
8 |
9 | CREATE TABLE feed_category(
10 | `cid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
11 | `cname` CHARACTER(10) NOT NULL
12 | );
13 |
--------------------------------------------------------------------------------
/res/drawable/img_btn_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/res/drawable/shap_title_bar_night.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
9 |
10 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_follow_check.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_button_ok_bg_normal.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_button_cancel_bg_normal.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ### SimpleReader是一款RSS聚合阅读器
2 |
3 | #### 实现功能
4 | - 离线缓存
5 | - 异步图片加载
6 | - 文章收藏
7 | - 夜间模式
8 | - 首页壁纸切换
9 | - 整合科大讯飞语音SDK
10 | - 整合友盟分享及评论SDK
11 |
12 | #### 依赖库
13 | - 下拉刷新:[地址](https://github.com/chrisbanes/Android-PullToRefresh)
14 | - 科大讯飞
15 | - 友盟社区组件
16 |
17 | ### Android Studio项目的更新
18 | - [有问题,可以试试这位童鞋的](https://github.com/Jack-Xiao/SimpleReader-second)
19 | - 请直接检出as分支
20 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_oauth_check.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/res/values-v11/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_share_to_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_sidebar_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_title_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_comment_item_bg_shape.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_composer_header.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
--------------------------------------------------------------------------------
/res/values-v14/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_shape_hollow_grey.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/entity/FeedCategory.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.entity;
2 |
3 | public class FeedCategory
4 | {
5 | private int id;
6 | private String name;
7 |
8 |
9 | public int getId()
10 | {
11 | return id;
12 | }
13 | public void setId(int id)
14 | {
15 | this.id = id;
16 | }
17 | public String getName()
18 | {
19 | return name;
20 | }
21 | public void setName(String name)
22 | {
23 | this.name = name;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_shareboard_item_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/res/layout/category_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
12 |
13 |
--------------------------------------------------------------------------------
/assets/about.html:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 | - 作者: zcloud
6 |
- 邮箱: zcloud01@outlook.com
7 |
- 项目托管地址
8 |
9 | - oschina: http://git.oschina.net/zcloud/SimpleReader
10 |
- github: https://github.com/zcloud01/SimpleReader
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_commnet_header_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_button_close_bg_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
8 |
10 |
11 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_at_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_shape_bt.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_button_red_blue.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_button_grey_blue.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_button_white_blue.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_comment_icon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_at_overlay.xml:
--------------------------------------------------------------------------------
1 |
2 |
14 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_back.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_bind_bt.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_button_login.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_button_ok_bg_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
8 |
10 |
11 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_share_icon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_back_bt.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/anim/umeng_socialize_shareboard_animation_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
10 |
11 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_right_bt.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_button_cancel_bg_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
8 |
10 |
11 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_tab_button_left.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_title_tab_button_right.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_action_personal_icon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_failed_load_page.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/res/layout/what_new_one.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
14 |
15 |
--------------------------------------------------------------------------------
/res/layout/what_new_two.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
14 |
15 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/entity/ItemListEntity.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.entity;
2 |
3 | import java.io.Serializable;
4 | import java.util.ArrayList;
5 |
6 | @SuppressWarnings("serial")
7 | public class ItemListEntity implements Serializable
8 | {
9 | private ArrayList itemList = new ArrayList();
10 |
11 | public ArrayList getItemList()
12 | {
13 | return itemList;
14 | }
15 |
16 | public void setItemList(ArrayList itemList)
17 | {
18 | this.itemList = itemList;
19 | }
20 |
21 | public FeedItem getFirstItem()
22 | {
23 | return itemList.get(0);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/res/layout/what_new_three.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
14 |
15 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/entity/UMCommentListEntity.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.entity;
2 |
3 | import java.io.Serializable;
4 | import java.util.ArrayList;
5 |
6 | import com.umeng.socialize.bean.UMComment;
7 |
8 | @SuppressWarnings("serial")
9 | public class UMCommentListEntity implements Serializable
10 | {
11 | private ArrayList commentList = new ArrayList();
12 |
13 | public ArrayList getCommentList()
14 | {
15 | return commentList;
16 | }
17 |
18 | public void setCommentList(ArrayList commentList)
19 | {
20 | this.commentList = commentList;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_base_alert_dialog_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
14 |
15 |
--------------------------------------------------------------------------------
/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5 | org.eclipse.jdt.core.compiler.compliance=1.6
6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate
8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11 | org.eclipse.jdt.core.compiler.source=1.6
12 |
--------------------------------------------------------------------------------
/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system edit
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 | #
10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12 |
13 | # Project target.
14 | target=android-14
15 | android.library.reference.1=../library
16 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/entity/Section.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.entity;
2 |
3 | public class Section
4 | {
5 | private String title;
6 | private String url;
7 | private String tableName;//所属数据库表
8 |
9 |
10 | public String getTitle()
11 | {
12 | return title;
13 | }
14 | public void setTitle(String title)
15 | {
16 | this.title = title;
17 | }
18 | public String getUrl()
19 | {
20 | return url;
21 | }
22 | public void setUrl(String url)
23 | {
24 | this.url = url;
25 | }
26 | public String getTableName()
27 | {
28 | return tableName;
29 | }
30 | public void setTableName(String tableName)
31 | {
32 | this.tableName = tableName;
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/commons/UMHelper.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.commons;
2 |
3 | import com.umeng.socialize.controller.RequestType;
4 | import com.umeng.socialize.controller.UMServiceFactory;
5 | import com.umeng.socialize.controller.UMSocialService;
6 |
7 | /**
8 | * @description TODO
9 | * @author zcloud
10 | * @date 2014年5月9日
11 | *
12 | */
13 | public class UMHelper
14 | {
15 | private final static UMSocialService mController = UMServiceFactory.
16 | getUMSocialService("com.dreamteam.app.reader.umeng.usr", RequestType.SOCIAL);
17 |
18 |
19 | public static UMSocialService getUMSocialService()
20 | {
21 | return mController;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #000000
4 | #303030
5 | #dad9d7
6 | #a0a0a0
7 | #ecf0f1
8 | #ffffff
9 | #3598db
10 | #00000000
11 | #ffeef1f3
12 |
13 | #f4f4f4
14 | #303030
15 |
16 |
17 | #ffeef1f3
18 |
19 |
--------------------------------------------------------------------------------
/res/values-zh/umeng_update_string.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 未联网
4 | 发现新版本
5 | 最新版本:
6 | 更新内容
7 | 仅需要下载:
8 | 新版本大小:
9 | (提示:非WIFI环境)
10 | 立即更新
11 | 应用更新
12 | 以后再说
13 | 忽略该版
14 | 正在更新中....
15 | 最新版本已下载,是否安装?
16 |
17 |
--------------------------------------------------------------------------------
/res/values/attrs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_simple_spinner_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
20 |
21 |
--------------------------------------------------------------------------------
/proguard-project.txt:
--------------------------------------------------------------------------------
1 | # To enable ProGuard in your project, edit project.properties
2 | # to define the proguard.config property as described in that file.
3 | #
4 | # Add project specific ProGuard rules here.
5 | # By default, the flags in this file are appended to flags specified
6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt
7 | # You can edit the include path and order by changing the ProGuard
8 | # include property in project.properties.
9 | #
10 | # For more details, see
11 | # http://developer.android.com/guide/developing/tools/proguard.html
12 |
13 | # Add any project specific keep options here:
14 |
15 | # If your project uses WebView with JS, uncomment the following
16 | # and specify the fully qualified class name to the JavaScript interface
17 | # class:
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19 | # public *;
20 | #}
21 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/ui/About.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.ui;
2 |
3 | import android.app.Activity;
4 | import android.os.Bundle;
5 | import android.view.View;
6 | import android.view.View.OnClickListener;
7 | import android.webkit.WebView;
8 |
9 | import com.dreateam.app.ui.R;
10 |
11 | public class About extends Activity
12 | {
13 | @Override
14 | protected void onCreate(Bundle savedInstanceState)
15 | {
16 | super.onCreate(savedInstanceState);
17 | setContentView(R.layout.about);
18 | initView();
19 | }
20 |
21 | private void initView()
22 | {
23 | findViewById(R.id.about_return_btn).setOnClickListener(new OnClickListener() {
24 | @Override
25 | public void onClick(View v) {
26 | finish();
27 | }
28 | });
29 | WebView mWebView = (WebView) findViewById(R.id.about_webview);
30 | mWebView.loadUrl("file:///android_asset/about.html");
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/res/layout/category_detail_item.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
14 |
15 |
23 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/utils/DateUtils.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.utils;
2 |
3 |
4 | /**
5 | * @description
6 | * @author zcloud
7 | * @date 2013/11/13
8 | */
9 | public class DateUtils
10 | {
11 |
12 | /**
13 | * @description rfc实例:Tue, 08 Oct 2013 18:02:03 +0800��
14 | * 转为yy/mm/day
15 | * @param date
16 | * @return String
17 | */
18 | public static String rfcNormalDate(String date)
19 | {
20 | String[] strs = date.split("\\s+|:");
21 |
22 | return enNumberMonth(strs[2])
23 | + "月" + strs[1] + "日" + ' ' + strs[4]
24 | + ":" + strs[5];
25 | }
26 |
27 | private static int enNumberMonth(String month)
28 | {
29 | String[] months = {"Jan", "Feb", "Mar", "Apr", "May", "Jun",
30 | "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};
31 |
32 | for(int i = 0; i < months.length; i++)
33 | {
34 | if(months[i].equalsIgnoreCase(month))
35 | return i + 1;
36 | }
37 | return 0;
38 | }
39 | }
--------------------------------------------------------------------------------
/res/values/umeng_socialize_colors.xml:
--------------------------------------------------------------------------------
1 |
2 | #F4F4F4
3 | #2c3035
4 | #333333
5 | #FFFFFF
6 | #E6E6E6
7 | #999999
8 | #464f61
9 | #959696
10 | #666666
11 | #EEEEEE
12 | #595959
13 | #C4C4C4
14 | #F8F8F8
15 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/entity/Feed.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.entity;
2 |
3 |
4 | /**
5 | * @description TODO
6 | * @author zcloud
7 | * @date 2013/11/10
8 | */
9 | public class Feed
10 | {
11 | public static final String tag = "Feed";
12 |
13 | private String title;
14 | private String url;
15 | private int selectStatus;//是否已经选中
16 |
17 | public String getTitle()
18 | {
19 | return title;
20 | }
21 | public void setTitle(String title)
22 | {
23 | this.title = title;
24 | }
25 | public String getUrl()
26 | {
27 | return url;
28 | }
29 | public void setUrl(String url)
30 | {
31 | this.url = url;
32 | }
33 |
34 | public boolean isSelected()
35 | {
36 | if(selectStatus == 1)
37 | return true;
38 | return false;
39 | }
40 |
41 | public void setSelectStatus(int selectStatus)
42 | {
43 | this.selectStatus = selectStatus;
44 | }
45 | public int getSelectStatus()
46 | {
47 | return selectStatus;
48 | }
49 |
50 | }
51 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/utils/MD5.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.utils;
2 |
3 | import java.security.MessageDigest;
4 | import java.security.NoSuchAlgorithmException;
5 |
6 | public class MD5
7 | {
8 | public static String Md5(String str)
9 | {
10 | if (str != null && !str.equals(""))
11 | {
12 | try
13 | {
14 | MessageDigest md5 = MessageDigest.getInstance("MD5");
15 | char[] HEX =
16 | { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b',
17 | 'c', 'd', 'e', 'f' };
18 | byte[] md5Byte = md5.digest(str.getBytes("UTF8"));
19 | StringBuffer sb = new StringBuffer();
20 | for (int i = 0; i < md5Byte.length; i++)
21 | {
22 | sb.append(HEX[(int) (md5Byte[i] & 0xff) / 16]);
23 | sb.append(HEX[(int) (md5Byte[i] & 0xff) % 16]);
24 | }
25 | str = sb.toString();
26 | }
27 | catch(NoSuchAlgorithmException e)
28 | {
29 | }
30 | catch(Exception e)
31 | {
32 | }
33 | }
34 | return str;
35 | }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | SimpleReader
4 |
5 |
6 |
7 |
8 |
9 | com.android.ide.eclipse.adt.ResourceManagerBuilder
10 |
11 |
12 |
13 |
14 | com.android.ide.eclipse.adt.PreCompilerBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.android.ide.eclipse.adt.ApkBuilder
25 |
26 |
27 |
28 |
29 |
30 | com.android.ide.eclipse.adt.AndroidNature
31 | org.eclipse.jdt.core.javanature
32 |
33 |
34 |
--------------------------------------------------------------------------------
/res/values/umeng_update_string.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Please make sure you are connected to internet,update failed
5 | New version found
6 | Latest version:
7 | Update Content
8 | Update size:
9 | Target size:
10 | (Warning: Not WIFI Condition)
11 | Update now
12 | App updating
13 | Not now
14 | Ingore this
15 | Updating....
16 | The lastest version has been downloaded, install now ?
17 | 2.4.1.20140228
18 |
19 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/commons/AppConfig.java:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | */
4 | package com.dreamteam.app.commons;
5 |
6 | import java.io.File;
7 |
8 | import com.dreamteam.app.utils.FileUtils;
9 |
10 | /**
11 | * @author: zcloud
12 | *
13 | * @description: TODO
14 | *
15 | * @date: 2013/10/11
16 | *
17 | */
18 | public class AppConfig
19 | {
20 | //SD卡目录
21 | public static final String APP_ROOT_DIR = FileUtils.getSDRootPath() + File.separator + "SimpleReader";
22 | public static final String APP_CACHE_DIR = APP_ROOT_DIR + File.separator + "cache";
23 | public static final String APP_SECTION_DIR = APP_CACHE_DIR + File.separator + "sections";
24 | public static final String APP_IMAGE_CACHE_DIR = APP_CACHE_DIR + File.separator + "images";
25 | public static final String APP_IMAGE_DIR = APP_ROOT_DIR + File.separator + "images";
26 | //文章过期配置
27 | public static final String PREF_DEPRECATED = "pref_deprecated";
28 |
29 |
30 |
31 |
32 | //有盟
33 | public static final String UM_BASE_KEY = "com.dreamteam.reader";
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/res/layout/what_new_four.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
14 |
15 |
24 |
25 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_post_comment_platform.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
15 |
16 |
25 |
26 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_full_curtain.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
14 |
15 |
18 |
19 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/res/layout/comment_menu.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
18 |
19 |
27 |
28 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/utils/CategoryNameExchange.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.utils;
2 |
3 | import com.dreateam.app.ui.R;
4 |
5 | import android.content.Context;
6 |
7 |
8 | /**
9 | * @description TODO
10 | * @author zcloud
11 | * @date 2014年1月27日
12 | */
13 | public class CategoryNameExchange
14 | {
15 | private String[] cates_zh;
16 | private String[] cates_en;
17 |
18 | public CategoryNameExchange(Context context)
19 | {
20 | cates_zh = context.getResources()
21 | .getStringArray(R.array.feed_category);
22 | cates_en = context.getResources()
23 | .getStringArray(R.array.feed_category_en);
24 | }
25 |
26 | public String zh2en(String zh)
27 | {
28 | for(int i = 0; i < cates_zh.length; i++)
29 | {
30 | if(zh.equals(cates_zh[i]))
31 | return cates_en[i];
32 | }
33 | return null;
34 | }
35 |
36 | public String en2zh(String en)
37 | {
38 | for(int i = 0; i < cates_en.length; i++)
39 | {
40 | if(en.equals(cates_en[i]))
41 | return cates_zh[i];
42 | }
43 | return null;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/res/values-zh/umeng_common_strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 正在下载中.
4 | 下载出错啦,请检查网络后继续。
5 | 暂停
6 | 继续
7 | 取消
8 | 正在下载:
9 | 暂停:
10 | 正在下载应用
11 | 正在更新安装包
12 | 请连接网络后再尝试!
13 | 下载失败
14 | 下载完成,请点击安装
15 | 更新完成,请点击安装
16 | 新版本已经准备好,请点击安装
17 |
18 |
--------------------------------------------------------------------------------
/res/layout/about.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
11 |
17 |
24 |
25 |
29 |
--------------------------------------------------------------------------------
/res/layout/favorite_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
10 |
14 |
22 |
23 |
24 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_shareboard_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
15 |
28 |
--------------------------------------------------------------------------------
/res/layout/setting.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
12 |
16 |
24 |
25 |
30 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/utils/HttpUtils.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.utils;
2 |
3 | import java.io.InputStream;
4 | import java.net.HttpURLConnection;
5 | import java.net.URL;
6 |
7 | import org.apache.http.HttpStatus;
8 |
9 | import android.util.Log;
10 |
11 | /**
12 | * @author: zcloud
13 | *
14 | * @description: TODO
15 | *
16 | * @date: 2013/10/10
17 | *
18 | */
19 | public class HttpUtils
20 | {
21 | private static HttpURLConnection conn = null;
22 | public static final String tag = "HttpUtils";
23 | private static final int TIMEOUT = 1000*10;
24 |
25 | /**
26 | * @param url
27 | * @return InputStream
28 | * @throws Exception
29 | */
30 | public static InputStream getInputStream(String url) throws Exception
31 | {
32 | InputStream is = null;
33 | URL httpURL = null;
34 |
35 | httpURL = new URL(url);
36 | conn = (HttpURLConnection) httpURL.openConnection();
37 | conn.setConnectTimeout(TIMEOUT);
38 | conn.setReadTimeout(TIMEOUT);
39 | if(conn.getResponseCode() == HttpStatus.SC_OK)
40 | {
41 | Log.d(tag, "connected!");
42 | is = conn.getInputStream();
43 | }
44 | return is;
45 | }
46 |
47 | public static void disConnect()
48 | {
49 | if(null != conn)
50 | {
51 | conn.disconnect();
52 | }
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/commons/SectionHelper.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.commons;
2 |
3 | import java.io.File;
4 |
5 | import android.content.ContentValues;
6 | import android.database.sqlite.SQLiteDatabase;
7 |
8 | import com.dreamteam.app.db.DbConstant;
9 | import com.dreamteam.app.utils.FileUtils;
10 | import com.dreamteam.app.utils.MD5;
11 |
12 | public class SectionHelper
13 | {
14 |
15 | public static void removeRecord(SQLiteDatabase db, String url)
16 | {
17 | db.delete(DbConstant.SECTION_TABLE_NAME, "url=?", new String[]{url});
18 | db.close();
19 | }
20 |
21 | public static void insert(SQLiteDatabase db, String tableName, String title, String url)
22 | {
23 | ContentValues values = new ContentValues();
24 | values.put("table_name", tableName);
25 | values.put("title", title);
26 | values.put("url", url);
27 | db.insert(DbConstant.SECTION_TABLE_NAME, null, values);
28 | }
29 |
30 | public static File newSdCache(String url)
31 | {
32 | String name = AppConfig.APP_SECTION_DIR + File.separator
33 | + MD5.Md5(url);
34 | return FileUtils.newAbsoluteFile(name);
35 | }
36 |
37 | public static File getSdCache(String url)
38 | {
39 | return new File(AppConfig.APP_SECTION_DIR + File.separator + MD5.Md5(url));
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/res/layout/category_detail.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
12 |
16 |
24 |
25 |
26 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/res/values/umeng_common_strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | The app is already in downloading list.
4 | dowload interrupted.
5 | Pause
6 | Continue
7 | Cancel
8 | Downloading:
9 | Pause:
10 | Download start.
11 | Patch start.
12 | Please make sure you are connected to internet, download failed
13 | Download Failed!
14 | Download finished,click to install it.
15 | Patch finished,click to install it.
16 | New version is ready,click to install it.
17 | icon
18 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/db/FeedDBManager.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.db;
2 |
3 | import android.content.ContentValues;
4 | import android.content.Context;
5 | import android.database.sqlite.SQLiteDatabase;
6 | import android.database.sqlite.SQLiteDatabase.CursorFactory;
7 | import android.database.sqlite.SQLiteOpenHelper;
8 |
9 | /**
10 | * @description feed.db助手
11 | * @author zcloud
12 | * @date 2014年1月24日
13 | */
14 | public class FeedDBManager extends SQLiteOpenHelper
15 | {
16 | public static final String DB_NAME = "feed.db";
17 |
18 |
19 | public FeedDBManager(Context context, String name, CursorFactory factory,
20 | int version)
21 | {
22 | super(context, name, factory, version);
23 | }
24 |
25 | @Override
26 | public void onCreate(SQLiteDatabase db)
27 | {
28 |
29 | }
30 |
31 | @Override
32 | public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)
33 | {
34 |
35 | }
36 |
37 | /**
38 | * @description 1为选中
39 | * @param tableName
40 | * @param state
41 | * @param url
42 | */
43 | public void updateState(String tableName, int state, String url)
44 | {
45 | SQLiteDatabase db = getWritableDatabase();
46 | ContentValues values = new ContentValues();
47 | values.put("state", state);
48 | db.update(tableName, values, "url=?", new String[]{url});
49 | db.close();
50 | }
51 |
52 | }
53 |
--------------------------------------------------------------------------------
/res/layout/image_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
13 |
19 |
20 |
26 |
27 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/adapter/MPagerAdapter.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.adapter;
2 |
3 | import java.util.ArrayList;
4 |
5 | import android.support.v4.view.PagerAdapter;
6 | import android.support.v4.view.ViewPager;
7 | import android.view.View;
8 | import android.view.ViewGroup;
9 | import android.widget.GridView;
10 |
11 | public class MPagerAdapter extends PagerAdapter
12 | {
13 | @Override
14 | public void destroyItem(ViewGroup container, int position, Object object)
15 | {
16 | ((ViewPager) container).removeView(views.get(position));
17 | }
18 |
19 | public static final String tag = "MPagerAdapter";
20 | private ArrayList views;
21 |
22 |
23 | public MPagerAdapter(ArrayList views)
24 | {
25 | this.views = views;
26 | }
27 |
28 | @Override
29 | public Object instantiateItem(ViewGroup container, int position)
30 | {
31 | ((ViewPager) container).addView(views.get(position), 0);
32 | return views.get(position);
33 | }
34 |
35 | @Override
36 | public int getCount()
37 | {
38 | return views.size();
39 | }
40 |
41 | @Override
42 | public boolean isViewFromObject(View arg0, Object arg1)
43 | {
44 | return arg0 == arg1;
45 | }
46 |
47 | public void removeAllViews()
48 | {
49 | for(int i = 0; i < views.size(); i++)
50 | {
51 | views.remove(i);
52 | }
53 | notifyDataSetChanged();
54 | }
55 |
56 | }
57 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/db/FavoItemDbHelper.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.db;
2 |
3 | import android.content.ContentValues;
4 | import android.database.sqlite.SQLiteDatabase;
5 |
6 |
7 | public class FavoItemDbHelper
8 | {
9 | public static final String TITLE = "title";
10 | public static final String PUBDATE = "pubdate";
11 | public static final String DETAIL = "item_detail";
12 | public static final String LINK = "link";
13 | public static final String FIRST_IMG_URL = "first_img_url";
14 | public static final String SECTION_TITLE = "table_name";
15 | public static final String SECTION_URL = "table_url";
16 |
17 |
18 | public static void insert(SQLiteDatabase db, String title,
19 | String pubdate, String itemDetail, String link,
20 | String firstImgUrl, String sectionTitle, String sectionUrl)
21 | {
22 | ContentValues values = new ContentValues();
23 | values.put(TITLE, title);
24 | values.put(PUBDATE, pubdate);
25 | values.put(DETAIL, itemDetail);
26 | values.put(LINK, link);
27 | values.put(FIRST_IMG_URL, firstImgUrl);
28 | values.put(SECTION_TITLE, sectionTitle);
29 | values.put(SECTION_URL, sectionUrl);
30 |
31 | db.insert(DbConstant.FAVO_TABLE_NAME, null, values);
32 | db.close();
33 | }
34 |
35 | public static void removeRecord(SQLiteDatabase db, String link)
36 | {
37 | db.delete(DbManager.FAVORITE_ITEM_TABLE_NAME, "link=?", new String[]{link});
38 | db.close();
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/db/DbManager.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.db;
2 |
3 | import android.content.Context;
4 | import android.database.sqlite.SQLiteDatabase;
5 | import android.database.sqlite.SQLiteDatabase.CursorFactory;
6 | import android.database.sqlite.SQLiteOpenHelper;
7 |
8 | /**
9 | * @description reader.db
10 | * @author zcloud
11 | * @date 2014年2月1日
12 | */
13 | public class DbManager extends SQLiteOpenHelper
14 | {
15 | public static final String DB_NAME = "reader.db";
16 | public static final String FAVORITE_ITEM_TABLE_NAME = "favorite_item";
17 |
18 | private static final String CREATE_SECTION_TABLE =
19 | "create table" + " " + DbConstant.SECTION_TABLE_NAME
20 | + "(title text, url text, table_name text)";
21 |
22 | private static final String CREATE_FAVORITE_TABLE = "create table"
23 | + " " + FAVORITE_ITEM_TABLE_NAME
24 | + "(title text, pubdate text, item_detail text, "
25 | + "link text, first_img_url text, table_name text, table_url text)";
26 |
27 |
28 | public DbManager(Context context, String name, CursorFactory factory,
29 | int version)
30 | {
31 | super(context, name, factory, version);
32 | }
33 |
34 | @Override
35 | public void onCreate(SQLiteDatabase db)
36 | {
37 | db.execSQL(CREATE_SECTION_TABLE);
38 | db.execSQL(CREATE_FAVORITE_TABLE);
39 | }
40 |
41 | @Override
42 | public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)
43 | {
44 |
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/res/layout/feed_item_list.xml:
--------------------------------------------------------------------------------
1 |
7 |
11 |
17 |
25 |
31 |
32 |
41 |
--------------------------------------------------------------------------------
/res/layout/feed_item.xml:
--------------------------------------------------------------------------------
1 |
6 |
14 |
20 |
29 |
30 |
40 |
--------------------------------------------------------------------------------
/res/layout/comment_item.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
11 |
12 |
17 |
18 |
25 |
26 |
32 |
33 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/dao/FeedDao.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.dao;
2 |
3 | import java.util.ArrayList;
4 |
5 | import android.content.Context;
6 | import android.database.Cursor;
7 | import android.database.sqlite.SQLiteDatabase;
8 |
9 | import com.dreamteam.app.db.FeedDBManager;
10 | import com.dreamteam.app.entity.Feed;
11 |
12 | /**
13 | * @description TODO
14 | * @author zcloud
15 | * @date 2014年10月1日
16 | */
17 | public class FeedDao
18 | {
19 | public static final String TABLE_NAME = "feed";
20 | private Context context;
21 |
22 | public FeedDao(Context context)
23 | {
24 | this.context = context;
25 | }
26 |
27 | public ArrayList getListByCategoryId(String id)
28 | {
29 | ArrayList list = new ArrayList();
30 | FeedDBManager helper = new FeedDBManager(context, FeedDBManager.DB_NAME, null, 1);
31 | SQLiteDatabase db = helper.getWritableDatabase();
32 |
33 | Cursor cursor = db.query(TABLE_NAME, null, "cid=?", new String[]{id}, null, null, null);
34 | if (cursor.moveToFirst())
35 | {
36 | for (int i = 0, n = cursor.getCount(); i < n; i++)
37 | {
38 | Feed f = new Feed();
39 | String title = cursor.getString(cursor.getColumnIndex("fname"));
40 | String url = cursor.getString(cursor.getColumnIndex("url"));
41 | int selectStatus = cursor.getInt(cursor
42 | .getColumnIndex("state"));
43 | f.setTitle(title);
44 | f.setUrl(url);
45 | f.setSelectStatus(selectStatus);
46 | list.add(f);
47 | cursor.moveToNext();
48 | }
49 | }
50 | cursor.close();
51 | db.close();
52 | return list;
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_comment_more.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
16 |
29 |
30 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_at_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
16 |
19 |
20 |
28 |
29 |
41 |
42 |
--------------------------------------------------------------------------------
/res/anim/anim_down_toleft6.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
13 |
14 |
23 |
24 |
33 |
34 |
42 |
43 |
--------------------------------------------------------------------------------
/res/drawable/umeng_update_button_check_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
9 |
10 |
13 |
16 |
17 |
20 |
23 |
24 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/res/layout/feed_category.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
13 |
20 |
28 |
36 |
37 |
38 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | SimpleReader
5 | Settings
6 |
7 |
8 | - 新闻资讯
9 | - 科学技术
10 | - 读书文娱
11 | - 体育赛事
12 | - 动漫游戏
13 | - 名人博客
14 | - 外语资讯
15 | - 娱乐八卦
16 |
17 |
18 |
19 | - news
20 | - science
21 | - culture
22 | - sports
23 | - manga
24 | - blog
25 | - english
26 | - fun
27 |
28 |
29 |
30 | - 新浪微博登陆
31 | - QQ账号登陆
32 | - 人人账号登陆
33 |
34 |
35 | 250
36 | 500
37 | 150
38 |
39 | 请检查网络设置
40 | 网络异常,请稍后再试
41 | 暂无更新
42 |
43 |
44 | - 3天
45 | - 4天
46 | - 5天
47 | - 6天
48 | - 7天
49 | - 8天
50 | - 9天
51 | - 10天
52 |
53 |
54 | 分钟前
55 | 小时前
56 | 天前
57 |
58 | 设置成功
59 |
60 |
61 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_ucenter_platform_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
17 |
18 |
30 |
31 |
39 |
40 |
43 |
44 |
--------------------------------------------------------------------------------
/res/xml/preference.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
11 |
15 |
16 |
17 |
18 |
19 |
23 |
24 |
25 |
26 |
27 |
28 |
30 |
31 |
32 |
36 |
37 |
39 |
40 |
44 |
45 |
--------------------------------------------------------------------------------
/res/layout/switch_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
11 |
17 |
23 |
30 |
31 |
38 |
48 |
49 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/ui/FeedbackUI.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.ui;
2 |
3 | import android.app.Activity;
4 | import android.content.Intent;
5 | import android.os.Bundle;
6 | import android.view.View;
7 | import android.view.View.OnClickListener;
8 | import android.widget.Button;
9 | import android.widget.EditText;
10 | import android.widget.ImageButton;
11 | import android.widget.Toast;
12 |
13 | import com.dreateam.app.ui.R;
14 |
15 | public class FeedbackUI extends Activity
16 | {
17 |
18 | public void onCreate(Bundle savedInstanceState)
19 | {
20 | super.onCreate(savedInstanceState);
21 | setContentView(R.layout.fadeback_view);
22 |
23 | ((Button) findViewById(R.id.feedback_btn))
24 | .setOnClickListener(new OnClickListener()
25 | {
26 |
27 | @Override
28 | public void onClick(View arg0)
29 | {
30 | String msg = ((EditText) findViewById(R.id.feedback_edit))
31 | .getText().toString().trim();
32 | if ("".equals(msg))
33 | {
34 | Toast.makeText(FeedbackUI.this, "请输入内容,谢谢!", Toast.LENGTH_SHORT).show();
35 | return;
36 | }
37 | Intent intent = new Intent();
38 | intent.setType("message/rfc822");
39 | intent.setAction(Intent.ACTION_SEND);
40 | intent.putExtra(Intent.EXTRA_EMAIL, new String[]{"zcloud01@outlook.com"});
41 | intent.putExtra(Intent.EXTRA_SUBJECT, "用户反馈");
42 | intent.putExtra(Intent.EXTRA_TEXT, msg);
43 | startActivity(Intent.createChooser(intent, "sending mail"));
44 | ((EditText) findViewById(R.id.feedback_edit))
45 | .setText("");
46 | finish();
47 | }
48 | });
49 |
50 | ((ImageButton) findViewById(R.id.button_return))
51 | .setOnClickListener(new OnClickListener()
52 | {
53 |
54 | @Override
55 | public void onClick(View arg0)
56 | {
57 |
58 | FeedbackUI.this.finish();
59 | }
60 | });
61 | }
62 |
63 | }
64 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/ui/WidgetProvider.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.ui;
2 |
3 | import android.app.PendingIntent;
4 | import android.appwidget.AppWidgetManager;
5 | import android.appwidget.AppWidgetProvider;
6 | import android.content.Context;
7 | import android.content.Intent;
8 | import android.util.Log;
9 | import android.widget.RemoteViews;
10 |
11 | import com.dreateam.app.ui.R;
12 |
13 | public class WidgetProvider extends AppWidgetProvider
14 | {
15 | public static final String tag = "WidgetProvider";
16 | public static final String ACTION_WIDGET_PLAY = "com.dreamteam.action.widget.play";
17 |
18 |
19 | @Override
20 | public void onReceive(Context context, Intent intent)
21 | {
22 | Log.i(tag, "--------->>onReceive()");
23 | super.onReceive(context, intent);
24 | }
25 |
26 | @Override
27 | public void onUpdate(Context context, AppWidgetManager appWidgetManager,
28 | int[] appWidgetIds)
29 | {
30 | Log.i(tag, "--------->>onUpdate()");
31 | RemoteViews rv = new RemoteViews(context.getPackageName(), R.layout.widget_4x1_layout);
32 | Intent intent = new Intent();
33 | intent.setAction(ACTION_WIDGET_PLAY);
34 | PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, intent, 0);
35 | rv.setOnClickPendingIntent(R.id.widget_btn_play, pendingIntent);
36 | appWidgetManager.updateAppWidget(appWidgetIds, rv);
37 | }
38 |
39 | @Override
40 | public void onDeleted(Context context, int[] appWidgetIds)
41 | {
42 | Log.i(tag, "--------->>onDeleted()");
43 | super.onDeleted(context, appWidgetIds);
44 | }
45 |
46 | @Override
47 | public void onEnabled(Context context)
48 | {
49 | Log.i(tag, "--------->>onEnabled()");
50 | super.onEnabled(context);
51 | }
52 |
53 | @Override
54 | public void onDisabled(Context context)
55 | {
56 | Log.i(tag, "--------->>onDisabled()");
57 | super.onDisabled(context);
58 | }
59 |
60 | }
61 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_comment_detail_nomap.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
16 |
17 |
18 |
22 |
29 |
37 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_full_alert_dialog_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
9 |
10 |
18 |
19 |
28 |
29 |
38 |
39 |
40 |
43 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/adapter/FeedCategoryAdapter.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.adapter;
2 |
3 | import java.util.ArrayList;
4 |
5 | import android.content.Context;
6 | import android.view.LayoutInflater;
7 | import android.view.View;
8 | import android.view.ViewGroup;
9 | import android.widget.BaseAdapter;
10 | import android.widget.TextView;
11 |
12 | import com.dreamteam.app.dao.FeedCategoryDao;
13 | import com.dreamteam.app.entity.FeedCategory;
14 | import com.dreateam.app.ui.R;
15 |
16 | /**
17 | * @description
18 | * @author zcloud
19 | * @date 2013年11月1日
20 | */
21 | public class FeedCategoryAdapter extends BaseAdapter
22 | {
23 | private LayoutInflater inflater;
24 | private ArrayList fcList;
25 |
26 | public FeedCategoryAdapter(Context context, ArrayList fcList)
27 | {
28 | this.fcList = fcList;
29 | inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
30 | }
31 |
32 | @Override
33 | public int getCount()
34 | {
35 | return fcList.size();
36 | }
37 |
38 | @Override
39 | public Object getItem(int position)
40 | {
41 | return fcList.get(position);
42 | }
43 |
44 | @Override
45 | public long getItemId(int position)
46 | {
47 | return position;
48 | }
49 |
50 | @Override
51 | public View getView(int position, View convertView, ViewGroup parent)
52 | {
53 | ViewHolder viewHolder;
54 |
55 | if(convertView == null)
56 | { convertView = inflater.inflate(R.layout.category_item, null);
57 | viewHolder = new ViewHolder();
58 | viewHolder.categoryTitle = (TextView) convertView.findViewById(R.id.category_title);
59 | convertView.setTag(viewHolder);
60 | }
61 | else
62 | {
63 | viewHolder = (ViewHolder) convertView.getTag();
64 | }
65 | viewHolder.categoryTitle.setText(fcList.get(position).getName());
66 | return convertView;
67 | }
68 |
69 | private final static class ViewHolder
70 | {
71 | TextView categoryTitle;
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/res/anim/anim_fromright_toup6.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
9 |
10 |
19 |
20 |
28 |
29 |
38 |
39 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/dao/FeedCategoryDao.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.dao;
2 |
3 | import java.util.ArrayList;
4 |
5 | import android.content.Context;
6 | import android.database.Cursor;
7 | import android.database.sqlite.SQLiteDatabase;
8 |
9 | import com.dreamteam.app.db.DbManager;
10 | import com.dreamteam.app.db.FeedDBManager;
11 | import com.dreamteam.app.entity.FeedCategory;
12 |
13 | public class FeedCategoryDao
14 | {
15 | public static final String TABLE_NAME = "feed_category";
16 | private Context context;
17 |
18 | public FeedCategoryDao(Context context)
19 | {
20 | this.context = context;
21 | }
22 |
23 | public ArrayList getList()
24 | {
25 | ArrayList fcList = new ArrayList();
26 |
27 | DbManager helper = new DbManager(context, FeedDBManager.DB_NAME, null, 1);
28 | SQLiteDatabase db = helper.getWritableDatabase();
29 | Cursor cursor = db.query(TABLE_NAME, null, null, null, null, null, null);
30 | if (cursor.moveToFirst())
31 | {
32 | for (int i = 0, n = cursor.getCount(); i < n; i++)
33 | {
34 | FeedCategory fc = new FeedCategory();
35 | fc.setId(cursor.getInt(cursor.getColumnIndex("cid")));
36 | fc.setName(cursor.getString(cursor.getColumnIndex("cname")));
37 | fcList.add(fc);
38 |
39 | cursor.moveToNext();
40 | }
41 | }
42 | cursor.close();
43 | db.close();
44 |
45 | return fcList;
46 | }
47 |
48 | public ArrayList getNameList()
49 | {
50 | ArrayList fcList = new ArrayList();
51 |
52 | DbManager helper = new DbManager(context, FeedDBManager.DB_NAME, null, 1);
53 | SQLiteDatabase db = helper.getWritableDatabase();
54 | Cursor cursor = db.query("category", null, null, null, null, null, null);
55 | if (cursor.moveToFirst())
56 | {
57 | for (int i = 0, n = cursor.getCount(); i < n; i++)
58 | {
59 | fcList.add(cursor.getString(cursor.getColumnIndex("fname")));
60 |
61 | cursor.moveToNext();
62 | }
63 | }
64 | cursor.close();
65 | db.close();
66 |
67 | return fcList;
68 | }
69 | }
70 |
--------------------------------------------------------------------------------
/res/drawable/umeng_socialize_window_shadow_pad.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
6 |
7 |
8 |
9 |
10 |
11 | -
17 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | -
31 |
33 |
34 |
35 |
36 |
37 |
38 | -
44 |
46 |
47 |
48 |
49 |
50 |
51 | -
57 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
20 |
21 |
22 |
35 |
36 |
41 |
42 |
--------------------------------------------------------------------------------
/res/layout/section_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
12 |
18 |
19 |
20 |
28 |
29 |
37 |
38 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/res/layout/guide.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
20 |
21 |
28 |
29 |
36 |
37 |
44 |
45 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/utils/ImageUtils.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.utils;
2 |
3 | import java.io.File;
4 | import java.io.FileOutputStream;
5 | import java.io.IOException;
6 | import java.io.InputStream;
7 |
8 | import android.content.Context;
9 | import android.graphics.Bitmap;
10 | import android.graphics.Bitmap.CompressFormat;
11 | import android.graphics.Matrix;
12 |
13 | import com.dreamteam.app.commons.AppConfig;
14 |
15 | /**
16 | * @author zcloud
17 | * @date 2013/11/13
18 | */
19 | public class ImageUtils
20 | {
21 | public static final CompressFormat mCompressForamat = CompressFormat.JPEG;
22 | public static final int mQuality = 70;
23 |
24 | public static Bitmap zoomBitmap(Bitmap bitmap, int w, int h)
25 | {
26 | Bitmap newBitmap = null;
27 | if (bitmap != null)
28 | {
29 | int width = bitmap.getWidth();
30 | int height = bitmap.getHeight();
31 |
32 | float scaleWidth = ((float) w/width);
33 | float scaleHeight = ((float) h/height);
34 | Matrix matrix = new Matrix();
35 | matrix.postScale(scaleWidth, scaleHeight);
36 | newBitmap = Bitmap.createBitmap(bitmap, 0, 0, width, height, matrix, true);
37 | }
38 | return newBitmap;
39 | }
40 |
41 |
42 | public static void saveImageToSD(InputStream is, String path, String fileName)
43 | {
44 | FileUtils.saveToFile(is, path, fileName);
45 | }
46 |
47 | public static void saveImageToSD(Bitmap bmp, String url)
48 | {
49 | try
50 | {
51 | File file = FileUtils.newAbsoluteFile(AppConfig.APP_IMAGE_CACHE_DIR
52 | + File.separator + MD5.Md5(url));
53 | FileOutputStream fos = new FileOutputStream(file);
54 | bmp.compress(mCompressForamat, mQuality, fos);
55 | }
56 | catch(IOException e1)
57 | {
58 | e1.printStackTrace();
59 | }
60 |
61 | }
62 |
63 | public static int dip2px(Context context, float dpValue)
64 | {
65 | final float scale = context.getResources().getDisplayMetrics().density;
66 | return (int) (dpValue * scale + 0.5f);
67 | }
68 |
69 | public static int px2dip(Context context, float pxValue)
70 | {
71 | final float scale = context.getResources().getDisplayMetrics().density;
72 | return (int) (pxValue / scale + 0.5f);
73 | }
74 | }
--------------------------------------------------------------------------------
/src/com/dreamteam/app/entity/FeedItem.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.entity;
2 |
3 | import java.io.Serializable;
4 | import java.util.ArrayList;
5 |
6 |
7 | /**
8 | * 1.title
9 | * 2.description
10 | * 3.link
11 | * 4.pubdate
12 | *
13 | * */
14 |
15 | @SuppressWarnings("serial")
16 | public class FeedItem implements Serializable
17 | {
18 | private String title;
19 | private String content;
20 | private String link;
21 | private String pubdate;
22 | private String category;
23 | private String firstImageUrl;
24 | private boolean readed = false;
25 | private boolean favorite = false;
26 | private ArrayList imageUrls = new ArrayList();
27 |
28 |
29 | public String getFirstImageUrl()
30 | {
31 | return firstImageUrl;
32 | }
33 | public void setFirstImageUrl(String imageUrl)
34 | {
35 | this.firstImageUrl = imageUrl;
36 | }
37 |
38 | public String getTitle()
39 | {
40 | return title;
41 | }
42 | public void setTitle(String title)
43 | {
44 | this.title = title;
45 | }
46 | public String getLink()
47 | {
48 | return link;
49 | }
50 | public void setLink(String link)
51 | {
52 | this.link = link;
53 | }
54 | public String getPubdate()
55 | {
56 | return pubdate;
57 | }
58 | public void setPubdate(String pubdate)
59 | {
60 | this.pubdate = pubdate;
61 | }
62 | public String getCategory()
63 | {
64 | return category;
65 | }
66 | public void setCategory(String category)
67 | {
68 | this.category = category;
69 | }
70 | public ArrayList getImageUrls()
71 | {
72 | return imageUrls;
73 | }
74 | public void setImageUrls(ArrayList imageUrls)
75 | {
76 | this.imageUrls = imageUrls;
77 | }
78 | public boolean isReaded()
79 | {
80 | return readed;
81 | }
82 | public void setReaded(boolean readed)
83 | {
84 | this.readed = readed;
85 | }
86 | public boolean isFavorite()
87 | {
88 | return favorite;
89 | }
90 | public void setFavorite(boolean favorite)
91 | {
92 | this.favorite = favorite;
93 | }
94 | public String getContent() {
95 | return content;
96 | }
97 | public void setContent(String content) {
98 | this.content = content;
99 | }
100 |
101 | }
102 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/commons/IFlyHelper.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.commons;
2 |
3 | import java.util.List;
4 |
5 | import android.app.AlertDialog;
6 | import android.content.Context;
7 | import android.content.DialogInterface;
8 | import android.content.Intent;
9 | import android.content.pm.PackageInfo;
10 | import android.net.Uri;
11 |
12 | import com.iflytek.speech.SpeechUtility;
13 |
14 | /**
15 | * @description TODO
16 | * @author zcloud
17 | * @date 2014年2月22日
18 | */
19 | public class IFlyHelper
20 | {
21 |
22 | public static void openDownloadDialog(final Context context)
23 | {
24 | AlertDialog.Builder builder = new AlertDialog.Builder(context);
25 | builder.setMessage("安装之后可享受语音阅读功能").setTitle("是否安装讯飞语音+");
26 | builder.setPositiveButton("确定",
27 | new DialogInterface.OnClickListener()
28 | {
29 | @Override
30 | public void onClick(DialogInterface dialog, int which)
31 | {
32 | String url = SpeechUtility.getUtility(context).getComponentUrl();
33 | openDownloadWeb(context, url);
34 | }
35 | });
36 | builder.setNegativeButton("取消", new DialogInterface.OnClickListener()
37 | {
38 | @Override
39 | public void onClick(DialogInterface dialog, int which)
40 | {
41 | dialog.dismiss();
42 | }
43 | });
44 | AlertDialog dialog = builder.create();
45 | dialog.show();
46 | }
47 |
48 | // 判断手机中是否安装了讯飞语音+
49 | public static boolean checkSpeechServiceInstall(Context context)
50 | {
51 | String packageName = "com.iflytek.speechcloud";
52 | List packages = context.getPackageManager()
53 | .getInstalledPackages(0);
54 | for (int i = 0; i < packages.size(); i++)
55 | {
56 | PackageInfo packageInfo = packages.get(i);
57 | if (packageInfo.packageName.equals(packageName))
58 | {
59 | return true;
60 | } else
61 | {
62 | continue;
63 | }
64 | }
65 | return false;
66 | }
67 |
68 | /**
69 | * 打开语音服务组件下载页面。
70 | *
71 | * @param context
72 | * @param url
73 | */
74 | public static void openDownloadWeb(Context context, String url)
75 | {
76 | Uri uri = Uri.parse(url);
77 | Intent it = new Intent(Intent.ACTION_VIEW, uri);
78 | context.startActivity(it);
79 | }
80 | }
81 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/commons/UIHelper.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.commons;
2 |
3 | import com.dreateam.app.ui.R;
4 |
5 | import android.content.Context;
6 | import android.content.SharedPreferences;
7 | import android.util.Log;
8 |
9 | public class UIHelper
10 | {
11 | public static final String tag = "UIHelper";
12 |
13 | //webView的css
14 | public final static String WEB_STYLE = "";
28 | public final static String WEB_STYLE_NIGHT = "";
42 |
43 |
44 | /**
45 | * @description 初始化activity的主题
46 | * @param context
47 | */
48 | public static void initTheme(Context context)
49 | {
50 | //true为日间模式
51 | boolean isNight = false;
52 |
53 | SharedPreferences prefs = AppContext.getPrefrences(context);
54 | isNight = prefs.getBoolean("day_night_mode", false);
55 | if(isNight)
56 | {
57 | Log.d(tag, "isNight");
58 | context.setTheme(R.style.AppNightTheme);
59 | }
60 | }
61 |
62 | }
63 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_comment_detail.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
14 |
15 |
16 |
17 |
18 |
22 |
23 |
30 |
31 |
37 |
45 |
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/res/layout/feed_item_detail.xml:
--------------------------------------------------------------------------------
1 |
5 |
10 |
15 |
19 |
26 |
33 |
38 |
45 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/ui/ImageDialog.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.ui;
2 |
3 | import java.io.IOException;
4 | import java.io.InputStream;
5 |
6 | import android.app.Activity;
7 | import android.content.Intent;
8 | import android.graphics.Bitmap;
9 | import android.graphics.BitmapFactory;
10 | import android.os.AsyncTask;
11 | import android.os.Bundle;
12 | import android.view.View;
13 | import android.widget.Button;
14 | import android.widget.ImageView;
15 | import android.widget.ProgressBar;
16 | import android.widget.Toast;
17 |
18 | import com.dreamteam.app.utils.HttpUtils;
19 | import com.dreateam.app.ui.R;
20 |
21 | public class ImageDialog extends Activity
22 | {
23 | private ProgressBar progressBar;
24 | private ImageView imageView;
25 | private Button saveBtn;
26 |
27 |
28 | @Override
29 | protected void onCreate(Bundle savedInstanceState)
30 | {
31 | super.onCreate(savedInstanceState);
32 | setContentView(R.layout.image_dialog);
33 | progressBar = (ProgressBar) findViewById(R.id.imagedialog_progress);
34 | imageView = (ImageView) findViewById(R.id.imagedialog_image);
35 | Intent intent = getIntent();
36 | String url = intent.getStringExtra("url");
37 | System.out.println(url);
38 |
39 | new AsyncTask()
40 | {
41 |
42 | @Override
43 | protected void onPostExecute(Bitmap result)
44 | {
45 | if(result != null)
46 | {
47 | imageView.setImageBitmap(result);
48 | }
49 | else
50 | Toast.makeText(ImageDialog.this, R.string.network_exception, Toast.LENGTH_SHORT).show();
51 | progressBar.setVisibility(View.GONE);
52 | }
53 |
54 | @Override
55 | protected Bitmap doInBackground(String... params)
56 | {
57 | InputStream is = null;
58 |
59 | try
60 | {
61 | is = HttpUtils.getInputStream(params[0]);
62 | Bitmap bmp = BitmapFactory.decodeStream(is);
63 | return bmp;
64 | } catch (Exception e)
65 | {
66 | e.printStackTrace();
67 | }
68 | finally
69 | {
70 | if(is != null)
71 | {
72 | try
73 | {
74 | is.close();
75 | is = null;
76 | } catch (IOException e)
77 | {
78 | e.printStackTrace();
79 | }
80 | }
81 | }
82 | return null;
83 | }
84 |
85 | }.execute(url);
86 | }
87 |
88 | }
89 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/adapter/CommentAdapter.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.adapter;
2 |
3 | import java.util.ArrayList;
4 |
5 | import android.content.Context;
6 | import android.view.LayoutInflater;
7 | import android.view.View;
8 | import android.view.ViewGroup;
9 | import android.widget.BaseAdapter;
10 | import android.widget.ImageView;
11 | import android.widget.TextView;
12 |
13 | import com.dreateam.app.ui.R;
14 | import com.umeng.socialize.bean.UMComment;
15 |
16 | public class CommentAdapter extends BaseAdapter
17 | {
18 | private ArrayList comments;
19 | private LayoutInflater inflater;
20 | private Context context;
21 |
22 |
23 | public CommentAdapter(Context context, ArrayList comments)
24 | {
25 | this.comments = comments;
26 | this.context = context;
27 | inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
28 | }
29 |
30 | @Override
31 | public int getCount()
32 | {
33 | return comments.size();
34 | }
35 |
36 | @Override
37 | public Object getItem(int id)
38 | {
39 | return comments.get(id);
40 | }
41 |
42 | @Override
43 | public long getItemId(int id)
44 | {
45 | return id;
46 | }
47 |
48 | @Override
49 | public View getView(int postion, View convertView, ViewGroup parent)
50 | {
51 | ViewHolder holder = null;
52 |
53 | if(convertView == null)
54 | {
55 | inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
56 | convertView = inflater.inflate(R.layout.comment_item, null);
57 | holder = new ViewHolder();
58 | holder.usrIconIv = (ImageView) convertView.findViewById(R.id.usrportrait_iv);
59 | holder.contentTv = (TextView) convertView.findViewById(R.id.usrcomment_tv);
60 | holder.usrNameTv = (TextView) convertView.findViewById(R.id.usrname_tv);
61 | // holder.agoTimeTv = (TextView) convertView.findViewById(R.id.comment_minuteago);
62 | convertView.setTag(holder);
63 | }
64 | else
65 | {
66 | holder = (ViewHolder) convertView.getTag();
67 | }
68 | UMComment comment = comments.get(postion);
69 | holder.usrNameTv.setText(comment.mUname);
70 | // holder.agoTimeTv.setText(comment.mDt+"");
71 | holder.contentTv.setText(comment.mText);
72 |
73 |
74 | return convertView;
75 | }
76 |
77 | private static final class ViewHolder
78 | {
79 | ImageView usrIconIv;
80 | TextView usrNameTv;
81 | TextView agoTimeTv;
82 | TextView contentTv;
83 | }
84 | }
85 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_comment_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
13 |
19 |
29 |
30 |
41 |
46 |
51 |
52 |
53 |
54 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_base_alert_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
16 |
17 |
28 |
29 |
38 |
39 |
40 |
50 |
51 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/res/layout/umeng_socialize_oauth_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
9 |
10 |
17 |
18 |
26 |
27 |
36 |
37 |
38 |
44 |
45 |
51 |
52 |
57 |
58 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/ui/FeedUI.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.ui;
2 |
3 | import java.util.ArrayList;
4 |
5 | import android.app.Activity;
6 | import android.content.Intent;
7 | import android.os.Bundle;
8 | import android.util.Log;
9 | import android.view.View;
10 | import android.view.View.OnClickListener;
11 | import android.widget.AdapterView;
12 | import android.widget.AdapterView.OnItemClickListener;
13 | import android.widget.ListView;
14 | import android.widget.TextView;
15 | import android.widget.Toast;
16 |
17 | import com.dreamteam.app.adapter.CategoryDetailAdapter;
18 | import com.dreamteam.app.commons.AppContext;
19 | import com.dreamteam.app.dao.FeedDao;
20 | import com.dreamteam.app.entity.Feed;
21 | import com.dreateam.app.ui.R;
22 |
23 | /**
24 | * @description
25 | * @author zcloud
26 | * @date 2013年11月14日
27 | */
28 | public class FeedUI extends Activity
29 | {
30 | public static final String tag = "CategoryDetail";
31 |
32 | private ListView detailList;
33 | private TextView titleTv;
34 | private ArrayList feeds = new ArrayList();
35 | private CategoryDetailAdapter mAdapter;
36 | private FeedDao mDao;
37 |
38 |
39 | @Override
40 | protected void onCreate(Bundle savedInstanceState)
41 | {
42 | super.onCreate(savedInstanceState);
43 | initView();
44 | initData();
45 | }
46 |
47 | private void initData()
48 | {
49 | mDao = new FeedDao(this);
50 | Intent intent = getIntent();
51 | int cid = intent.getIntExtra("category", 1);
52 | Log.i(tag, "category.id = " + cid);
53 | String id = String.valueOf(cid);
54 | feeds = mDao.getListByCategoryId(id);
55 | //设置适配器
56 | mAdapter = new CategoryDetailAdapter(this, feeds, "feed");
57 | detailList.setAdapter(mAdapter);
58 | }
59 |
60 | private void initView()
61 | {
62 | setContentView(R.layout.category_detail);
63 | titleTv = (TextView) findViewById(R.id.cd_title_tv);
64 | findViewById(R.id.category_detail_btn_back).setOnClickListener(new OnClickListener()
65 | {
66 | @Override
67 | public void onClick(View v)
68 | {
69 | finish();
70 | }
71 | });
72 | detailList = (ListView) findViewById(R.id.catagory_detail_lv_feed);
73 | detailList.setOnItemClickListener(new OnItemClickListener()
74 | {
75 | @Override
76 | public void onItemClick(AdapterView> arg0, View arg1, int arg2,
77 | long arg3)
78 | {
79 | if(!AppContext.isNetworkAvailable(FeedUI.this))
80 | {
81 | Toast.makeText(FeedUI.this, "请检查网络设置", Toast.LENGTH_SHORT).show();
82 | return;
83 | }
84 | //feed预览
85 | }
86 | });
87 | }
88 | }
89 |
90 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/ui/FeedCategoryUI.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.ui;
2 |
3 | import java.util.ArrayList;
4 |
5 | import android.content.Intent;
6 | import android.os.Bundle;
7 | import android.support.v4.app.FragmentActivity;
8 | import android.view.View;
9 | import android.view.View.OnClickListener;
10 | import android.widget.AdapterView;
11 | import android.widget.AdapterView.OnItemClickListener;
12 | import android.widget.ImageButton;
13 | import android.widget.ListView;
14 | import android.widget.Toast;
15 |
16 | import com.dreamteam.app.adapter.FeedCategoryAdapter;
17 | import com.dreamteam.app.dao.FeedCategoryDao;
18 | import com.dreamteam.app.entity.FeedCategory;
19 | import com.dreateam.app.ui.R;
20 |
21 | public class FeedCategoryUI extends FragmentActivity
22 | {
23 | public static final String tag = "FeedCategoryUI";
24 | private ListView categoryLv;
25 | private ImageButton addImgBtn;
26 | private ArrayList fcList = new ArrayList();
27 | private FeedCategoryAdapter mAdapter;
28 | private FeedCategoryDao fcDao;
29 |
30 | @Override
31 | protected void onCreate(Bundle savedInstanceState)
32 | {
33 | super.onCreate(savedInstanceState);
34 | initView();
35 | }
36 |
37 | private void initView()
38 | {
39 | setContentView(R.layout.feed_category);
40 | categoryLv = (ListView) findViewById(R.id.feed_category_lsit);
41 | addImgBtn = (ImageButton) findViewById(R.id.feed_category_add_btn);
42 | addImgBtn.setOnClickListener(new OnClickListener()
43 | {
44 | @Override
45 | public void onClick(View v)
46 | {
47 | // if(!AppContext.isNetworkAvailable(FeedCategory.this))
48 | // {
49 | // Toast.makeText(FeedCategory.this, "请检查网络设置", Toast.LENGTH_SHORT).show();
50 | // return;
51 | // }
52 | // new AddDialog().show(getSupportFragmentManager(), "添加Feed");
53 | Toast.makeText(FeedCategoryUI.this, "开发中功能", Toast.LENGTH_SHORT).show();
54 | }
55 | });
56 | findViewById(R.id.feed_category_btn_back).setOnClickListener(new OnClickListener()
57 | {
58 | @Override
59 | public void onClick(View v)
60 | {
61 | finish();
62 | }
63 | });
64 | fcDao = new FeedCategoryDao(this);
65 | fcList = fcDao.getList();
66 | mAdapter = new FeedCategoryAdapter(this, fcList);
67 | categoryLv.setAdapter(mAdapter);
68 | categoryLv.setOnItemClickListener(new OnItemClickListener()
69 | {
70 | @Override
71 | public void onItemClick(AdapterView> parent, View view,
72 | int position, long id)
73 | {
74 | Intent intent = new Intent();
75 | intent.putExtra("category", fcList.get(position).getId());
76 | intent.setClass(FeedCategoryUI.this, FeedUI.class);
77 | FeedCategoryUI.this.startActivity(intent);
78 | }
79 | });
80 | }
81 | }
82 |
--------------------------------------------------------------------------------
/src/com/dreamteam/app/ui/LoginDialog.java:
--------------------------------------------------------------------------------
1 | package com.dreamteam.app.ui;
2 |
3 | import android.app.Activity;
4 | import android.app.AlertDialog;
5 | import android.app.Dialog;
6 | import android.content.DialogInterface;
7 | import android.content.DialogInterface.OnClickListener;
8 | import android.os.Bundle;
9 | import android.support.v4.app.DialogFragment;
10 | import android.widget.Toast;
11 |
12 | import com.dreamteam.app.commons.AppContext;
13 | import com.dreamteam.app.commons.UMHelper;
14 | import com.dreateam.app.ui.R;
15 | import com.umeng.socialize.bean.SHARE_MEDIA;
16 | import com.umeng.socialize.bean.SocializeEntity;
17 | import com.umeng.socialize.controller.UMSocialService;
18 | import com.umeng.socialize.controller.listener.SocializeListeners.SocializeClientListener;
19 |
20 | /**
21 | * @description TODO
22 | * @author zcloud
23 | * @date Dec 7, 2013
24 | */
25 | public class LoginDialog extends DialogFragment
26 | {
27 |
28 | public static final String tag = "LoginDialog";
29 | private Activity mActivity;
30 | private static final int POS_SINA_WEIBO = 0;
31 | private static final int POS_QQZONE = 1;
32 | private static final int POS_RENREN = 2;
33 | private UMSocialService mController = UMHelper.getUMSocialService();
34 |
35 |
36 | @Override
37 | public Dialog onCreateDialog(Bundle savedInstanceState)
38 | {
39 | mActivity = getActivity();
40 | AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
41 | builder.setItems(R.array.login_accounts, new OnClickListener()
42 | {
43 | @Override
44 | public void onClick(DialogInterface dialog, int which)
45 | {
46 | if(!AppContext.isNetworkAvailable(mActivity))
47 | {
48 | Toast.makeText(mActivity, "请检查网络设置!", Toast.LENGTH_SHORT).show();
49 | return;
50 | }
51 |
52 | ScializeMonitor monitor = new ScializeMonitor();
53 | switch(which)
54 | {
55 | case POS_SINA_WEIBO:
56 | mController.login(mActivity, SHARE_MEDIA.SINA, monitor);
57 | break;
58 | case POS_QQZONE:
59 | mController.login(mActivity, SHARE_MEDIA.QZONE, monitor);
60 | break;
61 | case POS_RENREN:
62 | mController.login(mActivity, SHARE_MEDIA.RENREN, monitor);
63 | break;
64 | }
65 | }
66 | });
67 | return builder.create();
68 | }
69 |
70 | private final class ScializeMonitor implements SocializeClientListener
71 | {
72 |
73 | @Override
74 | public void onStart(){}
75 |
76 | @Override
77 | public void onComplete(int status, SocializeEntity entity)
78 | {
79 | if(status == 200)
80 | {
81 | Toast.makeText(mActivity, "登陆成功!", Toast.LENGTH_SHORT).show();
82 | }
83 | else
84 | {
85 | Toast.makeText(mActivity, "网络异常!", Toast.LENGTH_SHORT).show();
86 | }
87 | }
88 |
89 | }
90 | }
91 |
--------------------------------------------------------------------------------