[java书籍] 104道android面试题(已修改完).doc

[复制链接]
发表于 2022-6-15 16:49:03
1.如何实现通知栏到聊天界面的跳转
首先,将聊天Activity设置为单任务模式,其次,在生成消息通知时,指定跳转到Activity为聊天Activity,以好友id为参数。在聊天Activity的onNewIntent方法和onCreate方法中,获取好友的聊天ID,加载与好友的聊天信息。

(1. how to jump from the notification bar to the chat interface
First, set the chat activity to the single task mode. Second, when generating a message notification, specify the jump to activity as the chat activity, with the friend ID as the parameter. In the onnewintent method and oncreate method of the chat activity, obtain the chat ID of the friend and load the chat information with the friend.)

[下载]16490352884.rar




上一篇:《HTML5从入门到精通》中文学习教程.pdf
下一篇:125条常见的java面试笔试题大汇总.pdf

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表