In the Android development process, you will encounter a number of small problems, although the hands can be solved, but with a number of small tools to solve these problems are handy, today for you to recommend the development of Android encounter gadgets to make your development more efficient.
Vysor
Vysor is a mobile phone can be projected onto the compute
, download the Android SDK. official Download http://dl.google.com/android/android-sdk_rXX-windows.zip, XX refers to the version number you want to download, for example, I downloaded 08. This link may have been harmonized, and can be searched on the Internet and downloaded in other ways. After downloading, run the SDK Manager tool and download the full SDK. Supp
An analysis of Android source code (III)--android AOSP 5.1.1 Source sync sync and compile make, set up Samba server for more convenient burn-in machine
Recently busy, but also maintain their own blog, video and the public number, also did not carefully comb the source of the entry logic, today is to tell a source of play, you crossing, learn together!
Modify Android. mk in Android to make it compile rgb2565 and rgb2888 at the same time (Add a new tool command to out/host/linux-x86/bin)
Modify the corresponding android. MK files allow them to compile the source code files rgb2565, rgb2888, and rgb2888 at the same time. In fact, the implementation is very simple, her
) Itemview.findviewbyid (r.id.tv);
}
3. Create Adapter
Class Myadapter extends recyclerview.adapter
4.oncreate () method set Adapter
mrecyclerview= (Recyclerview) Findviewbyid (R.ID.RV);
Mrecyclerview.setlayoutmanager (This) (new Linearlayoutmanager);
Mrecyclerview.setadapter (New Myadapter ());
The above is a small set of Android to introduce the use of Circleimageview and CardView to
First look at a preview:
Nonsense not much to say, directly on the code:
This picture is what I just did, the effect is to refer to the cool dog music player to complete, I would like to explain the focus on the bottom of the navigation bar: as shown
One more counter effect preview:
How to make the blue round play key appear over the pink range. Of course, after a reasonable layout can achieve this effect, but there are simpler ways.
size, Each line of numeric keypad is a linearlayout with 3 digits inside the button.
Set the LinearLayout layout_height=0dp,layout_weight=1 for each row, as follows:
This has reached the top of the numeric keypad and up and down the adaptive. Now the question is, how does the gray border come out? TextView does not set the Border property, the online search method is very troublesome.
Here is a trick to use, using the gray background, so that the two keys between the margin=1
In Android development, it is the most basic requirement that a user can make a call. As the saying goes, "All roads lead to Rome," the way to achieve a number of calls, today, to provide the most commonly used two kinds.
First of all, call, for the user, is a cost of operation, therefore, the need for certain permissions, that is, Android.permission.CALL_PHONE permissions, we need to add this permission i
slowly went up. Once visited the forum, saw a post said, application inside, integrated advertising can make money, and then I found some information on the Internet to see, Android mobile phone advertising platform has a lot, and then I chose one, the network above comments can also, there are meters advertising platformhttps://www.youmi.net/account/register?r=NTk2OA== Then I pressed the steps. Upload my
/linux-x86/sdk/android-sdk_eng.linc_linux-x86.zip] Error 44Modify Tools.atree$ vim sdk/build/tools.atree# Templates#tools/base/templates/projects tools/templates/projects#tools/base/templates/activities tools/templates/activities#tools/base/templates/gradle tools/templates/gradle#tools/base/templates/other tools/templates/otherOnce again the change is not far from success, the foll
[Reprint] How to make an Android app not be killed? FinishingOriginal Address:How to make an Android app not be killed? FinishingDrifting brocade Maple Reference: http://blog.csdn.net/windskier/article/details/6560925http://blog.csdn.net/zmyde2010/article/details/6756368Http://blog.sina.com.cn/s/blog_514048cb0100wi2j.h
The android SDK contains a tool named zipalign that can be used to optimize the APK package.
We know that APK is actually a zip compressed file. zipalign can make your application run faster. The principle is to increase the system resolution speed by formatting the sequence of binary files in the ZIP folder. Just like formatting the code before reading it, it makes it easier for us to understand its meanin
How does android make the pop-up dialog box disappear? android dialog box
Builder builder = new AlertDialog. Builder (this );Builder. setTitle (android. R. string. dialog_alert_title). SetIcon (android. R. drawable. ic_dialog_info). SetPositiveButton (
1, Surface1.1, as in C language programming, through a file handle, you can manipulate the file, get the contents of the file. Similarly, the contents of raw buffer can be obtained by surface. Native buffers (raw buffer) store the pixel data for the current window.
1.2, in fact, when you get a surface object, you get a canvas (canvas) object. This can be seen by looking at the \frameworks\base\core\java\android\view\surface.java file to know that the
This article is from the "Java" blog, so be sure to keep this source http://10594050.blog.51cto.com/10584050/1886211Android make phone calls to Android call
1. Make-jxxXX indicates a number. This command will compile the Android system and generate an image. XX indicates the number of CPU cores that can be used, which is particularly useful on the configured computer, it takes less than 20 minutes for the company's 16-core Ubuntu server to execute make-j16, while it takes 4 hours for the dual-core PC!
2.MakeSnodThis
Amway Google chrome, if you are still using 360 browser, Sogou browser or Baidu browser What, it is recommended that you immediately switch to Chrome."google chrome" is a very useful browser produced by Google, and now almost become the programmer's favorite browser, responsive, there are a lot of good plug-ins, can greatly improve our development efficiency, development must, and let our force lattice instantly up a notch. Here is an article on the chrome plugin to write a private collection o
APK.Currently fixed in December release, users can update patches, suggesting that developers use the V1+V2 signature mechanism.5. PrivacyFor the security and privacy of the user, Settings.secure.ANDROID_ID will return different values each time for each app based on the signature key and user profile, which means that an app will not be able to know the android_id of other applications. After applying the query ID to some ads, it can be reset by the user.Query Net.hostname System Properties wi
[Android's Beauty] APK slimming, reduce the size of the APK
Keep your apk files as small as possible, and you should remove unused code and resource files. So this section describes how to make the apk smaller, better performance, the download conversion rate is higher, and how to specify the code and resources that are retained or removed during the build apk, before we have analyzed the apk size, there are some improper resource placement,
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.