![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android开发
文章平均质量分 74
开心星人
信安之路,道阻且长
展开
-
【Android项目—云备忘录】(一) github仓库搭建、钉钉机器人设置、git的基本使用
📒博客主页:开心星人的博客主页🔥系列专栏:Android项目—云备忘录🎉欢迎关注🔎点赞👍收藏⭐️留言📝📆首发时间:🌴2022年5月25日🌴🍭作者水平很有限,如果发现错误,还望告知,感谢!👀 项目地址: 这里📌导航小助手📌🌳github仓库搭建🌳钉钉机器人设置🌳git的基本使用1、安装Git2、简单配置3、主要使用clonepushpull🌳github仓库搭建刚开始是准备使用gitee的,速度会快一点,但是私人仓库最多五个人,弃之还是使用github直接开源选择setti.原创 2022-05-25 23:08:30 · 734 阅读 · 0 评论 -
[Android] Notification和广播的简单使用
目录🌳效果展示🌳分析🌳全部代码🌳效果展示点击发送广播,会弹出通知点击清除通知图标会删除通知🌳分析动态注册广播接收器 MyReceiver myReceiver=new MyReceiver(); IntentFilter intentFilter=new IntentFilter(); intentFilter.addAction("cn.edu.henu.sendMessage"); //这个Action自己选择一个字符串,最好带上包名,不容易重复 registerRecei原创 2022-05-17 19:37:20 · 730 阅读 · 1 评论 -
[Android] Intent在Activity间传递数据
🌳程序效果点击listview的item,跳转页面点击确定则删除。🌳代码展示activity_main.xml<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools=原创 2022-05-08 10:16:15 · 679 阅读 · 2 评论 -
[Android]实验一:基本控件和事件的使用
涉及知识点: Toast、CheckBox、Radio、Spinner和相关的点击事件目录效果图代码问题效果图当没有输入姓名的时候会提示输入姓名代码MainActivity.javapackage cn.edu.henu.homework;import androidx.appcompat.app.AppCompatActivity;import android.content.Context;import android.os.Bundle;import android.v.原创 2022-03-16 22:37:59 · 2842 阅读 · 0 评论 -
Android开发-抽屉菜单的实现
实现效果点击菜单图表即可进入抽屉代码实现1、打开app/build.gradle文件,在dependencies闭包中添加如下内容:dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:24.2.1' testCompile 'junit:junit:4.12'原创 2021-11-13 22:22:31 · 4400 阅读 · 2 评论