發表文章

目前顯示的是 3月, 2009的文章

Android 上的 Google Map

之前寫的文章 : Android Location-based Service APIs 發現google develop 網站上面也有些資料 這篇: Intents List: Invoking Google Applications on Android Devices 有提到如何使用intent到 google map 顯示地圖 Uri uri = Uri.parse("geo:38.899533,-77.036476"); Intent it = new Intent(Intent.ACTION_VIEW, uri); startActivity(it); 路徑規劃 Uri uri = Uri.parse("http://maps.google.com/maps? f=d&saddr=startLat%20startLng&daddr=endLat%20endLng&hl=en"); Intent it = new Intent(Intent.ACTION_VIEW, uri); startActivity(it); //where startLat, startLng, endLat, endLng are a long with 6 decimals like: 50.123456 // 把把起點終點以經緯度表示然後丟給google map 去做路徑規劃 感謝 ysl大大 提供。 相關文章: 奧妙的Intent

奧妙的intent

intent真的很重要! 參考資料 ysl大的 intent用法大公開 http://ysl-paradise.blogspot.com/2008/12/intent.html 關於SMS比較詳細的說明: Sending SMS using Android Intents -- 很多東西要嘗試鴨@@

肯定否定與勒沙特列原理

圖片
話說這篇是這個blog第301篇文章,想不到灌水灌的這麼兇阿 @@ 以上題外話 今天家教的時候提到了勒沙特列原理,突然解釋了一個人生現象。 請聽我慢慢解釋> 首先是勒沙特列原理,簡單來說就是 多的會往少的地方平衡 ,或著說因為缺少了什麼所以反應就向缺少的地方補足。 今天講著講不知道怎麼的覺得跟我遇到的一個人生現象,好像有點關係。 有些平衡並不是很等量的,而是會有一個趨勢。 講的好像有點玄,來講講到底我想到的是什麼人生現象好了。 那就是我常被說是"客套話達人",當然這稱號負面一點的就是"虛偽" 。 我常說"你好棒"、"真的很感謝妳"、"這樣真是太厲害了" ... ... ... 我的工作還OK,主管很照顧我,家教學生都很乖,朋友都很nice,什麼都很順利。 真的嗎?> 常常有人這樣問。有些半生熟的人就覺得客套,虛偽 or? 而今天因為勒沙特列原理才發現了,有些東西是為了要平衡而存在的。 我對於我外界的東西都给與很正面的肯定,實際上是因為我對於我自己是很負面的充滿否定。 我覺得我很胖,很不會寫程式,很沒有計畫,講話很無俚頭,做事情不徹底,不夠努力,很自我中心,很少考慮到別人 ... ...。 我心裏對自己的OS幾乎都是充滿負面的, 嘴巴說著 "挖 這好厲害",心裡想著是 "我好笨這都不會"。 嘴巴說著 "很感謝有你的幫忙",心裡想著的是 "天ㄚ 我砸鍋了" ! 虛偽的客套話的達人實際上是因為覺得自己只是一個渺小的生物。 我還不知道怎麼樣找到方式肯定自己 >< -- 而也有另外一種生物, 生活很不順,每一個ex-friend都是垃圾或神經病,同事都是懶惰鬼或心機鬼,家人都是不懂體諒完全沒有支持的感覺 ... ... 。 會不會否定別人會有某種程度的自我(or自信)補充呢 ? 不懂阿不懂 -- 總之第301篇還是個隨便寫寫。 仔細想想跟勒沙特列原理好像也沒什麼相關 Orz。 我的想法是: 否定內在 -- 肯定外界 是個可逆的過程 而因為勒沙特列原理

Android Database reference

package android.database.sqlite Android Database Sample Related Link: Android Query 相關 API

Music related link

from anddev.org Music Intent - Jump to Artist/Album android.provider MediaStore.Audio.Media

什麼是 EM Algorithm ?

網路上查詢 EM Algorithm在 英文的定義結果: * An expectation-maximization (EM) algorithm is used in statistics for finding maximum likelihood estimates of parameters in probabilistic models ... en.wikipedia.org/wiki/Em_algorithm * The EM Algorithm is a computational tool that uses the method of data augmentation and can be used to optimize a likelihood function in order to ... hea-www.harvard.edu/AstroStat/statjargon.html 中文名稱是 : 最大期望演算法 看一下網友的心得: EM algorithm 引述一下 : 然後就時光飛逝, EM 跟我的生活毫無瓜葛, 直到今年, 修Statistical theory時, 知道了這是一種求incomplete data MLE的方法, 先在假設參數為已知的某值下, 計算sufficient statistics的期望值 (E-step), 然後假設我們觀察到的資料等於此期望值, 求取使得likelihood極大的參數值 (M-step), 然後不斷地重複這兩步驟(迭代), 直到結果不再變動(收斂), 即求到我們所要的 MLE. 博客來上也有新書有關EM; The EM Algorithm And Extensions 參考一下嚕:)

要怎麼查美國學校的排名呢

要怎麼查美國學校的排名呢 家教小朋友想要申請美國的大學,Major是graphic design ! 目前中了 1. Pratt / New York http://www.pratt.edu/ 2.UIUC 在伊利諾斯 是普通性大學 3. Rochester university -- Pratt 是專業性的藝術學院 規模算小 UIUC是伊利諾州的最好的綜合性大學規模相當大 全美著名 排名請搜尋Yahoo USNews, Best Colleges http://colleges.usnews.rankingsandreviews.com/college/national-search -- 學妹說不知道怎麼查大學部的 幫查了研究所的USNEWS2009 :) 前面的數字就是排名 1 Rhode Island School of Design Providence, RI 2 Cranbrook Academy of Art Bloomfield Hills, MI Yale University New Haven, CT 4 Virginia Commonwealth University Richmond, VA 5 Carnegie Mellon University Pittsburgh, PA 6 Maryland Institute College of Art Baltimore, MD School of Visual Arts New York, NY 8 California Institute of the Arts Valencia, CA 9 Pratt Institute Brooklyn, NY 10 California College of the Arts San Francisco, CA 11 School of the Art Institute of Chicago Chicago, IL 12 New School--Parsons School of Design New York, NY Rochester Institute of Technology Rochester, NY University of Cincinnati Cincinnati, OH 15 Minneapolis College of

敎了家教之後覺得時間過的很快

最近想做個統計, 才驚覺已經敎過30個學生 !! 從Anderson哥哥變成Anderson叔叔了 ~ 時間過的真快阿 [家教][社會觀察] 系列文章: [家教][社會觀察] 建中教我的事 沒上建中被父母親折磨? 在建中到底是如何 ... [家教][社會觀察] 台灣只有兩種小孩 [家教][社會觀察] 做一個家教除了賺生活費之外 還可以得到甚麼? [家教][社會觀察] 人生苦短 台灣青少年的書櫃 都被參考書佔滿了 Q_Q [家教][社會觀察] 國中生的課外讀物應該是什麼? [家教][社會觀察] 千金難買小時候

Android Query 相關 API

public final Cursor managedQuery (Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) public final Cursor query (Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) 其他Android 開發文章請見:  Android開發豆知識

學習程式要從看文件做起

圖片
發現在開發Android的過程中有時候還是瞎摸索 @@ 還是要好好的從基本做起, 多看文件 以及多想為什麼要這樣做 ~ 該怎麼寫 以及想自己為甚麼要這樣寫 ~~~ Activity http://developer.android.com/reference/android/app/Activity.html Intent http://developer.android.com/reference/android/content/Intent.htm

Android與 Web2.0

原本想分享特別的Android Application,結果發現了一個小趨勢; 從之前介紹的 " 第一個免費且實用 T-Mobile G1 應用程式 - 台灣天氣資訊 "。 接著 中文輸入法 是一定要介紹一下的阿: Need Chinese Input on G1 ? Download KerKerInput now ! (在Cupcake上面有了虛擬鍵盤,應該會有更好的表現。) 最近看到的 aNobii Scanner , 將網路書櫃與Android結合 ! 詳情請看 : 我第一個Android程式上架了... aNobii Scanner 而與當紅的 Plurk 結合的應用也出現了 ! Pluroid: 用 Android 手機噗浪的新選擇 (其實這才是我想要介紹的主因 科科) 我想雖然 金融海嘯襲來,Web 2.0即將邁入寒冬?!! 但是在手機上網慢慢普及的情況下!我想Web2.0還有很多表現的空間! 翻到一篇舊文 Facebook 與 Nokia 合作進軍手機市場 Jan 21st, 2008 by Mr. Saturday 一下就過了一年了,兩大公司不知道有沒有什麼新進度 ? aNobii Scanner以及Pluroid的出現只是個開始, 我想在Android持續的發展下,新奇的Web2.0點子還會陸續出現的!!!!

Iconfinder ~ made Icon search easy!

Iconfinder Icon search engine. Search through 30.000 great icons in good quality. All in PNG-format with alpha-channel. Perfect choice for webdesigners. 相關文章or 相似文章 @@ iconfinder -一個免費的搜索引擎找到成千上萬的質量圖標 圖示搜尋網站 - Iconfinder 找圖示的好去所 - ICONFINDER

SearchManager

Google畢竟是以Search起家的,所以在Android上面也是有關Search方面的支援。 詳細請參考 SearchSearchManager 也還在嘗試中 Orz 以下說說有關Search的分類! * Query Searc h applications perform batch-mode searches - each query string is converted to a list of results. * Filter Search applications provide live filter-as-you-type searches.

most commonly used git commands

add Add file contents to the index bisect Find the change that introduced a bug by binary search branch List, create, or delete branches checkout Checkout and switch to a branch clone Clone a repository into a new directory commit Record changes to the repository diff Show changes between commits, commit and working tree, etc fetch Download objects and refs from another repository grep Print lines matching a pattern init Create an empty git repository or reinitialize an existing one log Show commit logs merge Join two or more development histories together mv Move or rename a file, a directory, or a symlink pull Fetch from and merge with another repository or a local branch push Update remote refs along with associated objects rebase Forward-port local commits to the updated upstream head reset Reset current HEAD to the specified state

Google Search

推薦內容橫式

本月熱門文章

鋼鐵韓粉站出來 讓韓國瑜每天唱歌喝酒好不好

黑金? 不得不提前總統馬英九大姊馬以南 吳敦義 林益世

捐款支持義大利靈醫會 一起來幫助他們 就像當初教士來台灣協助我們一樣 !!

「港版國安法」,法律將會放在《基本法》附件三在港實施,而非就《基本法》23條立法

從台灣省長宋楚瑜到台北市長柯文哲,可以說 宋楚瑜 2.0 就是柯文哲

香港事件回顧 2020/08/10 前眾志成員周庭及壹傳媒創辦人黎智英被捕 今日累計10人被捕

除了兒福聯盟 還有其他團體是努力守護孩子們 芥菜種會愛心育幼院 及忠義育幼院 都需要大家幫忙

北京故宮首訪,一窺清宮秘史 大玉兒 & 甄嬛

兒福聯盟到底多有錢?收捐款為什麼不做事情而是定存?王育敏不解釋嗎?