Skip to content

iQuick/SunDay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SunDay

SunDay(晴天)

About

练习之作,主要使用Android方面最新的IDE,新的技术、新特性,以及一些流行的开源库快速开发一个不错的REST Client,教你如何Make A Good App!

吐槽:公共天气的api真是太不RESTFul了...

版本

由于v1.0版和v1.1版本区别较大,所以在这里把两个版本都放了出来

版本区别

1、数据接口不一样

2、数据结构不一样

3、v1.1在v1.0基础上功能有所增加

V1.1版

1、更换了数据接口

2、新增了用户反馈功能

3、新增右侧抽屉-每小时天气

4、对左侧抽屉界面进行了修改

5、对网路数据获取进行了优化

Elicpse版

该版为v1.0版本,v1.1暂时未提供Elicpse,需要的朋友还请自己从Studio迁移到Eclipse

Elicpse版由网友ljtyzhr提供 https://github.com/ljtyzhr/Sunday

切记要将 Const类里的六天天气接口换成 http://113.108.239.116/atad/

安装

360 应用宝 百度移动应用 豌豆荚

导入运行

如果你是直接导入Studio,则应该不会有问题,只需要检查你本地的gradle版本即可。如果你要导入eclipse,则AndroidAnnotations可能会不起作用,需要参考这里做一些配置。

有些library是通过gradle直接引用的,具体参见app/build.gradle。

预览

SunDay SunDay SunDay SunDay SunDay SunDay SunDay SunDay

开发工具

Android Studio(0.8.2) + Gradle(1.12)

作为一名潮人,怎能不使用最新的IDE来开发呢?

支持命令行进行Gradle编译:(不知道什么是Gradle?见这篇博客Android Gradle

gradle clean
gradle build

用到的开源库

目前用到的一些开源库,会持续更新。

v1.0

  • Volley Google I/O 2013推出的官方网络请求库,请求快速,使用方便,易于扩展,而且支持图片异步加载。

  • SwipeRefreshLayout Google最近推出的下拉刷新组件,原来下拉刷新可以如此简单,如此酷炫!

  • SwipeBackLayout 你的App还没有支持手势滑动返回么?那就有点Out了。

  • AndroidAnnotations 是不是很烦各种findViewById, 那么这个库正是你需要的,轻量级View注入框架,从此你的代码不再那么臃肿。

  • Gson json解析

  • Crouton 一个友好的提示效果

  • JazzyListView 让你的ListView更容易地加入动画

  • JazzyViewPager 让你的ViewPager实现3D翻转

  • Titanic 不好表达,自己进去看吧

Pull Requests

I will gladly accept pull requests for fixes and feature enhancements but please do them in the develop branch.

感谢

本作SunDay晴天延续了FineDay的首页风格,将构架改成了侧滑栏结构,加入了桌面Widget小控件,温馨提示,及部分其他功能。

感谢 sd6352051大神 stormzhang大神

License

Copyright 2014 IQuick

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Releases

No releases published

Packages

No packages published