码迷,mamicode.com
首页 >  
搜索关键字:separator intent    ( 3884个结果
运用手机多媒体
1.使用通知 1.1简介 通知指的是某个应用程序希望想用户发出一些提示信息,而该应用程序又不在前台运行时,就需要借助通知来实现。 1.2通知的基本用法 步骤: 1)实例化NotificationManager 2)设置PendingIntent用于跳转活动,发送广播,启动服务。 (该方法有四个参数, ...
分类:移动开发   时间:2017-09-20 19:26:22    阅读次数:310
What is “passive data structure” in Android/Java?
From the Android developer web link: http://developer.android.com/reference/android/content/Intent.html, you can find that it says "It (Intent) is bas ...
分类:移动开发   时间:2017-09-19 11:07:10    阅读次数:171
Android在 普通类(非Activity,多数为Adapter) 中 传输数据为空值 解决方法 :在startActivity 用 intent传输数据
这是bundle是传输不了数据的,获取到 出现这种情况的原因是非activity类中不存在Context,而在活动中传输数据时需要Context。 我收集到了两种解决方法。 1. 在调用该Adapter的Activity中声明一个Activity(或者Context)。 public static  ...
分类:移动开发   时间:2017-09-15 10:12:09    阅读次数:213
Secrets of Android.mk[转]
Intro to Android.mk Simple example NDK Usage Defining Modules Simple APK APK Dependent on static .jar file APK signed with the platform key APK that s ...
分类:移动开发   时间:2017-09-13 22:05:55    阅读次数:248
手机app打开的web,在打开chrome浏览器
手机app打开的web在,打开chrome浏览器 <a href='intent://#Intent;action=android.intent.action.VIEW;scheme=googlechrome://navigate?url=https://www.baidu.com/?a=n&b=c ...
分类:移动开发   时间:2017-09-13 11:54:59    阅读次数:527
Android学习笔记三:用Intent串联activity
一:Intent Intent可以理解为 意图。 我们可以通过创建intent实例来定义一个跳转意图,意图包括:要跳转到哪个页面、需要传递什么数据。 然后通过startActivity(intent)来启动跳转。 有两种方式定义Intent:显式Intent、隐式Intent。 二:显式Intent ...
分类:移动开发   时间:2017-09-13 09:50:13    阅读次数:202
Utils
public static String[] splitBySeparator(String source, String separator) { int startIndex = 0; int endIndex = source.indexOf(separator); Vector vector... ...
分类:其他好文   时间:2017-09-11 15:18:58    阅读次数:209
数组几个常用方法的详解
join() 方法用于把数组中的所有元素放入一个字符串。元素是通过指定的分隔符进行分隔的。 arrayObject.join(separator)separator 可选。指定要使用的分隔符。如果省略该参数,则使用逗号作为分隔符。返回一个字符串。该字符串是通过把 arrayObject 的每个元素转 ...
分类:编程语言   时间:2017-09-10 20:44:19    阅读次数:245
intent filter 应该叫 intent picker 或 intent receiver 更合乎语义
安卓的开发者指南上说: The system will deliver an implicit intent to your app component only if the intent can pass through one of your intent filters. filter 的一 ...
分类:其他好文   时间:2017-09-10 16:42:41    阅读次数:157
安卓权威编程指南-笔记(第27章 broadcast intent)
本章需求:首先,让应用轮询新结果并在有所发现时及时通知用户,即使用户重启设备后还没有打开过应用。其次,保证用户在使用应用时不出现新结果通知。 1. 一般intent和broadcast intent 许多系统组件需要知道某些事件的发生(WIFI信号时有时无,电话的呼入等),为满足这样的需求,Ando ...
分类:移动开发   时间:2017-09-08 19:30:31    阅读次数:234
3884条   上一页 1 ... 51 52 53 54 55 ... 389 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!