First case
Locate the project item on the Eclipse toolbar
Click before Build automatically to make it in the √ state.
Or just click on Build all (shortcut keyboard is ctrl+8)
The second caseMany people encounter the problem of cannot be resolved to a variable when they create a new project, they can't get the best solution in the first time.The root cause is that the R.java file is not automatically generatedAbout the general solution on the Internet a lot of people have co
1. The default SDK environment is caused by inconsistencies with the introduced environment.2. The SDK has errors or the SDK is not found.2. The target=android-8 defined in the Default.propites file is caused by an inconsistency with the eclipse settings.3. There is an error in the project, the XML file is wrong, the resource file name is illegal: there are uppercase characters, the number begins, there are spaces, and so on.1, when you set up the pro
Android vcard uses the sample to generate the VCF file
When we back up the phone contacts, when exporting to the SD card, a VCF file is generated in the SD card to save the contact name and phone number.
The VCard specification allows for public exchange of personal Data exchange (Personal Data Interchange PDI) information, which can be found in traditional paper business cards. The specification
Generate JKs FileEnter the path to the JKs file to be born, open the Windows command Prompt (CMD)Keytool-genkey-alias DCT -keyalg rsa-keysize 1024-keystore test2.jks -validity 365The information for this signature file can be configured in Build.gradle in the Andorid application
Get the thumbprint information stored in the JKs fileEnter the path to the Jsk file store, and then enter:Keytool-list-v-keystore Test2.jksEnter the password for the KeyStor
As follows:The production process is very simple is to add a logn icon in the original two-dimensional code image, the code of the comments written in detail, it will not give you a long-windedPackage Com.example.day44_02_qrcodewithlogin;import Java.util.hashmap;import Java.util.map;import Android.app.activity;import Android.graphics.bitmap;import Android.graphics.bitmap.config;import Android.graphics.bitmapfactory;import Android.graphics.canvas;import Android.os.bundle;import Android.view.Menu;
(True); Mtemppaint.settextsize (50); Mtemppaint.setstrokewidth (3); validatecode = new string[validatecodelenght];//Verification Code}public string[] GetValidateCode () { return validatecode;} public void Setvalidatecode (striNg[] validatecode) {this.validatecode = Validatecode;} public void OnDraw (canvas canvas) {canvas.drawcolor (Color.green);//Draw Verification Code final int height = getheight (); final int width = GetWidth (); int dx = 30;for (int i = 0; i Simple XML layout:For simple fun
Android quanzhi A10 (2.3.4) Development 2 documentation details:Http://www.a10bbs.com/forum.php? MoD = viewthread tid = 504 extra =
Generating image files
Under the project directory android2.3.4, lichee, and tools,
We have compiled two parts: Lichee and android2.3.4. Now we can package the image file.
1. CD android2.3.4 enter this directory;
2. Execute the packaging command: mkimg
3. The package is complete,
Finally, we can find the
As has the ability to set up code templates, easy to use. Similarly, the code style of the singleton class is uniform, except for the class name. So it's more convenient to use templates.
Create a new template in Editor-live templates in Settings and paste the template code for the singleton.
This is a custom field and gives it a value. The steps are as follows:
You can then define a shortcut mode for the template.At this point, the shortcut template is ready to use, but
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.