文件名称:contact
介绍说明--下载内容均来自于网络,请自行研究使用
打电话:
1. 定义Intent,参数为Intent.ACTION_CALL,该Intent准备打电话功能;
2. 用SetData方法给Intent设置目标电话号码,参数是Uri格式,tel:<电话号码>
3. 启动Intent,注意打电话功能需要添加用户权限(在Manifest文件中,添加CALL_PHONE权限)
发短信:
1. 利用SmsManager的getDefault方法获取实例对象
2. 利用SmsManager对象的sendTextMessage方法发送短信
3. 注意发短信功能需要添加用户权限(在Manifest文件中,添加SEND_SMS权限)-Phone: 1. Definition of Intent, parameters Intent.ACTION_CALL, Intent to prepare to call the function 2 Intent with the SetData method to set the destination phone number, parameter is the Uri format, tel: < phone number> 3 start Intent, attention call function to add user rights (in the Manifest file, add CALL_PHONE permission) send text messages: 1. use SmsManager of getDefault method to get instance of an object 2 object sendTextMessage method using SmsManager send text messages 3. Note that text messaging functionality you need to add user rights (In the Manifest file, add SEND_SMS permission)
1. 定义Intent,参数为Intent.ACTION_CALL,该Intent准备打电话功能;
2. 用SetData方法给Intent设置目标电话号码,参数是Uri格式,tel:<电话号码>
3. 启动Intent,注意打电话功能需要添加用户权限(在Manifest文件中,添加CALL_PHONE权限)
发短信:
1. 利用SmsManager的getDefault方法获取实例对象
2. 利用SmsManager对象的sendTextMessage方法发送短信
3. 注意发短信功能需要添加用户权限(在Manifest文件中,添加SEND_SMS权限)-Phone: 1. Definition of Intent, parameters Intent.ACTION_CALL, Intent to prepare to call the function 2 Intent with the SetData method to set the destination phone number, parameter is the Uri format, tel: < phone number> 3 start Intent, attention call function to add user rights (in the Manifest file, add CALL_PHONE permission) send text messages: 1. use SmsManager of getDefault method to get instance of an object 2 object sendTextMessage method using SmsManager send text messages 3. Note that text messaging functionality you need to add user rights (In the Manifest file, add SEND_SMS permission)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
day12\FileAccess\.classpath
.....\..........\.project
.....\..........\AndroidManifest.xml
.....\..........\assets\myAssets.txt
.....\..........\bin\classes.dex
.....\..........\...\.om\tzy\study\AssetsActivity$1.class
.....\..........\...\...\...\.....\AssetsActivity.class
.....\..........\...\...\...\.....\ContactAddActivity$1.class
.....\..........\...\...\...\.....\ContactAddActivity$2.class
.....\..........\...\...\...\.....\ContactAddActivity.class
.....\..........\...\...\...\.....\ContactModifyActivity$1.class
.....\..........\...\...\...\.....\ContactModifyActivity$2.class
.....\..........\...\...\...\.....\ContactModifyActivity.class
.....\..........\...\...\...\.....\db\Contacts.class
.....\..........\...\...\...\.....\..\ContactsAdapter.class
.....\..........\...\...\...\.....\..\ContactsHelper.class
.....\..........\...\...\...\.....\FileAccessActivity$1.class
.....\..........\...\...\...\.....\FileAccessActivity.class
.....\..........\...\...\...\.....\R$attr.class
.....\..........\...\...\...\.....\R$drawable.class
.....\..........\...\...\...\.....\R$id.class
.....\..........\...\...\...\.....\R$layout.class
.....\..........\...\...\...\.....\R$string.class
.....\..........\...\...\...\.....\R.class
.....\..........\...\...\...\.....\SDCardActivity$1.class
.....\..........\...\...\...\.....\SDCardActivity$2.class
.....\..........\...\...\...\.....\SDCardActivity.class
.....\..........\...\...\...\.....\SDCardImageActivity.class
.....\..........\...\...\...\.....\SendMessageActivity$1.class
.....\..........\...\...\...\.....\SendMessageActivity$2.class
.....\..........\...\...\...\.....\SendMessageActivity.class
.....\..........\...\...\...\.....\SharedPreferencesActivity$1.class
.....\..........\...\...\...\.....\SharedPreferencesActivity$2.class
.....\..........\...\...\...\.....\SharedPreferencesActivity.class
.....\..........\...\...\...\.....\SQLiteActivity$1.class
.....\..........\...\...\...\.....\SQLiteActivity$2.class
.....\..........\...\...\...\.....\SQLiteActivity$3$1.class
.....\..........\...\...\...\.....\SQLiteActivity$3$2.class
.....\..........\...\...\...\.....\SQLiteActivity$3.class
.....\..........\...\...\...\.....\SQLiteActivity$4.class
.....\..........\...\...\...\.....\SQLiteActivity$5.class
.....\..........\...\...\...\.....\SQLiteActivity$6.class
.....\..........\...\...\...\.....\SQLiteActivity.class
.....\..........\...\...\...\.....\SystemActivity$1.class
.....\..........\...\...\...\.....\SystemActivity$2.class
.....\..........\...\...\...\.....\SystemActivity.class
.....\..........\...\FileAccess.apk
.....\..........\...\resources.ap_
.....\..........\default.properties
.....\..........\gen\com\tzy\study\R.java
.....\..........\proguard.cfg
.....\..........\res\drawable-hdpi\icon.png
.....\..........\...\.........ldpi\icon.png
.....\..........\...\.........mdpi\icon.png
.....\..........\...\layout\assets_layout.xml
.....\..........\...\......\contacts_add_layout.xml
.....\..........\...\......\contact_item.xml
.....\..........\...\......\contact_modify_layout.xml
.....\..........\...\......\main.xml
.....\..........\...\......\sdcard_image_layout.xml
.....\..........\...\......\sdcard_layout.xml
.....\..........\...\......\send_message.xml
.....\..........\...\......\shared_preferences_layout.xml
.....\..........\...\......\sqlite_layout.xml
.....\..........\...\......\system_layout.xml
.....\..........\...\values\strings.xml
.....\..........\src\com\tzy\study\AssetsActivity.java
.....\..........\...\...\...\.....\ContactAddActivity.java
.....\..........\...\...\...\.....\ContactModifyActivity.java
.....\..........\...\...\...\.....\db\Contacts.java
.....\..........\...\...\...\.....\..\ContactsAdapter.java
.....\..........\...\...\...\.....\..\ContactsHelper.java
.....\..........\...\...\...\.....\FileAccessActivity.java
.....\..........\...\...\...\.....\SDCardActivity.java
.....\..........\...\...\...\.....\SDCardImageActivity.java
.....\..........\...\...\...\.....\SendMessageActivity.java
.....\..........\...\...\...\.....\SharedPreferencesActivity.java
.....\..........\
.....\..........\.project
.....\..........\AndroidManifest.xml
.....\..........\assets\myAssets.txt
.....\..........\bin\classes.dex
.....\..........\...\.om\tzy\study\AssetsActivity$1.class
.....\..........\...\...\...\.....\AssetsActivity.class
.....\..........\...\...\...\.....\ContactAddActivity$1.class
.....\..........\...\...\...\.....\ContactAddActivity$2.class
.....\..........\...\...\...\.....\ContactAddActivity.class
.....\..........\...\...\...\.....\ContactModifyActivity$1.class
.....\..........\...\...\...\.....\ContactModifyActivity$2.class
.....\..........\...\...\...\.....\ContactModifyActivity.class
.....\..........\...\...\...\.....\db\Contacts.class
.....\..........\...\...\...\.....\..\ContactsAdapter.class
.....\..........\...\...\...\.....\..\ContactsHelper.class
.....\..........\...\...\...\.....\FileAccessActivity$1.class
.....\..........\...\...\...\.....\FileAccessActivity.class
.....\..........\...\...\...\.....\R$attr.class
.....\..........\...\...\...\.....\R$drawable.class
.....\..........\...\...\...\.....\R$id.class
.....\..........\...\...\...\.....\R$layout.class
.....\..........\...\...\...\.....\R$string.class
.....\..........\...\...\...\.....\R.class
.....\..........\...\...\...\.....\SDCardActivity$1.class
.....\..........\...\...\...\.....\SDCardActivity$2.class
.....\..........\...\...\...\.....\SDCardActivity.class
.....\..........\...\...\...\.....\SDCardImageActivity.class
.....\..........\...\...\...\.....\SendMessageActivity$1.class
.....\..........\...\...\...\.....\SendMessageActivity$2.class
.....\..........\...\...\...\.....\SendMessageActivity.class
.....\..........\...\...\...\.....\SharedPreferencesActivity$1.class
.....\..........\...\...\...\.....\SharedPreferencesActivity$2.class
.....\..........\...\...\...\.....\SharedPreferencesActivity.class
.....\..........\...\...\...\.....\SQLiteActivity$1.class
.....\..........\...\...\...\.....\SQLiteActivity$2.class
.....\..........\...\...\...\.....\SQLiteActivity$3$1.class
.....\..........\...\...\...\.....\SQLiteActivity$3$2.class
.....\..........\...\...\...\.....\SQLiteActivity$3.class
.....\..........\...\...\...\.....\SQLiteActivity$4.class
.....\..........\...\...\...\.....\SQLiteActivity$5.class
.....\..........\...\...\...\.....\SQLiteActivity$6.class
.....\..........\...\...\...\.....\SQLiteActivity.class
.....\..........\...\...\...\.....\SystemActivity$1.class
.....\..........\...\...\...\.....\SystemActivity$2.class
.....\..........\...\...\...\.....\SystemActivity.class
.....\..........\...\FileAccess.apk
.....\..........\...\resources.ap_
.....\..........\default.properties
.....\..........\gen\com\tzy\study\R.java
.....\..........\proguard.cfg
.....\..........\res\drawable-hdpi\icon.png
.....\..........\...\.........ldpi\icon.png
.....\..........\...\.........mdpi\icon.png
.....\..........\...\layout\assets_layout.xml
.....\..........\...\......\contacts_add_layout.xml
.....\..........\...\......\contact_item.xml
.....\..........\...\......\contact_modify_layout.xml
.....\..........\...\......\main.xml
.....\..........\...\......\sdcard_image_layout.xml
.....\..........\...\......\sdcard_layout.xml
.....\..........\...\......\send_message.xml
.....\..........\...\......\shared_preferences_layout.xml
.....\..........\...\......\sqlite_layout.xml
.....\..........\...\......\system_layout.xml
.....\..........\...\values\strings.xml
.....\..........\src\com\tzy\study\AssetsActivity.java
.....\..........\...\...\...\.....\ContactAddActivity.java
.....\..........\...\...\...\.....\ContactModifyActivity.java
.....\..........\...\...\...\.....\db\Contacts.java
.....\..........\...\...\...\.....\..\ContactsAdapter.java
.....\..........\...\...\...\.....\..\ContactsHelper.java
.....\..........\...\...\...\.....\FileAccessActivity.java
.....\..........\...\...\...\.....\SDCardActivity.java
.....\..........\...\...\...\.....\SDCardImageActivity.java
.....\..........\...\...\...\.....\SendMessageActivity.java
.....\..........\...\...\...\.....\SharedPreferencesActivity.java
.....\..........\