Android dialing device, android
Dialing device (important)
1. Product Manager: requirement analysis document, design prototype Diagram
2. UI Engineer: design the UI
3. Architect: Write architecture and interface documentation
4. codenon: Server, client
1. Write layout Interface
2. Write Business Logic
1. Through the Control Configuration id in the layout file, you can get the control object, Edittext Button
FindViewById (int id );
2. Set a click event for the button
Bt_callphone.setOnclickListener (OnclickListener listener );
3. In The onclick method of the click event, find the phone number entered by the user.
4. Create an Intent object
Intent intent = new Intent ();
5. Set a call Action for the Intent object
Intent. setAciton (Intent. ACTION_CALL );
6. Set a data for a bit Intent object
Intent. setData (Uri. parser ("tel:" + number ));
7. Start the Intent object
StartActivity (intent );
8. Set a call permission in androidmanifest. xml.
<Uses-permission android: name = "android. permission. CALL_PHONE"/>
5. test engineers: test applications
6. Operators: Write soft texts and upload applications
7. Business Cooperation: purchase volume, purchase advertising space, and sell advertising space