[上传者]蜗壳会员514
[说明] 源码来自互联网,以下数据均来自AI处理非人工审核!请查看下列查杀再决定是否导入项目!短时间频繁使用本地下载可能会被创宇盾拦截,拦截后可以使用网盘下载!
下载地址:本地下载 网盘下载(推荐)
资源资料
启动页main.iyu载入事件部分代码
/.QQ.2941866567
.群.947756726
.有股东说不会取消通知就复制下面的代码放到按钮里面吧
.java(null,通知管理器,"android.app.NotificationManager.cancel","int",NOTIFICATION_ID)
./
s NOTIFICATION_ID = 999
s 标题 = "来迟 (cover 戴羽彤)"
s 内容 = "不是花火呀 - 来迟 (cover 戴羽彤)"
fdir("$classes.jar",dexPath)
fc("@classes.jar",dexPath,null)
java(classloader,activity,"Context.getClassLoader")
java(null,classloader,"dalvik.system.BaseDexClassLoader.addDexPath","String",dexPath)
javanew(广播监听器,"cn.sulefi.stub.MyBroadcastReceiver")
java(null,广播监听器,"cn.sulefi.stub.MyBroadcastReceiver.setListener",".cn.sulefi.stub.MyBroadcastReceiver$BroadcastReceiverListener",null){
sgsz(st_aS,1,耳机数据)
git(耳机数据,"action",按钮类型)
f(按钮类型=="cn.sulefi.action.MEDIA_BUTTON_FAVORITE"){
tw("点击了喜欢")
}else f(按钮类型=="cn.sulefi.action.MEDIA_BUTTON_PREVIOUS"){
tw("点击了上一首")
}else f(按钮类型=="cn.sulefi.action.MEDIA_BUTTON_PLAYSTATE"){
tw("点击了播放状态")
}else f(按钮类型=="cn.sulefi.action.MEDIA_BUTTON_NEXT"){
tw("点击下一首")
}else f(按钮类型=="cn.sulefi.action.MEDIA_BUTTON_LYRICS"){
tw("点击了桌面歌词")
}
}
javanew(filter,"android.content.IntentFilter")
java(null,filter,"android.content.IntentFilter.addAction","String","cn.sulefi.action.MEDIA_BUTTON_FAVORITE")
java(null,filter,"android.content.IntentFilter.addAction","String","cn.sulefi.action.MEDIA_BUTTON_PREVIOUS")
java(null,filter,"android.content.IntentFilter.addAction","String","cn.sulefi.action.MEDIA_BUTTON_PLAYSTATE")
java(null,filter,"android.content.IntentFilter.addAction","String","cn.sulefi.action.MEDIA_BUTTON_NEXT")
java(null,filter,"android.content.IntentFilter.addAction","String","cn.sulefi.action.MEDIA_BUTTON_LYRICS")
java(null,activity,"Context.registerReceiver","android.content.BroadcastReceiver",广播监听器,"android.content.IntentFilter",filter)
bfm("@a.mp3",播放器)
//只有安卓7以上可以设置播放速度
java(播放器配置,播放器,"android.media.MediaPlayer.getPlaybackParams")
java(null,播放器配置,"android.media.PlaybackParams.setSpeed","float",1)
java(null,播放器,"android.media.MediaPlayer.setPlaybackParams","android.media.PlaybackParams",播放器配置)
java(音乐时长,播放器,"android.media.MediaPlayer.getDuration")
java(播放位置,播放器,"android.media.MediaPlayer.getCurrentPosition")
java(播放速度,播放器配置,"android.media.PlaybackParams.getSpeed")
sbp("@ic_no_favorite.png",喜欢)
java(喜欢,null,"android.graphics.drawable.Icon.createWithBitmap","android.graphics.Bitmap",喜欢)
sbp("@ic_play_playlast_regular.png",上一首)
java(上一首,null,"android.graphics.drawable.Icon.createWithBitmap","android.graphics.Bitmap",上一首)
sbp("@ic_play_pause_regular.png",播放状态)
java(播放状态,null,"android.graphics.drawable.Icon.createWithBitmap","android.graphics.Bitmap",播放状态)
sbp("@ic_play_next_regular.png",下一首)
java(下一首,null,"android.graphics.drawable.Icon.createWithBitmap","android.graphics.Bitmap",下一首)
sbp("@ic_desktop_lyrics.png",歌词)
java(歌词,null,"android.graphics.drawable.Icon.createWithBitmap","android.graphics.Bitmap",歌词)
sbp("@icon_iapp.png",图标)
java(图标,null,"android.graphics.drawable.Icon.createWithBitmap","android.graphics.Bitmap",图标)
sbp("@i.png",封面)
java(封面,null,"android.graphics.drawable.Icon.createWithBitmap","android.graphics.Bitmap",封面)
java(通知管理器,activity,"Context.getSystemService","String","notification")
java(是否启用通知,通知管理器,"android.app.NotificationManager.areNotificationsEnabled")
f(!是否启用通知){
utw(null,"警告","?没有通知权限,请前往设置开启。","哦",true,null){
}
endcode
}
javanew(音乐信道,"android.app.NotificationChannel","String","music","CharSequence","音乐","int",3)
java(null,通知管理器,"android.app.NotificationManager.createNotificationChannel","android.app.NotificationChannel",音乐信道)
javanew(系统音乐通知样式,"android.app.Notification$MediaStyle")
javanew(通知配置,"android.app.Notification$Builder","Context",activity)
java(通知配置,通知配置,"android.app.Notification$Builder.setChannelId","String","music")
java(通知配置,通知配置,"android.app.Notification$Builder.setAutoCancel","boolean",false)
java(通知配置,通知配置,"android.app.Notification$Builder.setContentText","CharSequence",内容)
java(通知配置,通知配置,"android.app.Notification$Builder.setContentTitle","CharSequence",标题)
java(通知配置,通知配置,"android.app.Notification$Builder.setShowWhen","boolean",true)
java(通知配置,通知配置,"android.app.Notification$Builder.setLargeIcon","android.graphics.drawable.Icon",封面)
java(通知配置,通知配置,"android.app.Notification$Builder.setSmallIcon","android.graphics.drawable.Icon",图标)
sit(i,"action","cn.sulefi.action.MEDIA_BUTTON_FAVORITE")
java(意图,null,"android.app.PendingIntent.getBroadcast","Context",activity,"int",0,"android.content.Intent",i,"int",0)
javanew(通知按钮意图,"android.app.Notification$Action$Builder","android.graphics.drawable.Icon",喜欢,"CharSequence","喜欢","android.app.PendingIntent",意图)
java(通知按钮意图,通知按钮意图,"android.app.Notification$Action$Builder.build")
java(通知配置,通知配置,"android.app.Notification$Builder.addAction","android.app.Notification$Action",通知按钮意图)
sit(i,"action","cn.sulefi.action.MEDIA_BUTTON_PREVIOUS")
java(意图,null,"android.app.PendingIntent.getBroadcast","Context",activity,"int",0,"android.content.Intent",i,"int",0)
javanew(通知按钮意图,"android.app.Notification$Action$Builder","android.graphics.drawable.Icon",上一首,"CharSequence","上一首","android.app.PendingIntent",意图)
java(通知按钮意图,通知按钮意图,"android.app.Notification$Action$Builder.build")
java(通知配置,通知配置,"android.app.Notification$Builder.addAction","android.app.Notification$Action",通知按钮意图)
sit(i,"action","cn.sulefi.action.MEDIA_BUTTON_PLAYSTATE")
java(意图,null,"android.app.PendingIntent.getBroadcast","Context",activity,"int",0,"android.content.Intent",i,"int",0)
javanew(通知按钮意图,"android.app.Notification$Action$Builder","android.graphics.drawable.Icon",播放状态,"CharSequence","上一首","android.app.PendingIntent",意图)
java(通知按钮意图,通知按钮意图,"android.app.Notification$Action$Builder.build")
java(通知配置,通知配置,"android.app.Notification$Builder.addAction","android.app.Notification$Action",通知按钮意图)
sit(i,"action","cn.sulefi.action.MEDIA_BUTTON_NEXT")
java(意图,null,"android.app.PendingIntent.getBroadcast","Context",activity,"int",0,"android.content.Intent",i,"int",0)
javanew(通知按钮意图,"android.app.Notification$Action$Builder","android.graphics.drawable.Icon",下一首,"CharSequence","上一首","android.app.PendingIntent",意图)
java(通知按钮意图,通知按钮意图,"android.app.Notification$Action$Builder.build")
java(通知配置,通知配置,"android.app.Notification$Builder.addAction","android.app.Notification$Action",通知按钮意图)
sit(i,"action","cn.sulefi.action.MEDIA_BUTTON_LYRICS")
java(意图,null,"android.app.PendingIntent.getBroadcast","Context",activity,"int",0,"android.content.Intent",i,"int",0)
javanew(通知按钮意图,"android.app.Notification$Action$Builder","android.graphics.drawable.Icon",歌词,"CharSequence","上一首","android.app.PendingIntent",意图)
java(通知按钮意图,通知按钮意图,"android.app.Notification$Action$Builder.build")
java(通知配置,通知配置,"android.app.Notification$Builder.addAction","android.app.Notification$Action",通知按钮意图)
cls("int",c)
java(intgerArray,null,"java.lang.reflect.Array.newInstance","Class",c,"int",3)
sssz(intgerArray,0,4)
sssz(intgerArray,1,2)
sssz(intgerArray,2,3)
//设置缩小后的按钮 显示 [歌词, 播放按钮, 下一曲]
java(null,系统音乐通知样式,"android.app.Notification$MediaStyle.setShowActionsInCompactView","int[]",intgerArray)
javanew(媒体会话,"android.media.session.MediaSession","Context",activity,"String","iAppMusic")
java(null,媒体会话,"android.media.session.MediaSession.setActive","boolean",true)
javanew(媒体数据,"android.media.MediaMetadata$Builder")
java(媒体数据,媒体数据,"android.media.MediaMetadata$Builder.putLong","String","android.media.metadata.DURATION","long",音乐时长)
java(媒体数据,媒体数据,"android.media.MediaMetadata$Builder.build")
java(null,媒体会话,"android.media.session.MediaSession.setMetadata","android.media.MediaMetadata",媒体数据)
javanew(播放器状态,"android.media.session.PlaybackState$Builder")
java(播放器状态,播放器状态,"android.media.session.PlaybackState$Builder.setActions","long",3)
java(时间,null,"android.os.SystemClock.elapsedRealtime")
java(播放器状态,播放器状态,"android.media.session.PlaybackState$Builder.setState","int",3,"long",播放位置,"float",播放速度,"long",时间)
java(播放器状态,播放器状态,"android.media.session.PlaybackState$Builder.build")
java(null,媒体会话,"android.media.session.MediaSession.setPlaybackState","android.media.session.PlaybackState",播放器状态)
java(会话token,媒体会话,"android.media.session.MediaSession.getSessionToken")
java(null,系统音乐通知样式,"android.app.Notification$MediaStyle.setMediaSession","android.media.session.MediaSession$Token",会话token)
java(通知配置,通知配置,"android.app.Notification$Builder.setStyle","android.app.Notification$Style",系统音乐通知样式)
java(通知,通知配置,"android.app.Notification$Builder.build")
java(null,通知管理器,"android.app.NotificationManager.notify","int",NOTIFICATION_ID,"android.app.Notification",通知)
源码病毒云检测评估结果
-----------------
(mian.iyu)中存在:
疑似获取当前项目路径(通过某种方式获取当前项目路径从而找到感染位置,误报率较高)
(mian.iyu)中存在:
疑似获取当前项目路径(通过某种方式获取当前项目路径从而找到感染位置,误报率较高)
随机推荐
投稿