UNLOCKING ANDROID源码

  • y5_893112
    了解作者
  • 1.7MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-24 07:04
    上传日期
manning的unlocking android的源码下载,www.manning.com
uad.rar
内容介绍
Unlocking Android - WeatherReporter --------------------------------------------- Concept: --------- Weather information application, combined with location based weather alerting mechanism. General idea, a hand-held type of weather radio that updates it's own current location. (And we had this example/idea around before the two or three similar apps now in the Android App Store and before the Developer Challenge ;).) Details: --------- Uses an online weather API (Yahoo! Weather) to get weather details for the current device location using providers, AND allows user to specify other locations using postal code (enhancement use an optional MapView for specified location input, or other). Once a location is shown, with weather details, including forecast, the user also has the option to enable or disable alerts for that location (two location types, current device location - which updates itself, and user specified locations). If user enables alerts the application will use a Notification to warn the user when severe weather is in either the current device location, or one of their selected saved (and alert enabled) locations. *Note - in dev mode the alert polling threshold is very low (15 seconds). The plan is to make this default to every 4-6 hours in production mode (and allow the user to change it if needed). Android Specifics: ------------------- Written with two main goals in mind: first - be very useful to the user, second - exercise many of the Android architectural aspects. Uses a background service to poll for weather conditions for alert enabled locations. Service is started at boot via BroadcastReciever (and if not already running is also started when first Activity is invoked). Uses SQLite to store saved location information. Uses a custom scheme and authority as a registered Intent to allow other applications to invoke it easily with a "weather://com.msi.manning?loc=ZIP" style URI. Tested with Android 1.1 and 1.5. -------------------------------------- Checkout: svn co http://unlocking-android.googlecode.com/svn/chapter4/trunk/WeatherReporter Eclipse: Setup a SVN repository for the UAD code project (http://unlocking-android.googlecode.com/svn). Then checkout chapter4/trunk/WeatherReporter as an Eclipse project.
评论
    相关推荐
    • Android学习
      Android学习Android学习Android学习Android学习Android学习Android学习
    • Android678
      Android678Android678Android678Android678Android678Android678Android678Android678Android678Android678
    • android 例子
      android 例子android 例子android 例子android 例子android 例子
    • android图片
      android精美小图片android精美小图片android精美小图片android精美小图片
    • android课件
      清华老师上课的android课件。ch_01android概述ch_02android开发基础ch_03资源的访问ch_04android用户界面ch_05Ativity和Intent。其他自己看。
    • AndroidKiller
      安卓App反编译工具AndroidKiller\AndroidKiller\AndroidKiller
    • AndroidSample
      Android示例 这是一个示例Android应用,用于降低Google Play服务和Android Volley的使用率。 有关更多详细信息,请参阅以下链接: Google Play服务: Android凌空抽射:
    • android source
      android 源代码 source android 源代码 source android 源代码 source android 源代码 source android 源代码 source android 源代码 source android 源代码 source
    • Android 教程
      Android 案例 教程,Android 案例 教程,Android 案例 教程,Android 案例 教程,Android 案例 教程,Android 案例 教程,Android 案例 教程,Android 案例 教程,Android 案例 教程,Android 案例 教程,Android ...
    • android资料
      Android程序员指南 Android_UI开发专题 Android程序开发初级教程 android的五大类各种常用类的资料整理 Android高手进阶教程