Many friends may encounter a problem when using Android for network requests. When users are using a WAP network, they need to add a proxy geographic and port number to the network request header.
When using a Wi-Fi or cmnet network connection, you do not need to set the proxy address and port number. A lot of friends found a solution on the Internet by reading the database, such:
[Java] View plaincopyprint?
Cursor cursor = contentresolver. Query (
The full name of WAP is "Wireless Application protocol (Wireless application Protocol)", a globally unified Open protocol standard that provides Internet content and advanced value-added services to mobile terminals,is a simplified wireless Internet protocol. Mobile sites are serviced by this standard, and the phones that support this standard can access these sites.Web is the meaning of the net, this should refer to World Wide web,www, www. The World
Extension content Type (MIME)
The code is as follows
Copy Code
. WML TEXT/VND.WAP.WML. wbmp Image/vnd.wap.wbmp. WMLC APPLICATION/VND.WAP.WMLC. wmls text/vnd.wap.wmls. WMLSC APPLICATION/VND.WAP.WMLSC
Restart IIS to enable it to support the publication of WAP pages.
If you're using Apache as a Web server, find the conf/httpd.conf configuration file and add MIME types to it. Add the following lines to the httpd.con
With the development of WAP mobile phone technology, access to the Internet easy access to a large number of information has become the inevitable trend of future mobile phones. And with the advent of the Java-enabled I-mode mobile phone, mobile access to the Internet is more convenient, it is bound to increase the chance of mobile phone virus infection. WAP phone has become an important object of computer
WAP is the abbreviation of "Wireless Application Protocol", which provides a way to access the internet via mobile phone. As long as you have a WAP-enabled mobile phone, you can access the Internet anytime, anywhere. The use of mobile internet speed although relatively slow, but also a choice of mobile office, the current China Mobile has defaulted to all mobile phone GPRS
First, you need to configure a Web server
When designing a WAP Web page, whether you are using a WAP development tool UP.SDK or Nokia wap Tookit or Ericsson Wapide, you must make Web server settings, So here are a few common Web server settings described below: (here is the Tomcat4.0, the Apache Web server. Set the method as follows:)
Environment: Apache Web Se
Completed a simple and useful WAP site--wap version of the mobile phone number location query
Address: Http://hikey.net/wap
With WAP-enabled mobile phone view, IE does not support
If your phone does not support WAP or if you do not want that kind of money, you can use a sim
Application of PHP programming in WAP Development
We can use PHP to write WAP programs, such as developing dynamic WML pages, but the condition is that the labels or statements output must be within the acceptable range of the WAP micro-browser. In addition, PHP can also compile HTML (and hdml) and WML content in an HTML (and hdml) file. The source code
PHP outputs a simple dynamic WAP page. Of course, there are other methods that can be searched online. I recommend that you use the Firefox + wmlbrowser component to view both http and wap pages. If you have installed w, you can search for it on the Internet. I recommend that you use the Firefox + wmlbrowser component to view both http and wap pages. After the wm
PHPCMS builds a wap mobile website and phpcms builds a wap. Building a wap mobile website with PHPCMS and building a wapPHPCMS with phpcms is more convenient, but it is not very practical in terms of wap mobile phone, and the built-in mobile phone website is not very good, PHPCMS builds a
The first two days due to work needs, the first request to do a WAP version of the website, to learn online for a day, get a beta version out (http://wap.luckty.com function is very general), sort out a few points of experience as follows:
1. WAP websites use WML identifiers rather than HTML, and traditional Javascript is no longer used. Instead, WMLScript is used. Therefore, the first contacts should fir
With the increasing popularity of the mobile Internet, enterprise network propaganda is not only limited to PC, but also to mobile development. After we complete our WAP mobile phone on our website, if a user accesses our enterprise top-level domain name website through a mobile phone, we need to determine that the website will jump to the specially designed WAP website, the following small series will help
about how Android detects the type of network, the online code is many, but the useful products are not many, some time ago, because do project need to involve specific network type of check, especially distinguish 2G network is for WAP, or net, type, because WAP type, need to configure proxy Internet, based on this, I'll record the process code I've implemented:1. Define constants to identify several netwo
With the latest release of the Phpcms V9 set up the PHPCMS Research Center website (http://phpcms.org.cn) completed, there is a user mobile phone access issues, and began to build a WAP wireless station (wap.phpcms.org.cn).The following steps are required to complete the WAP setup with Phpcms V9:First step: Domain name resolution and build stationEnter the domain name management, establish a record, resolve
1. the document structure must first be determined by the title. during web development, html or xhtml is used. wml is used for wap development. what is wml? You can look up more specific materials. I just mentioned it here. in my opinion, w
1. document structureFirst, the title is determined to be a file pattern. during web development, everyone uses html or xhtml, and wml is used for wap development. what
Open IIS and click the root, that is, the global properties of IIS.
Locate the "HTTP header" label and find the bottom MIME type
Add the following types:
Extension wml, type text/vnd. wap. wml
Wmlc extension, type application/vnd. wap. wmlc
Wbmp extension, type: image/vnd. wap. wbmp
Wmlsc extension, type application/vnd.
Of course, there are other methods that can be searched online. I recommend that you use the Firefox + wmlbrowser component to view both HTTP and WAP pages. After the wmlbrowser component is installed, Firefox can directly browse the WAP page.
To dynamically output content, we have to set the page suffix as. php. So how can we make the browser resolve it to a WAP
http://blogs.360.cn/360qtest/2014/04/01/%E5%88%A9%E7%94%A8selenium%E8%87%AA%E5%8A%A8%E5%8C%96%E6%B5%8B%E8%AF% 95android-wap%e9%a1%b5/There are two main types of automated testing for smartphone-side applications: One is app-based APK automation test and the other is the WAP page test of the browser. At present, more is the first case, the application of automated testing framework is also more, such as Nati
establishment of time, GSM needs 10-30 seconds, and GPRS only need a very short time to access the relevant request;And for the cost, GSM is based on the connection time billing, and GPRS only need to be based on data flowmeter fee;GPRS is relatively much higher than GSM for the utilization of network resources.
Question: What Gprs+wap means to us.Answer: GPRS and WAP combination is the current "mobile pho
These days, there are friends, companies to ask me about WAP browser, instant messaging content design, and low-level UI component design issues. In order to answer the needs of netizens and friends, to contribute their own source code, the code directly on the Eclipse+eclipseme can run directlyThe functionality that is implemented in it is displayed by Kxml interpreting WML and generating UI components. Using multithreading to download data,I wanted
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.