->
戴爾的伺服器來了,所以要升級主機了!
時間:2009/11/20 09:00~11/21
如果完成會再公告,屆時大家就可以有較好的環境,可以用了!先這樣!
->
戴爾的伺服器來了,所以要升級主機了!
時間:2009/11/20 09:00~11/21
如果完成會再公告,屆時大家就可以有較好的環境,可以用了!先這樣!
前幾天試著在介紹NetBeans下的Android開發裡用Netbeans開發Androd程式,總覺得有點敗筆,就是它沒有像Eclipse裡頭的ADT那麼好用,在視覺化上就很困擾,課本 Google Android SDK開發範例大全裡有提到DroidDraw這個工具,可以線上免費下載(Mac OS X, Windows, Linux)到電腦執行,也可以直接在它的站上http://www.droiddraw.org/操作,我試過之後還不錯:
我還不會很會玩,所以玩得有點彆手,不過如果好好看教學Tutorials的話,應該就會很厲害了,哈哈!
這是在藍色小舖看到的一個懸賞話題,因為我在Blogger有部落格nokia 5800、ㄚ琪的Blogger部落格、Health Spa,而且有在使用投影片的功能,那是抓Picasa相簿的,我的工作達人則是抓Flickr的,Flickr的api應該也有人在試,這個問題讓我想試試看,Google的這個相簿的api怎樣使用。
用Google可以找到Picasa 網頁相簿 Data API,是中文的喔,但是如果你要檢視最近發佈的用戶端程式庫和範例程式碼,就開始是英文的了,想說繁體的中文翻譯還沒出來喔,看來Google可以找我去做翻譯的工作喔!
內容非常的豐富,但我只針對PHP client library (v1.0)這個部份稍做測試,要在PHP使用PicasaWeb API就需要先裝好Google Data PHP Client Library,其他的AMP環境當然已經假設裝好了,安裝的步驟如下:
demos — Sample applications documentation — Documentation for the client library files library — The actual client library source files. tests — Unit-test files for automated testing. php.ini檔。 include_path. /path1:/path2:/usr/local/lib/php/library
在Windows則是像這樣:
\path1;\path2;\php\library




中午時收到「華文部落格大獎」執行小組於
2009年11月18日上午9:59寄來的2009第五屆華文部落格大獎初選入圍通知,內容是這樣的:
親愛的劉世琪格主,您好:
恭喜您!您已入圍第五屆全球華文部落格大獎年度最佳親子家庭部落格的初審階段。 我們已於網站上公佈初審入圍名單,歡迎您也上來看看其他入圍參賽者的優質部落格。 http://blogaward.chinatimes.com/2009/nomineesum.aspx
另外,部落格大獎活動辦法規定,入圍者需在自己的部落格上張貼入圍貼紙,並附上連回活動首頁之超連結(http://blogaward.chinatimes.com),同時發表一篇入圍宣告文章(內容、長短不拘),若於入圍公佈後一周內(11/25下午5:00止)仍未張貼文章及入圍貼紙,將視為非部落格作者本人報名,以棄權論。
您可直接到活動網頁上下載初審入圍貼紙。
http://blogaward.chinatimes.com/2009/first-banner.htm
複審時間為:2009年11月18日~11月30日;
我們將於12月05日(六)公佈決選入圍名單,也請您密切注意。
感謝您對全球華文部落格大獎的支持和參與。
|
|
哈哈!工作達人入圍了耶,真是令人高興!

這篇netbeans tutorial的教學是在這裡找到的,一般開發Android連官網上也是推薦用Eclipse的,但是因為Java ME的新版跟Netbeans整合的太密合了,所以我這幾天都在習慣用Netbeans,順便也想試試在Netbeans是否也可以開發Android程式。
前往Netbeans的網站,雖說也有中文的,但是內容還是很少,很多是停留在netbeans 5.5階段,所以我也mail給負責繁體中文的人看看,是否可以讓我幫忙翻譯這篇,不過還未得到通知前,我就先放在工作達人吧!
原文是在 26 November, 2008使用 NetBeans 6.5 及 Android SDK 1.0 Release 1發佈的,當然我可不能照抄對不對,少說也得更新一下,所以我用的是Netbeans 6.7跟Android SDK 2.0。
在這篇文章中,我會告訴你如何使用Netbeans的nbandroid這個netbeans plugin來在Android平台上設計程式。
在開始開發Android應用程式前,你應該已經通曉:
請參考Android SDK documentation 關於上面的資訊。
你將需要:
nbandroid project 提供了在NetBeans上開發Android的外掛,有三種方式來安裝:
強烈建議 使用nbandroid更新中心,可以參考如何安裝Android外掛到Netbeans
在安裝這個外掛後,你必須到工具->Java平台新你的Android平台:
指定你的Android SDK 位置:
現在,到檔案->New Projects,你現在應該會看到一個新的紀錄:
按下一步使用預設的名稱 (或改變它!)
你會看到像下面那樣的新專案結構:
檔案MainActivity.java 顯示在下:
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.me.hellodroid;
import android.app.Activity;
import android.os.Bundle;
/**
*
* @author amit
*/
public class MainActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
// ToDo add your GUI initialization code here
}
}
就如Android SDK documentation所說得,Android應用程式會組成一系列的活動,產生的檔案MainActivity.java是這個應用程式的主要活動。
現在建置並執行你的專案,你的專案建置成功然後Android emulator 啟動:
我們的 Hello World在哪裡?
只要加入
setContentView(R.layout.main);
到上面的檔案在// ToDo add your GUI initialization code here,這個位置
這是由外掛產生的,因為main.xml 包含了產生的主要的view。
另外的方式我們可以這樣做。
我們應該新增支援到骨架程式碼裡來顯示文字- Hello, Android, 新增下列的程式碼到檔案的"// ToDo add your GUI initialization code here"位置處:
TextView tv = new TextView(this);
tv.setText("Hello, Android");
setContentView(tv);
你會注意到netbeans ide抱怨說- "Cannot find symbol",這是因為我們需要匯入類別TextView,在NetBeans很容易解決,只要在錯誤處點擊並選擇"Add import for.."
檔案應該像這樣:
package org.me.androidapplication1;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
/**
*
* @author amit
*/
public class MainActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
TextView tv = new TextView(this);
tv.setText("Hello, Android");
setContentView(tv);
}
}
現在再一次執行專案:
‘nbandroid’專案只是很多貢獻機會的開始,請加入http://kenai.com/projects/nbandroid/
安裝這個外掛的手推就是在你的NetBeans安裝註冊nbandroid更新中心,更新中心的位址是http://kenai.com/downloads/nbandroid/updates.xml,要註冊這個更新中心,只要到工具->外掛程式,然後照著下面的圖操作就可以安裝這個外掛:
在設定 的標籤裡按下加入按鈕填寫名稱及URL:
在可用的外掛程式 標籤裡在Search文字欄位裡輸入android ,檢查找到的外掛然後按下安裝。
接受授權:
下載中:
按Continue (並且忽略未簽名的外掛)
好了,你可以開始Android應用程式…
這幾天又看到Android SDK更新了,版本已經到2.0,趕緊到download sdk那邊下載這個最新檔android-sdk_r3-windows.zip,感覺安裝更人性化了,下載後解壓縮,直接點擊SDK Setup.exe進入安裝畫面,以前好像還沒有這樣子smart,讓我貼幾張圖給各位瞧瞧:
設定你的代理伺服器,如果你有的話!
新增一個AVD,我就隨便填,就好了,接下來我要用netbeans來開發android的程式!敬請期待!
最近預約借到了阿朱的走出軟體工場,很好奇他是在寫什麼?對於正在提供web services、很想寫出手機的應用程式,以及最近剛從戴爾下單買一台最簡單的入門級server的ㄚ琪來說會有什麼幫助,我還不得而知,但是我看了序言之後,我大概有譜了,書不會很厚,應該可以很快看完,而且我覺得可以花些時間看看,應該對我會很有幫助的,期待讀完它!
今天在酷!學園看到這樣一個問題:cscope 使用問題 ,很好奇cscope是什麼東西,後來Google之後才知道這個原來是用vim來trace source code的,它擁有的功能如下:
1.Allows searching code for:
all references to a symbol global definitions functions called by a function functions calling a function text string regular expression pattern a file files including a file
2.Curses based (text screen)
3.An information database is generated for faster searches and later reference
4.The fuzzy parser supports C, but is flexible enough to be useful for C++ and Java, and for use as a 5.generalized ‘grep database’ (use it to browse large text documents!)
6.Has a command line mode for inclusion in scripts or as a backend to a GUI/frontend
7.Runs on all flavors of Unix, plus most monopoly-controlled operating systems.
也有中文的教學:Using Cscope with Vim — translated to Chinese (external link)
我也注意到它的DOS/Windows的支援,
In Taiwan there is a strong culture of silence and inability to talk about rectile dysfunction with other people. It is difficult for me to understand the meaning when I read the page “doctor recommended penis enlargement”. Who needs the penis extender? So I continue to study the site about penis enlargement. I have to admit many English expressions and vocabulary related to the medical field is not easy for me. I only know there are two commonly used types of traction devices used for penis extenders, the modern 1 inch wide silicone comfort strap and the classic noose. The very special technique of 1 inch wide silicone comfort strap provides persons who are receiving medical treatment from a doctor or hospital with an better level of comfort and improved blood circulation, two fundamental factors of the penis enlargement process. And I know that X4 Labs and their unique Hybrid Traction System offers patients the ability to choice which system suits them best.
What is the X4 Labs? X4 Labs, a Canadian medical research and development business organization, has worked closely with leading male-health specialists and urologists to make the world’s first Hybrid Support System-based penis extender successful.
If you feel it is useful. You can get information from the site. And I believe the doctor can slove your problems.
最新的回應