自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 四大组件之一ContentProvider(移动开发技术第三次作业)

ContentProvider是Android系统四大组件之一,标准API,其功能是在不同程序之间实现数据共享,为储存和获取数据提供了统一的接口,具体的数据来源可以是表,也可以是文件,甚至网络等等。不仅可以允许一个程序访问另一个程序中的数据,同时还可以选择只对哪一部分数据进行共享,从而保证程序隐私数据不被泄露。在onCreate函数中调用MyDao的构造函数来进行对数据库中数据的插入。在其中实现插入数据库‘hsDB’中的student表中的数据。先声明全局变量mydao。

2022-11-24 19:48:46 110 1

原创 Activity的生命周期及列表跳转(移动开发技术第二次作业)

android 开发

2022-10-21 21:25:13 661

原创 Android Studio 类微信的门户页面设计(移动开发技术第一次作业)

同样创建 fragment_1.xml ,fragment_2.xml, fragment_3.xml, fragment_4.xml 来作为四个不同的中间内容框。定义四个Fragment类对象,建立FragmentManager 类对象fragmentManager,hide()函数,用于隐藏四个Fragement,达到隐藏中间内容框的效果避免四个内容框叠加显示。创建四个fragment 布局文件对应四个中间内容文件实现界面布局的切换。以聊天界面为例展示中间内容框的部分代码。

2022-09-30 12:32:09 518

原创 c#连接数据库

实验过程: 连接数据库 在vs里面找到工具 点击第二个选项,搜索mysql并安装 点击第一个,安装完成即可 增删改查操作: 设置如图的窗体应用 查询表student中的数据 1. 删除编号为3的数据 查询结果 2. 增加一条编号为9的数据 查询结果 3. 将编号为4的数据分数项改为80 查询结果 using System; using System.Collections.Generic; using System.

2022-05-27 18:36:57 81

原创 【无标题】Windows实现记事本功能

代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace notepad2 { public part..

2022-05-10 21:26:20 80

原创 【无标题】Windows实现记事本功能

代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace notepad2 { public part..

2022-05-10 21:20:34 115

原创 c#实验作业

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Credit { //持有人名 public string ownername; //信用卡欠款 public double balancedue; //还款日期 public int RepaymentDate; ...

2022-04-02 21:31:53 115

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除