1. Requirement DesignCreate a login table in the Android database, including the password and account fields.
Implement two activity applications, one of which provides two in-force boxes, respectively entering the password and account, and
Author: Sun Dongfeng 2010-01-07 (source must be noted for reprinting)
In my previous article "html" target = _ blank> two hours proficient in Android Development ", the author explains how to use Android interfaces to develop the Wrap package of j2e-
// ================================================ ====================================// TITLE:// How to build a Windows Android C ++ Development Environment (1)// AUTHOR:// Norains// DATE:// Thursday 14-rjl-2011// Environment:// Cygwin 1.7.9//
In android, sometimes we don't need to use the local SQLite database to provide data. More often, we need to get data from the network. How can Android get data from the server? There are many types.
I. Methods for obtaining data based on Http
Preface
This chapter is the developer Guide/Developing/Tools/aapt, translated from "Mobile cloud _ 文bin", welcome to its blog: "http://blog.csdn.net/caowenbin ", thanks again for "Mobile cloud _ Wenbin "! We look forward to your participation in
In order to develop android applications, it is too troublesome to find the sdk has no source code during development. The following describes how to download the source code and configure it.
Git is required to download the source code. Download a
Friends familiar with Windows programming may know that Windows programs are message-driven and have a global message loop system. Android applications are message-driven, and the message loop mechanism should also be provided. In fact, Google
During the project development process, we will inevitably use our own custom VIEW Controls. Then, if needed, we will directly copy them to the corresponding project, although this is a solution to the problem, it is not very good after all.
The
We have two methods (start and bind) to start a Service. The Service life cycle of each method is different. This post mainly describes start service.
There are only three stages in its lifecycle: onCreate, onStartCommand (replacing the original
Introduction:-----------------------------To compile C \ C ++ code into a SO file, you still need an Application. mk file.This document describes how to use the Application. mk syntax of the local module required by your Android
Save a media file
Media files such as images and videos created by users should be stored in the external storage directory (SD card) of the device to save system space, and allow users to access these files outside of the device. There are many
You can obtain WIFI information in androi through the Wi-Fi Service provided by the system.
[Java]WifiManager wifi_service = (WifiManager) getSystemService (WIFI_SERVICE );WifiInfo wifiInfo = wifi_service.getConnectionInfo ();
Among them, WifiInfo
Create a Content Provider
The content provider Manages access to the central data warehouse. You implement a provider that implements one or more classes in an Android application, and adds some elements in the manifest file. You implement a
This example introduces the simplest usage of WebView and shows HTML links. In fact, WebView has more functions than that. You can basically use WebView to implement your own browser.
WebView uses WebKit to implement front-flip, back, zoom in, zoom
I wanted to learn 3d a long time ago, but I never had time. Recently, I was able to learn 3d;Write the voice today:There are two types of sounds in the game: Background Music and action music;What is the difference between them: background music,
Write an Acitivity, as shown below:Key Aspect 1: block the HOME button and set FLAG_HOMEKEY_DISPATCHED in onAttachedToWindow.Key Aspect 2: shield the buttons except Power and Home, overwrite the dispatchKeyEvent method, and return true.Public class
1. Concepts and extensionsVideoView is a media playback display and Control control provided by the android system. Its structure is as follows:Prototype: VideoView extends SurfaceView implements MediaController. MediaPlayerControlClass
In android project development, there will be real conflicts between the later feature expansion enhancement and the main program code change, that is, the flexibility of the program. The linux platform's security mechanism, coupled with the special
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.