1. Generate a secret key. The installation prompt is filled in step by step.
Keytool-genkey-keystore app_android.keystore-keyalg RSA-validity 50000-alias app_android.keystore
2. Get the sha1 password that needs to be entered in the previous step.
1. Start the simulator (my source code is SDK 2.1)
Emulator-AVD sdk_2_1
2. Modify and compile modules
In the source code, write the log where you need to verify and save
First go to the source packageMmm packages/apps/launcher if the prompt does
In many cases, we need to modify init. RC to meet different application requirements. Here we provide two ways to modify it:I. general modification methodIn the device/Samsung/smdkv210 directory, there are two files: init. RC and init_sdmmc.rc. If
Today, I converted an Email web version written with sencha touch into an Android mobile phone version.
Several problems were found.
One Eclipse plug-in is MDS.
MDS applaud
Thank you !!!
Reprinted Please note: http://blog.csdn.net/richway2010/archive/2011/06/29/6574987.aspx
[Bloggers: Dear bloggers, netizens, and everyone else! Welcome to this blog. You are welcome to have more exchanges, give more comments, learn from
Many APIs of the android SDK in my blog are hidden and cannot be used directly. However, the complete api library can be obtained by compiling the Android system source code. After compiling the Android system source code, all its API libraries
Imageview is a basic control that inherits Android. widget. imageview.
XML snippets
Android: layout_height = "wrap_content"Android: Orientation = "horizontal">ImageViewAndroid: layout_width = "wrap_content"Android: layout_height =
Intent Composition
Intent can contain action, data (expressed by URI), extra data (key/value map, key-value Pair), and the specified class name (become component name ). An intent must carry at least one of the preceding content.
Action. The Action
Pay attention to data storage and recovery during switchover
In the Android Study Notes (): During the switchover of the portrait screen, we have configured two layout methods, one for normal portrait and the other for landsapce. If there is only
1. Prepare the environment
For the simulator, you only need to press Ctrl + F12 to switch between the portrait screen (portrait) and landscape screen (landscape.
2. UI screen switching implementation
The following is a simple example ,.
In the previous example, we set getview () of the adapter to write the UI we want. However, in Object-Oriented Programming, we want to create our own listview, for example, the class name is com. wei. android. learning. ratingview, as long as we
Based on the security requirements, the application needs to permit access to the content provider or service provided by the Android system during installation. This is what permission claims in the AndroidManifest. xml file. Many examples have
Author: Xu jianxiang (netpirate@gmail.com)
Time: 2010/12/15
From: http://www.anymobile.org
Widgets: the earliest widgets are small window programs on the desktop of the PC; the pioneers on the Web seem to be Yahoo !; Of course, OPhone also has a
The browser plug-in of Android2.1 has two rendering modes. The definitions in android_npapi.h are as follows:
KBitmap_ANPDrawingModel = 0;
KSurface_ANPDrawingModel = 1;
(Bitmap mode and surface mode ).
During instance initialization (when newp of
I searched for N multiple solutions on the Internet, but many of them set the Log Level and usage to filter and view logs in logcat, however, the problem I encountered was that the simulator was okay, but the log information was not visible during
On a DPI mobile phone, 1dp = 1px; on a 320dpi mobile phone, 1dp = 1.5px
Android obtains the screen size and density
In some cases, we need to obtain the physical size of the screen of the Android mobile phone or Pad to facilitate the interface
By ho minggui (http://blog.csdn.net/hmg25)Reprinted please indicate the source
The previous examples are solid 3D models. Today, we began to attach the gorgeous textures to these models to make them look closer to the real objects we
Modified an Android app, such as launcher. then, a launcher.apk is compiled separately. How can I put this apk in the simulator to view the effect without building the entire image? The methods found on the Internet are directly adb install. However,
This article is very helpful for getting started with NDK. I just ran the code in my environment this evening.
My environment is Fedora14, and my Eclipse for java has also installed CDT to support C and C ++ development.
Previously said to upload
I haven't updated my blog for a while, so I was busy some time ago and failed to write my blog.
In the past few days, the company has made me familiar with the environment and prepared to give the company news next week. First of all, we need to
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.