Android -- jenkins + gradle + android automated apk building steps
Step 1: Install jenkins. There are many online tutorials.
Step 2: Download and configure gradle. Http://www.gradle.org/
Decompress gradle to a path such
Use (convert) PopupWindow in Android and androidpopupwindow
Problems encountered after learning:
To reference: There are several, which can be solved with the error prompt;
Import android. widget. PopupWindow;
Import android. widget. Toast;
Activity
Java basic concepts, java
What are environment variables?
Environment variables are usually used in the operating system to specify the parameters required for running the operating system. Usually a series of key-value pairs.
Role of path
Floating controls implemented by android
Implement desktop View, such as desktop lyrics
1) the view to be displayed on the desktop is mounted to WindowManager through WindowManager. addView. Note that the source code of the WindowManager object is
Android Control (1) pull-down Refresh: SwipeRefreshLayout
Note that only one direct subnode is allowed under SwipeRefreshLayout.
The layout file is as follows.
The main program is as follows:
Package com. francis.
Analysis of string encryption and decryption using jni in android
Analysis of string encryption and decryption using jni in android
Recently, a demand for projects is to encrypt users' sensitive information, such as users' account passwords, mobile
Android window screenshot
Steps:
Step 1: Obtain the Bitmap object that saves the screen image;
Step 2: Obtain the height of the status bar;
Step 3: Obtain the screen image height;
Step 4: Create a New Bitmap object and intercept other regions except
Android dynamically sets the TextView value. For example, the amount increases.
When it comes to setting the TextView value in a dynamic increments, many people should immediately think of a thread, set the time for sleep in the later thread, and
Android uses Get and Post to obtain Network Data
First, Get:
The layout is very simple. Let's take a look at MainActivity:
Package com. francis. httpget; import android. app. activity; import android. OS. asyncTask; import android. OS. bundle;
Search for Ya project for Android Development (3)ProjectSearch bud mobile client---- Seller, app, and baseAuthorZeng JinlongTel: 18664312687 QQ: 470910357@qq.comTime2014-10-14DescriptionCode DescriptionPart 1 Seller package1. StartUpActivity.
Android _ use StrictMode for debugging and development 1. Introduction to StrictMode
Since Android 2.3 provides a debugging feature called StrictMode, Google says it has benefited hundreds of Google Apps on Android. So what does it do? It will
Cocos2d-x3.2 to add Android phone shake, cocos2dandroid
I announced that after this blog post, my cocos2dx engine jumped from cocos2dx3.1.1 to cocos2dx3.2 ~~~
The following describes how to add the Android mobile phone vibration function to cocos
Use WindowManager to add custom views and windowmanager views
Original article address: Use WindowManager to add a custom View
When writing about mobile guard, the user calls the phone. When answering the call, the user needs to display the phone
Cocos2d-x3.3-based DrawPrimitivesTest analysis, drawprimitivestest1. Code List2. VisibleRect class
This class is the tool class that comes with test-cpp.
3. HelloWorldScene class
Same as the previous Code
4. DrawPrimitivesDemo Class 1). h file
Use of LayerMultiplex for Cocos2d-x, layermultiplex1. Usage
It is used to manage Layer switching without switching scenarios.
2. Code 1). h file
#include "cocos2d.h"#include "ui/CocosGUI.h"#include "VisibleRect.h"USING_NS_CC;using namespace
001-Cocos2dx-2.1.3 environment construction-windows and cocos2dx Environment Construction1. Install vs20122. Download cocos2dx2.1.3, decompress the package, and install the vs template.The installation method should be in the dos of cmd, cd to this
Android SIM Switch function and ConfigurationSIM Switch feature is a feature developed and evolved from the Smart 3G switch feature in the LTE version;MTK dual-card dual-to-single-pass version only has one 3/4G Protocol, so only one card can be camp
Communication principle between Android threads
To understand the principle, read the fucking source1. Start with HandlerThread.
HandlerThread is a class provided by the android system. It inherits the Thread and is a Thread. See the run method.
Android setting option development and custom Preference stylesA complete Android Application should provide options (or preference settings, etc.) so that users can set the APP's representation, such as whether to join the user experience plan, or
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