2014 on the first day of the New Year, the android development environment is fully upgraded. Mainly do two things: 1. I switched the IDE from eclipse to Android Studio (and removed a new link with IBM Rational, which is somewhat sentimental.
BKJIA headlines: similar to Android mobile apps, Windows Phone 7WP7) apps are also written in hosting languages. Android uses Java and Windows Phone 7 uses C #, each of them provides a wide range of development libraries. Many differences between
BKJIA Translation: Two tutorials in this series will guide developers in developing search functions using the Android search framework. In the first article, this article will allow developers to understand the Android search framework. In the
The last time I briefly introduced the use of AudioRecord and AudioTrack, this time I used SurfaceView to implement an Android mobile phone analog signal oscilloscope (PS: I have also talked about the mobile phone oscilloscope OF THE j2_version
Android supports playing audio in two ways: SoundPool and MediaPlayer. The former is suitable for scenarios with short promotion but high response speed requirements (such as explosion in the game), while the latter is suitable for cases with low
Now, we can modify the project in the previous section. In this way, the option menu will pop up when you press the menu key. 1. Use the project in the previous section and add some code in MenusActivity. java. [Java]Public class MenusActivity
Today we will introduce # afinal # To operate the android database sqlite.
# Afinal # is an android orm and ioc quick development framework, which includes four functions: Space id binding and event binding; display of network images (including a
In the past two days, we have started to prepare the source code compilation. In this case, we will record the process so that we can easily back up the source code and hope it will be helpful to the later users.
Attention: the environment in this
The general method for devices of different Android versions to correctly obtain the screen resolution when talking about the android screen resolution, we all know, but how to correctly obtain the screen resolution? Does android2.2 \ 2.3 \ 4.0 \ 4.1
Open a PDF file with the specified software. In my project, open it with AdobeReader.
So
Public Intent getPdfFileIntent (String path ){
Intent I = new Intent (Intent. ACTION_VIEW );
I. addCategory (Intent. CATEGORY_DEFAULT );
I. addFlags
A thumbnail ThumbnailUtils class has been added to the system since Android 2.2, which is located in the framework's android. media. the location of ThumbnailUtils can help us obtain thumbnails of video or image files in the system from
When a TouchEvent occurs, the Activity first passes the TouchEvent to the top-level View. The TouchEvent first reaches the dispatchTouchEvent of the top-level view, and then is distributed by the dispatchTouchEvent method. If the dispatchTouchEvent
After several days of research and testing, we finally solved the positioning code for the base stations of China Unicom 2G, China Mobile 2G, and China Telecom 3G. The team only has the standard of these machines. Let me give you a detailed
Bus Transfer Route Search and TransitOverlayHere only provides java code, xml code reference: Android learning notes preliminary study Baidu map http://www.bkjia.com/kf/201203/121875.html
Important code:
[Java] MKPlanNode start = new MKPlanNode ();//
When Android 2.3.7.r1 presses the menu key, the video is stopped. Press the menu key when you change the video to do not process it. The following modifications can be made:
In packages/apps/CameraOpen/src/com/mediatek/camera/VideoCamera. java
In
Contact class public static class Contacts implements BaseColumns, ContactsColumns, ContactOptionsColumns, ContactNameColumns, ContactStatusColumns
There are 17 data items in the Contacts table:Variable name column name remarks_ ID _ idLOOKUP_KEY
The alarm clock is the most common in life. In Android, you can use AlarmManager to implement the alarm. The AlarmManager class is used to set the specified time to be completed at a specified time. AlarmManager will execute these events through the
Sometimes you may find errors due to insufficient memory, mostly because the Image is too large. The following is a simple and effective method:
BitmapFactory. Options opts = new BitmapFactory. Options ();Opts. inSampleSize = 4;Bitmap bitmap =
OpenGL package
Once GLSurfaceView and GLSurfaceView. Renderer class are used to create a View container for OpenGL, the following classes can be used to call OpenGL APIs:
1. OpenGL ES 1.0/1.1 API package
Android. opengl ------ this package provides
Use ValueAnimator to create an animation
The ValueAnimator class specifies certain types of animation values during animation playback by setting int, float, or color values during the animation process. Obtain a ValueAnimator object through a
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