Android development featured blog recommendations (12.3-12.9)

Source: Internet
Author: User
Tags libgdx
Silverlight C # delegation and events
We all know that C # has the concept of "interface". The so-called "interface" is to define a set of standards and then implement the methods in the implementation class. Therefore, "interface, is the abstraction of a group of classes ". In the same way, we can regard "delegate" as "method abstraction", that is, to define a method template. As for how this method is specific, it is implemented by the method itself.
Http://www.apkbus.com/blog-109557-45420.html

Android obfuscation file proguard. cfg
Proguard is a java code obfuscation tool. With proguard, even if you decompile your apk package, others will only see some ugly code to protect the code.
Http://www.apkbus.com/blog-56077-45418.html

Adding images and hyperlinks to TextView in Android
Add the image or text color or background color to a TextView:
Http://www.apkbus.com/blog-134192-45409.html

Android opengl es
In Android, the font is drawn and the canvas is used. The following code contains examples for me. Almost every line of code has comments.
Http://www.apkbus.com/blog-55942-45401.html

Android lock
Some people sometimes have such A requirement that Mr. A downloads A software, but the beauty of the software is too tempting and exposed, so he does not want others to know what software it is, at least don't want others to open the browser. This software has no lock, and anyone can open it. Is it swollen? How nice it would be to enter a password when you open it! As a result, applications like program locks are generated.
Http://www.apkbus.com/blog-66575-45396.html

Android mute photo
I have previously written some security issues after the android mobile phone root (see the article list at the end). I actually wrote it wherever I think. Today I 've sorted out the hard disk and found that I wrote a piece of code a year ago, so today we will discuss it together.
Http://www.apkbus.com/blog-66575-45394.html

Create, delete, modify, and query SQLite Databases
Many of my friends have just been familiar with Android and are not very familiar with the SQLite database in Android. Below is a small program that can create, add, modify, delete, and query databases in the program, the program is very simple and I hope it will be helpful for beginners.
Http://www.apkbus.com/blog-127136-45390.html

Android ViewFlipper
Screen switching refers to the switching on the screen of the same Activity. The longest case is that there are multiple pages in a FrameLayout, such as a system setting page and a personalized setting page.
Http://www.apkbus.com/blog-85308-45385.html

Easy-to-understand Android ROM customization and modification tutorial
Everyone has different requirements for mobile phones. Here I want to talk about my method of modifying ROM. Most of them are summarized in other posts in the forum, and some are my own experiences. Android mobile phones can be played at the following levels:
Http://www.apkbus.com/blog-83782-45383.html

Use the pull parser to read and write XML files
There are multiple methods for XML parsing, such as SAX and DOM. The xmlpull method is strongly recommended in Android. Xmlpull is also applicable to javase not only on Android, but in the javase environment, you need to obtain the class library, kxml2-2.3.0.jar, xmlpull_1_1_3_4c.jar that xmlpull depends on.
Http://www.apkbus.com/blog-83703-45382.html

Activity jump and value passing
Activity jumps and transfers values mainly through the Intent class. Intent is used to activate components and accompanying data.
Http://www.apkbus.com/blog-83703-45380.html

SQLite for data access
SQLite is a lightweight database and an ACID-compliant associated database management system. It is designed to be embedded and has been used in many embedded products, it occupies very low resources. In embedded devices, it may only need several hundred KB of memory.
Http://www.apkbus.com/blog-17085-45379.html

Libgdx camera Introduction
Camera is an important class in libgdx. The api is described as follows:
Http://www.apkbus.com/blog-20705-45377.html

Example of Android Fragment-based function
By studying Fragment in my free time recently, I tried to write a small Demo to put together the Fragment knowledge that can be used frequently during development, I have written this Demo to have a better understanding of Android Fragment, and I will be able to start a lot of related projects in the future. Next I will post a few images after implementation.
Http://www.apkbus.com/blog-83782-45375.html

Android memory viewing
Method 1: Running services can be viewed through the Activity of Running services on the mobile phone, and can be viewed through Setting-> Applications-> Running services.
Http://www.apkbus.com/blog-83591-45357.html

Android file read/write
Get the file from the raw folder in the resource and read the data (the resource file can only be read but cannot be written)
Http://www.apkbus.com/blog-17085-45351.html

SQL where 1 = 1 and 0 = 1
For example, if you query a page and have multiple options to query, you can also select and enter the query keyword on your own, the code is roughly as follows:
Http://www.apkbus.com/blog-120032-45350.html

How to generate a pop-up menu for ANDROID
Register a control so that it can generate the registerForContextMenu (this. gallery); // register the menu of a gallery space.
Http://www.apkbus.com/blog-83591-45343.html

Android menu (OptionMenu) Daquan build your own menu
Menus are one of the most common elements in the user interface and are frequently used. In Android, menus are divided into three types: OptionsMenu and ContextMenu) and SubMenu. Today it is OptionsMenu.
Http://www.apkbus.com/blog-130933-45337.html

Four android file storage methods
Context. MODE_PRIVATE: the default operation mode. This mode indicates that the file is private data and can only be accessed by the application itself. In this mode, the written content will overwrite the content of the original file, if you want to append the newly written content to the original file.
Http://www.apkbus.com/blog-56077-45333.html

SimpleCursorAdapter
In many cases, you need to display data in database tables in components such as ListView and Gallery. Although the Adapter object can be processed directly, the workload is huge. Therefore, the Android SDK provides an Adapter class dedicated to Data Binding: SimpleCursorAdapter.
Http://www.apkbus.com/blog-17085-45328.html

Gallery and GridView Analysis
Gallery is a view that locks a central entry and has a horizontal scroll list. It is generally used to browse images and respond to event display information. Gallery can also be used in combination with the ImageSwitcher component to achieve an effect of browsing images through thumbnails.
Http://www.apkbus.com/blog-17085-45327.html

A simple music player
This is because I posted my blog for the first time and won't do it in many places. I hope I can communicate with you and learn more. android is still learning, there will be good things to share with you in the future...
Http://www.apkbus.com/blog-138234-45326.html

Binder class implemented by android service
If your service is only used by your own application and does not need to work across processes, You can implement your own Binder class so that your client can directly use the public interface method of the service.
Http://www.apkbus.com/blog-85308-45324.html

Android Service Usage
A Service is an application component used to perform some long-term operations. However, it does not interact with users or provides some functions for other applications. Each Service class must be defined in AndroidManifest. xml and start with a <service> tag.
Http://www.apkbus.com/blog-85308-45321.html

Android message push using MQTT Protocol
MQ telemetry transmission (MQTT) is a lightweight publish/subscribe message transmission protocol based on proxy. It is designed to be open, simple, lightweight, and easy to implement. These features make it suitable for restricted environments.
Http://www.apkbus.com/blog-85308-45319.html

Getting started with the Android game framework Libgdx)
Libgdx is a game library that supports 2D and 3D Game Development. It is compatible with most microcomputer platforms (Standard JavaSE implementation and can run on Mac, Linux, Windows, and other systems) it can be used with the Android platform (Android1.5 or above, and Android2.1 or above can be used at full power)
Http://www.apkbus.com/blog-20705-45318.html

Relationship between Surface, SurfaceView, SurfaceHolder, and SurfaceHolder. Callback
Surface means "Surface. In the SDK documentation, the Surface is described as follows: "Handle onto a raw buffer that is being managed by the screen compositor ", it is the handle to the native buffer managed by the screen compositor.
Http://www.apkbus.com/blog-130933-45313.html

Android supports HTML tags
Currently, android does not support all html tags. Currently, it only supports tags such as text display and paragraphs. For images and other multimedia files, some custom tags cannot be recognized.
Http://www.apkbus.com/blog-144026-45311.html

AsyncTask usage
When developing Android applications, you must follow the single-thread model principle: Android UI operations are not thread-safe and must be executed in the UI thread. In a single-threaded model, you must always remember the following two rules:
Http://www.apkbus.com/blog-124243-45310.html

Multithreading and asynchronous processing in Android Development
Because the kernel does not support multi-threaded processes, the kernel only has the concept of a single-threaded process, and the multi-threaded process is implemented through a function library connected to the application. Because the kernel does not have the concept of a lightweight process (thread), it cannot schedule it independently. Instead, it organizes Thread Scheduling by a thread Runtime Library, its main task is to schedule jobs between stacks of various threads.
Http://www.apkbus.com/blog-124243-45309.html

Android Socket programming
Socket Programming on AndroidSocket Programming basics: mainly divided into server-side Programming and client-side Programming.
Http://www.apkbus.com/blog-76214-45306.html

The problem that ViewPager cannot slide normally in ScrollView -- Solution
ViewPager is embedded in ScrollView, And the sliding problem of ViewPager can be found on the Internet in two ways: Custom scrollview. It mainly applies to multiple nesting and Complex layout. You can try it if you are working on it recently.
Http://www.apkbus.com/blog-24118-45304.html

Android listening phone status
The above code is a listener for phone status changes. Here we need to understand the listener mechanism.
Android has two types of event processing mechanisms: listener and callback.
Http://www.apkbus.com/blog-105036-45262.html

Android_handle message mechanism
By default, Handler accepts the message loop instances in the current thread (using Handler (loophtling), Handler (loophtling, Handler. callback callback) can specify a thread). At the same time, a message queue can be distributed and processed by multiple objects in the current thread (in the UI thread, the system has an Activity to process, you can initiate several Handler operations ).
Http://www.apkbus.com/blog-98964-45259.html

Interface for weather forecast information of China National Meteorological Administration
How can I obtain the weather conditions of the day in my android app? Don't worry. The China National Meteorological Administration provides an interface for obtaining weather forecast information of the city. Through this interface, we can get the weather information.
Http://www.apkbus.com/blog-56077-45150.html

Android international multi-language adaptation
Nternationalization (international) is referred to as i18n, because there are 18 characters between I and n, localization (localization), or L10n. Generally, a language is expressed in the format of _ region, such as zh_CN and zh_TW.
Http://www.apkbus.com/blog-24118-45137.html

Libgdx three-dimensional rotating cube (original)
Http://www.apkbus.com/blog-20705-45381.html

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.