Android day01-Phone Dialer case &android development process

Source: Internet
Author: User

Phone Dialer Development steps:

1. Add the call permissions in the manifest file

<?xml version= "1.0" encoding= "Utf-8"?> <manifestxmlns:android= "http://schemas.android.com/apk/res/           Android "package=" Cn.itcast.action "android:versioncode=" 1 "android:versionname=" 1.0 "> <uses-sdkandroid:minsdkversion= "6"/> <uses-permission android:name= "android.permission . Call_phone "/>//dialing rights </manifest> attention to call permissions, will only jump to the dial interface, to manually click the Dial button. Call_phone will make a direct phone call.

2. Call the core code

Create a new Intent object Intent Intent_call = new Intent (); Add an action intent_call.setaction (Intent.action_call) for the intent object; Add Data Intent_call.setdata (Uri.parse ("Tel:" + phone number) for the intended object; Execution Intent StartActivity (Intent_call);



Android Development process:

    1. Product manager      design product requirements and product prototypes         

    2. Designers design UI

    3. programmer, according to the UI to do the corresponding display layout and code logic development

This article is from the "line of the World" blog, please be sure to keep this source http://4259297.blog.51cto.com/4249297/1675137

Android day01-Phone Dialer case &android development process

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.