Http://www.cnblogs.com/feisky/category/225793.html
Android app inventor for Android initial contact Abstract: Today I received a registration confirmation letter from App Inventor for Android. I can use my Gmail to log on to App Inventor. As a result, I made several small examples according to the manual. App Inventor is very useful when used, saving a lot of programming and quickly building applications. However, there are still many restrictions on App Inventor, such as building only single-page programs and not suitable for building complex applications. Design the interface in designer. Designer... read the full text
Posted @ 2010-08-14 feisky read (642) | comment (2 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1799504 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Abstract: The Android Application Package file in APK format. Every application to be installed on the Android platform must be compiled into a single file with the suffix .apk, which contains the binary code, resources, and configuration files of the application. The APK file is actually a zip package and can be unzipped. You can use zip to unbind the *. APK file. The following is a sample helloword APK file. |-androidmanifest. xml |-m... read the full text.
Posted @ 2010-08-05 feisky reading (1523) | comment (6 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1793493 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
How to perform android unit test summary: how to perform android unit test menifest. add in XML: <Application>: <uses-library Android: Name = "android. test. runner "/> <Application> Add: <uses-Permission Android: Name =" android... read the full text
Posted @ 2010-07-23 feisky read (202) | comment (2 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1783826 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Eclipse -- Java. Lang. outofmemoryerror: permgen space Abstract. I spent a lot of time searching on the Internet and found that many of my friends experienced similar situations. I asked for help on the Internet. However, all I could do on the Internet was to modify eclipse. INI file to increase eclipse memory. I tried it and found it was useless. Today, I died again, but a common error occurred. The general idea is: permgen space causes memory overflow. I can't help but search for the Internet...
Posted @ 2010-07-23 feisky reading (200) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1783780 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Health gadgets-body fat rate self-testing Abstract: Health gadgets-body fat rate self-testing considerations now there are a lot of health websites on the Internet, of course, also launched a lot of health self-testing tools. By measuring and measuring height, weight, age, and measurements, you can gain a comprehensive understanding of your health metrics, so as to provide a reference for diet and exercise. Some websites (neighborhood health network) even have launched "smart catering" tools, that is, personalized catering results can be obtained through scientific and reasonable nutrition Computing Based on individual health conditions and weight objectives. Body Mass Index (BMI) BMI (body mas...
Posted @ 2010-07-21 feisky read (899) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1782368 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android menus Abstract: 1. Options menu. You can open the Options Menu by pressing the menu key on your phone. The options menu can display up to six menu items at the bottom of the screen. It is called the icon menu. if more than six menu items are added, they are displayed through the "more" menu item, which is called the expanded menu. when the Options menu is opened for the first time, the system will call the oncreateoptionsmenu (menu men... read the full text
Posted @ 2010-07-12 feisky read (184) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1776014 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android Message notification Abstract: Android supports toast and icationicationmanager notification methods. The former is equivalent to a timed closed dialog box, and the latter is a message displayed on the status bar. Both toast and notification can be canceled at any time. Toasta toast is a view containing a quick little message for the user. The toast class helps you crea... read the full text
Posted @ 2010-06-14 feisky reading (977) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1758358 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android service learning notes Abstract: 1. What is a piece of code running in the background. It can run in its own process, or in the context of other application processes, depending on its own needs. Other components can be bound to a service and called through Remote Procedure Call (RPC. For example, in the Media Player service, when you exit the media selection user interface, you still want the music to continue playing. In this case, the service is used to ensure the sound when the user interface is closed... read the full text
Posted @ 2010-06-14 feisky reading (828) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1758336 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Abstract: There are two methods to send text messages: intent-startactivity, The URI data format is "smsto: num ", the called action is intent. action_sendto: URI uri = Uri. parse ("Maid: 5554"); intent it = new intent (intent. action_sendto, Uri); it... read the full text
Posted @ 2010-06-10 feisky read (269) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1755914 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Warning: application does not specify an API level requirement! Abstract: Warning: application does not specify an API level requirement! [16:51:33-tank] Warning: application does not specify an API level requirement! [16:51:33-tank] device API vers... read the full text
Posted @ 2010-06-02 feisky reading (207) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1749873 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Intent instance Summary: 1, show match (explicit): intent I = new intent (test. this, testb. class); this. startactivity (I); 2, implicit match (implicit): Implicit match. First, match the intent values: Action, category, data/type, and component. If you enter componet, It is the test. Class in the above example.) This forms a display... read the full text.
Posted @ 2010-05-28 feisky reading (122) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1746389 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Folder failed to be renamed or moved on SDK instal Abstract: folder failed to be renamed or moved on SDK instal processing method when you update all in Android-SDK-Windows, error folder failed to be renamed or moved ..., goole: 1. Copy the tools directory to a new directory named tools-copy. At this time, in Andro... read the full text
Posted @ 2010-05-28 feisky reading (286) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1746392 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Send a text message to the android simulator. Abstract: 1. Start Android emulator and check the title bar to find the port. Generally, it is Android emulator (5554), of which 5554 is the port. 2. Open the command line and enter Telnet localhost 5554. The program will connect to the android console and return the android console: Type 'help' for a list of commandsok analog phones to enter the GSM <CALL | ac...
Posted @ 2010-05-28 feisky reading (270) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1746388 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android simulator Internet Settings Summary: Windows, After configuring the adroid environment variables (such as adding D:/android-sdk-windows-1.0_r1/tools to the system variable path), in the command line Window input: after the emulator starts the android simulator, enter: ADB shell to enter the ADB shell mode: Write the network connection proxy settings to the configuration database, if your Internet proxy IP address is 10.193.xx.xx: sqlite3/data/COM. android... read the full text
Posted @ 2010-05-27 feisky read (439) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1745119 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Use bundle to transmit data summarization between activities: Use intent to start another activityintent shownextpage_intent = New intent (); shownextpage_intent.setclass (usingbundel. this, nextpageactivity. class); startactivity (shownextpage_intent); when switching between multiple activities... read the full text
Posted @ 2010-05-27 feisky read (116) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1745113 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Reprinted: Nexus One dedicated Android 2.2 manual update download Summary: yesterday, a foreign website found that Google released the nexusone dedicated android2.2os, previously, only nexusone that does not use a self-made system to obtain root permissions can be used, however, the root nexusone can be installed on a foreign website just now (but the settings and materials before the mobile phone will be cleared). The nexusone after android2.2 is installed quickly. The Installation Method of nexusone without root is as follows: 1. Download the 2.2 upgrade file 2. Change the file name to updat... read the full text.
Posted @ 2010-05-26 feisky read (911) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1744687 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Eclipse cannot start JVM terminated. exit code =-1 Abstract: Eclipse. the memory settings in ini are too large. the configuration of INI is as follows:-showsplashcom. genuitec. myeclipse. product -- launcher. XXMaxPermSize512m-vmargs-Xms256m-Xmx512m-Duser.language = en-XX: permsize = 256m-xx: maxpermsize = 512m-xms256m changed to-X... read the full text
Posted @ 2010-01-24 feisky reading (620) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1655202 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android map development basic knowledge learning note Abstract: register the android map API key run: keytool-list-keystore ~ // Android/debug. keystore uses the obtained MD5 code to register apimiit with http://code.google.com/intl/zh-cn/android/maps-api-signup.html. Reference: http://www.cnblogs.com/feisky/archive/2010... read the full text
Posted @ 2010-01-20 feisky read (2768) | comment (1 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1652230 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android mapview application apikey Abstract: 1. first, you need to obtain your debug keystore location: Open eclipse ---> Windows ---> preferences ---> Android ---> build to view the default debug keystore location. Mine is C: /Documents and Settings/myname /. android/debug. keystore 2. run: keytool-L... in cmd... read the full text
Posted @ 2010-01-17 feisky read (761) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1650083 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android digital signature learning note Abstract: In Android systems, all applications installed in the system must have a digital certificate, this digital certificate is used to identify the author of an application and establish a trust relationship between the application. If the protectionlevel of a permission is signature, only applications with the same digital certificate as the program where the permission is located can obtain the permission. Android uses the digital certificate mechanism of Java to add a digital certificate to the APK.
Posted @ 2010-01-17 feisky read (1936) | comment (2 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1650076 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android nine patch image and button background abstract: ninepatchdrawable draws a scalable bitmap image. Android automatically adjusts the size to accommodate the displayed content. In one example, ninepatch is used as the background. With the standard Android button, the button must be scaled to accommodate characters with varying length and kept in the Res/drawable directory of the project. If you are reading the full text from APK...
Posted @ 2010-01-16 feisky read (2096) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1649502 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android activity and intent mechanism learning note Abstract: In activity Android, activity is the foundation of all programs, and all program processes are running in the activity, activity has its own lifecycle (see lifecycle ). For activity, the key is to read the full text...
Posted @ 2010-01-16 feisky read (3554) | comment (1 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1649081 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android Network Connection processing learning note Abstract: In Android, network programming can be implemented in multiple ways: creating a URL and using urlconnection/httpurlconnection to create a URL using webview, and use urlconnection/httpurlconnection java.net. * The basic functions for accessing the HTTP service are provided below. The basic operations for using these interfaces include creating URLs and urlconnec...
Posted @ 2010-01-13 feisky reading (1272) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1646919 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android animation learning notes Abstract: for the implementation of animation, Android provides animation and introduces two animation modes in Android SDK: 1. tween animation: A gradient animation is generated by constantly performing image transformations (translation, scaling, and rotation) on objects in the scenario. frame Animation: it is an animation for converting images that are prepared in sequence. Next, let's take a look at the animation types provided by Android. Android Ani... read the full text
Posted @ 2010-01-11 feisky read (1944) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1644482 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Abstract: bitmap is the most commonly used resource in our development. After all, a beautiful interface is the most attractive to users. 1. bitmapdrawable or bitmapfactory can be used to obtain bitmap from a resource. Of course, you must first obtain the resource: Resources res = getresources (); Use bitmapdrawable to obtain the bitmap and use bitmapdrawable (inputstream is) to construct a bitma... read the full text
Posted @ 2010-01-10 feisky reading (1823) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1643460 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android drawable drawing learning note Abstract: how to obtain resource package in Res: Android. content. res main class: Introduction In resourcesandroid SDK: class for accessing an application's resources. class for accessing an application's resources. this sits on top of the asset ma... read the full text
Posted @ 2010-01-08 feisky reading (1537) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1642567 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android introduces third-party jar packages. Abstract: third-party external jar files can be used on the Android platform. In the eclipse development environment, third-party libraries can be used in only three steps. JAR file: 1. on the package explorer panel, right-click and choose Properties From the shortcut menu. select Java build path (Java build path), and then select the libraries tab. 3. press the Add external jars button and select JAR file... read the full text
Posted @ 2010-01-06 feisky reading (762) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1640727 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android UI event processing Abstract: On the Android platform, there are many ways to capture user-triggered events on the interface. The View class provides these methods. When you use various view views to layout the interface, you will find several common callback methods to capture useful UI trigger events. When an event is triggered on a view object, these methods are called by the system framework through this object. For example, when a view (such as a button) is clicked, The ontouchevent () method is called on this object, to capture and process events, you must inherit a class ,... read the full text
Posted @ 2010-01-05 feisky reading (923) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1639452 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
How Android draws a view Summary: when an activity receives a focus, it is required to draw its layout. The android framework will deal with this painting process, but the activity must provide its layout level root node. Painting starts from the root node of the layout. It is required to measure and plot the layout tree. Painting is processed by traversing the layout tree and rendering the view that intersection each of the failure areas. Correspondingly, each view group is responsible for requesting to draw its subview (via the draw () method) and each view is responsible for drawing its own. Because the tree is traversed sequentially, this means that the parent node is first drawn (that is, behind the screen), and then read the full text according...
Posted @ 2010-01-03 feisky reading (385) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1638459 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android style and theme Summary: Writing Android XML style and theme files is one of the factors that affect the beautiful UI of the entire program. Better Application style and themes can achieve a beautiful and unified interface, which is like CSS in Web development. Styles and themes are both resources and stored in the Res/values folder. What is style and theme? Style: a set of one or more formatting attributes. We can use it as a unit to use it in a single element of XML layout. For example, we can define... to read the full text.
Posted @ 2010-01-02 feisky reading (516) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1638038 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android debugging tool and method summary: logcat dump a system message log. These messages include the stack trace when the simulator throws an error. Android log is a log recording class used to write messages to log files on the simulator. If you run logcat on ddms, you can view messages in real time. Add several call log writing methods to your code. To use the log class, you only need to call log. V () (detailed), log. D () (Debug), log. I () (Information), log. W (... read the full text
Posted @ 2010-01-01 feisky read (660) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1637566 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android lifecycle Summary: In Android, in most cases, each program runs in its own Linux Process. When a program or some of its parts is requested, its process will be "Born; when this program does not have to run and the system needs to recycle the memory of this process for other programs, this process will "die. We can see that the lifecycle of an android program is controlled by the system rather than the program itself. This is different from our thinking when writing a desktop application. The process of a desktop application is also in other processes or user requests...
Posted @ 2010-01-01 feisky reading (662) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1637427 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Android process and thread Summary: When a component runs for the first time, Android starts a process. By default, all components and programs run in this process and thread. You can also schedule a component to run processes in other processes or threads to be controlled by manifest file. Component nodes-<activity>, <service>, <explorer>, and <provider>-all contain a process attribute... read the full text.
Posted @ 2010-01-01 feisky reading (686) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1637409 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Basic knowledge about Android Abstract: Android features: application framework enabling reuse and replacement of components Dalvik Virtual Machine optimized for mobile devices integrated browser based on the Open Source WebKit engine optimized g ..
Posted @ feisky reading (386) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1636377 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Ophone SDK Abstract: ophone introduction ophone is a basic software and system solution for mobile Internet terminals based on Linux. Ophone SDK is a software development kit designed for the ophone platform. It includes ophone API, ophone simulator, development tools, sample code, and SDK help documentation. Ophone SDK 1.5 is compatible with Android SDK 1.5. Therefore, developers can use both ophone APIs and Android APIs when developing ophone applications. O... read the full text
Posted @ feisky reading (151) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1635977 ')
} "Href =" http://writeblog.csdn.net/# "> edit |
Abstract: I started learning about Android in the past two days. I started learning about Android based on the open-source diveworkflow Android. I have basically figured out the basic knowledge of activity and XML interface layout, and basic knowledge such as bundle and intent. The following is a small program I made: Main Interface: About: Report: The interface does not do much, it only displays the following results, mainly to complete the bundle data transmission. Read the full text
Posted @ 2009-12-26 feisky read (413) | comment (0 ){
Open_link ('HTTP: // www.cnblogs.com/feisky/admin/editposts.aspx? Postid = 1633051 ')
} "Href =" http://writeblog.csdn.net/# "> edit |