Android performance optimization is a common problem in Android development. Next, we will give a brief summary of the knowledge points of Android performance optimization, which will be summarized in terms of tools and code. For better work, you must first sharpen the tool. This article first looks at
: Http://developer.android.com/sdk/index.html#Other ① How to build a project: Directly select the first one, we are developing mobile devices, here is the SDK with the minimum version set Next: Here are a variety of forms of activity, with side-by-side, custom navigation bar and so on, usually we choose the default blank Next: Set the name of the main activity and the name of the corresponding layout file: Finish, then wait for the Gradle to load the project catalog, and then go to the as pro
What is the ADB?
The ADB's full name is Android Debug Bridge, which is the role of the debugging bridges.
Through the ADB we can debug the Android program through DDMS in Eclipse, which is the Debug tool.
The ADB works in a special way, allowing the IDE and QEMU to communicate by listening to ports such as socket TCP 5554, which by default will daemon the associated network port, so the ADB process runs
Android Reverse engineer-1 https://www.cnblogs.com/cuihengchaliao/p/6661871.html mentions the modified repackaged apk file, which needs to be re-signed before it can be installed.Re-signing, if it is the normal way of modification, the original version of the signing certificate can be used; but if it is not the normal way of the APK package modification, re-signing the original developer's certificate is not available, then the modifier will usually
Common development tools in Android-continuous update...
1. Custom ActionBar
Public class ActionBarTool {public static void setActionBarLayout (Activity act, Context context, int layoutId) {// The first two parameters can generally be set to this, the third parameter is the Id ActionBar actionBar = act of the custom View. getActionBar (); if (null! = ActionBar) {actionBar. setDisplayShowHomeEnabled (false)
1. Execute in cmd: Lint--show allowbackup//Display the explanation of Allowbackup on this topic in lint, the results are as follows:Allowbackup-----------summary:ensure that Allowbackup was explicitly set in the application ' Smanifestpriority:3/10Sever Ity:WarningCategory:SecurityThe allowbackup attribute determines if a application ' s data can be Baand restored. It is documented athttp://developer.android.com/reference/android/r.attr.html#allowback
It is recommended to use http://pencil.evolus.vn/, which can be installed on all platforms, and also contains some component libraries for Android Material Design.Very easy to use and prototype design in the APP development processProvides two Material Design open source material addressesWidgets (component): Https://github.com/nathanielw/Android-Lollipop-Pencil-StencilsIcons (icon): Https://github.com/nath
Basic Android notes-graphics, solutions for using and practicing large image OOM and painting tools
The principle of computer graphics representation is to load a large image. The OOM scaling is used to load large image resources and create a copy of the original image. The common API for image processing is the meitu xiuxiu painting version.
Principle of computer graphics Representation
The first thing to
Android basic notes (15th)-graphic, big picture OOM, usage and exercises of painting tools, androidoom
Principle of computer graphics Representation
OOM is displayed when a large image is loaded.
Scale and load large image resources
Create a copy of the source Image
Common graph processing APIs
Mito xiuxiu for Dummies
Painting version
Principle of computer graphics Representation
The first thing
Download and use Android APK decompilation toolsOverview
Android APK decompilation is an interesting thing. We can perform Chinese-based cracking on APK decompilation.
Android APK decompilation mainly involves the use of three tools:
Apktool
Dex2jar
Jd-gui (jad)
Tool for sorting and downloading this articleAndroid-Ap
Eye Protection is a Windows, Android screen Blu-ray filter tool, fool-type operation, support intelligent mode, fatigue reminder, can effectively protect eyesight and reduce the night use of computers, mobile phone to sleep impact.From the Discovery Channel.There are a number of similar applications such as veteran F.lux, Night Filter, Twilight shimmer, and IOS native big yellow screen, among others.The Windows version of Eye protection and its simpli
The contents of this page will be updated and amended promptly.Ide:Http://tools.android.com/tech-docs/new-build-systemAlways check the latest Gradle information, timely update, version update is too fast, and the new version of the compilation speed has a certain increase, it is recommended to pay attention.Http://www.v2ex.com/go/androidA place to share the latest SDK tools and IDE downloads, because of the reasons of the celestial, the studio downloa
Project Run encounters Could not find D:\Android\a...sdk-windows\tools\adb.exe after upgrading ADTAfter Baidu tried a lot of methods: (later encountered to see, perhaps which method can be solved)1. The D:\android-sdk-windows\platform-tools directory Adb.exe,adbwinapi.dll,adbwinusbapi.dll These three files are copied
as:Getdefaultthreadpoolsize () Get the thread pool size that matches the system configurationSource visible Systemutils.java, more methods and more detailed parameters of the Systemutils Api Guide can be seen.20, TimeutilsTime tool class that can be used for time-related operations such as:Getcurrenttimeinlong () Gets the current timeGetTime (Long Timeinmillis, SimpleDateFormat DateFormat) converts a long to a fixed-format time stringSource visible Timeutils.java, more methods and more detailed
Emulator can be used to start the simulator. Emulator-avd G8-partition-size 150-memory 855 G8 is the name of my simulator, the size of the ROM set by partition-size, memory is the size of the Set RAM adb is the most commonly used tool, called Android Debug Bridge ).
It is a tool used to manage simulators and VMS. It is a cs program and consists of three parts:
1. A client. Run (PC) on your development machine and use shell to call another client throu
become "GO SMS Pro". If an attacker uses step 1 to modify the allowed unknown source, and then secretly install an SMS or spamming program through the ADB, then the text messaging is not controlled by the user.In some countries and regions, SMS interception and fraud is a very pervasive thing, so it has to be said to be a very dangerous thing.In addition, various Internet PC clients will often use the ADB to monitor and manipulate the Android phone c
The full name of ddms is Dalvik debug monitor service,
Port forwarding service, which can make ddms a proxy for IDE and devices
Mobile phone device Screen
Device thread and stack information
Log Information
Process Information
Broadcast status information
Analog call
Receive SMS
Virtual geographic coordinates
RF status information
Others
How to start ddms
Prerequisites: Start the Android-SDK simulator or connect to a mobile device;
The dd
Yesterday the two managers were working properly, updated today, found unavailable, ran AVD manager and SDK Manager did not respond , searched a lot of articles, and then saw the next article " about the SDK update Android SDK Tools 25.3.1 version after using SDK Manager Flash back "http://blog.csdn.net/ityangjun/article/details/ 62216605, it seems that command line Sdkmanager.bat can still work independen
commands, Here's an example:ADB push Foo.txt/sdcard/foo.txtQuery log adb logcatStopping the ADB ServerIn some cases, you may need to stop the Android debugging system from running and then restart it. For example, if the Android debugging system does not respond to commands, you can terminate the server and then restart it, which may solve the problem.Use Kill-server to terminate ADB server. You can use AD
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.