一、所需素材
很有必要整理一下,里面附带友盟的社会化分享组件,我就不去掉了。二、代码import
com.umeng.update.UmengUpdateAgent;import android.app.Activity;import
android.content.Intent;import an...
分类:
移动开发 时间:
2014-06-16 10:52:56
阅读次数:
538
AnIntentis an object that provides runtime
binding between separate components (such as two activities).
Theintentrepresents an app’s "intent to do so...
分类:
移动开发 时间:
2014-06-16 10:00:27
阅读次数:
248
They can usually be purchased in three sizes: £
5, £ 1 and a half pound bags. I even saw them to buy on eBay. Many companies are
cutting Tekpak bag of...
分类:
其他好文 时间:
2014-06-16 09:23:39
阅读次数:
443
package com.home.uploadfile;import
java.io.File;import android.app.Activity;import android.os.Bundle;import
android.view.View;import android.view.View...
分类:
其他好文 时间:
2014-06-16 07:18:00
阅读次数:
230
Intent resultIntent = null; if
(!TextUtils.isEmpty(tid)){ resultIntent = new Intent("com.shijiebang.notify");
resultIntent.putExtra("_notify_url...
分类:
其他好文 时间:
2014-06-16 00:29:55
阅读次数:
297
Android开发中,通常会使用BroadcastReceiver来接受Push推送消息。当APP收到推送通知时,我们需要在通知的点击事件中加入自己的逻辑。比如跳转到MainActivity。比如下面的代码(注意红色部分):public void onReceive(Context context, Intent intent) {
Bundle bundle = intent.g...
分类:
移动开发 时间:
2014-06-15 19:54:15
阅读次数:
251
osgi是一个Java的开源框架,是一个基于java的组件框架。 第一点, 基于OSGI
的应用程序可动态更改运行状态和行为。在OSGI框架中,每一个Bundle 实际上都是可热插拔的,因此,对一个特定的Bundle
进行修改不会影响到容器中的所有应用,运行的大部分应用还是可以照常工作。当你将修改后...
分类:
其他好文 时间:
2014-06-13 17:49:42
阅读次数:
224
当设备接收到一条新的SMS消息时,就会广播一个包含了android.provider.Telephony.SMS_RECEIVED动作的Intent。对于应用程序监听SMS
Intent广播,首先需要添加RECEIVE_SMS权限。通过在应用程序manifest中添加一个uses-permissio...
分类:
移动开发 时间:
2014-06-12 10:20:50
阅读次数:
263