android
-
Win11android子系统 WSA 2307今日更新: 支持 Vulkan API
微软 Windows 11 安卓子系统今日迎来 2307.40000.2.0php 版本更新,为 PC 平台的安卓应用带来了 Vulkan API 图形渲染支持。[详细]
2023-11-19 13:10 分类:开发 Android设置改变透明度实例
目录如何设置透明度方法一:使用setAlpha()方法方法二:使用setBackgroundAlpha()方法方法三:使用XML文件设置透明度透明度表的使用透明度数值图片透明度文本透明度背景透明度动态改变透明度总结在android开发中,透明[详细]
2023-11-09 11:39 分类:开发Android使用fastjson库解析json字符串实战
目录什么是FastjsonFastjson具有以下特点: fastjson使用快速入门示例1、在android项目中使用Fastjson,可以通过以下方式进行安装和导入:2、在MainActivity.Java文件中添加如下代码3、新建Student.java文件并定[详细]
2023-11-09 11:38 分类:开发android中实现editext搜索完成自动关闭软键盘
目录关键步骤监听搜索按钮的点击事件1、在布局文件中定义EditText和搜索按钮。2、在Activity或Fragment中获取EditText并设置OnEditorActionListener。关闭软键盘完整示例代码总结在android应用开发中,经常会遇到需要[详细]
2023-11-09 11:35 分类:开发How to add EditText in ListView multiple choice type
I have inside LinearLayout ListView with multiple select choice(all strings). How to add on last position in ListView EditText. I have used ArrayAdapter to fill list with strings. How to add that fi开[详细]
2023-04-13 10:08 分类:问答Android OpenGL 1.0 different texture for each face of the cube with texture atlas
I have a cube, I can assign for it one texture, but I would like to assign different texture for each face. I have a 512x512 texture atlas, with four tiles, each 256x256. I use the NeHe ports, so for[详细]
2023-04-13 10:07 分类:问答Is it possible to set the wallpaper just like it's done with the app that comes with Android?
Android has a way to set the home screen wallpaper. The user taps \"menu\" and then selects \"wallpaper\" to set a wallpaper from the system. The resulting wallpaper image is properly scaled in both p[详细]
2023-04-13 10:07 分类:问答Can I include code from one file to the next, similar to Includes in html
Ok, Please be gentle and kind.I am taking an Android Programming class in college and its our teachers first semester so he is learning as we are... Nothing against him, he\'s a good teacher, just doe[详细]
2023-04-13 10:01 分类:问答Exception while reading from SQLite DB in android
I don\'t know the meaning of this error , anyone can help ? 10-15 13:07:02.221: DEBUG/query(587): SELECT event_id as _id,start_date, end_date, event_body, event_title, student_id, event_status, servi[详细]
2023-04-13 09:56 分类:问答The window of the Emulator is too big than a mobile screen
i have make a small example to test my Android environment, when i launch the execution on the AVD, it looks too big(as if it is a table开发者_JAVA技巧t screen). How can i fix the size so that it look[详细]
2023-04-13 09:56 分类:问答