Git Product home page Git Product logo

zhbj's Introduction

一个简单的Android版新闻APP

使用工具Android Studio实现一个简单的Android版的新闻APP

目的:

这是我学完Android课程后所写的一个小的、简单版的新闻APP

技术概要:

用到了SQLite数据库,用它来存储每篇新闻下的评论

新闻的来源是新浪新闻,我通过使用Fiddler来对新浪新闻APP进行分析,发现了它们传递新闻的接口 ,也就是得到了json数据,然后解析json数据就可以得到新闻了

当时写的时候主要的难点就是在如何处理各个activity之间的跳转,以及在各个activity之间的数据传递

它有什么用处:

  • 如果你也在写一个新闻类的APP,可以参考

  • 可以使用其中的图标、图片作为你的素材

  • 如果你们老师也要求写一个新闻APP,这用处就你自己发掘了

尝试一下:

GitHub链接:

如果你的手机是Android系统,apk安装包下载:点我下载

截图展示:

程序第一次启动

新闻列表页面

评论页面

zhbj's People

Contributors

daleyzou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.