The previous article describes the communication between the Android phone and the BLE terminal, while the most common ble terminal should be the ibeacon base station advocated by Apple. Ibeacon technology based on BLE, it is characterized by the broadcast of external messages, mobile phones do not need to connect to the Ibeacon base station can also obtain its information, is mainly used to do indoor positioning and marketing information push, in the
Android Push principle
Since the recent project involved Android push, I saw something about Android push, and we know that the Android push can come down to 3 kinds of implementations:
1, POLL, pull. The general idea is to send the request to the server regularly, and then let the server return the information itsel
RAR for Android is an old WinRAR free Android tool that allows you to compress and decompress files on Android devices.
Via @Xang Azu
WinRAR, who ranks ahead of the piracy rate in China, has released a free decompression tool to support RAR, ZIP, TAR, GZ, BZ2, XZ, 7z, ISO, ARJ formats.
RAR for Android also support
Android Toast introduction-android learning journey (), toast-androidToast Introduction
Toast is a very convenient message prompt box that displays a short message prompt on the desktop. There are two features:1. The message does not obtain the focus.2. It will automatically disappear in a period of time.Toast generation steps
1. Call the constructor or the static method makeText () to generate a Toast.2. C
My Android advanced tour ------> Android uses Sensor (Sensor) to implement the level function.
The level here refers to a more traditional bubble level, filled with liquid in a transparent disc, with a bubble in the liquid. When one end is tilted, this bubble will float at one end.The first parameter returned by the Direction sensor is used to implement a compass application. My
Android preliminary: Communication Technology Introduction Android introduction, Android Communication
Communication Technology:
1G analog system can only be used for voice calls.
2g gsm, CDMA sends and receives text messages and emails.
2.5g gprs, EDGE access to wap network data. (pictures, wallpapers, text information)
3g wcdma (China Unicom), CDMA 2000 (Ch
Android notes-Android architecture and android ArchitectureI. Android system architecture
The Android system architecture consists of four layers: Linux kernel layer, system library layer, application framework layer, and application layer.
Figure 1 architecture of the
Complete permission settings for Android and complete permissions for android
Android. permission. ACCESS_CHECKIN_PROPERTIES // allow read/write access to the "properties" table in the checkin database. You can modify the value and upload it to android. permission. ACCESS_COARSE_LOCATION // allows a program to access t
Android-Construct Secure Android client requests to avoid illegal requests. android Client
Today, we use examples to describe how to construct secure Android client requests to avoid illegal requests:
Server code:
Code 1-tool class:
Package com. ghj. packageoftool; import java. security. messageDigest; import java. se
)
2
Onmeasure
Measure the size of the view (don't care for the moment)
3
Onsizechanged
Determine the view size (record the width of the current view)
4
Nlayout
Determine the child view layout (No child view, no care)
5
OnDraw
Actually draw the content (draw a pie chart)
6
Provide interface
Provides an interface (provides an interface for setting data)
The code is as follows:
public
A related download
(1) Java JDK Download:
Enter the page: http://java.sun.com/javase/downloads/index.jsp (or click to download directly) as follows:
Select the Download jdk to download only the JDK, without downloading the JRE.
(2) Eclipse download
Enter the page: http://www.eclipse.org/downloads/(or click Download: bt download http download) as shown below:
We chose the first (that is, the Eclipse IDE for Java EE developers)
(3) Download the Andr
[Android learning notes] Android Studio development environment under Mac, android learning notes
For mobile terminals, I have been developing iOS for the past, and I have never used Java. However, it entered the finals of the Google Android national mobile Internet innovation challenge for college students (entering t
[Android] Android mobile app data to SD, android mobile app
[Android] Android mobile app data to SD
You can specify it in the menifest file of the application. The
...>
Android: installLocation has two other property values: "p
[Development Diary of Android in a row from scratch] (13th) -- Analysis of Android controls, and introduction to android
Android controls are derived from android. view. view class, in android. the widget package defines a large n
In the previous article, I showed you how to create a custom original-android.jar that contains both internal APIs and all classes in the hidden APIs.
The next step is to modify the existing Android platform (sdk_dir/platforms/platform-x/Android. Jar ). You can simply replace Android. jar with the original-android.jar created in part 1, but with unlimited use of
Android learning notes ①-Basic installation of android tools, Android
Android has been out for a long time, and there are a lot of online tutorials. If you are afraid of forgetting it later, you can learn the knowledge shared by the online experts and record it. If you can help others, that's better!
In view of the cur
Android notes-data storage in Android (3), android notes
The Android system integrates a lightweight database:SQLiteTherefore, Android supports databases very well and every application can use it conveniently. As an embedded database engine, SQLite is applicable to the acce
Step three, download and install ANDROIDSDKIn the first two steps, we have configured the JDK variable environment and installed Eclipse, and after these two steps, the Java development environment is ready, if we just develop a common Java application, then here we are. But if we're going to develop an Android app through Eclipse, we'll also need to download the Android SDK (software development Kit) and i
Introduction to the basic components of the android-Android Application (5): four main components of androidActivity
Activity is the most basic module. We become an activity. An activity is usually a single screen. Every activity is implemented as an independent class and inherits the base class of the activity. Display the user's view in the implementation class of the activity and process the event.
In
•
Android: theme = "@ Android: style/theme. Dialog" shows an activity as a dialog box.•
Android: theme = "@ Android: style/theme. notitlebar" does not display the application title bar•
Android: theme = "@ Android: style/theme. no
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.