├── android-http ├── res │ ├── values │ │ ├── strings.xml │ │ ├── colors.xml │ │ ├── dimens.xml │ │ └── styles.xml │ ├── mipmap-hdpi │ │ ├── Thumbs.db │ │ └── ic_launcher.png │ ├── mipmap-mdpi │ │ ├── Thumbs.db │ │ └── ic_launcher.png │ ├── mipmap-xhdpi │ │ ├── Thumbs.db │ │ └── ic_launcher.png │ ├── mipmap-xxhdpi │ │ ├── Thumbs.db │ │ └── ic_launcher.png │ ├── mipmap-xxxhdpi │ │ ├── Thumbs.db │ │ └── ic_launcher.png │ ├── values-w820dp │ │ └── dimens.xml │ └── layout │ │ └── activity_main.xml └── AndroidManifest.xml ├── android-sqlite ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ └── layout │ │ └── activity_main.xml ├── src │ └── com │ │ └── hmkcode │ │ └── android │ │ ├── model │ │ └── Book.java │ │ └── MainActivity.java └── AndroidManifest.xml ├── android-post-json ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── menu │ │ └── main.xml ├── server-side-code │ ├── war │ │ ├── favicon.ico │ │ ├── post-json │ │ │ ├── bootstrap │ │ │ │ └── img │ │ │ │ │ ├── glyphicons-halflings.png │ │ │ │ │ └── glyphicons-halflings-white.png │ │ │ └── index.html │ │ ├── WEB-INF │ │ │ └── web.xml │ │ └── index.html │ └── src │ │ ├── com │ │ └── hmkcode │ │ │ └── vo │ │ │ └── Person.java │ │ ├── META-INF │ │ └── jdoconfig.xml │ │ └── log4j.properties ├── src │ └── com │ │ └── hmkcode │ │ └── android │ │ └── vo │ │ └── Person.java └── AndroidManifest.xml ├── android-recyclerview ├── libs │ └── classes.jar ├── res │ ├── drawable-hdpi │ │ ├── help.png │ │ ├── ic_launcher.png │ │ ├── rating_good.png │ │ ├── content_discard.png │ │ ├── rating_favorite.png │ │ ├── rating_important.png │ │ ├── collections_cloud.png │ │ └── border.xml │ └── layout │ │ ├── activity_main.xml │ │ └── item_layout.xml ├── src │ └── com │ │ └── hmkcode │ │ └── android │ │ └── recyclerview │ │ ├── ItemData.java │ │ └── MainActivity.java └── AndroidManifest.xml ├── android-camera-app ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ └── layout │ │ └── activity_main.xml └── AndroidManifest.xml ├── android-http-client ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ └── layout │ │ └── main.xml └── AndroidManifest.xml ├── android-http-get-json ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ └── layout │ │ └── main.xml └── AndroidManifest.xml ├── android-options-menu ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ ├── ic_launcher.png │ │ ├── ic_action_search.png │ │ ├── ic_content_copy.png │ │ └── ic_social_share.png │ ├── values │ │ └── strings.xml │ ├── layout │ │ └── activity_main.xml │ └── menu │ │ └── main.xml ├── .classpath ├── src │ └── com │ │ └── hmkcode │ │ └── android │ │ └── MainActivity.java └── AndroidManifest.xml ├── android-pro-listview ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ ├── action_help.png │ │ ├── ic_launcher.png │ │ ├── action_help_32.png │ │ ├── action_search.png │ │ ├── content_save.png │ │ ├── location_place.png │ │ ├── social_share.png │ │ ├── action_search_32.png │ │ ├── collections_cloud.png │ │ ├── collections_cloud_32.png │ │ └── rectangle.xml │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ └── layout │ │ ├── activity_main.xml │ │ ├── group_header_item.xml │ │ └── target_item.xml ├── AndroidManifest.xml └── src │ └── com │ └── hmkcode │ └── android │ ├── Model.java │ └── MainActivity.java ├── android-social-signin ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ ├── icon_fb.png │ │ ├── balloon_bg.png │ │ ├── icon_gplus.png │ │ ├── ic_launcher.png │ │ ├── icon_twitter.png │ │ ├── linearlayout_bg.xml │ │ ├── layers_fb_button_bg.xml │ │ ├── layers_twitter_button_bg.xml │ │ ├── layers_gplus_button_bg.xml │ │ ├── button_fb_bg.xml │ │ ├── button_gplus_bg.xml │ │ └── button_twitter_bg.xml │ ├── values │ │ ├── dimens.xml │ │ ├── styles.xml │ │ └── strings.xml │ └── menu │ │ └── main.xml ├── src │ └── com │ │ └── hmkcode │ │ └── android │ │ └── signin │ │ └── MainActivity.java └── AndroidManifest.xml ├── android-start-activity ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ └── layout │ │ ├── activity_another.xml │ │ └── activity_main.xml ├── src │ └── com │ │ └── hmkcode │ │ └── android │ │ ├── AnotherActivity.java │ │ └── MainActivity.java └── AndroidManifest.xml ├── android-custom-listview ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ └── strings.xml │ ├── menu │ │ └── main.xml │ └── layout │ │ ├── activity_main.xml │ │ └── row.xml ├── src │ └── com │ │ └── hmkcode │ │ └── android │ │ ├── Item.java │ │ ├── MainActivity.java │ │ └── MyAdapter.java └── AndroidManifest.xml ├── android-actionbar-for-2.x.x ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ ├── ic_launcher.png │ │ ├── ic_action_search.png │ │ ├── ic_content_copy.png │ │ └── ic_social_share.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── strings.xml │ │ ├── dimens.xml │ │ └── styles.xml │ ├── values-sw600dp │ │ └── dimens.xml │ ├── values-sw720dp-land │ │ └── dimens.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── layout │ │ └── activity_main.xml │ └── menu │ │ └── main.xml ├── .classpath ├── src │ └── com │ │ └── hmkcode │ │ └── android │ │ └── MainActivity.java └── AndroidManifest.xml ├── android-menu-events-change ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ ├── ic_launcher.png │ │ ├── ic_content_new.png │ │ ├── ic_content_remove.png │ │ └── ic_location_web_site.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── strings.xml │ │ ├── dimens.xml │ │ └── styles.xml │ ├── values-sw600dp │ │ └── dimens.xml │ ├── values-sw720dp-land │ │ └── dimens.xml │ ├── menu │ │ └── main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ └── layout │ │ └── activity_main.xml ├── AndroidManifest.xml └── src │ └── com │ └── hmkcode │ └── android │ └── MainActivity.java ├── android-navigation-drawer ├── ic_launcher-web.png ├── res │ ├── drawable-hdpi │ │ ├── ic_drawer.png │ │ ├── ic_launcher.png │ │ ├── drawer_shadow.9.png │ │ └── ic_action_search.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ └── layout │ │ ├── drawer_listview_item.xml │ │ └── activity_main.xml └── AndroidManifest.xml ├── android-clean-http-async-task ├── ic_launcher-web.png ├── hmkcode-http-lib.jar ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ └── layout │ │ └── activity_main.xml ├── src │ └── com │ │ └── hmkcode │ │ └── http │ │ └── HttpHandler.java └── AndroidManifest.xml ├── android-L-preview ├── res │ ├── values │ │ ├── styles.xml │ │ └── strings.xml │ └── layout │ │ └── activity_main.xml ├── src │ └── com │ │ └── hmkcode │ │ └── android │ │ └── L │ │ └── MainActivity.java ├── proguard-project.txt └── AndroidManifest.xml ├── android-gcm-client ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ └── layout │ │ └── activity_main.xml └── src │ └── com │ └── hmkcode │ └── android │ └── gcm │ ├── GcmBroadcastReceiver.java │ └── GcmMessageHandler.java ├── android-sign-in-up-screen ├── res │ ├── drawable-hdpi │ │ ├── user.png │ │ ├── email.png │ │ ├── password.png │ │ ├── balloon_bg.png │ │ ├── ic_launcher.png │ │ ├── edittext_default_bg.xml │ │ ├── linearlayout_bg.xml │ │ ├── edittext_top_bg.xml │ │ ├── edittext_bottom_bg.xml │ │ └── button_default_bg.xml │ ├── values │ │ ├── dimens.xml │ │ ├── styles.xml │ │ └── strings.xml │ └── menu │ │ └── main.xml └── src │ └── com │ └── hmkcode │ └── android │ └── sign │ ├── SignInActivity.java │ ├── SignUpActivity.java │ └── MainActivity.java ├── android-draw-happy-face ├── res │ ├── drawable-hdpi │ │ ├── ic_launcher.png │ │ └── woodgraybg.jpg │ ├── values │ │ ├── attrs.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── layout │ │ └── activity_main.xml ├── src │ └── com │ │ └── hmkcode │ │ └── drawing │ │ └── MainActivity.java └── AndroidManifest.xml ├── android-show-image-and-path ├── libs │ └── android-support-v4.jar └── AndroidManifest.xml ├── readme.md ├── android-whatsapp-profile-screen └── res │ └── drawable-hdpi │ ├── balloon.png │ ├── ic_launcher.png │ ├── ic_action_edit.png │ ├── ic_action_new_event.png │ ├── image_border.xml │ ├── edit_states.xml │ ├── image_state.xml │ └── textview_border.xml ├── android-material-design-appcompat ├── res │ ├── drawable-hdpi │ │ ├── ic_menu.png │ │ ├── ic_launcher.png │ │ ├── ic_action_location_found.png │ │ ├── ic_action_location_found_dark.png │ │ └── cardview_border.xml │ ├── values-v21 │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── values │ │ ├── dimens.xml │ │ ├── colors.xml │ │ └── strings.xml │ ├── layout │ │ ├── activity_main_1.xml │ │ ├── nav_header.xml │ │ ├── activity_main_2.xml │ │ ├── activity_main_3.xml │ │ └── activity_main_4.xml │ └── menu │ │ ├── main.xml │ │ └── navigation_drawer_items.xml ├── src │ └── com │ │ └── hmkcode │ │ └── app │ │ └── MainActivity.java └── AndroidManifest.xml ├── android-canvas-donut-chart ├── res │ ├── values │ │ ├── attrs.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── layout │ │ └── activity_main.xml ├── src │ └── com │ │ └── hmkcode │ │ └── views │ │ └── MainActivity.java └── AndroidManifest.xml ├── android-custom-view ├── res │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ ├── attrs.xml │ │ └── styles.xml │ └── layout │ │ └── activity_main.xml ├── AndroidManifest.xml └── src │ └── com │ └── hmkcode │ └── views │ ├── MainActivity.java │ └── SimpleView.java ├── user-interface ├── readme.md └── android-swipe-views-tabs │ ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ └── layout │ │ │ │ ├── fragment_first.xml │ │ │ │ ├── fragment_second.xml │ │ │ │ └── activity_main.xml │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ └── com │ │ │ └── hmkcode │ │ │ └── android │ │ │ ├── fragments │ │ │ ├── SecondFragment.java │ │ │ └── FirstFragment.java │ │ │ ├── adapters │ │ │ └── MyFragmentPagerAdapter.java │ │ │ └── MainActivity.java │ └── build.gradle │ └── build.gradle ├── android-get-last-location-fused-api ├── res │ └── layout │ │ └── activity_main.xml └── AndroidManifest.xml ├── android-read-browser-bookmark ├── res │ └── layout │ │ └── activity_main.xml ├── src │ └── com │ │ └── hmkcode │ │ └── browser │ │ └── bookmark │ │ └── MainActivity.java └── AndroidManifest.xml ├── android-input-text-layout ├── project.properties ├── AndroidManifest.xml ├── src │ └── com │ │ └── hmkcode │ │ └── inputtextlayout │ │ └── MainActivity.java └── res │ └── layout │ └── activity_main.xml ├── java-post-gcm ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── hmkcode │ │ │ └── AppTest.java │ └── main │ │ └── java │ │ └── com │ │ └── hmkcode │ │ ├── vo │ │ └── Content.java │ │ └── App.java ├── .classpath └── pom.xml └── android-get-current-location ├── res └── layout │ └── activity_main.xml └── AndroidManifest.xml /android-http/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Android HTTP 3 | 4 | -------------------------------------------------------------------------------- /android-sqlite/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-sqlite/ic_launcher-web.png -------------------------------------------------------------------------------- /android-post-json/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-post-json/ic_launcher-web.png -------------------------------------------------------------------------------- /android-recyclerview/libs/classes.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-recyclerview/libs/classes.jar -------------------------------------------------------------------------------- /android-camera-app/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-camera-app/ic_launcher-web.png -------------------------------------------------------------------------------- /android-http-client/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http-client/ic_launcher-web.png -------------------------------------------------------------------------------- /android-http/res/mipmap-hdpi/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http/res/mipmap-hdpi/Thumbs.db -------------------------------------------------------------------------------- /android-http/res/mipmap-mdpi/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http/res/mipmap-mdpi/Thumbs.db -------------------------------------------------------------------------------- /android-http/res/mipmap-xhdpi/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http/res/mipmap-xhdpi/Thumbs.db -------------------------------------------------------------------------------- /android-http-get-json/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http-get-json/ic_launcher-web.png -------------------------------------------------------------------------------- /android-http/res/mipmap-xxhdpi/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http/res/mipmap-xxhdpi/Thumbs.db -------------------------------------------------------------------------------- /android-http/res/mipmap-xxxhdpi/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http/res/mipmap-xxxhdpi/Thumbs.db -------------------------------------------------------------------------------- /android-options-menu/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-options-menu/ic_launcher-web.png -------------------------------------------------------------------------------- /android-pro-listview/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-pro-listview/ic_launcher-web.png -------------------------------------------------------------------------------- /android-social-signin/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-social-signin/ic_launcher-web.png -------------------------------------------------------------------------------- /android-start-activity/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-start-activity/ic_launcher-web.png -------------------------------------------------------------------------------- /android-custom-listview/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-custom-listview/ic_launcher-web.png -------------------------------------------------------------------------------- /android-http/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-http/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-actionbar-for-2.x.x/ic_launcher-web.png -------------------------------------------------------------------------------- /android-http/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-http/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-http/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-menu-events-change/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-menu-events-change/ic_launcher-web.png -------------------------------------------------------------------------------- /android-navigation-drawer/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-navigation-drawer/ic_launcher-web.png -------------------------------------------------------------------------------- /android-recyclerview/res/drawable-hdpi/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-recyclerview/res/drawable-hdpi/help.png -------------------------------------------------------------------------------- /android-clean-http-async-task/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-clean-http-async-task/ic_launcher-web.png -------------------------------------------------------------------------------- /android-sqlite/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-sqlite/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-L-preview/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /android-camera-app/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-camera-app/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-clean-http-async-task/hmkcode-http-lib.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-clean-http-async-task/hmkcode-http-lib.jar -------------------------------------------------------------------------------- /android-gcm-client/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-gcm-client/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-post-json/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-post-json/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-post-json/server-side-code/war/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-post-json/server-side-code/war/favicon.ico -------------------------------------------------------------------------------- /android-sign-in-up-screen/res/drawable-hdpi/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-sign-in-up-screen/res/drawable-hdpi/user.png -------------------------------------------------------------------------------- /android-social-signin/res/drawable-hdpi/icon_fb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-social-signin/res/drawable-hdpi/icon_fb.png -------------------------------------------------------------------------------- /android-http-client/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http-client/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-options-menu/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-options-menu/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-pro-listview/res/drawable-hdpi/action_help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-pro-listview/res/drawable-hdpi/action_help.png -------------------------------------------------------------------------------- /android-pro-listview/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-pro-listview/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-recyclerview/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-recyclerview/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-recyclerview/res/drawable-hdpi/rating_good.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-recyclerview/res/drawable-hdpi/rating_good.png -------------------------------------------------------------------------------- /android-sign-in-up-screen/res/drawable-hdpi/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-sign-in-up-screen/res/drawable-hdpi/email.png -------------------------------------------------------------------------------- /android-social-signin/res/drawable-hdpi/balloon_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-social-signin/res/drawable-hdpi/balloon_bg.png -------------------------------------------------------------------------------- /android-social-signin/res/drawable-hdpi/icon_gplus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-social-signin/res/drawable-hdpi/icon_gplus.png -------------------------------------------------------------------------------- /android-custom-listview/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-custom-listview/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-draw-happy-face/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-draw-happy-face/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-draw-happy-face/res/drawable-hdpi/woodgraybg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-draw-happy-face/res/drawable-hdpi/woodgraybg.jpg -------------------------------------------------------------------------------- /android-http-get-json/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-http-get-json/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-navigation-drawer/res/drawable-hdpi/ic_drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-navigation-drawer/res/drawable-hdpi/ic_drawer.png -------------------------------------------------------------------------------- /android-pro-listview/res/drawable-hdpi/action_help_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-pro-listview/res/drawable-hdpi/action_help_32.png -------------------------------------------------------------------------------- /android-pro-listview/res/drawable-hdpi/action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-pro-listview/res/drawable-hdpi/action_search.png -------------------------------------------------------------------------------- /android-pro-listview/res/drawable-hdpi/content_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-pro-listview/res/drawable-hdpi/content_save.png -------------------------------------------------------------------------------- /android-pro-listview/res/drawable-hdpi/location_place.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-pro-listview/res/drawable-hdpi/location_place.png -------------------------------------------------------------------------------- /android-pro-listview/res/drawable-hdpi/social_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-pro-listview/res/drawable-hdpi/social_share.png -------------------------------------------------------------------------------- /android-show-image-and-path/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-show-image-and-path/libs/android-support-v4.jar -------------------------------------------------------------------------------- /android-sign-in-up-screen/res/drawable-hdpi/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-sign-in-up-screen/res/drawable-hdpi/password.png -------------------------------------------------------------------------------- /android-social-signin/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-social-signin/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-social-signin/res/drawable-hdpi/icon_twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-social-signin/res/drawable-hdpi/icon_twitter.png -------------------------------------------------------------------------------- /android-start-activity/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-start-activity/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | Android Repository 2 | ================== 3 | 4 | 5 | This repository contains complete code for Android blog posts on [hmkcode.com](http://hmkcode.com) 6 | -------------------------------------------------------------------------------- /android-navigation-drawer/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-navigation-drawer/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-options-menu/res/drawable-hdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-options-menu/res/drawable-hdpi/ic_action_search.png -------------------------------------------------------------------------------- /android-options-menu/res/drawable-hdpi/ic_content_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-options-menu/res/drawable-hdpi/ic_content_copy.png -------------------------------------------------------------------------------- /android-options-menu/res/drawable-hdpi/ic_social_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-options-menu/res/drawable-hdpi/ic_social_share.png -------------------------------------------------------------------------------- /android-pro-listview/res/drawable-hdpi/action_search_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-pro-listview/res/drawable-hdpi/action_search_32.png -------------------------------------------------------------------------------- /android-recyclerview/res/drawable-hdpi/content_discard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-recyclerview/res/drawable-hdpi/content_discard.png -------------------------------------------------------------------------------- /android-recyclerview/res/drawable-hdpi/rating_favorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-recyclerview/res/drawable-hdpi/rating_favorite.png -------------------------------------------------------------------------------- /android-recyclerview/res/drawable-hdpi/rating_important.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-recyclerview/res/drawable-hdpi/rating_important.png -------------------------------------------------------------------------------- /android-sign-in-up-screen/res/drawable-hdpi/balloon_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-sign-in-up-screen/res/drawable-hdpi/balloon_bg.png -------------------------------------------------------------------------------- /android-sign-in-up-screen/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-sign-in-up-screen/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-actionbar-for-2.x.x/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-actionbar-for-2.x.x/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-menu-events-change/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-menu-events-change/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-menu-events-change/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-menu-events-change/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-menu-events-change/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-menu-events-change/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-menu-events-change/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-menu-events-change/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-pro-listview/res/drawable-hdpi/collections_cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-pro-listview/res/drawable-hdpi/collections_cloud.png -------------------------------------------------------------------------------- /android-recyclerview/res/drawable-hdpi/collections_cloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-recyclerview/res/drawable-hdpi/collections_cloud.png -------------------------------------------------------------------------------- /android-whatsapp-profile-screen/res/drawable-hdpi/balloon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-whatsapp-profile-screen/res/drawable-hdpi/balloon.png -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-actionbar-for-2.x.x/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-clean-http-async-task/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-clean-http-async-task/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-material-design-appcompat/res/drawable-hdpi/ic_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-material-design-appcompat/res/drawable-hdpi/ic_menu.png -------------------------------------------------------------------------------- /android-menu-events-change/res/drawable-hdpi/ic_content_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-menu-events-change/res/drawable-hdpi/ic_content_new.png -------------------------------------------------------------------------------- /android-navigation-drawer/res/drawable-hdpi/drawer_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-navigation-drawer/res/drawable-hdpi/drawer_shadow.9.png -------------------------------------------------------------------------------- /android-navigation-drawer/res/drawable-hdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-navigation-drawer/res/drawable-hdpi/ic_action_search.png -------------------------------------------------------------------------------- /android-pro-listview/res/drawable-hdpi/collections_cloud_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-pro-listview/res/drawable-hdpi/collections_cloud_32.png -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/drawable-hdpi/ic_action_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_action_search.png -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/drawable-hdpi/ic_content_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_content_copy.png -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/drawable-hdpi/ic_social_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_social_share.png -------------------------------------------------------------------------------- /android-material-design-appcompat/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-material-design-appcompat/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-menu-events-change/res/drawable-hdpi/ic_content_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-menu-events-change/res/drawable-hdpi/ic_content_remove.png -------------------------------------------------------------------------------- /android-whatsapp-profile-screen/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-whatsapp-profile-screen/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android-menu-events-change/res/drawable-hdpi/ic_location_web_site.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-menu-events-change/res/drawable-hdpi/ic_location_web_site.png -------------------------------------------------------------------------------- /android-whatsapp-profile-screen/res/drawable-hdpi/ic_action_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-whatsapp-profile-screen/res/drawable-hdpi/ic_action_edit.png -------------------------------------------------------------------------------- /android-draw-happy-face/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /android-material-design-appcompat/src/com/hmkcode/app/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-material-design-appcompat/src/com/hmkcode/app/MainActivity.java -------------------------------------------------------------------------------- /android-canvas-donut-chart/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /android-material-design-appcompat/res/values-v21/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFF5F5F5 4 | 5 | 6 | -------------------------------------------------------------------------------- /android-whatsapp-profile-screen/res/drawable-hdpi/ic_action_new_event.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-whatsapp-profile-screen/res/drawable-hdpi/ic_action_new_event.png -------------------------------------------------------------------------------- /android-material-design-appcompat/res/drawable-hdpi/ic_action_location_found.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-material-design-appcompat/res/drawable-hdpi/ic_action_location_found.png -------------------------------------------------------------------------------- /android-material-design-appcompat/res/drawable-hdpi/ic_action_location_found_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-material-design-appcompat/res/drawable-hdpi/ic_action_location_found_dark.png -------------------------------------------------------------------------------- /android-post-json/server-side-code/war/post-json/bootstrap/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-post-json/server-side-code/war/post-json/bootstrap/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | App 5 | Hello world! 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-menu-events-change/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | App 5 | Hello world! 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-post-json/server-side-code/war/post-json/bootstrap/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ornate1979/Android/HEAD/android-post-json/server-side-code/war/post-json/bootstrap/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /android-http/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /android-http/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /android-sqlite/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-camera-app/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-custom-view/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-gcm-client/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-http-client/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-post-json/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-pro-listview/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/values-sw600dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-custom-listview/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-draw-happy-face/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-http-get-json/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-menu-events-change/res/values-sw600dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-navigation-drawer/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-sign-in-up-screen/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-social-signin/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-sqlite/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SQLite 5 | Settings 6 | Hello world! 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-start-activity/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-camera-app/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Camera App 5 | Settings 6 | Hello world! 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-canvas-donut-chart/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-clean-http-async-task/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-custom-listview/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | App 5 | Settings 6 | Hello world! 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-http-client/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | HTTP APP 5 | Settings 6 | Hello world! 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-menu-events-change/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-post-json/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | POST JSON 5 | Settings 6 | Hello world! 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-start-activity/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | App 5 | Settings 6 | Hello world! 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-draw-happy-face/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DrawFace 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-gcm-client/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Android GCM 5 | Settings 6 | Hello world! 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-material-design-appcompat/res/drawable-hdpi/cardview_border.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /android-whatsapp-profile-screen/res/drawable-hdpi/image_border.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /android-L-preview/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | L Preview 5 | MainActivity 6 | Hello world! 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-canvas-donut-chart/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Donut Chart 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-custom-view/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Simple Custom View 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-http-get-json/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | HTTP GET JSON APP 5 | Settings 6 | Hello world! 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-material-design-appcompat/res/values-v21/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /android-pro-listview/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Advanced ListView 5 | Settings 6 | Hello world! 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-material-design-appcompat/res/values-v21/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | HMKCODE App 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-clean-http-async-task/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Clean HTTP AsyncTask 5 | Settings 6 | Hello world! 7 | 8 | 9 | -------------------------------------------------------------------------------- /user-interface/readme.md: -------------------------------------------------------------------------------- 1 | Android UI 2 | ========== 3 | 4 | Android offers a set of views that offer you a standard UI layout and input controls. 5 | `View` is the parent object of all user interface elements in Android app. View draws a components such buttons or text fields that users can interact with. 6 | 7 | -------------------------------------------------------------------------------- /android-sqlite/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-camera-app/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-gcm-client/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-http-client/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-post-json/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-pro-listview/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-recyclerview/res/drawable-hdpi/border.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /android-custom-listview/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-http-get-json/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-sign-in-up-screen/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-social-signin/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-start-activity/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-clean-http-async-task/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-custom-view/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /android-sign-in-up-screen/res/drawable-hdpi/edittext_default_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 9 | -------------------------------------------------------------------------------- /android-pro-listview/res/drawable-hdpi/rectangle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/values-sw720dp-land/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 128dp 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-menu-events-change/res/values-sw720dp-land/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 128dp 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-social-signin/res/drawable-hdpi/linearlayout_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /android-sign-in-up-screen/res/drawable-hdpi/linearlayout_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /android-draw-happy-face/src/com/hmkcode/drawing/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.drawing; 2 | 3 | 4 | import android.app.Activity; 5 | 6 | public class MainActivity extends Activity { 7 | 8 | protected void onCreate(android.os.Bundle savedInstanceState) { 9 | super.onCreate(savedInstanceState); 10 | setContentView(R.layout.activity_main); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /android-menu-events-change/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /android-material-design-appcompat/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /android-navigation-drawer/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /android-options-menu/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | App 5 | 6 | Search 7 | Copy 8 | Share 9 | 10 | Hello world! 11 | 12 | 13 | -------------------------------------------------------------------------------- /android-L-preview/src/com/hmkcode/android/L/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android.L; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | 6 | 7 | public class MainActivity extends Activity { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_main); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /android-canvas-donut-chart/src/com/hmkcode/views/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.views; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | 6 | 7 | public class MainActivity extends Activity { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_main); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /android-material-design-appcompat/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 16dp 7 | 256dp 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-http/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /android-menu-events-change/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /android-start-activity/src/com/hmkcode/android/AnotherActivity.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | 6 | public class AnotherActivity extends Activity { 7 | 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | // TODO Auto-generated method stub 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_another); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /android-sign-in-up-screen/res/drawable-hdpi/edittext_top_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 10 | 11 | -------------------------------------------------------------------------------- /android-http/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /android-sign-in-up-screen/res/drawable-hdpi/edittext_bottom_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 9 | 11 | 12 | -------------------------------------------------------------------------------- /android-sign-in-up-screen/src/com/hmkcode/android/sign/SignInActivity.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android.sign; 2 | 3 | import android.os.Bundle; 4 | import android.app.Activity; 5 | 6 | public class SignInActivity extends Activity { 7 | 8 | @Override 9 | protected void onCreate(Bundle savedInstanceState) { 10 | super.onCreate(savedInstanceState); 11 | setContentView(R.layout.activity_sign_in_screen); 12 | } 13 | 14 | 15 | 16 | } 17 | -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /android-clean-http-async-task/src/com/hmkcode/http/HttpHandler.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.http; 2 | 3 | import org.apache.http.client.methods.HttpUriRequest; 4 | 5 | import com.hmkcode.http.AsyncHttpTask; 6 | 7 | public abstract class HttpHandler { 8 | 9 | public abstract HttpUriRequest getHttpRequestMethod(); 10 | 11 | public abstract void onResponse(String result); 12 | 13 | public void execute(){ 14 | new AsyncHttpTask(this).execute(); 15 | } 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /android-menu-events-change/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /android-social-signin/res/drawable-hdpi/layers_fb_button_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 8 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /android-sign-in-up-screen/src/com/hmkcode/android/sign/SignUpActivity.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android.sign; 2 | 3 | import android.os.Bundle; 4 | import android.app.Activity; 5 | import android.view.Menu; 6 | 7 | public class SignUpActivity extends Activity { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_sign_up_screen); 13 | } 14 | 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /android-social-signin/res/drawable-hdpi/layers_twitter_button_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 8 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /android-social-signin/res/drawable-hdpi/layers_gplus_button_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 8 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /android-pro-listview/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /android-custom-listview/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /android-L-preview/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /android-navigation-drawer/res/layout/drawer_listview_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /android-options-menu/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android-get-last-location-fused-api/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /user-interface/android-swipe-views-tabs/app/src/main/res/layout/fragment_first.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /user-interface/android-swipe-views-tabs/app/src/main/res/layout/fragment_second.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /android-material-design-appcompat/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #CC000000 4 | 5 | 6 | #ED1C24 7 | #CC0000 8 | #B3E5FC 9 | #ED1C24 10 | #ffffff 11 | #ffffff 12 | #FFFFFF 13 | #B6B6B6 14 | 15 | -------------------------------------------------------------------------------- /android-start-activity/res/layout/activity_another.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /android-options-menu/src/com/hmkcode/android/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android; 2 | 3 | import android.os.Bundle; 4 | import android.app.Activity; 5 | import android.view.Menu; 6 | 7 | public class MainActivity extends Activity { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_main); 13 | } 14 | 15 | @Override 16 | public boolean onCreateOptionsMenu(Menu menu) { 17 | // Inflate the menu; this adds items to the action bar if it is present. 18 | getMenuInflater().inflate(R.menu.main, menu); 19 | return true; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /android-recyclerview/src/com/hmkcode/android/recyclerview/ItemData.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android.recyclerview; 2 | 3 | public class ItemData { 4 | 5 | 6 | private String title; 7 | private int imageUrl; 8 | 9 | public ItemData(String title,int imageUrl){ 10 | 11 | this.title = title; 12 | this.imageUrl = imageUrl; 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 int getImageUrl() { 24 | return imageUrl; 25 | } 26 | 27 | public void setImageUrl(int imageUrl) { 28 | this.imageUrl = imageUrl; 29 | } 30 | 31 | 32 | } 33 | -------------------------------------------------------------------------------- /android-social-signin/src/com/hmkcode/android/signin/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android.signin; 2 | 3 | import android.os.Bundle; 4 | import android.app.Activity; 5 | import android.view.Menu; 6 | 7 | public class MainActivity extends Activity { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_main); 13 | } 14 | 15 | @Override 16 | public boolean onCreateOptionsMenu(Menu menu) { 17 | // Inflate the menu; this adds items to the action bar if it is present. 18 | getMenuInflater().inflate(R.menu.main, menu); 19 | return true; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /android-custom-listview/src/com/hmkcode/android/Item.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android; 2 | 3 | public class Item { 4 | 5 | private String title; 6 | private String description; 7 | 8 | 9 | public Item(String title, String description) { 10 | super(); 11 | this.title = title; 12 | this.description = description; 13 | } 14 | public String getTitle() { 15 | return title; 16 | } 17 | public void setTitle(String title) { 18 | this.title = title; 19 | } 20 | public String getDescription() { 21 | return description; 22 | } 23 | public void setDescription(String description) { 24 | this.description = description; 25 | } 26 | 27 | 28 | 29 | 30 | 31 | } 32 | -------------------------------------------------------------------------------- /android-material-design-appcompat/res/layout/activity_main_1.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /android-navigation-drawer/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | App 5 | Settings 6 | Hello world! 7 | 8 | 9 | Item 1 10 | Item 2 11 | Item 3 12 | Item 4 13 | Item 5 14 | Item 6 15 | 16 | 17 | Open navigation drawer 18 | Close navigation drawer 19 | 20 | -------------------------------------------------------------------------------- /android-actionbar-for-2.x.x/src/com/hmkcode/android/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android; 2 | 3 | import android.os.Bundle; 4 | import android.support.v7.app.ActionBarActivity; 5 | import android.view.Menu; 6 | 7 | public class MainActivity extends ActionBarActivity { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_main); 13 | } 14 | 15 | @Override 16 | public boolean onCreateOptionsMenu(Menu menu) { 17 | // Inflate the menu; this adds items to the action bar if it is present. 18 | getMenuInflater().inflate(R.menu.main, menu); 19 | return true; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /android-whatsapp-profile-screen/res/drawable-hdpi/edit_states.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /user-interface/android-swipe-views-tabs/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | 5 | repositories { 6 | google() 7 | jcenter() 8 | } 9 | dependencies { 10 | classpath 'com.android.tools.build:gradle:3.0.1' 11 | 12 | 13 | // NOTE: Do not place your application dependencies here; they belong 14 | // in the individual module build.gradle files 15 | } 16 | } 17 | 18 | allprojects { 19 | repositories { 20 | google() 21 | jcenter() 22 | } 23 | } 24 | 25 | task clean(type: Delete) { 26 | delete rootProject.buildDir 27 | } 28 | -------------------------------------------------------------------------------- /android-recyclerview/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /android-gcm-client/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 28 |

29 | 30 | 31 | 32 |
33 |
Visitors
34 | 35 | 36 | 37 | 38 | 39 | 40 |
NameCountryTwitter
41 |
42 | 43 | 44 | -------------------------------------------------------------------------------- /java-post-gcm/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | com.hmkcode 6 | java-post-gcm 7 | 1.0-SNAPSHOT 8 | jar 9 | 10 | java-post-gcm 11 | http://maven.apache.org 12 | 13 | 14 | UTF-8 15 | 16 | 17 | 18 | 19 | com.fasterxml.jackson.core 20 | jackson-core 21 | 2.2.2 22 | 23 | 24 | com.fasterxml.jackson.core 25 | jackson-databind 26 | 2.2.2 27 | 28 | 29 | com.fasterxml.jackson.core 30 | jackson-annotations 31 | 2.2.2 32 | 33 | 34 | junit 35 | junit 36 | 3.8.1 37 | test 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /user-interface/android-swipe-views-tabs/app/src/main/java/com/hmkcode/android/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android; 2 | 3 | import android.support.v4.view.ViewPager; 4 | import android.support.v7.app.AppCompatActivity; 5 | import android.os.Bundle; 6 | import android.support.design.widget.TabLayout; 7 | 8 | import com.hmkcode.android.adapters.MyFragmentPagerAdapter; 9 | 10 | public class MainActivity extends AppCompatActivity { 11 | 12 | MyFragmentPagerAdapter myFragmentPagerAdapter; 13 | ViewPager mViewPager; 14 | TabLayout tabLayout; 15 | 16 | @Override 17 | protected void onCreate(Bundle savedInstanceState) { 18 | super.onCreate(savedInstanceState); 19 | setContentView(R.layout.activity_main); 20 | 21 | mViewPager = (ViewPager) findViewById(R.id.pager); 22 | tabLayout = (TabLayout) findViewById(R.id.tabLayout); 23 | 24 | setPagerAdapter(); 25 | setTabLayout(); 26 | } 27 | 28 | private void setPagerAdapter(){ 29 | 30 | myFragmentPagerAdapter = new MyFragmentPagerAdapter(getSupportFragmentManager()); 31 | mViewPager.setAdapter(myFragmentPagerAdapter); 32 | 33 | } 34 | 35 | private void setTabLayout() { 36 | 37 | tabLayout.setupWithViewPager(mViewPager); 38 | 39 | tabLayout.getTabAt(0).setText("First"); 40 | tabLayout.getTabAt(1).setText("Second"); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /android-recyclerview/src/com/hmkcode/android/recyclerview/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android.recyclerview; 2 | 3 | import android.support.v7.widget.DefaultItemAnimator; 4 | import android.support.v7.widget.LinearLayoutManager; 5 | import android.support.v7.widget.RecyclerView; 6 | import android.app.Activity; 7 | import android.os.Bundle; 8 | 9 | public class MainActivity extends Activity { 10 | 11 | @Override 12 | protected void onCreate(Bundle savedInstanceState) { 13 | super.onCreate(savedInstanceState); 14 | setContentView(R.layout.activity_main); 15 | 16 | RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recyclerView); 17 | 18 | 19 | ItemData itemsData[] = { new ItemData("Help",R.drawable.help), 20 | new ItemData("Delete",R.drawable.content_discard), 21 | new ItemData("Cloud",R.drawable.collections_cloud), 22 | new ItemData("Favorite",R.drawable.rating_favorite), 23 | new ItemData("Like",R.drawable.rating_good), 24 | new ItemData("Rating",R.drawable.rating_important)}; 25 | 26 | 27 | recyclerView.setLayoutManager(new LinearLayoutManager(this)); 28 | 29 | MyAdapter mAdapter = new MyAdapter(itemsData); 30 | recyclerView.setAdapter(mAdapter); 31 | recyclerView.setItemAnimator(new DefaultItemAnimator()); 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /android-custom-view/src/com/hmkcode/views/SimpleView.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.views; 2 | 3 | import android.content.Context; 4 | import android.content.res.TypedArray; 5 | import android.graphics.Canvas; 6 | import android.graphics.CornerPathEffect; 7 | import android.graphics.Paint; 8 | import android.util.AttributeSet; 9 | import android.view.View; 10 | 11 | public class SimpleView extends View { 12 | 13 | float dim; 14 | int shape; 15 | Paint paint; 16 | 17 | public static final int CIRCLE = 0; 18 | public static final int SQUARE = 1; 19 | public SimpleView(Context context, AttributeSet attrs) { 20 | super(context, attrs); 21 | 22 | TypedArray a = context.getTheme().obtainStyledAttributes( 23 | attrs, 24 | R.styleable.SimpleView, 25 | 0, 0 26 | ); 27 | 28 | try { 29 | dim = a.getDimension(R.styleable.SimpleView_dim, 20f); 30 | shape = a.getInteger(R.styleable.SimpleView_shape, 0); 31 | } finally { 32 | a.recycle(); 33 | } 34 | 35 | paint = new Paint(); 36 | paint.setColor(0xfffed325); // yellow 37 | } 38 | 39 | @Override 40 | protected void onDraw(Canvas canvas) { 41 | super.onDraw(canvas); 42 | 43 | // draw circle 44 | switch(shape){ 45 | case CIRCLE: 46 | canvas.drawCircle(dim, dim, dim, paint); 47 | break; 48 | case SQUARE: 49 | canvas.drawRect(0, 0, dim, dim, paint); 50 | break; 51 | 52 | } 53 | 54 | } 55 | 56 | 57 | } 58 | -------------------------------------------------------------------------------- /android-http/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | 26 | 27 | 38 | 39 | -------------------------------------------------------------------------------- /android-input-text-layout/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | 16 | 21 | 22 | 23 | 28 | 29 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /android-custom-listview/src/com/hmkcode/android/MyAdapter.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android; 2 | 3 | import java.util.ArrayList; 4 | 5 | import android.content.Context; 6 | import android.view.LayoutInflater; 7 | import android.view.View; 8 | import android.view.ViewGroup; 9 | import android.widget.ArrayAdapter; 10 | import android.widget.TextView; 11 | 12 | public class MyAdapter extends ArrayAdapter { 13 | 14 | private final Context context; 15 | private final ArrayList itemsArrayList; 16 | 17 | public MyAdapter(Context context, ArrayList itemsArrayList) { 18 | 19 | super(context, R.layout.row, itemsArrayList); 20 | 21 | this.context = context; 22 | this.itemsArrayList = itemsArrayList; 23 | } 24 | 25 | @Override 26 | public View getView(int position, View convertView, ViewGroup parent) { 27 | 28 | // 1. Create inflater 29 | LayoutInflater inflater = (LayoutInflater) context 30 | .getSystemService(Context.LAYOUT_INFLATER_SERVICE); 31 | 32 | // 2. Get rowView from inflater 33 | View rowView = inflater.inflate(R.layout.row, parent, false); 34 | 35 | // 3. Get the two text view from the rowView 36 | TextView labelView = (TextView) rowView.findViewById(R.id.label); 37 | TextView valueView = (TextView) rowView.findViewById(R.id.value); 38 | 39 | // 4. Set the text for textView 40 | labelView.setText(itemsArrayList.get(position).getTitle()); 41 | valueView.setText(itemsArrayList.get(position).getDescription()); 42 | 43 | // 5. retrn rowView 44 | return rowView; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /android-custom-view/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 13 | 14 | 22 | 23 | 31 | 32 | 38 | 39 | -------------------------------------------------------------------------------- /android-gcm-client/src/com/hmkcode/android/gcm/GcmMessageHandler.java: -------------------------------------------------------------------------------- 1 | package com.hmkcode.android.gcm; 2 | 3 | import com.google.android.gms.gcm.GoogleCloudMessaging; 4 | 5 | import android.app.IntentService; 6 | import android.content.Intent; 7 | import android.os.Bundle; 8 | import android.os.Handler; 9 | import android.util.Log; 10 | import android.widget.Toast; 11 | 12 | public class GcmMessageHandler extends IntentService { 13 | 14 | String mes; 15 | private Handler handler; 16 | public GcmMessageHandler() { 17 | super("GcmMessageHandler"); 18 | } 19 | 20 | @Override 21 | public void onCreate() { 22 | // TODO Auto-generated method stub 23 | super.onCreate(); 24 | handler = new Handler(); 25 | } 26 | @Override 27 | protected void onHandleIntent(Intent intent) { 28 | Bundle extras = intent.getExtras(); 29 | 30 | GoogleCloudMessaging gcm = GoogleCloudMessaging.getInstance(this); 31 | // The getMessageType() intent parameter must be the intent you received 32 | // in your BroadcastReceiver. 33 | String messageType = gcm.getMessageType(intent); 34 | 35 | mes = extras.getString("title"); 36 | showToast(); 37 | Log.i("GCM", "Received : (" +messageType+") "+extras.getString("title")); 38 | 39 | 40 | 41 | GcmBroadcastReceiver.completeWakefulIntent(intent); 42 | 43 | } 44 | 45 | public void showToast(){ 46 | handler.post(new Runnable() { 47 | public void run() { 48 | Toast.makeText(getApplicationContext(),mes , Toast.LENGTH_LONG).show(); 49 | } 50 | }); 51 | 52 | } 53 | 54 | 55 | 56 | } 57 | -------------------------------------------------------------------------------- /android-pro-listview/res/layout/target_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 18 | 19 | 20 | 27 | 28 | 29 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /android-material-design-appcompat/res/layout/activity_main_4.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 16 | 17 | 25 | 26 | 27 | 37 | 38 | -------------------------------------------------------------------------------- /android-camera-app/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 19 | 20 | 29 | 30 | 36 | 37 |