Disable screen rotation and restart of Activity and androidactivity in android Program
Disable screen rotation with mobile phone
Sometimes we want to keep the interface of a program in one direction and not change with the orientation of the mobile
Android source code-javasclock (2), androidjavasclockI. OverviewI introduced the export of the program source code in DeskClock (1). Now I start to analyze the application source code. DeskClock mainly has four functions: alarm clock, clock, timing,
Android page event hook simulation, android page
Java does not have a reference type for C #. Therefore, event mounting is generally implemented using interfaces. There are two methods:
1) define a class that implements the event interface, then
Android studio NDK configuration tutorial on Mac (1), androidndkTutorial on NDK configuration of Android studio on Mac (1) 1. Overview
Recently, the entire project has been transferred to Mac for Android studio development. When key code is
Android ndk c ++: Android Studio and androidndkAndroid ndk c ++: Android Studio
At this year's Google IO conference, Google announced that Android Studio began supporting NDK development. Through cooperation with JetBrains, CLion is integrated into
Package and reference aar and androidstudioaar in AndroidStudio
We have encapsulated some common class libraries and custom View Controls for half a day. To achieve better reuse, the most convenient way is to package the class library files.
However,
Android WelcomeActivity starts to change the network image,
1. Running Effect
The first is the local startup diagram, and the second is the network startup diagram.
2. Third-party jar package Android-Universal-Image-Loader-master used
For details,
Android cainiao study notes 23 ---- ContentProvider (3) uses the built-in ContentProvider to listen to text messages and view contacts, contentprovider
To use a ContentProvider, you must know the Uri that it can match and the structure of its data
The identity used to sign the executable is no longer valid, identityexecutableSolution
1. Check whether the description file is installed, whether the device UUID is added to description file 2, and whether the Code Signing selects certificate 3,
Chapter 5 of OpenGL blue book code errata and inertial coordinate system to interpret model transformation, opengl Blue Book
If you also find that, when you follow the tutorial code to complete the texture, the coordinates of the bottom and normal
Android HandlerThread source code analysis and android source code analysisHandlerThread introduction:
We know that the Thread is a consumable item. After the Thread executes a time-consuming task, the Thread will be automatically destroyed. If I
Android main thread's message system (Handler \ lofter), androidloPreface:
Previous articles have written about Bitmap and memory optimization technologies. This article will talk about Handler.
Handler is an important knowledge in the Android
Use of LevelDB, use of LevelDBGoogle's open-source project LevelDB is good, but it left a big pitfall. It tortured me for a day or two and I checked a lot of information. I found that the problem was similar to mine. I wrote down my notes
Sexy editor of Android Studio plug-in (set AS background ),
Many people who have just started to use Android Studio are sure they want to set this effect very much. However, this effect is not a native function in android Studio development
Android: solves the problem that view. getDrawingCache () returns null,
In project development, sometimes the content of a View (including its subview) needs to be saved as an image (similar to), so the first thought of View. getDrawingCache (),
The Tab page at the bottom of Android is implemented based on ViewPager
Among many mainstream apps, including QQ, and so on, many apps use the bottom navigation to stay consistent with the ios UI. Of course, this design is not opposed in Android.
Android USB/SD Card Summary
Summary:
1. Set the default mode for connecting to USB and the device interface corresponding to the four modes
Charger: diag, serial_smd, rmnet_bam, adb
Ptp: ptp, adb
Mtp: mtp, adb
Mass storage: serial_smd, serial_tty,
UGUI implementation interface gradually fades Out FadeIn/Out effect, uguifadein
Sun Guangdong 2015.7.10
Actually, if you are familiar with NGUI, you should know that it is very convenient to implement the fade-in/Out effect, because changes to the
Mobile phone resolution sorting in 2015 and resolution sorting in 2015Android system
Width
Long
Resolution Ratio
Remarks
540
960
9: 16
720
1280
9: 16
Millet 2 s, Red Rice
UGUI packaging gallery tool plug-in Simple Sprite Packer, uguipacker
This plug-in has been in use since the beginning of the project, which is very convenient and has ideal functions.
I want to be a NGUI or Unity2D [more familiar] game player. I
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