2021-12-07 15:52
117
0
0
0
这里实现的是搜索框时时查询,代码中是在数据库中使用的模糊查询;整个布局使用的是线性布局,搜索框又是一个线性布局(里面包含一个相对布局和一个TextView,相对布局里面有一个EditText和ImageVIew),下面是一个ListView;搜索框其实就是一个EditText,背景是用shape自己画出来的;上面放一个"删除"的图片;在Activity中给E
2021-12-07 14:10
121
0
0
0
Android provides many kinds of storage for applications to store their data. These storage places are shared preferences, internal and external storage, SQLite storage, and storage
2021-12-07 14:05
126
0
0
0
Android Studio导入项目的时候,一直卡在Building gradle project info这一步,主要原因还是因为被墙的结果。gradle官网虽然可以访问,但是速度连蜗牛都赶不上...解决办法主要有两种,一是直接下载gradle离线包,二是修改项目的gradle-wrapper.properties里的gradle版本为自己电脑已有的版本。
2021-12-07 14:05
131
0
0
0
默认在Android SDK安装目录的docs\reference\packages.html下。下面是Android的sdk、api及工程目录说明:SDK下包的说明:1:add-ons:Android开发需要的第三方文件和软件库2:docs:Android的文档。包括开发指南、API参考、资源等3:extras:扩展的附加包4:platforms:你安装下
2021-12-07 14:05
108
0
0
0
Broadcast Receiverssimply respond to broadcast messages from other applications or from the system itself. These messages are sometime called events or intents. For example, appl
2021-12-07 14:05
104
0
0
0
An AndroidIntentis an abstract description of an operation to be performed. It can be used withstartActivityto launch an Activity,broadcastIntentto send it to any interested Broadc
2021-12-07 14:05
93
0
0
0
Android is an open source and Linux-based operating system for mobile devices such as smartphones and tablet computers. Android was developed by the Open Handset Alliance, led by G
2021-12-07 14:05
103
0
0
0
A content provider component supplies data from one application to others on request. Such requests are handled by the methods of the ContentResolver class. A content provider ca