网上收集保存的一些常用的android资料,写得都比较不错,和大家分享下,共同学习:

_

android ListView美化.docx

androidshape.docx

android_textview.设置文本属性.docx

android_设置字体样式.docx

Android_用纯代码实现复杂界面.doc

android+struts2.docx

android—EditText.docx

android—listview.docx

android-Paint类介绍.docx

android---tabhost.docx

android——WebView进行介绍.docx

android—webview详细.docx

android调用系统服务.docx

android—调用相机拍照并保存在本地.docx

Android获取手机音乐.docx

android客户端和服务器端交互.docx

Android之从网络上获取图片视频.docx

webview属性大全.docx

菜谱aip.docx

反编译Apk得到Java源代码总结.docx

地址





调用打电话:

Uri smsToUri = Uri.parse("smsto:" + string);


Intent intent = new Intent(Intent.ACTION_SENDTO, smsToUri);


intent.putExtra("sms_body", "");


startActivity(intent);


调用发短信:

Intent phoneIntent = new Intent("android.intent.action.CALL", Uri.parse("tel:13988888"));

startActivity(phoneIntent);



webview:

webView = (WebView) findViewById(R.id.web);

webView.setScrollBarStyle(View.SOUND_EFFECTS_ENABLED);

webView.getSettings().setJavaScriptEnabled(true);


private void web() {

webView.setWebViewClient(new WebViewClient() {

@Override

public boolean shouldOverrideUrlLoading(WebView view, String url) {

webView.loadUrl(url);


return true;

}


@Override

public void onReceivedError(WebView view, int errorCode,

String description, String failingUrl) {

super.onReceivedError(view, errorCode, description, failingUrl);


}


@Override

public void onPageStarted(WebView view, String url, Bitmap favicon) {


super.onPageStarted(view, url, favicon);

}


@Override

public void onPageFinished(WebView view, String url) {

super.onPageFinished(view, url);

webView.getSettings().setBlockNetworkImage(false);

}

});

webView.loadUrl(urlString);


}






更多相关文章

  1. 【阿里云镜像】切换阿里巴巴开源镜像站镜像——Debian镜像
  2. Android(安卓)getDecorView用途——屏幕截图
  3. Android(安卓)Settings中快速搜索流程
  4. Android(安卓)Android使用JSON与服务器交互
  5. 2010.12.27——— android service
  6. Android获取本机电话号码的简单方法
  7. Android(安卓)Binder进程间通信-ServiceManager代理对象的获取过
  8. Android(安卓)和 H5 互调
  9. Android获取本机Mac地址及IP地址的方法

随机推荐

  1. ANDROID上获取MSN邮件列表
  2. android activity以对话框形式显示
  3. android permission设置
  4. Android SDK Android NDK 下载地址
  5. ubuntu 18.04 编译Android坑s
  6. 关于基于jetty在android上开发未能解决的
  7. androidimplementationxorg-server-1.12.
  8. Android中Timer计时器详解
  9. Android单例模式封装HttpURLConnection网
  10. Android NDK 安装配置指南