#!/usr/bin/env python from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains import time class driver_class(o ...
分类:
编程语言 时间:
2020-04-16 22:39:48
阅读次数:
66
一.分享数据 分享文本数据: ACTION_SEND最直接常用的地方是从一个Activity发送文本内容到另外一个Activity。例如,Android内置的浏览器可以将当前显示页面的URL作为文本内容分享到其他程序。这一功能对于通过邮件或者社交网络来分享文章或者网址给好友而言是非常有用的。 如果为 ...
分类:
移动开发 时间:
2017-08-19 23:39:59
阅读次数:
332
自己写的提示错误,网上复制的就没问题……检查了一下一模一样~ 那就在这保存好正确的,以后留着用。 index页面: login页面: ...
分类:
其他好文 时间:
2017-07-29 17:40:31
阅读次数:
140
Explicit Intent 明确的意图,明确指定开启某个Activity。 Intent intent = New Intent (this , 指定的Activity); 共享Intent 把Intetn的动作类型设为 :Intent.ACTION_SEND 即:Intent.setActio ...
分类:
其他好文 时间:
2017-07-24 15:23:59
阅读次数:
148
AJAX 最大的优点是在不重新加载整个页面的情况下,可以与服务器交换数据并更新部分网页内容。 如果输入框不为空,showHint() 函数执行以下任务: 创建 XMLHttpRequest 对象 当服务器响应就绪时执行函数 把请求发送到服务器上的文件 请注意我们向 URL 添加了一个参数 q (带有 ...
分类:
Web程序 时间:
2017-05-22 09:25:02
阅读次数:
182
应用场景:用于安卓的短信发送功能 异常名称:Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SEND } 源码如下 ...
分类:
移动开发 时间:
2016-07-05 13:55:16
阅读次数:
229
一.intent相关发送短信 Intent intent=new Intent();
intent.setAction(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_TEXT,"I am a boy");
st...
分类:
其他好文 时间:
2016-06-29 11:30:54
阅读次数:
242
一、短信分享 01Intent intent = new Intent(Intent.ACTION_SEND);02// intent.setType("text/plain"); //纯文本03// 图片分享04intent.setType("image/png");05// 添加图片06File
分类:
移动开发 时间:
2016-02-19 12:11:22
阅读次数:
163
Google 在发表 Android 手机平台时,强调的是超强大的网络支持能力,因此,无论通过 GPRS、3G的电信网络或者是Wifi的无线WLAN网络,都能够发EMAIL。 发送邮件中使用的Intent 行为为 android.content.Intent.ACTION_SEND 。实际上在 An
分类:
移动开发 时间:
2016-01-27 19:09:47
阅读次数:
210
private void share(String content, Uri uri){ Intent shareIntent = new Intent(Intent.ACTION_SEND); if(uri!=null){ shareIn...
分类:
其他好文 时间:
2015-10-19 17:07:43
阅读次数:
149