OpenStreetMap
易歌
这个作者很懒,什么都没留下…
展开
-
android 天气预报
android有些应用中需要使用天气预报,来展示今天、未来几天的天气状况,那么具体怎么做呢。 一起来看看 [b]首先需要 国家气象局提供的天气预报接口[/b] 1.风力和湿度: [url]http://www.weather.com.cn/data/sk/101010100.html[/url] 2.气温和天气状况:[url]http://www.weather.com.cn/...原创 2014-01-13 18:37:06 · 153 阅读 · 0 评论 -
android Drawable Bitmap
1.Drawable—>Bitmap [code="java"] Resources res=getResources(); Bitmap bmp=BitmapFactory.decodeResource(res, R.drawable.sample_0); [/code] 2.Bitmap---->Drawable [code="java"] Drawable dr...原创 2014-01-20 09:28:12 · 116 阅读 · 0 评论