文件名称:contact

  • 所属分类:
  • android开发
  • 资源属性:
  • [Java] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 214kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • luo***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

打电话:

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

.....\..........\

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org