[Code] Call the dialup Program 1 // call mobile customer service 10086
2 Uri uri = Uri. parse ("tel: 10086 ");
3 Intent intent = new Intent (Intent. ACTION_DIAL, uri );
4 startActivity (intent );
[Code] send SMS or MMS 01 // send a "Hello" text
C/C ++ code
// Call the browser
Uri uri = Uri. parse ("");
Intent it = new Intent (Intent. ACTION_VIEW, uri );
StartActivity (it );
Copy to clipboard C/C ++ code
// Display a coordinate on the map
Uri uri = Uri. parse ("geo: 38.899533,-77.036
This is a creation in
Article, where the information may have evolved or changed.
Article Source: http://gf.johng.cn/591642
Controller view
GF provides a good template engine support for the controller, managed by the gmvc.View view object,
Due to the work relationship, we need to read the DBF file and find some open-source software for DBF. Either it is too large and tens of thousands of lines are not moving, or the function is faulty, encoding and length. In short, there is no great
Dom parsing and sax parsing, dom parsing and sax ParsingThere are four ways to parse xml: DOM, SAX, DOM4j, and JDOM.We mainly learned two types: DOM and SAX.DOM is suitable for parsing relatively simple XML, while SAX is suitable for parsing more
Some time ago I made a small application for batch installation and uninstallation of applications. Because some APIs for installing and uninstalling applications are hidden, the Android system source code must be downloaded under ubuntu, after
Do not forget to start a new Activity from BroadcastReceiver. setFlags (Intent. FLAG_ACTIVITY_NEW_TASK); public class MyReceiver extends BroadcastReceiver {public static final String action = "acc"; public void onReceive (Context context, Intent
Home> Android development> text Intent call Daquan, the most comprehensive in history
Release date:
Author:Original Android Development Network
// Call the browser
Uri uri = Uri. parse ("");Intent it = new Intent (Intent. ACTION_VIEW, uri
Everything you need to know about ActivityRecently, I want to write a blog about the source code analysis of the Activity startup process. Before that, I would like to summarize some basic knowledge required by the Activity in Android to help you
// Call the browser
Uri uri = URI. parse ("");Intent it = new intent (intent. action_view, Uri );Startactivity (it );
// Display a coordinate on the map
Uri uri = URI. parse ("Geo: 38.899533,-77.036476 ");Intent it = new intent (intent. action_view,
We know that data interaction between two Android applications requires contentprovider, which is usually a database operation.Today, the project needs to use the contentprovider of Android to interact with files on the normal SD card, so I wrote
DNS server is actually a domain name resolution system, the prerequisite is only that two virtual machines can ping the same can, so can be in the basic network configuration alone, or you can follow the DHCP server to practice, but we used to ping
DNS ServiceDNS: Domain Nsme ServiceRole: Resolving the domain name to IP (forward parsing) or resolving IP to a domain name (reverse parsing)Classification of DNS top-level domains:Organization domain:. com. net. org .....Country domain:. CN. tw. JP
Parse and traverse an HTML document
how to parse an HTML document :
Copy Code code as follows:
String html = "first parse"
+ "parsed HTML into a doc.";
Document doc = jsoup.parse (HTML);
Its parser is capable of
Because of the working relationship, need to work, need to read the DBF file, find some dbf read open source software, either is too large, still tens of thousands of lines, or functional problems, coding, length, in short, there is no very cool to
The following content is reproduced from: http://shazhuzhu1.iteye.com/blog/1095694
Android calls system programs
1. Search for content from Google
Intent intent = new intent ();
Intent. setaction (intent. action_web_search );
Intent. putextra
Reprinted: http://www.android123.com.cn/androidkaifa/612.html
Display web pages:
1. Uri uri = URI. parse ("http://www.android123.com.cn ");2. Intent it = new intent (intent. action_view, Uri );3. startactivity (it );
Show Google maps:
1. Uri uri =
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.