Push him to the welcome pageWelcome to the interface to do a good job. The most important thing is that when you perform network connection and login verification, you will be prompted "the connection is in progress. Please wait... "and" logging in..
For multi-screen adaptation in Android, you can place layout files in the layout_hdpi/layout_mdip/layout_ldpi/layout directory.
If a big screen mobile phone is adapted, the adaptation sequence is layout_hdpi-> layout_mdpi-> Layout-> layout_ldpi;
Efficient Android development:
Principles: 1. Do not do unnecessary things; 2. save memory usage as much as possible
Avoid creating objects as much as possible
Use your own method,
Such as string. indexof (), String. lastindexof (),
The purpose of this article is to simplify the standard features of Android apps, such as registration, login, password forgotten, and logout.
The simplified method is to verify the mobile phone, mobile phone card, or mobile phone and mobile phone
Model
Network Used
Firmware Version
Home screen resolution
Main Screen Size
CPU
Body memory
Google G5
Unicom 3G, WIFI
For android 2.3
480x800 pixels
3.7 inch
Qualcomm snapdragon QSD8250 1 GHz
5
The first is the Layout file:
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
the empty view or the list view. -->
We assume that two applications are A and B.
My intention is to create Aidl in application B, implement the methods in aidl here, and then remotely call in application:
Okay: I will first create B Application: package com. king. android.
Although relatively simple, I 'd like to mention the main content.
Use of Intent
IntentYou can start an Activity., You can also start a service,You can also initiate a broadcast.
Activity startActivity (), startActivityForResult ();
Service
Serivce components:
First, you must inherit from Serivce to implement the methods in its life cycle. Then, you must declare the In AndroidMainfest. xml before using it.
You can call startService to start a Service, bindService to bind an existing
Introduction:
IntelliJ IDEA supports the development of applications running on mobile phones, so it can also run in the Android operating system. In addition to the common code prompting assistant function, this IDE allows you to test the Android
Android open-source project categories for everyone to learn: kernel and Android read comments (1) collect reports
A collection of open-source Android projects for you to learnAndroid development will bring about a new wave of popularity. Many
Positioning on android
Recently, I am working on positioning related things to sort out and share my knowledge.
1. Positioning includes three types: Network, base station, and GPS
2. Either way, the core of positioning is to obtain the longitude and
1. How to refresh the View?2. What is the difference between DDMS and TraceView?3. What should I do if the activity is recycled?4. How to introduce C language in Java?Answer1. View can call the invalidate () and postInvalidate () Methods to refresh2.
I. Android coding specifications
1. the java code does not contain Chinese characters. A maximum of Chinese characters can appear in comments.
2. Local variable naming and static member variable naming
It can only contain letters. The first letter
Today, when I lock the screen of an Android phone, that is, only unlocking can enter my mobile phone. Without unlocking, I cannot enter my mobile phone. I made a timer to regularly wake up my unlock interface, below is the demoPackage com. gfive.
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