, starting to execute the process, and so forth. 2, independent of each other, the memory is isolated using virtual memory, each process has a private address space, as if our program exclusive and use of memory.V. Process life cycle for a program, the process has three states: run, Hang, die. 1, set up a task (create a process) 2, ready to run (waiting for the CPU to allocate time slices) 3, is running (in the actual running state, if not allocated to the actual CPU chip, continue to wait) 4, s
Android system development (8)-basic concepts of linx Processes1. in the traditional sense, the proc file system is used to store information on Block devices. The/proc directory is a virtual file system, where the data is stored in the memory, therefore, this directory does not occupy any hard disk space. It mainly includes the following system information: memory management system process features Data Fi
Package Com.jrhcode.morethreadtest;import Java.util.concurrent.executors;import Android.os.asynctask;import Android.os.bundle;import Android.os.handler;import Android.app.activity;import Android.view.Menu;import Android.widget.textview;import android.widget.toast;/** * * Main function is: in the child thread to change the display of TextView * * Android multithreaded programming 1: Through Han Dler Update
An RSS update reminder dialog box is displayed before any window. The following page is displayed:Http://www.cnblogs.com/sipher/articles/2502092.html
You can use the above method to pop up the window, but there is no way to start an activity in the window.
So I have recently checked whether there are other methods to achieve this. If the task cannot be started in alertdialog, an activity simulation window will pop up and then start the activity.
The C
One problem today is that the Game transplanted to Android displays ads on the main interface, and there are hidden ads in the game.
Let's look at my implementation methods.
1. When the game starts, a view is placed in the XML file on the Java side for advertisement placement. Initialize the ad code During oncreate.
2. After Entering the game, C ++ notifies Java through JNI (I have introduced how to use JNI) to hide the advertisement.
3. Hidden advert
First on:Layout is:XML version= "1.0" encoding= "Utf-8"? >Here we take a picture of the local SD root folder, turn it into bitmap, and then save it to the Tmp folder to upload:Private class Loadphototask extends AsynctaskPrivate String Savebitmaptofile (Bitmap bmp) {if (null = = BMP) {return null;} String fileName = "upload_tmp.jpg"; You need to put the keyboard back when uploading:private void Hideinputmethod () {View view = Getcurrentfocus (); if (V
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.