The essence of android code is the essence of code written by various experts. Let's share it with you.

Source: Internet
Author: User
Tags admob

The essence of android code is the essence of code written by various experts. Let's share it with you.

Http://gundumw100.iteye.com/blog/940084

Magnetic floating form, similar to 360 green villain
The main implementation is:
1. float all forms
2. Attractive, adsorption on the edge of the screen
3. Click Effects
Http://blog.csdn.net/manymore13/article/details/8577286

Android special effects development (Scalable View with mutual extrusion effect)
Http://blog.csdn.net/manymore13/article/details/12799061

Android special effects development (Scalable View with mutual extrusion effect)
Http://blog.csdn.net/manymore13/article/details/12907969

Android special effect Development (similar to zaker's hand-up push effect (push door effect ))
Http://blog.csdn.net/manymore13/article/details/12219687

Use ViewPager to Implement User Guide Interface
Http://blog.csdn.net/manymore13/article/details/8679639

Http://blog.csdn.net/t12x3456/article/category/1168754


10 practical Android UI tools
Http://www.csdn.net/article/2013-10-22/2817256-10-ui-design-tools

Http://blog.csdn.net/t12x3456/article/category/1168754

Wolf's second nest
Http://blog.csdn.net/barryhappy/article/category/1069537

Android skin replacement (3)-Style
Http://my.eoe.cn/kris/articles

Android uploads files to the server
Http://www.cnblogs.com/linjiqin/archive/2011/11/09/2242579.html

Achieve the most popular slide through SlidingMenu Fragment
Http://my.eoe.cn/kris/archive/1605.html

Android Open-Source Project (1)
Http://www.csdn.net/article/2013-05-03/2815127-android-open-source-projects
Android Open-Source Project (2)
Http://www.csdn.net/article/2013-05-06/2815145-Android-open-source-projects-two

Using SlidingMenu Viewpager to achieve the most popular slide currently [2]
Http://my.eoe.cn/kris/archive/1688.html? F_section = hot

Android desktop floating window effect, imitation 360 mobile guard floating window Effect
Http://www.verydemo.com/demo_c89_i41511.html

Http://www.androidviews.net/
Http://www.ilovn.com/topics/android/

Xyz_lmn blog
Http://blog.csdn.net/xyz_lmn/article/category/912146
ViewPager implements the guiding interface and enters the next activity Solution
Http://blog.csdn.net/xyz_lmn/article/details/7763338

Fragment instance
Http://blog.csdn.net/xyz_lmn/article/details/6930753

Android how to take pictures and return pictures (verified examples)
Http://blog.csdn.net/fengkuanghun/article/details/7732047

Set Avatar and cropping in android
Http://xuzhiwei.blog.51cto.com/978424/965511

Take a local image or take a photo with your camera as your profile picture.
Http://www.eoeandroid.com/forum.php? Mod = viewthread & tid = 241903 & fromuid = 30206

Kitchen Effect
Http://mmandroid.diandian.com/post/2012-03-19/17749104

Pull-down refresh of App list
Http://www.cnblogs.com/qianxudetianxia/archive/2012/06/16/2549891.html
Android provides partial image slide Guidance
Http://www.cnblogs.com/hanyonglu/archive/2012/06/19/2555113.html
Open-source ImageFilter library v0.4: 26 new image effects
Http://www.cnblogs.com/daizhj/archive/2012/06/21/2557550.html

Pie chart that can be rotated
Http://blog.csdn.net/chenjie19891104/article/details/7036251

Extract the image cutting program CropImage from the Android system
Http://www.zhaoweihua.name/android-cropimage-149.html

Call the external map program in Android
Http://www.zhaoweihua.name/android-start-maps-164.html

Android automatic Version Detection and automatic upgrade
Http://blog.csdn.net/furongkang/article/details/6886526
Implementation of the Android app auto update function !!!
Http://blog.csdn.net/android_tutor/article/details/7015986

Android push:
Http://blog.csdn.net/joshua_yu/article/details/6563587
Http://zen-mobi.com/
Http://tokudu.com/2010/how-to-implement-push-notifications-for-android/
Build XMPP protocol to push messages to mobile phones
Http://www.apkbus.com/android-18168-1-1.html
XMPP applications in Android
Http://www.moandroid.com /? P = 1370

Usage of content observer in Android ---- ContentObserver class description
Http://www.cnblogs.com/slider/archive/2012/02/14/2351702.html
Devin Zhang 'bolg
Http://www.cnblogs.com/devinzhang/category/349634.html
Duicky blog
Http://www.cnblogs.com/luxiaofeng54/category/276200.html

Android security:
Http://su1216.iteye.com/category/140011

Jj120522 Column
Http://blog.csdn.net/jj120522/article/category/1170272

Dreamer's blog
Http://blog.csdn.net/hudan2714/article/category/1130450

For a Better Tomorrow
Http://www.zhaoweihua.name/category/android

Third Pole
Http://disanji.net/

Http://blog.csdn.net/hmg25

Launcher Research
Http://blog.csdn.net/chenjie19891104/article/details/7008962
[Android] search toolbar
Http://www.devdiv.com/article-2715-1.html

Foundation of Android drawer with Dynamic Layout
Http://blog.csdn.net/hellogv/article/details/6789698
Android drawer with Dynamic Layout
Http://blog.csdn.net/hellogv/article/details/6828584

Search for keywords to fly in and out
Http://blog.csdn.net/sodino/article/details/7176796

HVListView Control
Http://www.cnblogs.com/over140/archive/2011/12/07/2275207.html

PullToRefreshListView Control
Http://dengyin2000.iteye.com/blog/1187823

ListView enables quick contact locating
Http://bigcat.easymorse.com /? P = 1439

Effect of Item classification in ListView
Http://blog.csdn.net/mayingcai1987/article/details/6367421
Android ListView group interface layout Improvement
Http://bigcat.easymorse.com /? P = 1397

Humble world
Http://www.cnblogs.com/qianxudetianxia/
Http://blog.csdn.net/wdaming1986
Http://blog.csdn.net/craftsman1970

Drag the items of the ListView component (items change order)
Http://blog.csdn.net/mayingcai1987/article/details/6362325

ListView dynamically loads data
Http://blog.csdn.net/mayingcai1987/article/details/6273606

ListView achieves arc Effect
Http://blog.csdn.net/mayingcai1987/article/details/6341693

Android-based Alphabet ListView
Http://blog.csdn.net/ilysony/article/details/6292771

Achieve casual drag in Oblique direction
Http://stackoverflow.com/questions/4990682/images-in-scrollview-in-android

Http://blog.csdn.net/nokiaguy/article/details/6835912

Http://staticallytyped.wordpress.com/category/android/

Android large TXT text document reading

Websites that can generate loading Images
Http://www.ajaxload.info/
Http://www.preloaders.net/en

Http://blog.csdn.net/mayingcai1987/article/category/786494
Http://marshal.easymorse.com/archives/tag/android
Http://wangjun.easymorse.com /? Tag = android
Http://henzil.easymorse.com /? Tag = android

Yusong MOMO Program World Column

Android3 series-2. Sudoku Game Development 1
Android3 series-3. Sudoku game development 2

About game development blog:
Http://blog.csdn.net/xiaominghimi/article/category/762640

ViewPager example-switching between the left and right screens
Simulated desktop (workspace) page switching effect/cyclic switching page

Innovation comes from imitating the beautification of TabActivity.
Innovation stems from imitation 2: an attempt to beautify ListView
Innovation comes from imitation 3: switching between the left and right screens
Innovation stems from imitation 4: enhanced ExpandableListView
Innovation stems from imitation 5: making your own QuickAction
Innovation stems from imitation 6: creating a configuration interface for the iPhone-like group list

Http://blog.csdn.net/a345017062/article/category/758727
Http://blog.csdn.net/gumanren/article/category/668386

Java> development-related classes
Http://www.java2s.com/CN/Code/Java/Development-Class/CatalogDevelopment-Class.htm

Use of the map editor for Android game development and Map Drawing (I)
Http://blog.csdn.net/xys289187120/article/details/6615532

Android Learning Guide directory
Http://android.yaohuiji.com/about

Multi-drawer effect (similar to the effect of the earliest QQ use)
Http://blog.csdn.net/feng88724/archive/2011/02/24/6206388.aspx

[Android advanced] interpretation of every day's beautiful floating lyrics (mini lyrics)
Http://blog.csdn.net/feng88724/archive/2011/04/25/6362710.aspx

Demo of dragging between the left and right sides of the screen
Http://www.eoeandroid.com/thread-72470-1-2.html

Android hides the EditText soft drive
Http://www.eoeandroid.com/forum-redirect-tid-73564-goto-lastpost.html#lastpost

Implementation of book paging in Android ---- conclusion
Http://blog.csdn.net/hmg25/archive/2011/04/22/6342539.aspx

Smooth and three-dimensional page flip effects of Android launcher
Http://www.ibm.com/developerworks/cn/opensource/os-cn-android-anmt2/#major0.1

Http://www.hlovey.cn/category/android

Http://dev.10086.cn/cmdn/wiki/index.php? Edition-view-5445-1.html
Http://www.pin5i.com/showtopic-autocompletetextview-arrayadapter.html

Description: Adnroid1.6 or later sdks. A new <supports-screens> element is provided in AndroidManifest. xml to support the multi-screen mechanism.
<Supports-screens
Android: largeScreens = "true" whether large screen is supported
Android: normalScreens = "true": whether screen capture is supported
Android: smallScreens = "true" whether small screen is supported
Android: anyDensity = "true" whether different density is supported
/>
Android converts the unit to pixel (dp, sp to pixel px) based on the resolution)

Several Methods to dynamically change the interface
1 use View. VISIBLE View. INVISIBLE View. GONE (false dynamic)
2 Use ViewStub
3. Use ViewFlipper
4. Use ActivityGroup
5 others, please add!

Android open source Daquan, Android Engineering Code
Http://a.u250.info/

Activity and task
Http://blog.csdn.net/wukunting/archive/2010/06/18/5677610.aspx

Download the source code of each android version:
Http://repository.grepcode.com/java/ext/com/google/android/android/

Networking with Android
Http://www.ibm.com/developerworks/cn/opensource/os-android-networking/

Describes how to use Android Gestures
Http://www.hiapk.com/thread-43699-1-1.html

Android slide loading data
Http://www.cnblogs.com/tt_mc/archive/2010/08/16/1800722.html

Listview dynamically loads data
Http://www.cnblogs.com/tanlon/archive/2011/03/20/1989323.html

Android MediaPlayer simple and comprehensive application ------columns all the upload files in sdcard, and you can click play!
Http://blog.csdn.net/Android_Tutor/archive/2009/12/23/5066020.aspx

Highlights of special image effects processing in Android
Http://blog.csdn.net/Android_Tutor/archive/2010/11/02/5981753.aspx

Auto-sensing horizontal and vertical screen, and then select the appropriate xml for display
Http://edison-cool911.iteye.com/blog/717354

Sharing global variables (Application) in Android)
Http://edison-cool911.iteye.com/blog/940082

Android completely closes the application
Http://yueguc.iteye.com/blog/939692

Design by ImageButton
Http://yueguc.iteye.com/blog/939686

Text-to-Speech pronunciation
Http://qq398705749.iteye.com/blog/775320

Android simple disc menu
Http://chroya.iteye.com/blog/830682
Android magnifiers
Http://chroya.iteye.com/blog/924577
Android tips: conversion between ArrayList and array
Http://blog.csdn.net/brave_heart_lxl/archive/2011/02/11/6178909.aspx
Example of a simple Tab at the bottom of a program
Http://edison-cool911.iteye.com/blog/710063
Dynamic switching between landscape and landscape screens (layout-land and layout-port)
Http://edison-cool911.iteye.com/blog/695137

Add the Download activity module to the program.
Http://www.hiapk.com/thread-6208-1-1.html
Http://bbs.ldci.com.cn/simple? T4375.html
Http://www.androidres.com/index.php/2009/04/22/android-add-download-module/

The Animation is transparent and converted to another image after being transparent.
Http://www.iteye.com/topic/937181
One of OPhone 2D UI Animation tutorials -- Introduction to Animation
Http://www.ophonesdn.com/article/show/185
Ophone 2D UI animation tutorial 2-Implementation of screen Switching
Http://www.ophonesdn.com/article/show/186

Matrix learning-how to use Matrix
Http://www.pin5i.com/showtopic-matrix-learning-how-to-use-the-matrix.html
Http://www.pin5i.com/showtopic-matrix-learning-images-complex-changes.html

Recommended articles in this blog:
Http://android.yaohuiji.com/about
Http://www.moandroid.com /? Cat = 29
Http://www.hlovey.cn/category/android
Http://blog.csdn.net/cping1982/archive/2009/10/18/4693633.aspx
Http://www.cnblogs.com/phinecos/category/207026.html
Http://blogold.chinaunix.net/u2/85805/index.html
Http://blogold.chinaunix.net/u2/85193/article_99332.html
Http://blog.csdn.net/vagrxie/category/575260.aspx
Http://bigcat.easymorse.com /? Cat = 7

Android Chinese API collection (3) (83) (chm format)
Http://www.cnblogs.com/over140/archive/2011/01/04/1925146.html
Android2.2 Quick Start
Http://www.cnblogs.com/over140/archive/2010/09/27/1836567.html
[Android] Use ActivityGroup to switch between Activity and Layout
Http://www.cnblogs.com/over140/archive/2010/09/07/1820876.html
[Hessdroid] Use Hessian to communicate with the Java Server in Android
Http://www.cnblogs.com/over140/archive/2010/07/30/1788563.html
Usage of MapiRule
Http://www.cnblogs.com/over140/archive/2010/04/12/1699531.html
Recommended Android websites:
Marshal's Bloghttp: // marshal.easymorse.com/
[Googlecode] androidbmi [Android related resources] http://code.google.com/p/androidbmi/wiki/AndroidResource
Xirihanlinhttp: // www.cnblogs.com/xirihanlin/
Eternal memory http://www.cnblogs.com/salam/tag/Android2.2/
Android tt_mchttp: // www.cnblogs.com/tt_mc/category/235762.html
Column http://blog.csdn.net/Android_Tutor/default.aspx for Android_Tutor
Mo-Androidhttp: // www.moandroid.com/
Third Pole http://disanji.net/category/open-source/android%E5%BC%80%E6%BA%90%E8%B5%84%E6%BA%90/category/open-source/android%E5%BC%80%E6%BA%90%E8%B5%84%E6%BA%90/
{Android Learning Guide} http://android.yaohuiji.com/
[English] Learn Android
[English] Android Tales

The unselected tab has a white edge. How can I remove it? Solution
Tb. setPadding (tb. getPaddingLeft (), tb. getPaddingTop (), tb. getPaddingRight (), tb. getPaddingBottom ()-10 );

Search engine for Image Search
Http://findicons.com/
Http://www.iconfinder.com/This is good English.

Android screen size and density table, and explanations of pixel units such as px, dip, and sp
The concepts of px, dip, sp, and dp are vague. I checked it online and found it clearly in theory.

1. px (pixels): the point on the screen, which is related to the density. The density is high, and the px size per unit area is large.

2. dip or dp (pixels unrelated to density ). This is related to the hardware of the device. We recommend that you use this feature to support WVGA, HVGA, and QVGA 5 hexadecimal space. An abstract unit based on screen density. You can use this option to set the width and height of some views. Generally, you do not feel scaled at different resolutions. If px is used, 320px is full of the width of HVGA, and only half of the screen can be occupied by WVGA, it must not be what you want.
3. sp (pixel unrelated to the scale) scales up the pixel-mainly processing the font size.

Screen size and density table:

 
In manifest, the following shows whether the app supports the multi-density method at different resolutions.
<Manifest xmlns: android = "http://schemas.android.com/apk/res/android">
...
<Supports-screens
Android: smallScreens = "true"
Android: normalScreens = "true"
Android: largeScreens = "true"
Android: xlargeScreens = "true"
Android: anyDensity = "true"/>
</Manifest>

 



Embed Admob ads for free apps
Http://www.moandroid.com /? P = 1158 # more-1158
Http://www.eoeandroid.com/thread-1005-1-2.html
Http://www.cnblogs.com/vaiyanzi/archive/2011/11/24/2261191.html
Embed Admob ads into free apps to get advertising revenue.
1. http://www.admob.com/register an account, 
Add Mobile Site/app, enter relevant information, and submit the application,
Download the JAR used by the Android platform and view the publisher ID.
2. Add the JAR to your project. 
Properties-> Java Build Path-> Libraries-> Add JARs... -> Select the JAR-> OK
3. Edit AndroidManifest. xml 
Add to application Node
<! -The application's publisher ID assigned by AdMob->
<Meta-data android: value = "a14ae1ce0357305" android: name = "ADMOB_PUBLISHER_ID"/>
Manifest node add permission Application
<! -AdMob SDK permissions->
<Uses-permission android: name = "android. permission. INTERNET"/>
4. Add attrs. xml 
/Res/values/attrs. xml
<? Xml version = "1.0" encoding = "UTF-8"?>
<Resources>
<Declare-styleable name = "com. admob. android. ads. AdView">
<Attr name = "testing" format = "boolean"/>
<Attr name = "backgroundColor" format = "color"/>
<Attr name = "textColor" format = "color"/>
<Attr name = "keywords" format = "string"/>
<Attr name = "refreshInterval" format = "integer"/>
<Attr name = "isGoneWithoutAd" format = "boolean"/>
</Declare-styleable>
</Resources>
5. Add ad Components 
<? Xml version = "1.0" encoding = "UTF-8"?>
<LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android"
Xmlns: admobsdk = "http://schemas.android.com/apk/res/com.moandroid.livesports"
Android: orientation = "vertical"
Android: layout_width = "fill_parent"
Android: layout_height = "fill_parent"
>
<TextView
Android: layout_width = "fill_parent"
Android: layout_height = "wrap_content"
Android: text = "@ string/hello"
/>
<Com. admob. android. ads. AdView
Android: id = "@ + id/ad"
Android: layout_width = "fill_parent"
Android: layout_height = "wrap_content"
Admobsdk: backgroundColor = "#000000 ″
Admobsdk: textColor = "# FFFFFF"
Admobsdk: keywords = "Android application"
Admobsdk: refreshInterval = "60 ″
/>
</LinearLayout>
6. Display Effect 
Embed Admob ads into free apps to get advertising revenue.

 

Http://dev.10086.cn/cmdn/bbs/thread-62169-1-1.html
  • Listviewsearch key word highlight display .zip (60.3 KB)
  • Downloads: 20
  • Android-1.6_r2-sources.jar (6.4 MB)
  • Downloads: 9
  • CustomTabDemo.rar (2.1 MB)
  • Downloads: 18
  • Tab_demo.zip (149.6 KB)
  • Downloads: 13
  • Expanel_2820.29.zip (58.6 KB)
  • Downloads: 4
  • ExPanel_282_29.zip (63.7 KB)
  • Downloads: 6
  • TestYouku.rar (225.9 KB)
  • Downloads: 5
  • GroupDemo.zip (75.2 KB)
  • Description: AbsActivityGroup, AbsSubActivity.
  • Downloads: 9
  • Harism-android_page_curl-7a2c8f1__1_.zip (1.3 MB)
  • Description: book turning effect.
  • Downloads: 11
  • Android-flip-master.zip (1.3 MB)
  • Description: flipboard page flip
  • Downloads: 25
  • View image attachments

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.