Error generating final archive: Debug certificate expired on xxxxxx (date) (there is a cross on the android Project)

Today, I encountered a very strange problem. The Android project I wrote was correct. After opening eclipse this time, there was a big red cross on the project: View DetailsProgram, No errors, only a few warnings. Open Window-show view-problems,

Eclipse3.6 solutions for developing Android regular cards

The new version often gets stuck when it comes to smart prompts. There are many ways to solve this problem, but many do not work. Today we finally solved the problem:     Http://www.cnblogs.com/zenghanxi/archive/2010/08/13/1799229.html   The

Android shares information with Intent

Basic sharing methods: Intent intent = new intent (intent. action_send); // starts the sharing and sending attributes. Intent. settype ("text/plain"); // share the data type sent Intent. setpackage (packagename ); Intent. putextra (intent.

1. Android development based on openfire + smack [architecture]

1. What is XMPP? Extensible messaging and presence protocol, in simple terms, is a protocol for sending and receiving and processing messages, but the messages sent by this Protocol are neither binary nor strings, but XML.2. What is Im? Instant

Android asynchronously loads image thumbnails

Create an asyncloadedimage class that inherits the asynctask asynchronous loading class and call the publishprogress method to update onprogressupdate to store the thumbnail information to the adapter. Listener adapter change to asynchronously load

Android calls the camera function

See examples of Android photo taking, video recording, and Recording Code   Public class mycameraactivity extends activity {/** called when the activity is first created. * // @ override public void oncreate (bundle savedinstancestate) {super.

Android uses tablelayout layout to stretch the width

Layout File Layout effect: Obviously, this does not meet our expectations. The following example uses Android: stretchcolumns to automatically stretch Here we simply add an attribute Android: stretchcolumns = "*" to tablelayout, indicating that

Save configuration document for Android

Public class test extends activity implements onclicklistener {private edittext etname; @ override protected void oncreate (bundle savedinstancestate) {super. oncreate (savedinstancestate); setcontentview (R. layout. main); etname = (edittext)

Android SD card read database

Add permissions in Manifest first Then add the method in mainactivity Sqlitedatabase dB; private final string database_path = android. OS. environment. getexternalstoragedirectory (). getabsolutepath () + "/vote"; private string database_filename =

In Android, the camera is called and auto-focus is taken.

Code and example:First, add the following content to the manifest file: To allow the program to obtain the permission to use the camera and auto focus function. Cameratestactivity. Java Import Android. App. activity;Import Android. OS. Bundle;Import

Android listview layout (inheriting listactivity and using arrayadapter)

    Using listview and arrayadapter layout is the simplest of listview layout. First, we will create a component to display data, such as main. xml      The activity code is as follows:   Package cn.com. android. GRID; import android. app.

Android-Image Processing Method

Package com. IMG. util; Import Android. Graphics. Bitmap;Import Android. Graphics. bitmap. config;Import Android. Graphics. Canvas;Import Android. Graphics. lineargradient;Import Android. Graphics. matrix;Import Android. Graphics. paint;Import

Android simpleadapter displays listview and gridview

Simpleadapter, as a dataset, mainly fills the listview and gridview containers with data and summarizes several filling methods. The principle is very simple. You can directly look at the code and 1. Single Row display of listview(Simple_list_item_1

Android sliding effect (1) -- viewflipper

ViewfilpperIt is a view container class officially provided by Android. It inherits from the viewanimator class and is used for page switching. You can also set the time interval for automatic playback.Viewanimator inherits framelayout, So multiple

Android sliding effect (II) -- Gallery

Gallery is a view container class officially provided by Android. It inherits from the absspinner class and is used to achieve page slide effect. From the inheritance relationship above, we can see that the absspinner class inherits from

Android sliding effect BASICS (4) -- gallery + gridview

The Android system comes with two controls: the gridview and the gallery, which are displayed on the gridview mesh and browsed by gallery. The two controls can be combined to truly achieve the gallery browsing image effect. In this example, two

Android GPS Development

Androidmanifest. xml Main. Java Package com. mrsoft. mrgps. App. Mr;Import Android. App. activity;Import Android. App. activitymanager;Import Android. App. alertdialog;Import Android. App. alertdialog. Builder;Import Android. content.

Differences between margin and padding in Android

Easy to understand:MarginIs the outer border,BorderBorder,PaddingIs the inner border. If the distance between the top, bottom, and left is different, you can set it using the following attributes. Margin: Android: layout_margintopandroid:

Usage of sharedpreferences in Android

1.SharedpreferencesIntroduction To save software configuration parameters, the Android platform provides a sharedpreferences class, which is a lightweight storage class and is especially suitable for saving software configuration parameters. Use

Enable android to support custom TTF Fonts

The so-called no picture, no truth, first look:   The Java code is as follows: Package YC. Android. fonts;Import Android. App. activity;Import Android. Graphics. typeface;Import Android. OS. Bundle;Import Android. widget. textview;Public class

Total Pages: 2774 1 .... 1527 1528 1529 1530 1531 .... 2774 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.