有哪些千元左右的手机搭载高通骁龙处理器排名

mainMenu.action(1)_图文_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
mainMenu.action(1)
上传于|0|0|文档简介
&&mainMenu.action(1)
阅读已结束,如果下载本文需要使用0下载券
想免费下载更多文档?
定制HR最喜欢的简历
下载文档到电脑,查找使用更方便
还剩10页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢Action、Category常量表 -
- ITeye技术网站
博客分类:
Action
Action常量对应字符串简单说明ACTION_MAINandroid.intent.action.MAIN应用程序入口ACTION_VIEWandroid.intent.action.VIEW显示指定数据ACTION_ATTACH_DATAandroid.intent.action.ATTACH_DATA指定某块数据将被附加到其它地方ACTION_EDITandroid.intent.action.EDIT编辑指定数据ACTION_PICKandroid.intent.action.PICK从列表中选择某项并返回所选的数据ACTION_CHOOSERandroid.intent.action.CHOOSER显示一个Activity选择器ACTION_GET_CONTENTandroid.intent.action.GET_CONTENT让用户选择数据,并返回所选数据ACTION_DIALandroid.intent.action.DIAL显示拨号面板ACTION_CALLandroid.intent.action.CALL直接向指定用户打电话ACTION_SENDandroid.intent.action.SEND向其他人发送数据ACTION_SENDTOandroid.intent.action.SENDTO向其他人发送消息ACTION_ANSWERandroid.intent.action.ANSWER应答电话ACTION_INSERTandroid.intent.action.INSERT插入数据ACTION_DELETEandroid.intent.action.DELETE删除数据ACTION_RUNandroid.intent.action.RUN运行维护ACTION_SYNCandroid.intent.action.SYNC执行数据同步ACTION_PICK_ACTIVITYandroid.intent.action.PICK_ACTIVITY用于选择ActivityACTION_SEARCHandroid.intent.action.SEARCH执行搜索ACTION_WEB_SEARCHandroid.intent.action.WEB_SEARCH执行Web搜索ACTION_FACTORY_TESTandroid.intent.action.FACTORY_TEST工厂测试的入口点
Category
Category常量对应字符串简单说明CATEGORY_DEFAULTandroid.intent.category.DEFAULT默认的CategoryCATEGORY_BROWSABLEandroid.intent.category.BROWSABLE指定该Activity能被浏览器安全调用CATEGORY_TABandroid.intent.category.TAB指定Activity作为TabActivity的Tab页CATEGORY_LAUNCHERandroid.intent.category.LAUNCHERActivity显示顶级程序列表中CATEGORY_INFOandroid.用于提供包信息CATEGORY_HOMEandroid.intent.category.HOME设置该Activity随系统启动而运行CATEGORY_PREFERENCEandroid.intent.category.PREFERENCE该Activity是参数面板CATEGORY_TESTandroid.intent.category.TEST该Activity是一个测试CATEGORY_CAR_DOCKandroid.intent.category.CAR_DOCK指定手机被插入汽车底座(硬件)时运行该ActivityCATEGORY_DESK_DOCKandroid.intent.category.DESK_DOCK指定手机被插入桌面底座(硬件)时运行该ActivityCATEGORY_CAR_MODEandroid.intent.category.CAR_MODE设置该Activity可在车载环境下使用
浏览: 6647 次
来自: 成都I am new to Espresso UI testing.
I am getting this error while running tests (ADT Eclipse IDE ).
The app is already developed and there are lots of request going on while launching the app. it is not possible to rewrite the app. but i need to find the way to test this UI even if there is any delay in the loading of the components.
java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x cmp=com.xx.android/com.yy.core.android.map.MapActivity } within 45 seconds. Perhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or the activity is doing network calls on creation? See the threaddump logs. For your reference the last time the event queue was idle before your activity launch request was 2 and and now the last time the queue went idle was: 7. If these numbers are the same your activity might be hogging the event queue.
at com.google.mon.testing.testrunner.GoogleInstrumentation.startActivitySync(GoogleInstrumentation.java:277)
at android.test.InstrumentationTestCase.launchActivityWithIntent(InstrumentationTestCase.java:119)
at android.test.InstrumentationTestCase.launchActivity(InstrumentationTestCase.java:97)
at android.test.ActivityInstrumentationTestCase2.getActivity(ActivityInstrumentationTestCase2.java:104)
at com.gulesider.android.test.UItest.setUp(UItest.java:25)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:190)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:175)
at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
at com.google.mon.testing.testrunner.GoogleInstrumentationTestRunner.onStart(GoogleInstrumentationTestRunner.java:167)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1799)
I have one library project called “Core” - it will not generate any .apk
Also i have one Android project called “AA” which will access “Core”.
- This is AA.apk
Now i have created a test project called “UItest”
&?xml version="1.0" encoding="utf-8"?&
&manifest xmlns:android="/apk/res/android"
package="com.AA.android.test"
android:versionCode="1"
android:versionName="1.0" &
&uses-sdk android:minSdkVersion="8"
android:targetSdkVersion="18" /&
&instrumentation
android:name="com.google.mon.testing.testrunner.GoogleInstrumentationTestRunner"
android:targetPackage="com.AA.android"/&
&application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" &
android:name="com.core.android.map.MapActivity"
android:label="@string/app_name" &
&intent-filter&
&action android:name="android.intent.action.MAIN" /&
&category android:name="android.intent.category.LAUNCHER" /&
&/intent-filter&
&/activity&
&uses-library android:name="android.test.runner" /&
&/application&
&/manifest&
public class UItest extends ActivityInstrumentationTestCase2&MapActivity& {
public UItest() {
super(MapActivity.class);
public void setUp() throws Exception {
super.setUp();
getActivity();
public void testSearchBox() {
Espresso.onView(ViewMatchers.withId(R.id.menu_button_logo)).perform(ViewActions.click());
解决方案 Probably you have animation inside your activity, which blocks espresso execution. You have to disable it -
本文地址: &
我是新来居preSSO UI测试。 我收到此错误,运行测试(ADT的Eclipse IDE)。该应用程序已经开发并有很多的要求怎么回事,同时启动应用程序。这是不可能重写该应用。但我需要找到测试此UI的方式,即使有在各组分的加载的任何延迟。 了java.lang.RuntimeException:无法启动意图意图行事{= android.intent.action.MAIN FLG = 0x CMP = com.xx.android / com.yy.core。 android.map.MapActivity} 45秒内。也许主线程没有在合理的时间量内消失闲置?有可能是动画或东西不断地重绘屏幕。或活动是做网络调用的创造?见threaddump日志。供大家参考最近一次事件队列是你的活动启动请求前的闲置是2和现在的最后一次排队去空闲时:7.如果这些数字是您的活动可能会占用事件队列中的相同。
在com.google.mon.testing.testrunner.GoogleInstrumentation.startActivitySync(GoogleInstrumentation.java:277)
在android.test.InstrumentationTestCase.launchActivityWithIntent(InstrumentationTestCase.java:119)
在android.test.InstrumentationTestCase.launchActivity(InstrumentationTestCase.java:97)
在android.test.ActivityInstrumentationTestCase2.getActivity(ActivityInstrumentationTestCase2.java:104)
在com.gulesider.android.test.UItest.setUp(UItest.java:25)
在android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:190)
在android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:175)
在android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:555)
在com.google.mon.testing.testrunner.GoogleInstrumentationTestRunner.onStart(GoogleInstrumentationTestRunner.java:167)
在android.app.Instrumentation $ InstrumentationThread.run(Instrumentation.java:1799) 我有一个库项目被称为“核心” - 它不会产生任何.apk文件我也有堪称一Android项目“AA”,将进入“核心”。 - 这是AA.apk 现在,我已经创建了一个名为“UItest”测试项目清单: <?XML版本=“1.0”编码=“UTF-8”&GT?;
<清单的xmlns:机器人=“/apk/res/android”
包=“com.AA.android.test”
安卓版code =“1”
机器人:=的versionName“1.0”>
<采用-SDK安卓的minSdkVersion =“8”
机器人:targetSdkVersion =“18”/>
<仪器仪表
机器人:名字=“com.google.mon.testing.testrunner.GoogleInstrumentationTestRunner”
机器人:targetPackage =“com.AA.android”/>
机器人:allowBackup =“真”
机器人:图标=“@绘制/ ic_launcher”
机器人:标签=“@字符串/ APP_NAME”>
机器人:名字=“com.core.android.map.MapActivity”
机器人:标签=“@字符串/ APP_NAME”>
&所述;意图滤光器&
&作用机器人:名字=“android.intent.action.MAIN”/>
<类机器人:名字=“android.intent.category.LAUNCHER”/>
&所述; /意图滤光器&
< /活性GT;
<使用库机器人:名字=“android.test.runner”/>
< /用途&
< /清单> 我的测试: 公共类UItest扩展ActivityInstrumentationTestCase2< MapActivity> {
公共UItest(){
超(MapActivity.class);
公共无效设置()抛出异常{
super.setUp();
getActivity();
公共无效testSearchBox(){
ES presso.onView(ViewMatchers.withId(R.id.menu_button_logo))执行(ViewActions.click());
} 解决方案 也许你有你的动画活动,其中块ES preSSO执行中。你必须禁用它 -
本文地址: &
扫一扫关注官方微信1769人阅读
java(229)
java中spring 框架 中的action操作(extends ActionSupport) 一般配置在struts中 通过 浏览器 通过链接形式访问&
例如:我的action和配置文件如下:
RapToDpsProjectRaw.java
com.action.
public class RapToDpsProjectRaw extends ActionSupport {
private static final long serialVersionUID = 0004544L;
private DpsProjectRapReposity dpsProjectRapR
public void setDpsProjectRapReposity(
DpsProjectRapReposity dpsProjectRapReposity) {
this.dpsProjectRapReposity = dpsProjectRapR
public String execute() {
System.out.println(&已执行&);
return SUCCESS;
rap.xml & &spring文件
&?xml version=&1.0& encoding=&GBK&?&
&!-- 指定Spring配置文件的Schema信息 --&
&beans xmlns=&http://www.springframework.org/schema/beans&
xmlns:xsi=&http://www.w3.org/2001/XMLSchema-instance& xmlns:p=&http://www.springframework.org/schema/p&
xsi:schemaLocation=&http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd&&
&!-- 查询LINKURL --&
&bean id=&rapToDpsProjectRaw& class=&com.action.rap.RapToDpsProjectRaw&&
&property name=&dpsProjectRapReposity& ref=&dpsProjectRapReposity&&&/property&
rap.xml & & & & & & &struts文件
&?xml version=&1.0& encoding=&utf-8&?&
&!DOCTYPE struts PUBLIC
&-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN&
&http://struts.apache.org/dtds/struts-2.1.7.dtd&&
&package name=&rapToDpsProjectRaw& extends=&imoen-default& namespace=&/rap&&
&action name=&rapToDpsProjectRaw& class=&rapToDpsProjectRaw&&
&result type=&json&&&/result&
&/package&
我要执行这个action &就会在浏览器中输入 &http://localhost:8080/项目名/rap/rapToDpsProjectRaw
如果要在 main方式中 运行 &主要是获取到 rapToDpsProjectRaw这个Bean &代码如下:
public static void main(final String[] args) {
(&starting to copy record from rap system to mongo db...&);
final String[] paths = new String[] {
&resource/spring/action/rap/rap.xml&,
&resource/struts/rap.xml&, &resource/spring/common-beans.xml&,
&resource/spring/reposity/common-reposity.xml& };
@SuppressWarnings(&resource&)
final ApplicationContext context = new FileSystemXmlApplicationContext(
paths); // ClassPathXmlApplicationContext
final RapToDpsProjectRaw processor = (RapToDpsProjectRaw) context
.getBean(&rapToDpsProjectRaw&);
final String result = processor.execute();
if (ActionSupport.SUCCESS.equals(result)) {
(&Good job, copy operation succedded!&);
LOG.warn(&Oops! There's something wrong under the hook!&);
(&finished copying record from rap system to mongo db.&);
&&相关文章推荐
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:1280172次
积分:17616
积分:17616
排名:第488名
原创:545篇
转载:61篇
评论:221条
阅读:2516
文章:18篇
阅读:12812
阅读:2251
文章:18篇
阅读:45402
文章:31篇
阅读:31422
文章:24篇
阅读:83206
文章:12篇
阅读:50446
文章:14篇
阅读:44016
文章:34篇
阅读:38246
文章:20篇
阅读:62715
(14)(6)(5)(21)(16)(11)(13)(3)(10)(2)(3)(5)(2)(4)(4)(9)(8)(26)(7)(9)(9)(10)(8)(11)(9)(10)(13)(12)(5)(39)(37)(6)(6)(7)(9)(7)(8)(14)(10)(9)(8)(21)(33)(17)(28)(9)(14)(6)(21)(18)(2)(8)(4)Inherited by group_ac, interval_ac, and parall_ac.
Public Member Functions
 构造函数.action对象不可直接创建,请调用子类的构造函数.
Detailed Description
action基类,不能直接创建.
你可以这样使用action.
1 : ac = ac1 + ac2 + ac3:这样会生成一个新的ac,它由3个action组成,它们会依次执行.
2 : ac = ac1 | ac2 | ac3:这样会生成一个新的ac,它有3个action组成,它们会并行执行.
3 : ac = ac1 * 3:这样会生成一个新的ac,它会循环执行ac1三次.
注意:1 并行执行的动作中如果存在冲突,动画类的行为会变的不可预测.
例:一个action让物体1s内向左移动10个单位,另一个action让物体1s内向右移动20个单位。
结果上物体会向右移动10个单位。但由于涉及时间和各种复杂的组合关系,动画类的行为变
的不可预测。建议并行执行的动作不要存在冲突关系.
2 动画对象会在执行obj2d.do_action方法时生效,obj2d维护着自身的动画列表。
销毁动画请调用obj2d.stop_actions或obj2d.remove_action.
Constructor & Destructor Documentation
def __init__
kwargs 
构造函数.action对象不可直接创建,请调用子类的构造函数.

我要回帖

更多关于 高通骁龙系列处理器 的文章

 

随机推荐