freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

本科畢業(yè)論文-基于android平臺的3g氣象軟件設(shè)計(留存版)

2025-08-02 08:22上一頁面

下一頁面
  

【正文】 stParseException(Problem calling forecast API, e)。 } (3) 將 解 析 好 的 數(shù) 據(jù) 存 儲 到 SQLite 數(shù) 據(jù) 庫 中 。 service android:name=ForecastService/service service android:name=ForecastTimeService/service 用戶界面 在用戶界面設(shè)計上,采用了 AppWidget框架結(jié)構(gòu),提供直觀的交互操作。 (, widgetId)。在此工程中,仍然使用 setContentView( )設(shè)置布局,這樣做的好處是可以在界面中設(shè)置更為復(fù)雜的顯示元素。/ + (3) + 161。由于對 JAVA濃厚的興趣引發(fā)了我對 Android 的好奇心,從一開始什么都不懂一直摸索著運用了很多高級技術(shù)完成了這個軟件。 如 下圖所示: (3)設(shè)置好后就進入顯示頁面,顯示頁面通過文字和圖片顯示當(dāng)前的天氣情況,包括日期、時間、城市、最高溫度、最低溫度、當(dāng)前溫度等。 ((1))。 } } ConfigureActivity的布局文件是 res/layout/,采用了LinearLayout的布局方式。代碼如下: 第五章 程序開發(fā) !receiver字段定義的是 AppWidgetProvider類 — receiver android:icon=drawable/weather android:label=string/app_name android:name=ForecastWidget !intentfilter說明 appWidget可以接受下面的廣播事件 — intentfilter action android:name= /action /intentfilter !metadata指明屬性文件 — metadata android:name= android:resource=xml/weatherwidget/metadata /receiver 設(shè)置 頁面 ConfigureActivity ConfigureActivity繼承 Activity并且實現(xiàn)了 ,AppWidget第一次啟動之前會先運行 ConfigureActivity,會出現(xiàn)設(shè)置頁面用戶進行設(shè)置,點擊保存按鈕就會將設(shè)置好的參數(shù)會存儲到 SQLite中 。 AppWidget一啟動就會啟動 ForcastTimeService這個后臺服務(wù),此服務(wù)設(shè)置了每隔 20秒刷新一次時間,“顯示頁面”通過這個后臺服務(wù)獲取系統(tǒng)時間從而顯示。 } else if ((tagName)) { dealWithCurrentConditions(tagName, widgetEntity, xpp)。 第五章 程序開發(fā) StatusLine status = ()。 private static final int FORECASTS_ID = 202。 ( + = + forecastId)。 //通過一個 switch語句,完成了通 過 uri種類的辨別來生成不通的SQLiteQueryBuilder對象的工作。 } public void onCreate(SQLiteDatabase db) { //創(chuàng)建 weather_widget表 public void onCreate(SQLiteDatabase db) { //創(chuàng)建 weather_widget表 (CREATE TABLE + TABLE_WIDGET + ( ......)。 (2) 的部分代碼: public class ForecastEntity { private Integer id。 在介紹 ForecastProvider 的 核 心 代 碼 前 , 首 先 了 解 一 下(當(dāng)前天氣信息的類 )和 (未來天氣信息的類)。 表 41 詳細頁面的數(shù)據(jù)庫表 weather_forcast 的結(jié)構(gòu) 屬性 數(shù)據(jù)類型 說明 _id integer 自動增加的主鍵 widgetId integer 組件的 ID號 dayOfWeek text 周幾 low integer 最低溫度 第四章 程序設(shè)計 hight integer 最高溫度 icon text 顯示天氣的圖標(biāo) condition text 未來天氣情況 表 42 顯示頁面的數(shù)據(jù)庫表 weather_widget 的結(jié)構(gòu) 屬性 數(shù)據(jù)類型 說明 _id integer 存儲 Widget組件 id city text 進行天氣信息查詢的城市名 updateMilis text 進行天氣信息查詢的頻率,單位為分 /次 isConfigured text 是否設(shè)置 postalCode text 城市標(biāo)記 forecastDate integer 預(yù)報日期 condition text 當(dāng)前天氣情況 tempF integer 最高溫度 tempC integer 最低溫度 humidity text 當(dāng)前濕度 icon text 天氣圖標(biāo) windCondition text 風(fēng)向風(fēng)速情況 lastUpdateTime integer 最后一次更新時間 程序模塊設(shè)計 從功能需求上分析可以看出,整個應(yīng)用程序應(yīng)劃分為 4 個模塊,分別是程序啟動、用戶界面、后臺服務(wù)和數(shù)據(jù)庫適配器,各模塊之間的關(guān)系如圖 42 所示。同時,還需要在 Eclipse 安裝 ADT,為 Android 開發(fā)提供開發(fā)工具的升級或者變更,是Eclipse 下開發(fā)工具的升級下載的工具。 據(jù) Informa 預(yù)測, 2021 年,安卓手機銷量將超過諾基亞塞班手機,屆時安卓將成為全球最大的智能手機平臺。Android 的最大特點是其開放性體系架構(gòu),不僅具有非常好的開發(fā)、調(diào)試環(huán)境,而且還支持各種可擴展的用戶體驗,包括豐富的圖形組件、多媒體支持功能以及強大的瀏覽器。s biggest feature is its open architecture, not only has a very good development and debugging environment, but also supports a variety of scalable user experience, including rich graphical ponents, multimedia support, and powerful browser. Therefore, for software professionals is, Android platform has unlimited appeal. In this paper, the analysis and discussion Android mobile phone software development technology on the basis of the principle, developed to provide users with better platform to the 3G handsets based on Android meteorological software. Keywords: android; weather software; smartphone platform 目錄 目 錄 摘要 ........................................................................................................................... II Abstract ........................................................................................................................ III 第一章 緒論 ....................................................................................................................1 1. 1 研究內(nèi)容 .......................................................................................................1 1. 2 研究意義 .......................................................................................................1 1. 3 研究現(xiàn)狀和發(fā)展趨勢 ...................................................................................1 第二章 系統(tǒng)分析 ........................................................................................................3 研究目標(biāo) ..........................................................................................................3 需求分析 ..........................................................................................................3 性能分析 ..........................................................................................................3 第三章 系統(tǒng)開發(fā)環(huán)境及相關(guān)技術(shù) ..............................................................................4 Android 開發(fā)環(huán)境介紹 ...................................................................................4 Android 開發(fā)平臺搭建 .................................................................................4 第四章 程序設(shè)計 ..........................................................................................................6 用戶界面設(shè)計 ................................................................................................6 數(shù)據(jù)庫設(shè)計 ....................................................................................................6 程序模塊設(shè)計 ................................................................................................7 第五章 程序開發(fā) ..........................................................................................................10 文件結(jié)構(gòu)與用途 ..........................................................................................10 數(shù)據(jù)提供者 .................................................................................................. 11 后臺服務(wù) ......................................................................................................17 獲取天氣數(shù)據(jù) .......................
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1