• y5_893112
  • 1.7MB
  • rar
  • 0
  • VIP专享
  • 0
  • 2022-04-24 07:04
manning的unlocking android的源码下载,www.manning.com
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学习
    • Android678
    • android 例子
      android 例子android 例子android 例子android 例子android 例子
    • android图片
    • android课件
    • 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高手进阶教程