服务端 API

pushAction Long 否 0 点击消息后的跳转方式:0-Web URL 1-Intent Activity 默认为 Web URL。uri String 否 http://www 点击消息后的跳转地址。silent Long 否 1 是否静默:1-静默 0-非静默 notifyType String 否 表示消息通道类型:...

隐私权限弹框的使用说明

if(PrivacyUtil.isUserAgreed(activity)){ mUIHandler.postDelayed(new Runnable(){ public void run(){ Intent intent=new Intent(activity,MainActivity.class);activity.startActivity(intent);activity.finish();} },1000);} else { ...

辅助弹窗接入

创建 PopupNotifyClick 实例,同时传入 PopupNotifyClickListener 接口,在 PopupNotifyClick 实例的 onCreate 方法传入 context 和单击通知指定启动 ActivityIntent,解析完成后,会在 PopupNotifyClickListener 接口的 ...

MPH5OpenFileChooserProvider 的使用

方案二 在 openFileChooser 方法中通过 Intent 跳转到一个 Activity,并将 valueCallback 传递给 Activity。调用系统的拍照/图片选择 SDK(可以进行扩展如图片裁剪等功能)。通过 webview 系统的 valueCallback.onReceiveValue(xx)传递给...

快速入门

Action设置方法如下:<activity android:name="MessageClickActivity"><intent-filter><action android:name="android.intent.action.VIEW"/><category android:name="android.intent.category.DEFAULT"/></intent-filter></activity>...

Android SDK配置(V3.0.0及以上版本)

本章节介绍移动推送...REMOVED"/></intent-filter><intent-filter><action android:name="com.alibaba.sdk.android.push.RECEIVE" /></intent-filter>重要 旧版本 SDK集成说明:如果是从V2.3.7及以下版本升级到V3.0.0及以上版本的用户,需将...

锁以及排查锁

Intent(I)意向锁,这种类型的锁通常用于表达锁的层次结构,同一个资源上允许存在多个意向锁,当申请成功后,该资源上就不能有排他锁。例如,当事务申请一行的排他锁时,它会同时申请表的意向锁(表是比行更高层次的资源),以防止其他事务...

AliRtcEngine接口

参数说明 参数 类型 描述 context Context 安卓(Android Activity)的上下文。extras String 通过JSON配置SDK的特别功能,更多信息,请参见 extras参数配置说明。无需特别功能,可填空字符:@"。重要 同一时间只会存在一个主实例,只能在...

Android SDK中推送通知打开指定Activity时如何操作?

问题详述 推送通知打开指定Activity时如何...} 注意:由于BroadcastReceiver中获取到的 Context 不是 ActivityContext 而是 ApplicationContext,所以无法直接打开activity,而需要将对应intent设置为 Intent.FLAG_ACTIVITY_NEW_TASK 才行。

为什么在通知回调中无法打开activity

问题详述 为什么在接收到推送通知的回调onNotification,onMessage,onNotificationOpened中无法打开activity?解决方案 上述回调中的context参数为...intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);context.startActivity(intent);}

mPaaS 适配 targetSdkVersion 31

theme="@android:style/Theme.Translucent.NoTitleBar"tools:replace="configChanges"><intent-filter><action android:name="com.sina.weibo.sdk.action.ACTION_SDK_REQ_ACTIVITY"/><category android:name="android.intent.category....

android_os_TransactionTooLargeException

setContentView(R.layout.activity_main);Intent intent=new Intent();intent.setAction("android.intent.action.DictionaryManagerService");intent.setPackage("com.wanginbeijing.dictionaryserver");bindService(intent,mConnection,...

android_content_ActivityNotFoundException

activity>方案2:针对可能不存在的Activity抛出的异常进行捕获 public static void startDialer(Context context,String phoneNumber){ try { Intent dial=new Intent();dial.setAction(Intent.ACTION_DIAL);dial.setData(Uri.parse("tel:...

快速开始

intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:scheme="tencent1104122330"/> </intent-filter> </activity>·微博分享 需要...

通知点击处理

filter><action android:name="android.intent.action.VIEW"/><category android:name="android.intent.category.BROWSABLE"/><category android:name="android.intent.category.DEFAULT"/><data android:scheme="mpaas" /></intent-filter></...

加载框架与定制

filter><action android:name="android.intent.action.MAIN"/><category android:name="android.intent.category.LAUNCHER"/></intent-filter></activity>为方便开发人员对启动过程的理解,也为了避免启动过程被误改误删、被干扰,mPaaS 的...

Android端接入

setContentView(R.layout.activity_webview_sample);webViewFragment=EmasHybridWebViewHelper.getInstance().installWebView(this,Uri.parse("https://emas.xxx.com/"),R.id.root,new WVWebViewClient(this){@Override public void ...

埋点验证

intent-filter><action android:name="android.intent.action.VIEW"/><category android:name="android.intent.category.DEFAULT"/><category android:name="android.intent.category.BROWSABLE"/>你的appkey"/></intent-filter>1、请使用...

引入&配置SDK

让应用能被指定连接scheme唤起.<intent-filter><action android:name="android.intent.action.VIEW"/><category android:name="android.intent.category.DEFAULT"/><category android:name="android.intent.category.BROWSABLE"/>你的appkey"/...

埋点验证详细指南

intent-filter><action android:name="android.intent.action.VIEW"/><category android:name="android.intent.category.DEFAULT"/><category android:name="android.intent.category.BROWSABLE"/>你的appkey"/></intent-filter>说明 1、请...

使用 H5 容器

name"android:roundIcon="@mipmap/ic_launcher_round"android:supportsRtl="true"android:theme="@style/AppTheme"><activity android:name=".MainActivity"><intent-filter><action android:name="android.intent.action.MAIN"/>...

Android客户端接入

keyboardHidden|screenSize"android:exported="false"android:launchMode="singleTop"android:screenOrientation="behind"android:theme="@style/authsdk_activity_dialog"/>/号码认证协议及登录注册场景协议界面用户可自定义<activity ...

DingRtcEngine接口

通过阅读本文,您可以了解到Android SDK的DingRtcEngine接口详情。接口说明 目录 基础接口 API 描述 支持的最低版本 create 获取DingRtcEngine实例。3.0 destroy 销毁DingRtcEngine实例。3.0 setRtcEngineEventListener 设置Engine回调。...

公共接口

说明 由于涉及到权限申请,此处的 context 必须是 activity 的 context。参数:参数 类型 说明 context Context 上下文内容 返回值:无。setRtcListenerAndHandler 声明:public void setRtcEngineEventListener...

Android端推送通知打开指定Activity时如何获取推送...

详细信息 打开指定Activity时,在该Activity的 onCreate()中调用如下代码获取指定参数:Intent intent=getIntent();通知标题。String title=intent.getStringExtra("title");通知内容。String summary=intent.getStringExtra("summary");...

移动推送Android SDK:透传消息+用户自建通知最佳实践

} } } 在AndroidManifest.xml文件中注册该Service:<service android:name="NotificationService" android:exported="false"><intent-filter><action android:name="your notification click action"/></intent-filter><intent-filter>...

真机预览与调试

小程序 IDE 支持真机预览与调试,您可以在...代码示例 MriverDebug.debugAppByUri(MainActivity.this,intent.getData());参数说明 名称 类型 描述 必填 activity Activity 所在的 Activity。否(推荐填写)uri Uri 二维码扫描返回的数据。否

快速开始

CHANGE"/>如不需要监听用户唤醒广播,可删除:<action android:name="android.intent.action.USER_PRESENT"/>如不需要监听充电状态变化广播,可删除:<action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>如不需要监听...

FCM 推送

public class FcmErrorReceiver extends BroadcastReceiver {@Override public void onReceive(Context context,Intent intent){ String action=intent.getAction();if("action.mpaas.push.error.fcm.init".equalsIgnoreCase(action)){ ...

OPPO 消息推送失败

若出现 OPPO 渠道消息推送失败的情况,请...V2.0.2 添加 Service START-><service android:name="com.heytap.mcssdk.PushService" android:permission="com.coloros.mcs.permission.SEND_MCS_MESSAGE"android:process=":push"><intent-filter>...

抓取 UC 内核闪退

上报 native 闪退-><receiver android:name="com.alipay.mobile.common.logging.process.LogReceiverInToolsProcess" android:enabled="true" android:exported="false" android:process=":tools"><intent-filter>${applicationId}.monitor....

启动小程序

是 Mriver.startApp(Activity activity,String appid)该接口用于跳转到小程序,推荐跳转到启动小程序所在页面的 Activity。代码示例 Mriver.startApp(activity,"2021022320210223");参数说明 名称 类型 描述 必填 appId String 待跳转的...

Chat-会话

字段名 类型 描述 MATCHED_ENTRY_NAME String 命中的触发节点名称 MATCHED_INTENT_SOURCE String 命中的触发节点意图来源 INTENT_ID Long 命中的意图 ID IntentName String 与 INTENT_NAME 相同 INTENT_DETAIL String 意图命中的方式细节,...

使用阿里云Prometheus监控集群GPU资源

apiVersion:apps/v1 kind:Deployment metadata:name:bert-intent-detection spec:replicas:1 selector:matchLabels:app:bert-intent-detection template:metadata:labels:app:bert-intent-detection spec:containers:name:bert-container ...

API 说明

void checkNewVersion(Activity activity)setIntervalTime 设置单次提醒的间隔时间。void setIntervalTime(long interval202)默认是 3 天,单位:毫秒。setMPaasCheckCallBack 设置升级 SDK 检测更新时调用的回调实例。void ...

基于GPU指标实现AHPA弹性预测

展开查看详情 cat|kubectl create-f-apiVersion:apps/v1 kind:Deployment metadata:name:bert-intent-detection spec:replicas:1 selector:matchLabels:app:bert-intent-detection template:metadata:labels:app:bert-intent-detection ...

基于GPU指标实现弹性伸缩

展开查看命令详情 cat|kubectl create-f-apiVersion:apps/v1 kind:Deployment metadata:name:bert-intent-detection spec:replicas:1 selector:matchLabels:app:bert-intent-detection template:metadata:labels:app:bert-intent-detection...

基于GPU指标实现AHPA弹性预测

展开查看详情 cat|kubectl create-f-apiVersion:apps/v1 kind:Deployment metadata:name:bert-intent-detection spec:replicas:1 selector:matchLabels:app:bert-intent-detection template:metadata:labels:app:bert-intent-detection ...

基于GPU指标实现弹性伸缩

展开查看命令详情 cat|kubectl create-f-apiVersion:apps/v1 kind:Deployment metadata:name:bert-intent-detection spec:replicas:1 selector:matchLabels:app:bert-intent-detection template:metadata:labels:app:bert-intent-detection...

Android客户端Demo体验

setContentView(R.layout.activity_login);mTvResult=findViewById(R.id.tv_result);sdkInit(BuildConfig.AUTH_SECRET);mUIConfig=BaseUIConfig.init(mUIType,this,mPhoneNumberAuthHelper);oneKeyLogin();mTvResult....
共有13条 < 1 2 3 4 ... 13 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 对象存储 物联网平台
新人特惠 爆款特惠 最新活动 免费试用