Datacall framework in Android

Source: Internet
Author: User


1. datacall creation process (non-default type)

Startusingnetworkfeature call
Mobiledatastatetracker. Java reconnect Function
The reconnect function calls enableapntype to the phone process.

Phoneproxy calls enableapntype in dataphone.

Event_service_type_enabled in dataconnectiontrace
Onservicetypeenabled call
Updatedataconnection in mmdataconnection
Send the message event_update_data_connections to call onupdatedataconnections in mmdataconnectiontracker. java.
Call trysetupdatacall
In trysetupdatacall, the first parameter dataservicetype is used to obtain the dataprofile.
This function calls the connect function in dataconnection.
The connect function sends an event_connect message. Process event_connect messages and call the onconnect function in mmdataconnection.

Call setupdatacall to adjust it to setupdatacall in RIL. Java and input a parameter to modem.
Rr. MP. writestring (radiotechnology );
Rr. MP. writestring (profile );
Rr. MP. writestring (APN );
Rr. MP. writestring (User );
Rr. MP. writestring (password );
Rr. MP. writestring (authtype );

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: 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.