![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android Studio
文章平均质量分 77
分享自己在安卓开发路上的心得
黄团团
用博客分享技术和记录总结,不讲废话,只讲干货!
展开
-
【Android Studio】整合okhttp发送get和post请求(提供Gitee源码)
本篇博客教学大家如何使用okhttp发送同步/异步get请求和同步/异步post请求,这边博主把代码全部亲自测试过了一遍,需要源码的可以在文章最后自行拉取。原创 2024-07-16 16:50:07 · 514 阅读 · 0 评论 -
【Android Studio】实现底部导航栏Tab切换(提供Gitee源码)
前言:本期教学如何使用制作底部导航栏以及用Fragment实现页面切换的完整功能,本篇提供所有源代码,均测试无误,大家可以放心使用。原创 2024-07-12 20:42:27 · 742 阅读 · 0 评论 -
Only the original thread that created a view hierarchy can touch its views问题解决(亲测可用)
Only the original thread that created a view hierarchy can touch its views问题解决(亲测可用),因为在非UI线程中尝试更新UI导致的。Android UI框架要求所有对UI组件的操作必须在UI线程(通常也叫主线程)中执行,否则就会抛出这个异常。创建一个handler去更新UI线程,可以选择在外部定义一个handler并重写handleMessage方法。原创 2024-07-07 11:43:15 · 109 阅读 · 0 评论 -
【Android Studio】正确连接MySQL数据库以及常见问题汇总(亲测可用)
Could not create connection to database server,Access denied for user 'root'@'HTT' (using password: YES),Public Key Retrieval is not allowed,Android Studio正确连接MySQL数据库以及常见问题汇总原创 2024-07-04 00:10:29 · 712 阅读 · 2 评论 -
【Android Studio】Notification通知提醒功能完整代码以及踩坑记录
Caused by: java.lang.IllegalArgumentException: com.example.myapplication: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. Strongly consider using FLAG_IMMUTABLE, only use F原创 2024-06-27 22:33:03 · 727 阅读 · 0 评论