Current company project needs, a main app, need to open some small apps, these small apps are integrated unity, but still Android program (all small app package name is known).Did not do before, query the implementation method, in fact, is quite
1. The company does a QR Code barcode scanning project, encountered a QR code scan is very good recognition, bar code scanning a little slowWorkaround: Device magnification focal length (perfect solution) // acquisition of camera equipment
Com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:Process ' Command '/ Library/java/javavirtualmachines/jdk1.7.0_79.jdk/contents/home/bin/java ' finished with Non-zero exit value 2Solve:Added in
The way is to install tcpdump on the Android machine, and then through the-w parameter to the capture packet to local, and then the caught. cap file to the PC with Wireshark to analyze. There are a lot of steps here, and the efficiency is very low
When writing an Android application, you will often encounter a need to exit the current acitivity, or exit the application directly. My previous general operation is to press the back key, or directly press the home key directly to return, in fact,
Yarn provides a web interface to see applications historical data, yarn Web UI list data:This part of the data presentation is the front page, meaning, for example, 2w of historical data, will be loaded all at once, the first very slow, follow-up
After knowing the basic activity life cycle, we are able to do a good job of doing business on an activity. But this is not enough, because Android through the task stack to save the entire app activity, reasonable scheduling task stack to provide a
Now basic all applications are associated with the picture, which is bound to involve uploading the download picture, and the user's traffic has not been liberated, so the picture can not be too big, we know that the iphone a photo often a few m, if
"Onmeasure"A custom control that inherits view directly needs to override the Onmeasure method and set its own size when wrap_content, otherwise using wrap_content in the layout is equivalent to match_parent.@Overrideprotected voidOnmeasure
(Refer to IOS 52 Tips Learning Notes Chapter II objects, messages, run-time) object partsThere's a classic question about copy. "Most of the time NSString's properties are copy, so what's the difference between copy and strong?" or "Why NSString
Storing data in the Sharedpreferences1, define the Sharedpreferences object, through the Getsharedpreferences method to getSharedpreferences sp = getsharedpreferences (file name, mode);//mode is usually mode_private2. Get editor editor for the
Using Gradle to compile the C + + code Step Declaration NDK tool class, internally defined native methodCom.coca.firstdemo;/*** Created by Administrator on 2016/6/6.*/jnishareutils { Getlogcount (String params) ;}Navigate to the project's app
call and apply are basically a difference in the meaning that the second argument to the arguments can be any type, and the second argument to apply must be an array or a single-byte.Call Method:Syntax: Call (Thisobj,object)Definition: Invokes one
Using IntelliJ idea to develop Android, about Gradle and Android Gradle plugin easy to confuse places, make the following record:A. build.gradle file has two places, one is the whole project, one is in the app module, this good understanding, is the
In an ARC environment, a third-party framework is used, but the framework is MRC (non-ARC), what do you do?
Use Xcode to convert the MRC project to arc, but the success rate is very low
(Menu-edit-refactor-conver to Object c ARC ... )
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