如何将数据从博客获取到Android?

发布于 2025-01-30 13:18:15 字数 312 浏览 3 评论 0 原文

我有一个博客链接() 我需要从此博客中获取文本,并在Android屏幕上显示其中的某些部分。 对于例如:

1:找到第10个字符并在屏幕上显示它

2:查找每个第10个字符(即第10、20、30、3.等),并在屏幕上显示数组

I have a blog link (https://truecaller.blog/2018/01/22/life-as-an-android-engineer/)
I need to fetch the text from this blog and show some parts of it on the android screen.
For eg:

1:Find the 10th character and display it on the screen

2:Find every 10th character (i.e. 10th, 20th, 30th, etc.) and display the array on the screen

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

柳絮泡泡 2025-02-06 13:18:15

弄清楚了我的问题的解决方案,并使用Kotlin创建了同一回购。
您可以在这里找到它: https://github.com/github.com/abd-hashmi/abd-hashmi/truecallerassignment/树/开发
基本上,做的是从博客页面获取数据,并使其可用作字符串

Figured out the solution for my question and created a repo for the same using kotlin.
You can find it here: https://github.com/AbD-hashmi/TrueCallerAssignment/tree/development
Basically what is does is gets data from the blog page and makes it usable as a string

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文