资源简介
android教程源码简洁天气项目源码,程序员在编程的过程中可以参考学习使用,希望对IT程序员有用,此源码程序简单易懂、方便阅读,有很好的学习价值!
代码片段和文件信息
/*************************************************************************
Copyright 2014 MagicMod Project
This file is part of MagicMod Weather.
MagicMod Weather is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation either version 3 of the License or
(at your option) any later version.
MagicMod Weather is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with MagicMod Weather. If not see .
*************************************************************************/
package com.magicmod.mmweather;
import android.location.Location;
import android.location.LocationManager;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.ViewPager;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.view.View.onclickListener;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import com.magicmod.mmweather.config.PreferenceUI;
import com.magicmod.mmweather.config.Preferences;
import com.magicmod.mmweather.engine.WeatherEngine;
import com.magicmod.mmweather.engine.WeatherInfo;
import com.magicmod.mmweather.engine.WeatherProvider;
import com.magicmod.mmweather.engine.WeatherResProvider;
import com.magicmod.mmweather.engine.WeatherInfo.DayForecast;
import com.magicmod.mmweather.engine.WeatherProvider.LocationResult;
import com.magicmod.mmweather.utils.Constants;
import com.magicmod.mmweather.utils.ImageUtils;
import com.magicmod.mmweather.utils.widget.RotateImageView;
import com.magicmod.mmweather.utils.widget.CirclePageIndicator;
import java.nio.MappedByteBuffer;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
public class MainActivity extends FragmentActivity implements onclickListener {
private static final String TAG = “MainActivity“;
private static final boolean DBG = Constants.DEBUG;
/*private static final int LOACTION_OK = 0;
private static final int UPDATE_EXISTS_CITY = 2;
public static final int GET_WEATHER_SCUESS = 3;
public static final int GET_WEATHER_FAIL = 4;*/
//title
private ImageView mCityManagerBtn mLocationBtn mShareBtn;
private TextView mtitleCityName;
private RotateImageView mUpd
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-09-03 23:00 Android应用源码之简洁天气项目源码\
目录 0 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\
文件 416 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\.gitignore
文件 967 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\Android.mk
文件 2691 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\AndroidManifest.xm
文件 35149 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\COPYING
文件 50 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\README
目录 0 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\assets\
文件 2795 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\assets\yahoo_demo.xm
文件 51394 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\ic_launcher-web.png
文件 44 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\proguard.flags
目录 0 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\
目录 0 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\anim\
文件 426 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\anim\refresh_rotate.xm
目录 0 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable\
文件 950 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable\actionbar_background.xm
文件 1013 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable\actionbar_btn.xm
文件 949 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable\actionbar_btn_normal.xm
文件 391 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable\button_press.xm
文件 364 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable\update_btn.xm
文件 42014 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable\widget_preview.png
目录 0 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable-hdpi\
文件 95 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable-hdpi\actionbar_btn_pressed.9.png
文件 68 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable-hdpi\btn_default.png
文件 782 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable-hdpi\btn_press.9.png
文件 376 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable-hdpi\button_bg_press.png
文件 11411 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable-hdpi\ic_launcher.png
文件 3068 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable-hdpi\weather_0.png
文件 3068 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable-hdpi\weather_1.png
文件 4009 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable-hdpi\weather_10.png
文件 3784 2014-02-11 23:02 Android应用源码之简洁天气项目源码\MagicWeather-master\res\drawable-hdpi\weather_11.png
............此处省略321个文件信息
相关资源
- android表格控件动态生成表格源码
- android Camera源码可用
- 安卓 记账本 android
- Android项目源码可做毕设的简单学生管
- Android项目源码简单仿美团UI项目源码
- Android实现Ymoder协议
- 校园代领快递APP
- 尚硅谷全套视频打包地址不对外最新
- Android仿支付宝支付界面界面界面
- Android记录wifi信号强度,磁场传感器,
- Android应用源码简单本地txt阅读器
- android listview从mysql加载数据和图片
- Android 阅读器源码
- Android telnet 客户端
- Android 快速开发框架集合 包含所有常
- bmob-android-第三方登录demo
- Android自定义SurfaceView——实现画板功
- Android 自定义加载框 网络访问
- android仿闲鱼仿道聚城导航栏、发布动
- android简单实现输入经纬度获取地理位
- android随机点名器
- Android网络开发技术实战详解文字版
- Android 视频背景,动态背景,登陆或首
- Android 开发连接后台服务器程序登录注
- Android登录界面
- android 网络
- android 开源库osmdroid绘制点线面比例尺
- android 使用服务读取串口数据
- pc端与android udp 通信
- XamarinAndroidListview
评论
共有 条评论