├── .idea
├── .name
├── copyright
│ └── profiles_settings.xml
├── encodings.xml
├── vcs.xml
├── inspectionProfiles
│ ├── profiles_settings.xml
│ └── Project_Default.xml
├── modules.xml
├── runConfigurations.xml
├── gradle.xml
├── compiler.xml
└── misc.xml
├── app
├── .gitignore
├── libs
│ ├── Volley.jar
│ ├── gson-2.5.jar
│ ├── gradle-wrapper.jar
│ ├── gson-2.5-javadoc.jar
│ ├── gson-2.5-sources.jar
│ ├── AMap_Services_V2.3.0.jar
│ ├── Android_Location_V1.3.0.jar
│ └── Android_Map_V2.7.20151124.jar
├── src
│ ├── main
│ │ ├── res
│ │ │ ├── drawable
│ │ │ │ ├── a1.png
│ │ │ │ ├── a2.png
│ │ │ │ ├── a3.png
│ │ │ │ ├── a4.png
│ │ │ │ ├── bg4.jpg
│ │ │ │ ├── bg5.jpg
│ │ │ │ ├── bg6.jpg
│ │ │ │ ├── bg7.jpg
│ │ │ │ ├── e_5.png
│ │ │ │ ├── pc.png
│ │ │ │ ├── cate1.png
│ │ │ │ ├── fujin1.png
│ │ │ │ ├── fujin2.png
│ │ │ │ ├── head5.png
│ │ │ │ ├── play_1.png
│ │ │ │ ├── play_2.png
│ │ │ │ ├── add_icon.png
│ │ │ │ ├── category.png
│ │ │ │ ├── del_icon.png
│ │ │ │ ├── ic_more.png
│ │ │ │ ├── love_red.png
│ │ │ │ ├── pw_hide.png
│ │ │ │ ├── pw_show.png
│ │ │ │ ├── tuijian1.png
│ │ │ │ ├── tuijian2.png
│ │ │ │ ├── yutang1.png
│ │ │ │ ├── yutang2.png
│ │ │ │ ├── arrow_right.png
│ │ │ │ ├── entry_arrow.png
│ │ │ │ ├── face_icon.png
│ │ │ │ ├── fish_awake.png
│ │ │ │ ├── float_close.png
│ │ │ │ ├── icon_camera.png
│ │ │ │ ├── icon_city.png
│ │ │ │ ├── icon_edit.png
│ │ │ │ ├── icon_resale.png
│ │ │ │ ├── icon_search.png
│ │ │ │ ├── love_gray.png
│ │ │ │ ├── more_topic.png
│ │ │ │ ├── page_error.png
│ │ │ │ ├── title_back.png
│ │ │ │ ├── user_back.png
│ │ │ │ ├── user_edit.png
│ │ │ │ ├── user_more.png
│ │ │ │ ├── user_share.png
│ │ │ │ ├── cate_icon_03.png
│ │ │ │ ├── cate_icon_14.png
│ │ │ │ ├── comment_empty.png
│ │ │ │ ├── comui_face_d2.png
│ │ │ │ ├── comui_face_d9.png
│ │ │ │ ├── contact_entry.png
│ │ │ │ ├── entry_icon_pp.png
│ │ │ │ ├── fish_sleeping.png
│ │ │ │ ├── keyboard_icon.png
│ │ │ │ ├── name_confirm.png
│ │ │ │ ├── post_add_icon.png
│ │ │ │ ├── slide_bar_bg.png
│ │ │ │ ├── subject_icon.png
│ │ │ │ ├── title_search.png
│ │ │ │ ├── alipay_msp_sla11.png
│ │ │ │ ├── card_title_icon.png
│ │ │ │ ├── comui_tab_home.png
│ │ │ │ ├── comui_tab_person.png
│ │ │ │ ├── comui_tab_pond.png
│ │ │ │ ├── comui_tab_post.png
│ │ │ │ ├── entry_icon_sold.png
│ │ │ │ ├── fish_being_cute.png
│ │ │ │ ├── fish_mouth_awake.png
│ │ │ │ ├── icon_big_coins.png
│ │ │ │ ├── icon_find_pond.png
│ │ │ │ ├── icon_pond_follow.png
│ │ │ │ ├── key_board_hide.png
│ │ │ │ ├── love_gray_small.png
│ │ │ │ ├── love_red_small.png
│ │ │ │ ├── message_icon_03.png
│ │ │ │ ├── message_icon_06.png
│ │ │ │ ├── p_info_footer_03.png
│ │ │ │ ├── p_info_footer_09.png
│ │ │ │ ├── person_icon_03.png
│ │ │ │ ├── person_icon_06.png
│ │ │ │ ├── person_icon_08.png
│ │ │ │ ├── post_info_icon.png
│ │ │ │ ├── publish_in_pond.png
│ │ │ │ ├── refresh_location.png
│ │ │ │ ├── search_arrow_up.png
│ │ │ │ ├── up_icon_yellow.png
│ │ │ │ ├── bar_code_scan_icon.png
│ │ │ │ ├── chat_right_button.png
│ │ │ │ ├── comui_tab_message.png
│ │ │ │ ├── entry_icon_bought.png
│ │ │ │ ├── home_item_view_tag.png
│ │ │ │ ├── icon_signin_select.png
│ │ │ │ ├── icon_signin_small.png
│ │ │ │ ├── pond_found_map_bg.png
│ │ │ │ ├── pond_subject_icon.png
│ │ │ │ ├── taorecorder_camera.png
│ │ │ │ ├── comment_back_normal.png
│ │ │ │ ├── comui_face_selected.png
│ │ │ │ ├── default_user_avatar.png
│ │ │ │ ├── entry_icon_favourite.png
│ │ │ │ ├── entry_icon_on_shelf.png
│ │ │ │ ├── entry_icon_settings.png
│ │ │ │ ├── fish_mouth_being_cute.png
│ │ │ │ ├── flaunt_share_rmb_logo.png
│ │ │ │ ├── icon_sigin_unselect.png
│ │ │ │ ├── loading_grey_v2_00000.png
│ │ │ │ ├── loading_grey_v2_00001.png
│ │ │ │ ├── loading_grey_v2_00002.png
│ │ │ │ ├── loading_grey_v2_00003.png
│ │ │ │ ├── loading_grey_v2_00004.png
│ │ │ │ ├── loading_grey_v2_00005.png
│ │ │ │ ├── loading_grey_v2_00006.png
│ │ │ │ ├── loading_grey_v2_00007.png
│ │ │ │ ├── loading_grey_v2_00008.png
│ │ │ │ ├── loading_grey_v2_00009.png
│ │ │ │ ├── loading_grey_v2_00010.png
│ │ │ │ ├── loading_grey_v2_00011.png
│ │ │ │ ├── loading_grey_v2_00012.png
│ │ │ │ ├── loading_grey_v2_00013.png
│ │ │ │ ├── loading_grey_v2_00014.png
│ │ │ │ ├── loading_grey_v2_00015.png
│ │ │ │ ├── loading_grey_v2_00016.png
│ │ │ │ ├── loading_grey_v2_00017.png
│ │ │ │ ├── loading_grey_v2_00018.png
│ │ │ │ ├── loading_grey_v2_00019.png
│ │ │ │ ├── loading_grey_v2_00020.png
│ │ │ │ ├── loading_grey_v2_00021.png
│ │ │ │ ├── loading_grey_v2_00022.png
│ │ │ │ ├── loading_grey_v2_00023.png
│ │ │ │ ├── loading_grey_v2_00024.png
│ │ │ │ ├── loading_grey_v2_00025.png
│ │ │ │ ├── loading_grey_v2_00026.png
│ │ │ │ ├── loading_grey_v2_00027.png
│ │ │ │ ├── loading_grey_v2_00028.png
│ │ │ │ ├── loading_grey_v2_00029.png
│ │ │ │ ├── post_add_image_icon.png
│ │ │ │ ├── post_close_click_hl.png
│ │ │ │ ├── publish_entry_resale.png
│ │ │ │ ├── slide_bar_center_bg.png
│ │ │ │ ├── welcome_ponds_close.png
│ │ │ │ ├── alipay_msp_pcredit_logo.png
│ │ │ │ ├── comui_keyboard_selected.png
│ │ │ │ ├── comui_tab_home_selected.png
│ │ │ │ ├── comui_tab_pond_selected.png
│ │ │ │ ├── item_detail_share_icon.png
│ │ │ │ ├── loading_failed_big_icon.png
│ │ │ │ ├── message_gv_action_more.png
│ │ │ │ ├── post_location_icon_blue.png
│ │ │ │ ├── post_thumb_auctions_off.png
│ │ │ │ ├── post_thumb_auctions_on.png
│ │ │ │ ├── post_thumb_for_money_on.png
│ │ │ │ ├── walkthrough_guide_close.png
│ │ │ │ ├── comui_tab_message_selected.png
│ │ │ │ ├── comui_tab_person_selected.png
│ │ │ │ ├── post_location_icon_black.png
│ │ │ │ ├── post_thumb_for_money_off.png
│ │ │ │ ├── publish_entry_with_photo.png
│ │ │ │ ├── taorecorder_back_pressed.png
│ │ │ │ ├── tmlayer_pond_map_poi_icon.png
│ │ │ │ ├── post_thumb_not_for_money_off.png
│ │ │ │ ├── post_thumb_not_for_money_on.png
│ │ │ │ ├── user_person_userinfo_right_icon.png
│ │ │ │ ├── tab_bg_press.xml
│ │ │ │ ├── city_item_bg.xml
│ │ │ │ ├── wihte_circle.xml
│ │ │ │ ├── fenlei_item_bg.xml
│ │ │ │ ├── ovalimage.xml
│ │ │ │ ├── post_nomoney.xml
│ │ │ │ ├── gray_circle.xml
│ │ │ │ ├── btn_start.xml
│ │ │ │ ├── chongfa.xml
│ │ │ │ ├── remove_text.xml
│ │ │ │ ├── btn_login_bg.xml
│ │ │ │ ├── btn_bg.xml
│ │ │ │ ├── login_bg.xml
│ │ │ │ ├── post_item_bg_press.xml
│ │ │ │ ├── post_item_bg.xml
│ │ │ │ ├── title_search_bg.xml
│ │ │ │ ├── set_btn_bg.xml
│ │ │ │ ├── want_buy_bg.xml
│ │ │ │ └── btn_login_bg_press.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ │ └── ic_launcher.png
│ │ │ ├── anim
│ │ │ │ ├── alpha_cate_r.xml
│ │ │ │ ├── post2_anim.xml
│ │ │ │ ├── post_anim.xml
│ │ │ │ ├── rotate_anim.xml
│ │ │ │ ├── paizhao_anim.xml
│ │ │ │ ├── paizhao2_anim.xml
│ │ │ │ ├── trans_anim.xml
│ │ │ │ ├── zhuanmai2_anim.xml
│ │ │ │ ├── zhuanmai_anim.xml
│ │ │ │ ├── scale_cate_fenlei_in.xml
│ │ │ │ ├── translate_cate_fenlei.xml
│ │ │ │ ├── translate_cate_fenlei_in.xml
│ │ │ │ └── list_anim.xml
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ ├── colors.xml
│ │ │ │ ├── attrs.xml
│ │ │ │ └── styles.xml
│ │ │ ├── menu
│ │ │ │ └── main_fragment_menu.xml
│ │ │ ├── values-w820dp
│ │ │ │ └── dimens.xml
│ │ │ └── layout
│ │ │ │ ├── screen1.xml
│ │ │ │ ├── screen3.xml
│ │ │ │ ├── screen2.xml
│ │ │ │ ├── listview_dialog.xml
│ │ │ │ ├── p_info_header_item.xml
│ │ │ │ ├── price_mode.xml
│ │ │ │ ├── image_mode.xml
│ │ │ │ ├── activity_regist.xml
│ │ │ │ ├── tab_item.xml
│ │ │ │ ├── county_item.xml
│ │ │ │ ├── fragment_yt_dis_.xml
│ │ │ │ ├── fragment_yt_my.xml
│ │ │ │ ├── fenlei_item.xml
│ │ │ │ ├── province_item.xml
│ │ │ │ ├── nomoney_grid_item.xml
│ │ │ │ ├── screen4.xml
│ │ │ │ ├── cate_item.xml
│ │ │ │ ├── posting_add_mode.xml
│ │ │ │ ├── view_mode.xml
│ │ │ │ ├── fragment_message.xml
│ │ │ │ ├── yutang_item_mode.xml
│ │ │ │ ├── product_info_footer.xml
│ │ │ │ ├── product_info_item.xml
│ │ │ │ ├── activity_cate_gory.xml
│ │ │ │ ├── activity_my_comment.xml
│ │ │ │ ├── activity_my_zan.xml
│ │ │ │ ├── yutang_footer.xml
│ │ │ │ ├── fragment_yutang.xml
│ │ │ │ ├── good_item.xml
│ │ │ │ ├── message_item.xml
│ │ │ │ ├── header_layout.xml
│ │ │ │ ├── yt_my_item.xml
│ │ │ │ ├── mycomment_item.xml
│ │ │ │ └── yutang_list_mode.xml
│ │ ├── jniLibs
│ │ │ ├── x86
│ │ │ │ ├── libamapv304.so
│ │ │ │ └── libamapv304ex.so
│ │ │ ├── armeabi
│ │ │ │ ├── libamapv304.so
│ │ │ │ └── libamapv304ex.so
│ │ │ ├── arm64-v8a
│ │ │ │ ├── libamapv304.so
│ │ │ │ └── libamapv304ex.so
│ │ │ └── armeabi-v7a
│ │ │ │ ├── libamapv304.so
│ │ │ │ └── libamapv304ex.so
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── pjt
│ │ │ │ └── xianyu
│ │ │ │ ├── pojo
│ │ │ │ ├── YuTangCate.java
│ │ │ │ ├── County.java
│ │ │ │ ├── Province.java
│ │ │ │ ├── CateGory.java
│ │ │ │ ├── ClickLike.java
│ │ │ │ ├── User.java
│ │ │ │ ├── Message.java
│ │ │ │ ├── Comment.java
│ │ │ │ └── YuTang.java
│ │ │ │ ├── CustomerViewPager.java
│ │ │ │ ├── NoScrollGridView.java
│ │ │ │ ├── NoScrollListView.java
│ │ │ │ ├── data
│ │ │ │ ├── DBUtil.java
│ │ │ │ ├── DBHelper.java
│ │ │ │ └── CountyDao.java
│ │ │ │ ├── RegistActivity.java
│ │ │ │ ├── LovePersonView.java
│ │ │ │ ├── SetingActivity.java
│ │ │ │ ├── Util.java
│ │ │ │ ├── StringAdapter.java
│ │ │ │ ├── NomoneyAdapter.java
│ │ │ │ ├── CountyAdapter.java
│ │ │ │ ├── ProvinceAdapter.java
│ │ │ │ ├── YutangFragment.java
│ │ │ │ └── MessageAdapter.java
│ │ └── AndroidManifest.xml
│ ├── test
│ │ └── java
│ │ │ └── com
│ │ │ └── pjt
│ │ │ └── xianyu
│ │ │ └── ExampleUnitTest.java
│ └── androidTest
│ │ └── java
│ │ └── com
│ │ └── pjt
│ │ └── xianyu
│ │ └── ApplicationTest.java
├── proguard-rules.pro
└── build.gradle
├── settings.gradle
├── XianYuService
├── .settings
│ ├── org.eclipse.wst.jsdt.ui.superType.name
│ ├── org.eclipse.wst.jsdt.ui.superType.container
│ ├── org.eclipse.jdt.core.prefs
│ └── .jsdtscope
├── WebRoot
│ ├── META-INF
│ │ └── MANIFEST.MF
│ ├── WEB-INF
│ │ ├── lib
│ │ │ ├── gson-2.5.jar
│ │ │ ├── ojdbc14.jar
│ │ │ ├── commons-io-2.3.jar
│ │ │ ├── gson-2.5-javadoc.jar
│ │ │ ├── gson-2.5-sources.jar
│ │ │ └── commons-fileupload-1.2.2.jar
│ │ ├── classes
│ │ │ └── com
│ │ │ │ └── pjt
│ │ │ │ ├── md5
│ │ │ │ └── MD5.class
│ │ │ │ ├── pojo
│ │ │ │ ├── User.class
│ │ │ │ ├── YuTang.class
│ │ │ │ ├── CateGory.class
│ │ │ │ ├── ClickLike.class
│ │ │ │ ├── Comment.class
│ │ │ │ ├── Message.class
│ │ │ │ ├── Product.class
│ │ │ │ └── YuTangCate.class
│ │ │ │ ├── dao
│ │ │ │ ├── DBUtil.class
│ │ │ │ ├── UserDao.class
│ │ │ │ ├── CommentDao.class
│ │ │ │ ├── ProductDao.class
│ │ │ │ ├── YuTangDao.class
│ │ │ │ ├── CateGoryDao.class
│ │ │ │ └── ClickLikeDao.class
│ │ │ │ ├── pager
│ │ │ │ └── Pager.class
│ │ │ │ └── servlet
│ │ │ │ ├── UserServlet.class
│ │ │ │ ├── LoginServlet.class
│ │ │ │ ├── YutangServlet.class
│ │ │ │ ├── uploadServlet.class
│ │ │ │ ├── CateGroyServlet.class
│ │ │ │ └── ProductServlet.class
│ │ └── web.xml
│ └── index.jsp
├── src
│ ├── 闲鱼.sql
│ └── com
│ │ └── pjt
│ │ ├── md5
│ │ └── MD5.java
│ │ ├── dao
│ │ ├── CommentDao.java
│ │ ├── ProductDao.java
│ │ ├── YuTangDao.java
│ │ ├── ClickLikeDao.java
│ │ ├── CateGoryDao.java
│ │ └── DBUtil.java
│ │ ├── servlet
│ │ ├── LoginServlet.java
│ │ ├── UserServlet.java
│ │ ├── YutangServlet.java
│ │ ├── CateGroyServlet.java
│ │ └── uploadServlet.java
│ │ ├── pojo
│ │ ├── YuTangCate.java
│ │ ├── CateGory.java
│ │ ├── ClickLike.java
│ │ ├── User.java
│ │ ├── Message.java
│ │ ├── Comment.java
│ │ └── YuTang.java
│ │ └── pager
│ │ └── Pager.java
├── .mymetadata
├── .classpath
└── .project
├── .gitattributes
├── .gitignore
├── README.md
├── gradle.properties
└── gradlew.bat
/.idea/.name:
--------------------------------------------------------------------------------
1 | XianYu
--------------------------------------------------------------------------------
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/XianYuService/.settings/org.eclipse.wst.jsdt.ui.superType.name:
--------------------------------------------------------------------------------
1 | Window
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
--------------------------------------------------------------------------------
/XianYuService/WebRoot/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Class-Path:
3 |
4 |
--------------------------------------------------------------------------------
/app/libs/Volley.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/libs/Volley.jar
--------------------------------------------------------------------------------
/app/libs/gson-2.5.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/libs/gson-2.5.jar
--------------------------------------------------------------------------------
/XianYuService/src/闲鱼.sql:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/src/闲鱼.sql
--------------------------------------------------------------------------------
/app/libs/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/libs/gradle-wrapper.jar
--------------------------------------------------------------------------------
/app/libs/gson-2.5-javadoc.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/libs/gson-2.5-javadoc.jar
--------------------------------------------------------------------------------
/app/libs/gson-2.5-sources.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/libs/gson-2.5-sources.jar
--------------------------------------------------------------------------------
/XianYuService/.settings/org.eclipse.wst.jsdt.ui.superType.container:
--------------------------------------------------------------------------------
1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary
--------------------------------------------------------------------------------
/app/libs/AMap_Services_V2.3.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/libs/AMap_Services_V2.3.0.jar
--------------------------------------------------------------------------------
/app/src/main/res/drawable/a1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/a1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/a2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/a2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/a3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/a3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/a4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/a4.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bg4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/bg4.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bg5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/bg5.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bg6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/bg6.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bg7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/bg7.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/e_5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/e_5.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/pc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/pc.png
--------------------------------------------------------------------------------
/.idea/copyright/profiles_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/app/libs/Android_Location_V1.3.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/libs/Android_Location_V1.3.0.jar
--------------------------------------------------------------------------------
/app/src/main/res/drawable/cate1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/cate1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/fujin1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/fujin1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/fujin2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/fujin2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/head5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/head5.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/play_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/play_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/play_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/play_2.png
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/md5/MD5.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/src/com/pjt/md5/MD5.java
--------------------------------------------------------------------------------
/app/libs/Android_Map_V2.7.20151124.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/libs/Android_Map_V2.7.20151124.jar
--------------------------------------------------------------------------------
/app/src/main/res/drawable/add_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/add_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/category.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/category.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/del_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/del_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_more.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/ic_more.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/love_red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/love_red.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/pw_hide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/pw_hide.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/pw_show.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/pw_show.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/tuijian1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/tuijian1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/tuijian2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/tuijian2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/yutang1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/yutang1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/yutang2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/yutang2.png
--------------------------------------------------------------------------------
/app/src/main/jniLibs/x86/libamapv304.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/jniLibs/x86/libamapv304.so
--------------------------------------------------------------------------------
/app/src/main/jniLibs/x86/libamapv304ex.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/jniLibs/x86/libamapv304ex.so
--------------------------------------------------------------------------------
/app/src/main/res/drawable/arrow_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/arrow_right.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/entry_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/entry_arrow.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/face_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/face_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/fish_awake.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/fish_awake.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/float_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/float_close.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_camera.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/icon_camera.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_city.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/icon_city.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/icon_edit.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_resale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/icon_resale.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/icon_search.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/love_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/love_gray.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/more_topic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/more_topic.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/page_error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/page_error.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/title_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/title_back.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/user_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/user_back.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/user_edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/user_edit.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/user_more.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/user_more.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/user_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/user_share.png
--------------------------------------------------------------------------------
/app/src/main/jniLibs/armeabi/libamapv304.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/jniLibs/armeabi/libamapv304.so
--------------------------------------------------------------------------------
/app/src/main/res/drawable/cate_icon_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/cate_icon_03.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/cate_icon_14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/cate_icon_14.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comment_empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comment_empty.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_face_d2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_face_d2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_face_d9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_face_d9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/contact_entry.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/contact_entry.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/entry_icon_pp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/entry_icon_pp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/fish_sleeping.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/fish_sleeping.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/keyboard_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/keyboard_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/name_confirm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/name_confirm.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_add_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_add_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/slide_bar_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/slide_bar_bg.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/subject_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/subject_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/title_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/title_search.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 |
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/lib/gson-2.5.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/lib/gson-2.5.jar
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/lib/ojdbc14.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/lib/ojdbc14.jar
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/dao/CommentDao.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/src/com/pjt/dao/CommentDao.java
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/dao/ProductDao.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/src/com/pjt/dao/ProductDao.java
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/dao/YuTangDao.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/src/com/pjt/dao/YuTangDao.java
--------------------------------------------------------------------------------
/app/src/main/jniLibs/arm64-v8a/libamapv304.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/jniLibs/arm64-v8a/libamapv304.so
--------------------------------------------------------------------------------
/app/src/main/jniLibs/armeabi/libamapv304ex.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/jniLibs/armeabi/libamapv304ex.so
--------------------------------------------------------------------------------
/app/src/main/res/drawable/alipay_msp_sla11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/alipay_msp_sla11.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/card_title_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/card_title_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_tab_home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_tab_home.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_tab_person.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_tab_person.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_tab_pond.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_tab_pond.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_tab_post.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_tab_post.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/entry_icon_sold.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/entry_icon_sold.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/fish_being_cute.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/fish_being_cute.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/fish_mouth_awake.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/fish_mouth_awake.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_big_coins.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/icon_big_coins.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_find_pond.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/icon_find_pond.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_pond_follow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/icon_pond_follow.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/key_board_hide.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/key_board_hide.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/love_gray_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/love_gray_small.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/love_red_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/love_red_small.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/message_icon_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/message_icon_03.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/message_icon_06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/message_icon_06.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/p_info_footer_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/p_info_footer_03.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/p_info_footer_09.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/p_info_footer_09.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/person_icon_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/person_icon_03.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/person_icon_06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/person_icon_06.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/person_icon_08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/person_icon_08.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_info_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_info_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/publish_in_pond.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/publish_in_pond.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/refresh_location.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/refresh_location.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/search_arrow_up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/search_arrow_up.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/up_icon_yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/up_icon_yellow.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/dao/ClickLikeDao.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/src/com/pjt/dao/ClickLikeDao.java
--------------------------------------------------------------------------------
/app/src/main/jniLibs/arm64-v8a/libamapv304ex.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/jniLibs/arm64-v8a/libamapv304ex.so
--------------------------------------------------------------------------------
/app/src/main/jniLibs/armeabi-v7a/libamapv304.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/jniLibs/armeabi-v7a/libamapv304.so
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bar_code_scan_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/bar_code_scan_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/chat_right_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/chat_right_button.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_tab_message.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_tab_message.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/entry_icon_bought.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/entry_icon_bought.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/home_item_view_tag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/home_item_view_tag.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_signin_select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/icon_signin_select.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_signin_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/icon_signin_small.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/pond_found_map_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/pond_found_map_bg.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/pond_subject_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/pond_subject_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/taorecorder_camera.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/taorecorder_camera.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/servlet/LoginServlet.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/src/com/pjt/servlet/LoginServlet.java
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/servlet/UserServlet.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/src/com/pjt/servlet/UserServlet.java
--------------------------------------------------------------------------------
/app/src/main/jniLibs/armeabi-v7a/libamapv304ex.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/jniLibs/armeabi-v7a/libamapv304ex.so
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comment_back_normal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comment_back_normal.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_face_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_face_selected.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/default_user_avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/default_user_avatar.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/entry_icon_favourite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/entry_icon_favourite.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/entry_icon_on_shelf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/entry_icon_on_shelf.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/entry_icon_settings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/entry_icon_settings.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/fish_mouth_being_cute.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/fish_mouth_being_cute.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/flaunt_share_rmb_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/flaunt_share_rmb_logo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/icon_sigin_unselect.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/icon_sigin_unselect.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00000.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00000.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00001.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00001.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00002.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00002.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00003.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00003.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00004.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00004.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00005.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00005.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00006.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00006.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00007.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00007.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00008.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00008.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00009.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00009.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00010.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00010.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00011.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00011.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00012.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00012.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00013.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00013.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00014.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00014.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00015.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00015.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00016.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00016.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00017.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00017.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00018.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00018.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00019.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00019.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00020.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00020.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00021.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00021.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00022.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00022.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00023.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00023.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00024.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00025.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00025.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00026.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00026.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00027.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00027.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00028.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00028.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_grey_v2_00029.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_grey_v2_00029.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_add_image_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_add_image_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_close_click_hl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_close_click_hl.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/publish_entry_resale.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/publish_entry_resale.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/slide_bar_center_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/slide_bar_center_bg.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/welcome_ponds_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/welcome_ponds_close.png
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/lib/commons-io-2.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/lib/commons-io-2.3.jar
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/servlet/YutangServlet.java:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/src/com/pjt/servlet/YutangServlet.java
--------------------------------------------------------------------------------
/app/src/main/res/drawable/alipay_msp_pcredit_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/alipay_msp_pcredit_logo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_keyboard_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_keyboard_selected.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_tab_home_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_tab_home_selected.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_tab_pond_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_tab_pond_selected.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/item_detail_share_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/item_detail_share_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_failed_big_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/loading_failed_big_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/message_gv_action_more.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/message_gv_action_more.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_location_icon_blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_location_icon_blue.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_thumb_auctions_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_thumb_auctions_off.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_thumb_auctions_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_thumb_auctions_on.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_thumb_for_money_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_thumb_for_money_on.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/walkthrough_guide_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/walkthrough_guide_close.png
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/lib/gson-2.5-javadoc.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/lib/gson-2.5-javadoc.jar
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/lib/gson-2.5-sources.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/lib/gson-2.5-sources.jar
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_tab_message_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_tab_message_selected.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/comui_tab_person_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/comui_tab_person_selected.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_location_icon_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_location_icon_black.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_thumb_for_money_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_thumb_for_money_off.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/publish_entry_with_photo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/publish_entry_with_photo.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/taorecorder_back_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/taorecorder_back_pressed.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/tmlayer_pond_map_poi_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/tmlayer_pond_map_poi_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_thumb_not_for_money_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_thumb_not_for_money_off.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_thumb_not_for_money_on.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/post_thumb_not_for_money_on.png
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/md5/MD5.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/md5/MD5.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/User.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/User.class
--------------------------------------------------------------------------------
/app/src/main/res/drawable/user_person_userinfo_right_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/app/src/main/res/drawable/user_person_userinfo_right_icon.png
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/DBUtil.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/DBUtil.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/UserDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/UserDao.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pager/Pager.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pager/Pager.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/YuTang.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/YuTang.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/lib/commons-fileupload-1.2.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/lib/commons-fileupload-1.2.2.jar
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/CommentDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/CommentDao.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/ProductDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/ProductDao.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/YuTangDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/YuTangDao.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/CateGory.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/CateGory.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/ClickLike.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/ClickLike.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/Comment.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/Comment.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/Message.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/Message.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/Product.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/Product.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/CateGoryDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/CateGoryDao.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/ClickLikeDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/dao/ClickLikeDao.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/YuTangCate.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/pojo/YuTangCate.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/UserServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/UserServlet.class
--------------------------------------------------------------------------------
/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/LoginServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/LoginServlet.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/YutangServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/YutangServlet.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/uploadServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/uploadServlet.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/CateGroyServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/CateGroyServlet.class
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/ProductServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/songxowe/XianYu/HEAD/XianYuService/WebRoot/WEB-INF/classes/com/pjt/servlet/ProductServlet.class
--------------------------------------------------------------------------------
/app/src/main/res/anim/alpha_cate_r.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | XianYu
3 |
4 |
5 | Hello blank fragment
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/.idea/inspectionProfiles/profiles_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/tab_bg_press.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/post2_anim.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/post_anim.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/rotate_anim.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/city_item_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/paizhao_anim.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/paizhao2_anim.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/trans_anim.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/zhuanmai2_anim.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/zhuanmai_anim.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/wihte_circle.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/fenlei_item_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ovalimage.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_nomoney.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/gray_circle.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/scale_cate_fenlei_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/btn_start.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # XianYu
2 |
3 | 仿闲鱼 App
4 |
5 | 功能概述
6 |
7 | 客户端:
8 |
9 | 用户登陆(连接服务器,判断用户名和密码是否正确,完成登陆)
10 |
11 | 用户注册(对服务器端数据库用户表进行插入操作)
12 |
13 | 浏览商品(获取服务器商品数据并显示)
14 |
15 | 商品详情(获取商品的详细信息,添加到订单)
16 |
17 | 订单中心(完成结算功能)
18 |
19 |
20 |
21 | 服务器端:
22 |
23 | 商品管理(对商品表进行增删改查操作)
24 |
25 | 订单管理
26 |
27 | 登录验证(对登录用户进行验证是否存在)
28 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/translate_cate_fenlei.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/translate_cate_fenlei_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/chongfa.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/main_fragment_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/XianYuService/.mymetadata:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/remove_text.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/XianYuService/.settings/org.eclipse.jdt.core.prefs:
--------------------------------------------------------------------------------
1 | #Tue May 24 08:01:52 CST 2016
2 | eclipse.preferences.version=1
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
4 | org.eclipse.jdt.core.compiler.compliance=1.5
5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7 | org.eclipse.jdt.core.compiler.source=1.5
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/btn_login_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/btn_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/login_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_item_bg_press.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #ffda68
4 | #000000
5 | #FF4081
6 | #dadada
7 | #ffda68
8 | #ebebeb
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/post_item_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/title_search_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/app/src/test/java/com/pjt/xianyu/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * To work on unit tests, switch the Test Artifact in the Build Variants view.
9 | */
10 | public class ExampleUnitTest {
11 | @Test
12 | public void addition_isCorrect() throws Exception {
13 | assertEquals(4, 2 + 2);
14 | }
15 | }
--------------------------------------------------------------------------------
/app/src/main/res/drawable/set_btn_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/androidTest/java/com/pjt/xianyu/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/app/src/main/res/drawable/want_buy_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/btn_login_bg_press.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/XianYuService/.settings/.jsdtscope:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/screen1.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/screen3.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/screen2.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/listview_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/values/attrs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/p_info_header_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
14 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/price_mode.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
16 |
--------------------------------------------------------------------------------
/.idea/runConfigurations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/image_mode.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
15 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/pojo/YuTangCate.java:
--------------------------------------------------------------------------------
1 | package com.pjt.pojo;
2 |
3 | import java.util.ArrayList;
4 |
5 | /**
6 | * Created by Administrator on 2016/05/27.
7 | */
8 | public class YuTangCate {
9 | private String title=null;
10 | private ArrayList list=null;
11 |
12 | public YuTangCate() {
13 | }
14 |
15 | public String getTitle() {
16 | return title;
17 | }
18 |
19 | public void setTitle(String title) {
20 | this.title = title;
21 | }
22 |
23 | public ArrayList getList() {
24 | return list;
25 | }
26 |
27 | public void setList(ArrayList list) {
28 | this.list = list;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_regist.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/pojo/YuTangCate.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.pojo;
2 |
3 | import java.util.ArrayList;
4 |
5 | /**
6 | * Created by Administrator on 2016/05/27.
7 | */
8 | public class YuTangCate {
9 | private String title=null;
10 | private ArrayList list=null;
11 |
12 | public YuTangCate() {
13 | }
14 |
15 | public String getTitle() {
16 | return title;
17 | }
18 |
19 | public void setTitle(String title) {
20 | this.title = title;
21 | }
22 |
23 | public ArrayList getList() {
24 | return list;
25 | }
26 |
27 | public void setList(ArrayList list) {
28 | this.list = list;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/tab_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
19 |
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in F:\Android\sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/CustomerViewPager.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.content.Context;
4 | import android.support.v4.view.ViewPager;
5 | import android.util.AttributeSet;
6 | import android.view.MotionEvent;
7 |
8 | /**
9 | * Created by Administrator on 2016/05/21.
10 | */
11 | public class CustomerViewPager extends ViewPager {
12 | public CustomerViewPager(Context context, AttributeSet attrs) {
13 | super(context, attrs);
14 | }
15 |
16 | @Override
17 | public boolean onTouchEvent(MotionEvent ev) {
18 | return false;
19 | }
20 |
21 | @Override
22 | public boolean onInterceptTouchEvent(MotionEvent ev) {
23 | return false;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/county_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
19 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_yt_dis_.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
16 |
17 |
--------------------------------------------------------------------------------
/.idea/gradle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/pojo/County.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.pojo;
2 |
3 | /**
4 | * Created by Administrator on 2016/06/02.
5 | */
6 | public class County {
7 | private int id;
8 | private String no;
9 | private String name;
10 |
11 | public County(){
12 |
13 | }
14 |
15 | public int getId() {
16 | return id;
17 | }
18 |
19 | public void setId(int id) {
20 | this.id = id;
21 | }
22 |
23 | public String getNo() {
24 | return no;
25 | }
26 |
27 | public void setNo(String no) {
28 | this.no = no;
29 | }
30 |
31 | public String getName() {
32 | return name;
33 | }
34 |
35 | public void setName(String name) {
36 | this.name = name;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_yt_my.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
18 |
19 |
--------------------------------------------------------------------------------
/.idea/compiler.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/pojo/Province.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.pojo;
2 |
3 | /**
4 | * Created by Administrator on 2016/06/02.
5 | */
6 | public class Province {
7 |
8 | private int id;
9 | private String no;
10 | private String name;
11 |
12 |
13 | public Province(){
14 |
15 | }
16 |
17 | public int getId() {
18 | return id;
19 | }
20 |
21 | public void setId(int id) {
22 | this.id = id;
23 | }
24 |
25 | public String getNo() {
26 | return no;
27 | }
28 |
29 | public void setNo(String no) {
30 | this.no = no;
31 | }
32 |
33 | public String getName() {
34 | return name;
35 | }
36 |
37 | public void setName(String name) {
38 | this.name = name;
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fenlei_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
21 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/NoScrollGridView.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.content.Context;
4 | import android.util.AttributeSet;
5 | import android.widget.GridView;
6 |
7 | /**
8 | * Created by Administrator on 2016/05/27.
9 | */
10 | public class NoScrollGridView extends GridView {
11 | public NoScrollGridView(Context context) {
12 | super(context);
13 |
14 | }
15 | public NoScrollGridView(Context context, AttributeSet attrs) {
16 | super(context, attrs);
17 | }
18 |
19 | @Override
20 | protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
21 | int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,MeasureSpec.AT_MOST);
22 | super.onMeasure(widthMeasureSpec, expandSpec);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/province_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
20 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/pager/Pager.java:
--------------------------------------------------------------------------------
1 | package com.pjt.pager;
2 |
3 | import java.util.ArrayList;
4 |
5 | import com.pjt.pojo.Product;
6 |
7 | public class Pager {
8 | private ArrayListlist=null;
9 | private static int size=8;
10 | private int totalPager=0;
11 |
12 | public Pager(){
13 |
14 | }
15 |
16 | public ArrayList getList() {
17 | return list;
18 | }
19 |
20 | public void setList(ArrayList list) {
21 | this.list = list;
22 | }
23 |
24 | public static int getSize() {
25 | return size;
26 | }
27 |
28 | public static void setSize(int size) {
29 | Pager.size = size;
30 | }
31 |
32 | public int getTotalPager() {
33 | return totalPager;
34 | }
35 |
36 | public void setTotalPager(int totalPager) {
37 | this.totalPager = totalPager;
38 | }
39 |
40 |
41 |
42 | }
43 |
--------------------------------------------------------------------------------
/.idea/inspectionProfiles/Project_Default.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/nomoney_grid_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
20 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/NoScrollListView.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.content.Context;
4 | import android.util.AttributeSet;
5 | import android.widget.GridView;
6 | import android.widget.ListView;
7 |
8 | /**
9 | * Created by Administrator on 2016/05/27.
10 | */
11 | public class NoScrollListView extends ListView {
12 | public NoScrollListView(Context context) {
13 | super(context);
14 |
15 | }
16 | public NoScrollListView(Context context, AttributeSet attrs) {
17 | super(context, attrs);
18 | }
19 |
20 | @Override
21 | protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
22 | int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,MeasureSpec.AT_MOST);
23 | super.onMeasure(widthMeasureSpec, expandSpec);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/XianYuService/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/XianYuService/WebRoot/index.jsp:
--------------------------------------------------------------------------------
1 | <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2 | <%
3 | String path = request.getContextPath();
4 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
5 | %>
6 |
7 |
8 |
9 |
10 |
11 |
12 | My JSP 'index.jsp' starting page
13 |
14 |
15 |
16 |
17 |
18 |
21 |
22 |
23 |
24 | This is my JSP page.
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/screen4.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
13 |
14 |
24 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/data/DBUtil.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.data;
2 |
3 | import android.content.Context;
4 | import android.database.sqlite.SQLiteDatabase;
5 |
6 | /**
7 | * Created by Administrator on 2016/06/02.
8 | */
9 | public class DBUtil {
10 |
11 | public static SQLiteDatabase openDatabase(Context context) {
12 | SQLiteDatabase db = null;
13 | DBHelper dbHelper = null;
14 | try {
15 | dbHelper = new DBHelper(context, "mycity.db", null, 2);
16 | db = dbHelper.getWritableDatabase();
17 |
18 |
19 | } catch (Exception e) {
20 | db = dbHelper.getReadableDatabase();
21 | e.printStackTrace();
22 | }
23 |
24 |
25 | return db;
26 | }
27 |
28 |
29 | public static void close(SQLiteDatabase db){
30 | try{
31 | if(db!=null){
32 | db.close();
33 | }
34 |
35 | }catch (Exception e){
36 | e.printStackTrace();
37 | }
38 | }
39 |
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/dao/CateGoryDao.java:
--------------------------------------------------------------------------------
1 | package com.pjt.dao;
2 |
3 | import java.sql.Connection;
4 | import java.sql.PreparedStatement;
5 | import java.sql.ResultSet;
6 | import java.util.ArrayList;
7 |
8 | import com.pjt.pojo.CateGory;
9 |
10 | public class CateGoryDao {
11 |
12 | private Connection conn = null;
13 | private PreparedStatement ps = null;
14 | private ResultSet rs = null;
15 |
16 | public ArrayList findCate() {
17 | ArrayList list = new ArrayList();
18 | try {
19 | conn = DBUtil.getConnection();
20 | String sql = "select * from xianyu_category";
21 | ps = conn.prepareStatement(sql);
22 | rs = ps.executeQuery();
23 |
24 | while (rs.next()) {
25 | CateGory cate = new CateGory();
26 | cate.setId(rs.getLong(1));
27 | cate.setCate_name(rs.getString(2));
28 | cate.setCate_img(rs.getString(3));
29 | list.add(cate);
30 | }
31 |
32 | } catch (Exception e) {
33 | e.printStackTrace();
34 | } finally {
35 | DBUtil.close(conn, ps, rs);
36 | }
37 |
38 | return list;
39 | }
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/cate_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
16 |
17 |
29 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/pojo/CateGory.java:
--------------------------------------------------------------------------------
1 | package com.pjt.pojo;
2 |
3 | /**
4 | * Created by Administrator on 2016/05/27.
5 | */
6 | public class CateGory {
7 | private long id;
8 | private String cate_name;
9 | private String cate_img;
10 |
11 | public CateGory() {
12 | }
13 |
14 |
15 |
16 | public long getId() {
17 | return id;
18 | }
19 |
20 |
21 |
22 | public void setId(long id) {
23 | this.id = id;
24 | }
25 |
26 |
27 |
28 | public CateGory(String cate_name) {
29 | this.cate_name = cate_name;
30 | }
31 |
32 | public CateGory(String cate_name, String cate_img) {
33 | this.cate_name = cate_name;
34 | this.cate_img = cate_img;
35 | }
36 |
37 | public String getCate_img() {
38 | return cate_img;
39 | }
40 |
41 | public void setCate_img(String cate_img) {
42 | this.cate_img = cate_img;
43 | }
44 |
45 | public String getCate_name() {
46 | return cate_name;
47 | }
48 |
49 | public void setCate_name(String cate_name) {
50 | this.cate_name = cate_name;
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/pojo/CateGory.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.pojo;
2 |
3 | /**
4 | * Created by Administrator on 2016/05/27.
5 | */
6 | public class CateGory {
7 | private long id;
8 | private String cate_name;
9 | private String cate_img;
10 |
11 | public CateGory() {
12 | }
13 |
14 |
15 |
16 | public long getId() {
17 | return id;
18 | }
19 |
20 |
21 |
22 | public void setId(long id) {
23 | this.id = id;
24 | }
25 |
26 |
27 |
28 | public CateGory(String cate_name) {
29 | this.cate_name = cate_name;
30 | }
31 |
32 | public CateGory(String cate_name, String cate_img) {
33 | this.cate_name = cate_name;
34 | this.cate_img = cate_img;
35 | }
36 |
37 | public String getCate_img() {
38 | return cate_img;
39 | }
40 |
41 | public void setCate_img(String cate_img) {
42 | this.cate_img = cate_img;
43 | }
44 |
45 | public String getCate_name() {
46 | return cate_name;
47 | }
48 |
49 | public void setCate_name(String cate_name) {
50 | this.cate_name = cate_name;
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/RegistActivity.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.support.v4.app.FragmentManager;
4 | import android.support.v4.app.FragmentTransaction;
5 | import android.support.v7.app.AppCompatActivity;
6 | import android.os.Bundle;
7 | import android.widget.Button;
8 | import android.widget.EditText;
9 | import android.widget.FrameLayout;
10 |
11 | public class RegistActivity extends AppCompatActivity implements Regist_oneFragment.OneFragmentOnClick {
12 |
13 |
14 |
15 | @Override
16 | protected void onCreate(Bundle savedInstanceState) {
17 | super.onCreate(savedInstanceState);
18 | setContentView(R.layout.activity_regist);
19 | if(savedInstanceState==null) {
20 | FragmentManager fm = getSupportFragmentManager();
21 | FragmentTransaction ft = fm.beginTransaction();
22 | ft.replace(R.id.content, new Regist_oneFragment(), "one");
23 | ft.commit();
24 | }
25 |
26 | }
27 |
28 | @Override
29 | public void clickOne() {
30 | FragmentManager fm=getSupportFragmentManager();
31 | FragmentTransaction ft=fm.beginTransaction();
32 | ft.replace(R.id.content,new Regist_Two_Fragment(),"two");
33 | ft.commit();
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 23
5 | buildToolsVersion "23.0.1"
6 |
7 | defaultConfig {
8 | applicationId "com.pjt.xianyu"
9 | minSdkVersion 15
10 | targetSdkVersion 23
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(include: ['*.jar'], dir: 'libs')
24 | testCompile 'junit:junit:4.12'
25 | compile files('libs/gradle-wrapper.jar')
26 | compile files('libs/AMap_Services_V2.3.0.jar')
27 | compile files('libs/Android_Location_V1.3.0.jar')
28 | compile files('libs/Android_Map_V2.7.20151124.jar')
29 | compile files('libs/Volley.jar')
30 | compile files('libs/gson-2.5.jar')
31 | compile files('libs/gson-2.5-sources.jar')
32 | compile files('libs/gson-2.5-javadoc.jar')
33 | compile 'com.android.support:appcompat-v7:23.1.1'
34 | compile 'com.android.support:support-v4:23.1.1'
35 | compile 'com.android.support:design:23.1.1'
36 | compile 'com.jude:rollviewpager:1.2.9'
37 | }
38 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/servlet/CateGroyServlet.java:
--------------------------------------------------------------------------------
1 | package com.pjt.servlet;
2 |
3 | import java.io.IOException;
4 | import java.io.PrintWriter;
5 | import java.util.ArrayList;
6 |
7 | import javax.servlet.ServletException;
8 | import javax.servlet.http.HttpServlet;
9 | import javax.servlet.http.HttpServletRequest;
10 | import javax.servlet.http.HttpServletResponse;
11 |
12 | import com.google.gson.Gson;
13 | import com.pjt.dao.CateGoryDao;
14 | import com.pjt.pojo.CateGory;
15 |
16 | public class CateGroyServlet extends HttpServlet {
17 | public void doGet(HttpServletRequest request, HttpServletResponse response)
18 | throws ServletException, IOException {
19 |
20 | doPost(request, response);
21 | }
22 |
23 | public void doPost(HttpServletRequest request, HttpServletResponse response)
24 | throws ServletException, IOException {
25 | request.setCharacterEncoding("utf-8");
26 | response.setContentType("text/html;charset=utf-8");
27 | response.setCharacterEncoding("utf-8");
28 | PrintWriter out = response.getWriter();
29 | CateGoryDao cgdao = new CateGoryDao();
30 | ArrayList list = cgdao.findCate();
31 | String type=request.getParameter("type");
32 | if(type.equals("android")){
33 | Gson gson = new Gson();
34 | String st = gson.toJson(list);
35 | out.println(st);
36 |
37 | }
38 |
39 | out.flush();
40 | out.close();
41 | }
42 |
43 | }
44 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/posting_add_mode.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
17 |
26 |
27 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/pojo/ClickLike.java:
--------------------------------------------------------------------------------
1 | package com.pjt.pojo;
2 |
3 | public class ClickLike {
4 | private long id;
5 | private long product_id;
6 | private long user_id;
7 | private String time;
8 | private String fromUsername;
9 | private String fromUserImg;
10 | private String p_img;
11 |
12 |
13 | public ClickLike(){
14 |
15 | }
16 |
17 | public String getFromUsername() {
18 | return fromUsername;
19 | }
20 |
21 | public void setFromUsername(String fromUsername) {
22 | this.fromUsername = fromUsername;
23 | }
24 |
25 | public String getFromUserImg() {
26 | return fromUserImg;
27 | }
28 |
29 | public void setFromUserImg(String fromUserImg) {
30 | this.fromUserImg = fromUserImg;
31 | }
32 |
33 | public String getP_img() {
34 | return p_img;
35 | }
36 |
37 | public void setP_img(String pImg) {
38 | p_img = pImg;
39 | }
40 |
41 | public long getId() {
42 | return id;
43 | }
44 |
45 | public void setId(long id) {
46 | this.id = id;
47 | }
48 |
49 | public long getProduct_id() {
50 | return product_id;
51 | }
52 |
53 | public void setProduct_id(long productId) {
54 | product_id = productId;
55 | }
56 |
57 | public long getUser_id() {
58 | return user_id;
59 | }
60 |
61 | public void setUser_id(long userId) {
62 | user_id = userId;
63 | }
64 |
65 | public String getTime() {
66 | return time;
67 | }
68 |
69 | public void setTime(String time) {
70 | this.time = time;
71 | }
72 |
73 |
74 | }
75 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/pojo/ClickLike.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.pojo;
2 |
3 | public class ClickLike {
4 | private long id;
5 | private long product_id;
6 | private long user_id;
7 | private String time;
8 | private String fromUsername;
9 | private String fromUserImg;
10 | private String p_img;
11 |
12 |
13 | public ClickLike(){
14 |
15 | }
16 |
17 | public String getFromUsername() {
18 | return fromUsername;
19 | }
20 |
21 | public void setFromUsername(String fromUsername) {
22 | this.fromUsername = fromUsername;
23 | }
24 |
25 | public String getFromUserImg() {
26 | return fromUserImg;
27 | }
28 |
29 | public void setFromUserImg(String fromUserImg) {
30 | this.fromUserImg = fromUserImg;
31 | }
32 |
33 | public String getP_img() {
34 | return p_img;
35 | }
36 |
37 | public void setP_img(String pImg) {
38 | p_img = pImg;
39 | }
40 |
41 | public long getId() {
42 | return id;
43 | }
44 |
45 | public void setId(long id) {
46 | this.id = id;
47 | }
48 |
49 | public long getProduct_id() {
50 | return product_id;
51 | }
52 |
53 | public void setProduct_id(long productId) {
54 | product_id = productId;
55 | }
56 |
57 | public long getUser_id() {
58 | return user_id;
59 | }
60 |
61 | public void setUser_id(long userId) {
62 | user_id = userId;
63 | }
64 |
65 | public String getTime() {
66 | return time;
67 | }
68 |
69 | public void setTime(String time) {
70 | this.time = time;
71 | }
72 |
73 |
74 | }
75 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/view_mode.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
18 |
19 |
31 |
32 |
39 |
40 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/dao/DBUtil.java:
--------------------------------------------------------------------------------
1 | package com.pjt.dao;
2 |
3 | import java.sql.Connection;
4 | import java.sql.DriverManager;
5 | import java.sql.PreparedStatement;
6 | import java.sql.ResultSet;
7 | import java.sql.SQLException;
8 |
9 | public class DBUtil {
10 |
11 |
12 |
13 | public static Connection getConnection(){
14 | Connection conn=null;
15 |
16 | String driverName="oracle.jdbc.driver.OracleDriver";
17 | String url="jdbc:oracle:thin:@127.0.0.1:1521:orcl";
18 | String user="scott";
19 | String password="pjt111";
20 |
21 | try {
22 | Class.forName(driverName);
23 | conn=DriverManager.getConnection(url, user, password);
24 |
25 |
26 | } catch (Exception e) {
27 |
28 | e.printStackTrace();
29 | }
30 |
31 |
32 |
33 |
34 |
35 | return conn;
36 |
37 | }
38 |
39 |
40 | public static void close(Connection conn,PreparedStatement ps,ResultSet rs){
41 | if(rs!=null){
42 | try {
43 | rs.close();
44 | } catch (SQLException e) {
45 |
46 | e.printStackTrace();
47 | }
48 | }
49 | if(ps!=null){
50 | try {
51 | ps.close();
52 | } catch (SQLException e) {
53 |
54 | e.printStackTrace();
55 | }
56 | }
57 |
58 | if(conn!=null){
59 | try {
60 | conn.close();
61 | } catch (SQLException e) {
62 |
63 | e.printStackTrace();
64 | }
65 | }
66 |
67 |
68 |
69 |
70 | }
71 |
72 |
73 | public static void main(String[] args) {
74 | System.out.println(getConnection());
75 | }
76 |
77 | }
78 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_message.xml:
--------------------------------------------------------------------------------
1 |
8 |
16 |
17 |
27 |
28 |
29 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/XianYuService/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | XianYuService
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.wst.jsdt.core.javascriptValidator
10 |
11 |
12 |
13 |
14 | com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder
15 |
16 |
17 |
18 |
19 | org.eclipse.jdt.core.javabuilder
20 |
21 |
22 |
23 |
24 | com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator
25 |
26 |
27 |
28 |
29 | com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator
30 |
31 |
32 |
33 |
34 | org.eclipse.wst.validation.validationbuilder
35 |
36 |
37 |
38 |
39 | com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder
40 |
41 |
42 |
43 |
44 |
45 | com.genuitec.eclipse.ast.deploy.core.deploymentnature
46 | com.genuitec.eclipse.j2eedt.core.webnature
47 | org.eclipse.jdt.core.javanature
48 | org.eclipse.wst.jsdt.core.jsNature
49 |
50 |
51 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/LovePersonView.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.content.Context;
4 | import android.graphics.Bitmap;
5 | import android.graphics.BitmapFactory;
6 | import android.graphics.Canvas;
7 | import android.graphics.Matrix;
8 | import android.graphics.Paint;
9 | import android.media.ThumbnailUtils;
10 | import android.util.AttributeSet;
11 | import android.view.View;
12 |
13 | import java.util.ArrayList;
14 |
15 | /**
16 | * Created by Administrator on 2016/05/29.
17 | */
18 | public class LovePersonView extends View {
19 |
20 | ArrayListbits=new ArrayList<>();
21 |
22 | public LovePersonView(Context context, AttributeSet attrs) {
23 | super(context, attrs);
24 | }
25 |
26 | @Override
27 | protected void onDraw(Canvas canvas) {
28 | super.onDraw(canvas);
29 | int height=canvas.getHeight();
30 | float tempheight=(height-100)/2;
31 | Paint paint=new Paint();
32 | paint.setAntiAlias(true);
33 | int count=20;
34 | for(Bitmap bitmap:bits){
35 | canvas.drawBitmap(bitmap,count,tempheight,paint);
36 | count+=70;
37 | }
38 |
39 |
40 | }
41 |
42 |
43 | public void setLovePerson(ArrayListbits){
44 | this.bits.clear();
45 | for(Bitmap bit:bits){
46 | this.bits.add(Util.createCirBitmap(ThumbnailUtils.extractThumbnail(
47 | bit,
48 | 100, 100),
49 | 100));
50 | }
51 | this.postInvalidate();
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/pojo/User.java:
--------------------------------------------------------------------------------
1 | package com.pjt.pojo;
2 |
3 | public class User {
4 | private long id;
5 | private String username;
6 | private String password;
7 | private String sex;
8 | private String address;
9 | private String phone;
10 | private String img;
11 | private long commentcount;
12 |
13 |
14 | public User(){
15 |
16 | }
17 |
18 | public String getImg() {
19 | return img;
20 | }
21 |
22 | public long getCommentcount() {
23 | return commentcount;
24 | }
25 |
26 | public void setCommentcount(long commentcount) {
27 | this.commentcount = commentcount;
28 | }
29 |
30 | public void setImg(String img) {
31 | this.img = img;
32 | }
33 |
34 | public long getId() {
35 | return id;
36 | }
37 |
38 | public void setId(long id) {
39 | this.id = id;
40 | }
41 |
42 | public String getUsername() {
43 | return username;
44 | }
45 |
46 | public void setUsername(String username) {
47 | this.username = username;
48 | }
49 |
50 | public String getPassword() {
51 | return password;
52 | }
53 |
54 | public void setPassword(String password) {
55 | this.password = password;
56 | }
57 |
58 | public String getSex() {
59 | return sex;
60 | }
61 |
62 | public void setSex(String sex) {
63 | this.sex = sex;
64 | }
65 |
66 | public String getAddress() {
67 | return address;
68 | }
69 |
70 | public void setAddress(String address) {
71 | this.address = address;
72 | }
73 |
74 | public String getPhone() {
75 | return phone;
76 | }
77 |
78 | public void setPhone(String phone) {
79 | this.phone = phone;
80 | }
81 |
82 |
83 |
84 | }
85 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/pojo/User.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.pojo;
2 |
3 | public class User {
4 | private long id;
5 | private String username;
6 | private String password;
7 | private String sex;
8 | private String address;
9 | private String phone;
10 | private String img;
11 | private long commentcount;
12 |
13 |
14 | public User(){
15 |
16 | }
17 |
18 | public String getImg() {
19 | return img;
20 | }
21 |
22 | public long getCommentcount() {
23 | return commentcount;
24 | }
25 |
26 | public void setCommentcount(long commentcount) {
27 | this.commentcount = commentcount;
28 | }
29 |
30 | public void setImg(String img) {
31 | this.img = img;
32 | }
33 |
34 | public long getId() {
35 | return id;
36 | }
37 |
38 | public void setId(long id) {
39 | this.id = id;
40 | }
41 |
42 | public String getUsername() {
43 | return username;
44 | }
45 |
46 | public void setUsername(String username) {
47 | this.username = username;
48 | }
49 |
50 | public String getPassword() {
51 | return password;
52 | }
53 |
54 | public void setPassword(String password) {
55 | this.password = password;
56 | }
57 |
58 | public String getSex() {
59 | return sex;
60 | }
61 |
62 | public void setSex(String sex) {
63 | this.sex = sex;
64 | }
65 |
66 | public String getAddress() {
67 | return address;
68 | }
69 |
70 | public void setAddress(String address) {
71 | this.address = address;
72 | }
73 |
74 | public String getPhone() {
75 | return phone;
76 | }
77 |
78 | public void setPhone(String phone) {
79 | this.phone = phone;
80 | }
81 |
82 |
83 |
84 | }
85 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/data/DBHelper.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.data;
2 |
3 | import android.content.Context;
4 | import android.database.sqlite.SQLiteDatabase;
5 | import android.database.sqlite.SQLiteOpenHelper;
6 |
7 | /**
8 | * Created by Administrator on 2016/06/02.
9 | */
10 | public class DBHelper extends SQLiteOpenHelper {
11 |
12 |
13 | public DBHelper(Context context, String name, SQLiteDatabase.CursorFactory factory, int version) {
14 | super(context, name, factory, version);
15 | }
16 |
17 | @Override
18 | public void onCreate(SQLiteDatabase db) {
19 | db.execSQL("create table t_province(" +
20 | "_id integer primary key autoincrement," +
21 | "no text not null," +
22 | "name text not null )");
23 | db.execSQL("create table t_county(" +
24 | "_id integer primary key autoincrement," +
25 | "no text not null," +
26 | "name text not null)");
27 |
28 |
29 | }
30 |
31 | @Override
32 | public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
33 | db.execSQL("drop table t_province");
34 | db.execSQL("drop table t_county");
35 | db.execSQL("create table t_province(" +
36 | "_id integer primary key autoincrement," +
37 | "no integer not null," +
38 | "name text not null )");
39 | db.execSQL("create table t_county(" +
40 | "_id integer primary key autoincrement," +
41 | "no integer not null," +
42 | "name text not null)");
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/pojo/Message.java:
--------------------------------------------------------------------------------
1 | package com.pjt.pojo;
2 |
3 |
4 |
5 | /**
6 | * Created by Administrator on 2016/05/27.
7 | */
8 | public class Message {
9 | private String title;
10 | private String message;
11 | private String imgurl;
12 | private String order_img;
13 | private String state;
14 | private int system_img;
15 |
16 | public Message() {
17 | }
18 |
19 | public String getImgurl() {
20 | return imgurl;
21 | }
22 |
23 | public void setImgurl(String imgurl) {
24 | this.imgurl = imgurl;
25 | }
26 |
27 | public int getSystem_img() {
28 | return system_img;
29 | }
30 |
31 | public void setSystem_img(int system_img) {
32 | this.system_img = system_img;
33 | }
34 |
35 | public String getTitle() {
36 | return title;
37 | }
38 |
39 | public void setTitle(String title) {
40 | this.title = title;
41 | }
42 |
43 | public String getMessage() {
44 | return message;
45 | }
46 |
47 | public void setMessage(String message) {
48 | this.message = message;
49 | }
50 |
51 | public String getImg() {
52 | return imgurl;
53 | }
54 |
55 | public void setImg(String img) {
56 | this.imgurl = img;
57 | }
58 |
59 | public String getOrder_img() {
60 | return order_img;
61 | }
62 |
63 | public void setOrder_img(String order_img) {
64 | this.order_img = order_img;
65 | }
66 |
67 | public String getState() {
68 | return state;
69 | }
70 |
71 | public void setState(String state) {
72 | this.state = state;
73 | }
74 | }
75 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/pojo/Message.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.pojo;
2 |
3 | import android.graphics.Bitmap;
4 |
5 | /**
6 | * Created by Administrator on 2016/05/27.
7 | */
8 | public class Message {
9 | private String title;
10 | private String message;
11 | private String imgurl;
12 | private String order_img;
13 | private String state;
14 | private int system_img;
15 |
16 | public Message() {
17 | }
18 |
19 | public String getImgurl() {
20 | return imgurl;
21 | }
22 |
23 | public void setImgurl(String imgurl) {
24 | this.imgurl = imgurl;
25 | }
26 |
27 | public int getSystem_img() {
28 | return system_img;
29 | }
30 |
31 | public void setSystem_img(int system_img) {
32 | this.system_img = system_img;
33 | }
34 |
35 | public String getTitle() {
36 | return title;
37 | }
38 |
39 | public void setTitle(String title) {
40 | this.title = title;
41 | }
42 |
43 | public String getMessage() {
44 | return message;
45 | }
46 |
47 | public void setMessage(String message) {
48 | this.message = message;
49 | }
50 |
51 | public String getImg() {
52 | return imgurl;
53 | }
54 |
55 | public void setImg(String img) {
56 | this.imgurl = img;
57 | }
58 |
59 | public String getOrder_img() {
60 | return order_img;
61 | }
62 |
63 | public void setOrder_img(String order_img) {
64 | this.order_img = order_img;
65 | }
66 |
67 | public String getState() {
68 | return state;
69 | }
70 |
71 | public void setState(String state) {
72 | this.state = state;
73 | }
74 | }
75 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/yutang_item_mode.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
20 |
21 |
32 |
33 |
44 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/SetingActivity.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.app.Activity;
4 | import android.content.Context;
5 | import android.content.Intent;
6 | import android.content.SharedPreferences;
7 | import android.support.v7.app.AppCompatActivity;
8 | import android.os.Bundle;
9 | import android.view.View;
10 | import android.widget.Button;
11 |
12 | public class SetingActivity extends AppCompatActivity {
13 |
14 | Button btn_logout=null;
15 | SharedPreferences sp=null;
16 |
17 | @Override
18 | protected void onCreate(Bundle savedInstanceState) {
19 | super.onCreate(savedInstanceState);
20 | setContentView(R.layout.activity_seting);
21 | btn_logout= (Button) findViewById(R.id.btn_logout);
22 | sp=Util.getSp(getApplicationContext());
23 | ButtonListener buttonListener=new ButtonListener();
24 | btn_logout.setOnClickListener(buttonListener);
25 | }
26 |
27 | private class ButtonListener implements View.OnClickListener{
28 | @Override
29 | public void onClick(View v) {
30 | switch (v.getId()){
31 | case R.id.btn_logout:
32 | SharedPreferences.Editor editor=sp.edit();
33 | editor.remove("user_id");
34 | editor.commit();
35 | for(Context context:Util.ContextArray){
36 | ((Activity)context).finish();
37 | }
38 | Intent intent=new Intent(SetingActivity.this,MainActivity.class);
39 | startActivity(intent);
40 | finish();
41 |
42 | break;
43 | }
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/product_info_footer.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
20 |
21 |
33 |
34 |
44 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/Util.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.app.Activity;
4 | import android.content.Context;
5 | import android.content.SharedPreferences;
6 | import android.database.Cursor;
7 | import android.graphics.Bitmap;
8 | import android.graphics.Canvas;
9 | import android.graphics.Paint;
10 | import android.graphics.PorterDuff;
11 | import android.graphics.PorterDuffXfermode;
12 | import android.net.Uri;
13 | import android.provider.MediaStore;
14 | import android.widget.Toast;
15 |
16 | import java.util.ArrayList;
17 |
18 | /**
19 | * Created by Administrator on 2016/05/25.
20 | */
21 | public class Util {
22 |
23 | //圆形图片
24 | public static Bitmap createCirBitmap(Bitmap bitmap, int min) {
25 | final Paint paint = new Paint();
26 | paint.setAntiAlias(true);
27 | Bitmap newBit = Bitmap.createBitmap(min, min, Bitmap.Config.ARGB_8888);
28 | Canvas canvas = new Canvas(newBit);
29 |
30 | canvas.drawCircle(min / 2, min / 2, min / 2, paint);
31 | paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_IN));
32 | canvas.drawBitmap(bitmap, 0, 0, paint);
33 |
34 | return newBit;
35 | }
36 |
37 |
38 | public static final String URL = "http://192.168.43.141:8088/XianYuService/";
39 |
40 |
41 | public static SharedPreferences getSp(Context context) {
42 |
43 | SharedPreferences sp = context.getSharedPreferences
44 | ("f1", Context.MODE_WORLD_READABLE + Context.MODE_WORLD_WRITEABLE);
45 |
46 | return sp;
47 | }
48 |
49 | public static void Toast(Context context,String st){
50 | Toast.makeText(context, st, Toast.LENGTH_SHORT).show();
51 | }
52 |
53 | static ArrayList ContextArray=new ArrayList<>();
54 |
55 | public static void clearActivity(){
56 | for(Context context:ContextArray){
57 | ((Activity)context).finish();
58 | }
59 |
60 | }
61 |
62 |
63 | }
64 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/StringAdapter.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.content.Context;
4 | import android.view.LayoutInflater;
5 | import android.view.View;
6 | import android.view.ViewGroup;
7 | import android.widget.BaseAdapter;
8 | import android.widget.TextView;
9 |
10 | /**
11 | * Created by Administrator on 2016/06/02.
12 | */
13 | public class StringAdapter extends BaseAdapter {
14 |
15 | String[]sts=null;
16 | Context context=null;
17 | LayoutInflater layoutInflater=null;
18 |
19 |
20 | public StringAdapter(Context context, String[] fenlei) {
21 | this.sts=fenlei;
22 | this.context=context;
23 | this.layoutInflater=LayoutInflater.from(context);
24 | }
25 |
26 | @Override
27 | public int getCount() {
28 | return sts.length;
29 | }
30 |
31 | @Override
32 | public String getItem(int position) {
33 | return sts[position];
34 | }
35 |
36 | @Override
37 | public long getItemId(int position) {
38 | return 0;
39 | }
40 |
41 | @Override
42 | public View getView(int position, View convertView, ViewGroup parent) {
43 |
44 | ViewHolder viewHolder=null;
45 | if(convertView==null){
46 | convertView=layoutInflater.inflate(R.layout.fenlei_item,parent,false);
47 | viewHolder=new ViewHolder(convertView);
48 | convertView.setTag(viewHolder);
49 | }else {
50 | viewHolder= (ViewHolder) convertView.getTag();
51 | }
52 |
53 | viewHolder.binder(sts[position]);
54 |
55 |
56 | return convertView;
57 | }
58 |
59 | private class ViewHolder {
60 |
61 | TextView textView=null;
62 |
63 | public ViewHolder(View convertView) {
64 | textView= (TextView) convertView.findViewById(R.id.text_item);
65 | }
66 |
67 | public void binder(String st) {
68 | textView.setText(st);
69 |
70 | }
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/NomoneyAdapter.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.content.Context;
4 | import android.view.LayoutInflater;
5 | import android.view.View;
6 | import android.view.ViewGroup;
7 | import android.widget.BaseAdapter;
8 | import android.widget.Button;
9 | import android.widget.TextView;
10 |
11 | /**
12 | * Created by Administrator on 2016/05/31.
13 | */
14 | public class NomoneyAdapter extends BaseAdapter {
15 |
16 | private Context context=null;
17 | private String[]sts=null;
18 | private LayoutInflater layoutInflater=null;
19 |
20 |
21 | public NomoneyAdapter(Context applicationContext, String[] sts) {
22 | this.context=applicationContext;
23 | this.sts=sts;
24 | this.layoutInflater=LayoutInflater.from(context);
25 | }
26 |
27 | @Override
28 | public int getCount() {
29 | return sts.length;
30 | }
31 |
32 | @Override
33 | public Object getItem(int position) {
34 | return sts[position];
35 | }
36 |
37 | @Override
38 | public long getItemId(int position) {
39 | return 0;
40 | }
41 |
42 | @Override
43 | public View getView(int position, View convertView, ViewGroup parent) {
44 |
45 | ViewHolder viewHolder=null;
46 | if(convertView==null){
47 | convertView=layoutInflater.inflate(R.layout.nomoney_grid_item,parent,false);
48 | viewHolder=new ViewHolder(convertView);
49 | convertView.setTag(viewHolder);
50 | }else{
51 | viewHolder= (ViewHolder) convertView.getTag();
52 | }
53 |
54 | viewHolder.binder(sts[position]);
55 |
56 | return convertView;
57 | }
58 |
59 | private class ViewHolder {
60 |
61 | TextView button=null;
62 |
63 | public ViewHolder(View convertView) {
64 | button= (TextView) convertView.findViewById(R.id.text_nomoney);
65 |
66 | }
67 |
68 | public void binder(String st) {
69 | button.setText(st);
70 | }
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/product_info_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
16 |
17 |
29 |
30 |
42 |
43 |
54 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/CountyAdapter.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.content.Context;
4 | import android.view.LayoutInflater;
5 | import android.view.View;
6 | import android.view.ViewGroup;
7 | import android.widget.BaseAdapter;
8 | import android.widget.TextView;
9 |
10 | import com.pjt.xianyu.pojo.County;
11 |
12 | import java.util.ArrayList;
13 |
14 | /**
15 | * Created by Administrator on 2016/06/02.
16 | */
17 | public class CountyAdapter extends BaseAdapter{
18 |
19 | private Context context=null;
20 | public static ArrayListlist=null;
21 | private LayoutInflater layoutInflater=null;
22 |
23 |
24 | public CountyAdapter(Context context, ArrayList countyList) {
25 | this.context=context;
26 | this.list=countyList;
27 | this.layoutInflater=LayoutInflater.from(context);
28 | }
29 |
30 | @Override
31 | public int getCount() {
32 | return list.size();
33 | }
34 |
35 | @Override
36 | public County getItem(int position) {
37 | return list.get(position);
38 | }
39 |
40 | @Override
41 | public long getItemId(int position) {
42 | return 0;
43 | }
44 |
45 | @Override
46 | public View getView(int position, View convertView, ViewGroup parent) {
47 |
48 | ViewHolder viewHodler=null;
49 | if(convertView==null){
50 | convertView=layoutInflater.inflate(R.layout.county_item,parent,false);
51 | viewHodler=new ViewHolder(convertView);
52 | convertView.setTag(viewHodler);
53 | }else{
54 | viewHodler= (ViewHolder) convertView.getTag();
55 | }
56 | viewHodler.binder(list.get(position));
57 |
58 |
59 | return convertView;
60 | }
61 |
62 | private class ViewHolder {
63 |
64 | TextView textView=null;
65 |
66 | public ViewHolder(View convertView) {
67 | textView= (TextView) convertView.findViewById(R.id.city_name);
68 |
69 | }
70 |
71 | public void binder(County county) {
72 | textView.setText(county.getName());
73 | }
74 | }
75 | }
76 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_cate_gory.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
16 |
17 |
26 |
27 |
37 |
38 |
39 |
50 |
51 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/ProvinceAdapter.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.content.Context;
4 | import android.view.LayoutInflater;
5 | import android.view.View;
6 | import android.view.ViewGroup;
7 | import android.widget.BaseAdapter;
8 | import android.widget.TextView;
9 |
10 | import com.pjt.xianyu.pojo.Province;
11 |
12 | import java.util.ArrayList;
13 |
14 | /**
15 | * Created by Administrator on 2016/06/02.
16 | */
17 | public class ProvinceAdapter extends BaseAdapter {
18 |
19 | private Context context=null;
20 | private ArrayListlist=null;
21 | private LayoutInflater layoutInflater=null;
22 |
23 |
24 | public ProvinceAdapter(Context context, ArrayList provincesList) {
25 | this.context=context;
26 | this.list=provincesList;
27 | this.layoutInflater=LayoutInflater.from(context);
28 | }
29 |
30 | @Override
31 | public int getCount() {
32 | return list.size();
33 | }
34 |
35 | @Override
36 | public Province getItem(int position) {
37 | return list.get(position);
38 | }
39 |
40 | @Override
41 | public long getItemId(int position) {
42 | return 0;
43 | }
44 |
45 | @Override
46 | public View getView(int position, View convertView, ViewGroup parent) {
47 | ViewHolder viewHolder=null;
48 | if(convertView==null){
49 | convertView=layoutInflater.inflate(R.layout.province_item,parent,false);
50 | viewHolder=new ViewHolder(convertView);
51 | convertView.setTag(viewHolder);
52 | }else {
53 | viewHolder= (ViewHolder) convertView.getTag();
54 | }
55 |
56 | viewHolder.binder(list.get(position));
57 |
58 |
59 |
60 |
61 | return convertView;
62 | }
63 |
64 | private class ViewHolder {
65 | TextView textView=null;
66 | public ViewHolder(View convertView) {
67 | textView= (TextView) convertView.findViewById(R.id.city_name);
68 |
69 | }
70 |
71 | public void binder(Province province) {
72 | textView.setText(province.getName());
73 | }
74 | }
75 | }
76 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/pojo/Comment.java:
--------------------------------------------------------------------------------
1 | package com.pjt.pojo;
2 |
3 | /**
4 | * Created by Administrator on 2016/05/29.
5 | */
6 | public class Comment {
7 | private long id;
8 | private String text;
9 | private long user_id;
10 | private long to_user_id;
11 | private long product_id;
12 | private String time;
13 | private String username;
14 | private String userimg=null;
15 | private String to_username=null;
16 | private String p_img=null;
17 |
18 |
19 | public Comment(){
20 |
21 | }
22 |
23 | public String getP_img() {
24 | return p_img;
25 | }
26 |
27 | public void setP_img(String pImg) {
28 | p_img = pImg;
29 | }
30 |
31 | public String getTo_username() {
32 | return to_username;
33 | }
34 |
35 | public void setTo_username(String toUsername) {
36 | to_username = toUsername;
37 | }
38 |
39 | public String getUserimg() {
40 | return userimg;
41 | }
42 |
43 | public void setUserimg(String userimg) {
44 | this.userimg = userimg;
45 | }
46 |
47 | public long getId() {
48 | return id;
49 | }
50 |
51 | public String getUsername() {
52 | return username;
53 | }
54 |
55 | public void setUsername(String username) {
56 | this.username = username;
57 | }
58 |
59 | public void setId(long id) {
60 | this.id = id;
61 | }
62 |
63 | public String getText() {
64 | return text;
65 | }
66 |
67 | public void setText(String text) {
68 | this.text = text;
69 | }
70 |
71 | public long getUser_id() {
72 | return user_id;
73 | }
74 |
75 | public void setUser_id(long userId) {
76 | user_id = userId;
77 | }
78 |
79 | public long getTo_user_id() {
80 | return to_user_id;
81 | }
82 |
83 | public void setTo_user_id(long toUserId) {
84 | to_user_id = toUserId;
85 | }
86 |
87 | public long getProduct_id() {
88 | return product_id;
89 | }
90 |
91 | public void setProduct_id(long productId) {
92 | product_id = productId;
93 | }
94 |
95 | public String getTime() {
96 | return time;
97 | }
98 |
99 | public void setTime(String time) {
100 | this.time = time;
101 | }
102 |
103 |
104 | }
105 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/pojo/Comment.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.pojo;
2 |
3 | /**
4 | * Created by Administrator on 2016/05/29.
5 | */
6 | public class Comment {
7 | private long id;
8 | private String text;
9 | private long user_id;
10 | private long to_user_id;
11 | private long product_id;
12 | private String time;
13 | private String username;
14 | private String userimg=null;
15 | private String to_username=null;
16 | private String p_img=null;
17 |
18 |
19 | public Comment(){
20 |
21 | }
22 |
23 | public String getP_img() {
24 | return p_img;
25 | }
26 |
27 | public void setP_img(String pImg) {
28 | p_img = pImg;
29 | }
30 |
31 | public String getTo_username() {
32 | return to_username;
33 | }
34 |
35 | public void setTo_username(String toUsername) {
36 | to_username = toUsername;
37 | }
38 |
39 | public String getUserimg() {
40 | return userimg;
41 | }
42 |
43 | public void setUserimg(String userimg) {
44 | this.userimg = userimg;
45 | }
46 |
47 | public long getId() {
48 | return id;
49 | }
50 |
51 | public String getUsername() {
52 | return username;
53 | }
54 |
55 | public void setUsername(String username) {
56 | this.username = username;
57 | }
58 |
59 | public void setId(long id) {
60 | this.id = id;
61 | }
62 |
63 | public String getText() {
64 | return text;
65 | }
66 |
67 | public void setText(String text) {
68 | this.text = text;
69 | }
70 |
71 | public long getUser_id() {
72 | return user_id;
73 | }
74 |
75 | public void setUser_id(long userId) {
76 | user_id = userId;
77 | }
78 |
79 | public long getTo_user_id() {
80 | return to_user_id;
81 | }
82 |
83 | public void setTo_user_id(long toUserId) {
84 | to_user_id = toUserId;
85 | }
86 |
87 | public long getProduct_id() {
88 | return product_id;
89 | }
90 |
91 | public void setProduct_id(long productId) {
92 | product_id = productId;
93 | }
94 |
95 | public String getTime() {
96 | return time;
97 | }
98 |
99 | public void setTime(String time) {
100 | this.time = time;
101 | }
102 |
103 |
104 | }
105 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/servlet/uploadServlet.java:
--------------------------------------------------------------------------------
1 | package com.pjt.servlet;
2 |
3 |
4 | import java.io.File;
5 | import java.io.IOException;
6 | import java.io.PrintWriter;
7 | import java.util.Iterator;
8 | import java.util.List;
9 |
10 | import javax.servlet.ServletException;
11 | import javax.servlet.http.HttpServlet;
12 | import javax.servlet.http.HttpServletRequest;
13 | import javax.servlet.http.HttpServletResponse;
14 |
15 | import org.apache.commons.fileupload.FileItem;
16 | import org.apache.commons.fileupload.disk.DiskFileItemFactory;
17 | import org.apache.commons.fileupload.servlet.ServletFileUpload;
18 |
19 |
20 |
21 | public class uploadServlet extends HttpServlet {
22 | public void doGet(HttpServletRequest request, HttpServletResponse response)
23 | throws ServletException, IOException {
24 | doPost(request, response);
25 | }
26 | public void doPost(HttpServletRequest request, HttpServletResponse response)
27 | throws ServletException, IOException {
28 |
29 | response.setContentType("text/html;charset=utf-8");
30 | PrintWriter out = response.getWriter();
31 | boolean bool=ServletFileUpload.isMultipartContent(request);
32 | if(bool){
33 | DiskFileItemFactory factory=new DiskFileItemFactory(10000,new File("/"));
34 | ServletFileUpload upload=new ServletFileUpload(factory);
35 | upload.setHeaderEncoding("utf-8");
36 | try{
37 | Listlist=upload.parseRequest(request);
38 | Iterator it=list.iterator();
39 | while(it.hasNext()){
40 | FileItem file=it.next();
41 | if(!file.isFormField()){
42 | String path=file.getName();
43 | String filename=path.substring(path.lastIndexOf("\\")+1);
44 | String uploadpath=this.getServletContext().getRealPath("/product");
45 | File upfile=new File(uploadpath);
46 | if(!upfile.exists()){
47 | upfile.mkdir();
48 | }
49 | file.write(new File(uploadpath,filename));
50 | file.delete();
51 | }
52 |
53 | }
54 | }catch(Exception e){
55 |
56 | }
57 | }
58 |
59 | out.flush();
60 | out.close();
61 | }
62 |
63 | }
64 |
--------------------------------------------------------------------------------
/XianYuService/WebRoot/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 | CateGroyServlet
9 | com.pjt.servlet.CateGroyServlet
10 |
11 |
12 | LoginServlet
13 | com.pjt.servlet.LoginServlet
14 |
15 |
16 | ProductServlet
17 | com.pjt.servlet.ProductServlet
18 |
19 |
20 | YutangServlet
21 | com.pjt.servlet.YutangServlet
22 |
23 |
24 |
25 |
26 |
27 |
28 | CateGroyServlet
29 | /CateGroyServlet
30 |
31 |
32 | LoginServlet
33 | /LoginServlet
34 |
35 |
36 | ProductServlet
37 | /ProductServlet
38 |
39 |
40 | YutangServlet
41 | /YutangServlet
42 |
43 |
44 | index.jsp
45 |
46 |
47 |
48 | uploadServlet
49 | com.pjt.servlet.uploadServlet
50 |
51 |
52 | UserServlet
53 | com.pjt.servlet.UserServlet
54 |
55 |
56 |
57 |
58 | uploadServlet
59 | /uploadServlet
60 |
61 |
62 | UserServlet
63 | /UserServlet
64 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_my_comment.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
16 |
25 |
26 |
36 |
37 |
38 |
46 |
47 |
54 |
55 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_my_zan.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
15 |
16 |
25 |
26 |
36 |
37 |
38 |
46 |
47 |
54 |
55 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/yutang_footer.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
13 |
14 |
24 |
25 |
35 |
36 |
46 |
47 |
48 |
55 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_yutang.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
18 |
19 |
27 |
28 |
35 |
36 |
37 |
47 |
48 |
49 |
50 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/XianYuService/src/com/pjt/pojo/YuTang.java:
--------------------------------------------------------------------------------
1 | package com.pjt.pojo;
2 |
3 | /**
4 | * Created by Administrator on 2016/05/27.
5 | */
6 | public class YuTang {
7 | private long yutang_id;
8 | private String name;
9 | private long popularity;
10 | private String imgurl;
11 | private long post_num;
12 | private int last_post_num;
13 | private String identity;
14 | private String lat;
15 | private String lng;
16 |
17 |
18 | public YuTang() {
19 | }
20 |
21 | public String getIdentity() {
22 | return identity;
23 | }
24 |
25 | public String getLat() {
26 | return lat;
27 | }
28 |
29 | public void setLat(String lat) {
30 | this.lat = lat;
31 | }
32 |
33 | public String getLng() {
34 | return lng;
35 | }
36 |
37 | public void setLng(String lng) {
38 | this.lng = lng;
39 | }
40 |
41 | public void setIdentity(String identity) {
42 | this.identity = identity;
43 | }
44 |
45 | public YuTang(String name, long popularity, String imgurl, long post_num, int last_post_num) {
46 | this.name = name;
47 | this.popularity = popularity;
48 | this.imgurl = imgurl;
49 | this.post_num = post_num;
50 | this.last_post_num = last_post_num;
51 | }
52 |
53 | public long getYutang_id() {
54 | return yutang_id;
55 | }
56 |
57 | public void setYutang_id(long yutangId) {
58 | yutang_id = yutangId;
59 | }
60 |
61 | public String getName() {
62 | return name;
63 | }
64 |
65 | public void setName(String name) {
66 | this.name = name;
67 | }
68 |
69 | public long getPopularity() {
70 | return popularity;
71 | }
72 |
73 | public void setPopularity(long popularity) {
74 | this.popularity = popularity;
75 | }
76 |
77 | public String getImgurl() {
78 | return imgurl;
79 | }
80 |
81 | public void setImgurl(String imgurl) {
82 | this.imgurl = imgurl;
83 | }
84 |
85 | public long getPost_num() {
86 | return post_num;
87 | }
88 |
89 | public void setPost_num(long post_num) {
90 | this.post_num = post_num;
91 | }
92 |
93 | public int getLast_post_num() {
94 | return last_post_num;
95 | }
96 |
97 | public void setLast_post_num(int last_post_num) {
98 | this.last_post_num = last_post_num;
99 | }
100 | }
101 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/pojo/YuTang.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.pojo;
2 |
3 | /**
4 | * Created by Administrator on 2016/05/27.
5 | */
6 | public class YuTang {
7 | private long yutang_id;
8 | private String name;
9 | private long popularity;
10 | private String imgurl;
11 | private long post_num;
12 | private int last_post_num;
13 | private String identity;
14 | private String lat;
15 | private String lng;
16 |
17 |
18 | public YuTang() {
19 | }
20 |
21 | public String getIdentity() {
22 | return identity;
23 | }
24 |
25 | public String getLat() {
26 | return lat;
27 | }
28 |
29 | public void setLat(String lat) {
30 | this.lat = lat;
31 | }
32 |
33 | public String getLng() {
34 | return lng;
35 | }
36 |
37 | public void setLng(String lng) {
38 | this.lng = lng;
39 | }
40 |
41 | public void setIdentity(String identity) {
42 | this.identity = identity;
43 | }
44 |
45 | public YuTang(String name, long popularity, String imgurl, long post_num, int last_post_num) {
46 | this.name = name;
47 | this.popularity = popularity;
48 | this.imgurl = imgurl;
49 | this.post_num = post_num;
50 | this.last_post_num = last_post_num;
51 | }
52 |
53 | public long getYutang_id() {
54 | return yutang_id;
55 | }
56 |
57 | public void setYutang_id(long yutangId) {
58 | yutang_id = yutangId;
59 | }
60 |
61 | public String getName() {
62 | return name;
63 | }
64 |
65 | public void setName(String name) {
66 | this.name = name;
67 | }
68 |
69 | public long getPopularity() {
70 | return popularity;
71 | }
72 |
73 | public void setPopularity(long popularity) {
74 | this.popularity = popularity;
75 | }
76 |
77 | public String getImgurl() {
78 | return imgurl;
79 | }
80 |
81 | public void setImgurl(String imgurl) {
82 | this.imgurl = imgurl;
83 | }
84 |
85 | public long getPost_num() {
86 | return post_num;
87 | }
88 |
89 | public void setPost_num(long post_num) {
90 | this.post_num = post_num;
91 | }
92 |
93 | public int getLast_post_num() {
94 | return last_post_num;
95 | }
96 |
97 | public void setLast_post_num(int last_post_num) {
98 | this.last_post_num = last_post_num;
99 | }
100 | }
101 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/good_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
16 |
17 |
28 |
29 |
40 |
41 |
52 |
53 |
63 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/message_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
18 |
19 |
32 |
33 |
43 |
44 |
52 |
53 |
64 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/header_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
20 |
21 |
26 |
27 |
31 |
32 |
33 |
42 |
49 |
50 |
60 |
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/yt_my_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
18 |
19 |
31 |
32 |
40 |
41 |
52 |
53 |
64 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/mycomment_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
18 |
19 |
30 |
31 |
44 |
45 |
55 |
56 |
67 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/YutangFragment.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 |
4 | import android.content.Context;
5 | import android.graphics.Color;
6 | import android.os.Bundle;
7 | import android.support.design.widget.TabLayout;
8 | import android.support.v4.app.Fragment;
9 | import android.support.v4.app.FragmentManager;
10 | import android.support.v4.app.FragmentPagerAdapter;
11 | import android.support.v4.view.ViewPager;
12 | import android.view.LayoutInflater;
13 | import android.view.View;
14 | import android.view.ViewGroup;
15 |
16 | import com.jude.rollviewpager.RollPagerView;
17 |
18 | import java.util.ArrayList;
19 |
20 |
21 | /**
22 | * A simple {@link Fragment} subclass.
23 | */
24 | public class YutangFragment extends Fragment {
25 |
26 | private TabLayout tabLayout=null;
27 | private Context context=null;
28 | private ViewPager viewPager=null;
29 | RollPagerView rollPagerView=null;
30 |
31 | public YutangFragment() {
32 |
33 | }
34 |
35 | @Override
36 | public void onCreate(Bundle savedInstanceState) {
37 | super.onCreate(savedInstanceState);
38 | context=getActivity();
39 | }
40 |
41 | @Override
42 | public View onCreateView(LayoutInflater inflater, ViewGroup container,
43 | Bundle savedInstanceState) {
44 |
45 | View view= inflater.inflate(R.layout.fragment_yutang, container, false);
46 | tabLayout= (TabLayout) view.findViewById(R.id.tab_layout);
47 | tabLayout.setTabTextColors(Color.BLACK, Color.BLACK);
48 | viewPager= (ViewPager) view.findViewById(R.id.yutang_viewpager);
49 | ContentAdapter contentAdapter=new ContentAdapter(getChildFragmentManager());
50 | viewPager.setAdapter(contentAdapter);
51 | tabLayout.setupWithViewPager(viewPager);
52 | return view;
53 | }
54 |
55 | private class ContentAdapter extends FragmentPagerAdapter{
56 | ArrayList list=null;
57 | String[]titles=new String[]{"发现","我的"};
58 |
59 | public ContentAdapter(FragmentManager fm) {
60 | super(fm);
61 | list=new ArrayList<>();
62 | list.add(new YT_dis_Fragment());
63 | list.add(new YT_myFragment());
64 | }
65 |
66 | @Override
67 | public Fragment getItem(int position) {
68 | return list.get(position);
69 | }
70 |
71 | @Override
72 | public int getCount() {
73 | return list.size();
74 | }
75 |
76 | @Override
77 | public CharSequence getPageTitle(int position) {
78 | return titles[position];
79 | }
80 | }
81 | }
82 |
--------------------------------------------------------------------------------
/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
22 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/gradlew.bat:
--------------------------------------------------------------------------------
1 | @if "%DEBUG%" == "" @echo off
2 | @rem ##########################################################################
3 | @rem
4 | @rem Gradle startup script for Windows
5 | @rem
6 | @rem ##########################################################################
7 |
8 | @rem Set local scope for the variables with windows NT shell
9 | if "%OS%"=="Windows_NT" setlocal
10 |
11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12 | set DEFAULT_JVM_OPTS=
13 |
14 | set DIRNAME=%~dp0
15 | if "%DIRNAME%" == "" set DIRNAME=.
16 | set APP_BASE_NAME=%~n0
17 | set APP_HOME=%DIRNAME%
18 |
19 | @rem Find java.exe
20 | if defined JAVA_HOME goto findJavaFromJavaHome
21 |
22 | set JAVA_EXE=java.exe
23 | %JAVA_EXE% -version >NUL 2>&1
24 | if "%ERRORLEVEL%" == "0" goto init
25 |
26 | echo.
27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 | echo.
29 | echo Please set the JAVA_HOME variable in your environment to match the
30 | echo location of your Java installation.
31 |
32 | goto fail
33 |
34 | :findJavaFromJavaHome
35 | set JAVA_HOME=%JAVA_HOME:"=%
36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 |
38 | if exist "%JAVA_EXE%" goto init
39 |
40 | echo.
41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 | echo.
43 | echo Please set the JAVA_HOME variable in your environment to match the
44 | echo location of your Java installation.
45 |
46 | goto fail
47 |
48 | :init
49 | @rem Get command-line arguments, handling Windowz variants
50 |
51 | if not "%OS%" == "Windows_NT" goto win9xME_args
52 | if "%@eval[2+2]" == "4" goto 4NT_args
53 |
54 | :win9xME_args
55 | @rem Slurp the command line arguments.
56 | set CMD_LINE_ARGS=
57 | set _SKIP=2
58 |
59 | :win9xME_args_slurp
60 | if "x%~1" == "x" goto execute
61 |
62 | set CMD_LINE_ARGS=%*
63 | goto execute
64 |
65 | :4NT_args
66 | @rem Get arguments from the 4NT Shell from JP Software
67 | set CMD_LINE_ARGS=%$
68 |
69 | :execute
70 | @rem Setup the command line
71 |
72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73 |
74 | @rem Execute Gradle
75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76 |
77 | :end
78 | @rem End local scope for the variables with windows NT shell
79 | if "%ERRORLEVEL%"=="0" goto mainEnd
80 |
81 | :fail
82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83 | rem the _cmd.exe /c_ return code!
84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85 | exit /b 1
86 |
87 | :mainEnd
88 | if "%OS%"=="Windows_NT" endlocal
89 |
90 | :omega
91 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/MessageAdapter.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu;
2 |
3 | import android.content.Context;
4 | import android.view.LayoutInflater;
5 | import android.view.View;
6 | import android.view.ViewGroup;
7 | import android.widget.BaseAdapter;
8 | import android.widget.ImageView;
9 | import android.widget.TextView;
10 |
11 | import com.pjt.xianyu.pojo.Message;
12 |
13 | import java.util.ArrayList;
14 |
15 | /**
16 | * Created by Administrator on 2016/05/27.
17 | */
18 | public class MessageAdapter extends BaseAdapter {
19 | private Context context=null;
20 | private LayoutInflater layoutInflater=null;
21 | private ArrayListlist=null;
22 |
23 |
24 | public MessageAdapter(Context context, ArrayList list) {
25 | this.list=list;
26 | this.context=context;
27 | this.layoutInflater=LayoutInflater.from(context);
28 |
29 | }
30 |
31 | @Override
32 | public int getCount() {
33 | return list.size();
34 | }
35 |
36 | @Override
37 | public Object getItem(int position) {
38 | return list.get(position);
39 | }
40 |
41 | @Override
42 | public long getItemId(int position) {
43 | return 0;
44 | }
45 |
46 | @Override
47 | public View getView(int position, View convertView, ViewGroup parent) {
48 |
49 | ViewHolder viewHolder=null;
50 | if(convertView==null){
51 | convertView=layoutInflater.inflate(R.layout.message_item,parent,false);
52 | viewHolder=new ViewHolder(convertView);
53 | convertView.setTag(viewHolder);
54 |
55 | }else{
56 | viewHolder= (ViewHolder) convertView.getTag();
57 | }
58 |
59 | viewHolder.binder(list.get(position));
60 |
61 |
62 | return convertView;
63 | }
64 |
65 | private class ViewHolder {
66 | private ImageView msg_imageView=null;
67 | private TextView text_title=null;
68 | private TextView text_info=null;
69 | private TextView text_state=null;
70 |
71 |
72 | public ViewHolder(View convertView) {
73 | msg_imageView= (ImageView) convertView.findViewById(R.id.message_img);
74 | text_title= (TextView) convertView.findViewById(R.id.message_title);
75 | text_info= (TextView) convertView.findViewById(R.id.message_info);
76 | text_state= (TextView) convertView.findViewById(R.id.message_state);
77 |
78 | }
79 |
80 | public void binder(Message message) {
81 | text_title.setText(message.getTitle());
82 | text_info.setText(message.getMessage());
83 | if(message.getSystem_img()!=0){
84 | msg_imageView.setImageResource(message.getSystem_img());
85 | }
86 | }
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/list_anim.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/yutang_list_mode.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
14 |
15 |
23 |
24 |
25 |
33 |
34 |
47 |
48 |
49 |
50 |
58 |
59 |
67 |
68 |
--------------------------------------------------------------------------------
/app/src/main/java/com/pjt/xianyu/data/CountyDao.java:
--------------------------------------------------------------------------------
1 | package com.pjt.xianyu.data;
2 |
3 | import android.content.ContentValues;
4 | import android.content.Context;
5 | import android.database.Cursor;
6 | import android.database.sqlite.SQLiteDatabase;
7 |
8 | import com.pjt.xianyu.pojo.County;
9 |
10 | import java.util.ArrayList;
11 |
12 | /**
13 | * Created by Administrator on 2016/06/02.
14 | */
15 | public class CountyDao {
16 |
17 | SQLiteDatabase db = null;
18 | static Context context = null;
19 |
20 | public CountyDao(Context context) {
21 | this.context = context;
22 | }
23 |
24 | public ArrayList findAll() {
25 | ArrayList list = new ArrayList<>();
26 | db = DBUtil.openDatabase(context);
27 | try {
28 | Cursor cursor = db.query("t_county", null, null, null, null, null, null);
29 |
30 | while (cursor.moveToNext()) {
31 | County county = new County();
32 | county.setId(cursor.getInt(0));
33 | county.setNo(cursor.getString(1));
34 | county.setName(cursor.getString(2));
35 | list.add(county);
36 | }
37 |
38 |
39 | } catch (Exception e) {
40 | e.printStackTrace();
41 | } finally {
42 | DBUtil.close(db);
43 | }
44 |
45 |
46 | return list;
47 | }
48 |
49 | public ArrayList findByNo(String no) {
50 | ArrayList list = new ArrayList<>();
51 | db = DBUtil.openDatabase(context);
52 | try {
53 | Cursor cursor = db.query("t_county", null, "no like ?",new String[]{no+"%"}, null, null, null);
54 |
55 | while (cursor.moveToNext()) {
56 | County county = new County();
57 | county.setId(cursor.getInt(0));
58 | county.setNo(cursor.getString(1));
59 | county.setName(cursor.getString(2));
60 | list.add(county);
61 | }
62 |
63 |
64 | } catch (Exception e) {
65 | e.printStackTrace();
66 | } finally {
67 | DBUtil.close(db);
68 | }
69 |
70 |
71 | return list;
72 | }
73 |
74 | public boolean addCounty(ArrayList list) {
75 | boolean bool = false;
76 | try {
77 | db = DBUtil.openDatabase(context);
78 | for (County c : list) {
79 | ContentValues cv = new ContentValues();
80 | cv.put("no", c.getNo());
81 | cv.put("name", c.getName());
82 | db.insert("t_county", null, cv);
83 | }
84 | bool = true;
85 |
86 | } catch (Exception e) {
87 | e.printStackTrace();
88 | } finally {
89 | DBUtil.close(db);
90 | }
91 |
92 |
93 | return bool;
94 | }
95 | }
96 |
--------------------------------------------------------------------------------