码迷,mamicode.com
首页 >  
搜索关键字:页面跳转 intent    ( 5004个结果
iframe
给iframe的src设值,使之做页面跳转, chrome、ff都没问题,ie下却不行。于是,想当然的认为是浏览器的问题后面发现是他们eview的A元素的空跳转引起的。ahref="" ———— 就是这个原因!点击,导致跳转当前目录的url, 而这个是不能访问的。 所以出现404.。这样就可以了: ...
分类:其他好文   时间:2014-07-22 22:52:56    阅读次数:264
Android:Bundles in Activities and Fragments
Activity When you are creating a new instance of Activity via Intent, you can pass some extra data to the Activity. Data are stored in Bundle and can be retrieved by calling?getIntent().getExtras...
分类:移动开发   时间:2014-07-21 10:11:31    阅读次数:272
服务端如何暴露IBinder接口对象
服务端如何暴露IBinder接口对象: package com.example.mydownload; import android.app.Service; import android.content.Intent; import android.os.Binder; import android.os.IBinder; public class MyService extends Se...
分类:其他好文   时间:2014-07-20 09:34:28    阅读次数:201
Network management system scheduling for low power and lossy networks
In one embodiment, a network management system (NMS) determines an intent to initialize a request-response exchange with a plurality of clients in a l...
分类:Web程序   时间:2014-07-20 08:31:43    阅读次数:382
Andriod之Activity
eclipse还原默认的面板设计:Window > Reset Perspective> OK1\1、多个Activity之间的关系;2、Intent的基本作用;3、在一个Activity当中启动另一个Activity;4、使用Intent在Activity之间传递数据的基本方法;Intent的基本...
分类:其他好文   时间:2014-07-19 23:17:13    阅读次数:210
玩转Android---组件篇---Intent(意图)
Intent的中文意思是“意图,目的”的意思,可以理解为不同组件之间通信的“媒介”或者“信使”。目标组件一般要通过Intent来声明自己的条件,一般通过组件中的元素来过滤。Intent在由以下几个部分组成:动作(action),数据(data),分类(Category),类型(Type),组件(Co...
分类:移动开发   时间:2014-07-19 17:20:55    阅读次数:413
Android 学习心得 页面跳转,不显示新页面信息
原因:1.新页面的Activity中,public voidonCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentVie...
分类:移动开发   时间:2014-07-19 16:24:23    阅读次数:202
webview中js调用Android中的方法
package com.example.helloworld; import android.os.Bundle;import android.app.Activity;import android.content.Intent;import android.view.Menu;import and...
分类:移动开发   时间:2014-07-19 00:39:34    阅读次数:207
Android中Service类onStartCommand的返回值问题
Android开发的过程中,每次调用startService(Intent)的时候,都会调用该Service对象的onStartCommand(Intent,int,int)方法,然后在onStartCommand方法中做一些处理。然后我们注意到这个函数有一个int的返回值,这篇文章就是简单地讲讲i...
分类:移动开发   时间:2014-07-19 00:38:50    阅读次数:218
Android中启动第三方应用
主要是通过包名启动第三方应用,获取去包名的方法网上很多,就不多说了。 两种方式启动: 第一种: Intent intent = new Intent(); intent.setClassName("要启动应用的包名", "要启动应用的activity"); startActivity(intent); 第二种: Intent intent = new Intent(); int...
分类:移动开发   时间:2014-07-18 18:02:37    阅读次数:217
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!