Finally, I copied the open-source Chinese code to the ADT and saw countless source codes. I was dizzy. So I decided to annotate each piece of code to help me better learn android.
Seeing a lot of files with the suffix XML, I decided to keep it simple and complex. So this first article was written to RES \ preferences. xml.
In contrast to the open-source China of
Reprint Please specify source: http://blog.csdn.net/crazy1235/article/details/56087721对程序员来说,最好的学习也是阅读,多看别人优秀的代码,加以总结学习应用。如果你想成为一个更好的开发者,就必须阅读大量的代码。书本,博客,论坛在一定程度上都是比较好的,但是比不上一些功能完整详细的开源项目。所以你要做的就是喝着咖啡看代码。O(∩_∩)O哈哈~下面列出来一些比较好的开源项目,每个项目都标注有难易程度。希望可以帮到你~Leafpic(Github | Play Store | Difficulty: Beginner)照片墙类的app是比较常见的。你是否有想过它们是如何开发的呢?LeafPic就是一个比较好的开源照片墙类的APP。这个项目较简单,容易上手,比较适合初级选手。值得一提的是它包含了切换主题这一功能。Simple Calendar(Github | Play Store | Difficulty: Beginner) 这是一款用Kotlin语言编写的日历app。如果你想学Kotlin,这个开源项
A good feature in eclipse is that I open a aactivity, and in project on the left, it automatically navigates to the same directory as the current file. But it won't be automatically positioned in Android studio.That's how the Android studio quickly navigates to the directory where I'm currently opening the
convert, or it can be implemented TypedOutput to handle serialization on its own.Asynchronous VS SynchronizationEach function can be defined as asynchronous or synchronous.Functions that have a return value are executed synchronously.@GET ("/user/{id}/photo") Photo ListUsers (@Path (int id);The asynchronous execution function does not return a value and requires the last argument of the function to be a callback object@GET ("/user/{id}/photo")voidint ID, callbackOn
Android open-source framework Universal-Image-Loader 6-hard disk cache policyZookeeper
Hard disk cache policy:
LimitedAgeDiscCache (sets the maximum time for a file to survive. When this value is exceeded, the file will be deleted)
UnlimitedDiscCache (this cache class has no restrictions)
Inheritance relationship:
pub
Andbase Development Framework: Andbase is an open source class library product tailored for Android developers, and you can get the latest code, examples and development documentation on this site.: http://download.csdn.net/detail/menglele1314/8786989What can andbase do?The 1.andbase contains a large number of common tools for development.such as network download, multi-threading and thread pool management,
The basic process is that android sends each frame of image data collected as a socket client, and the PC receives and displays each frame of image as a server for remote monitoring. The image is as follows (a photo taking function is added on the PC end later )...
(PS. Soon after I learned about Android and Java, I still don't understand many things. If the experts know where they can continue opti
handle many details for you. For example, you are not allowed to list header files or other dependencies in the Android. mk file. These ndk build systems are automatically calculated and processed for you.
This also means that when you update to the new version of ndk, you should benefit from the support of the new toolchain/platform without modifying your android
The Xlog file is not a normal text file, so it can't be opened by tools such as Notepad, and the text tools such as Notepad are all garbled, as shown in the following figure. Xlog files typically need to be opened with a virtual Android platform, such as an Android simulator, which is more difficult to
, * 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 13 * See the License for the specific language governing permissions and * 14 * limitations under the License. * 15 **************************************************************************** 16 17 18 OI File Manager is an open
The core of setting up the software is that the setting ApplicationID is different, because Android takes the ApplicationID as the process identity and must be unique, it only needs to be changed dynamically when packaging.1. Setting the Build.gradle productflavorsproductflavors {Office { ApplicationID"Com.example.app" Buildconfigfield' String ',' Api_url ',' "http://www.baidu.com" ' Resvalue"string","App_name","App_office" }Ot
Recently, I learned about some well-known open-source projects in Android. Take notes as follows to facilitate future search.
These open-source projects can be downloaded through git. First, let's take a look at the actionbarshelllock project.
Due to its use of the native action bar and its related classes on ice cream sandwich, the Library requires that both it
Com.tel.lajoin.wifiscan;import Java.util.arraylist;import Java.util.list;import android.app.Activity; Import Android.content.broadcastreceiver;import Android.content.context;import Android.content.intent;import Android.content.intentfilter;import Android.net.wifi.scanresult;import Android.net.wifi.wificonfiguration;import Android.net.wifi.wifimanager;import Android.os.bundle;public class Mainactivity extends Activity {private list Of course, if you want to run, you have to set up the activity c
directly, get the APK file, this article is loaded with the Dex file, So let's get this apk classes.dex file out and then change it to Patch.dex and put it in the device's SD card directory. You may get an error when running:About this error here, not much explained, because we put the repair package interface Engineering Code also added to the fix package Dex.
Cover Chart:
Brief introduction
The Wave music is an open source Android online music player.
Play local music and online music
Online music charts, such as hot songs, new songs, etc.
Gao Music's vinyl album cover
Lyrics Show, automatically search lyrics
Night mode
Timed shutdown
Update descriptionv 1.0I release
Todo
Online music can be downloaded and added to my music lis
Now that many companies have developed with Android Studio, I'm also ready to slowly say goodbye to the eclipse that I've been using, and now share some handy plugins. Development we sometimes want to know the directory of a project, there is such a plug-in, you can right-click on the project to open the current directory, it is easy to use in the myeclipse development of one of the "
ImageView can is used!Mimageview =(ImageView) Findviewbyid (R.id.iv_photo); //Set the drawable displayeddrawable bitmap =getresources (). getdrawable (R.drawable.wallpaper); Mimageview.setimagedrawable (bitmap); //Attach a photoviewattacher, which takes care of the zooming functionality.Mattacher =NewPhotoviewattacher (Mimageview);}//If You later call mimageview.setimagedrawable/setimagebitmap/setimageresource/etc then you just needAttacher.update ();2, through layout use. Uk.co.senab.photov
Introduction to the Android string formatting open-source library phrase
In the previous blog, Android uses String. the format (dynamically changed) is used to display String resources. format to format string. the String in the xml file. This article introduces an open-sour
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.