2010年12月31日 星期五

MyWords-2010大好年

喲齁~~每年到年末, 整個魂都飛了, 聖誕節跨年這些節日總是讓人Happy!!
但也是個審視自己的日子, 這一年的Check List完成了啥?成就了什麼?錯過了哪些?人生記錄簿又可填入啥戰績?用立可白塗掉了那些明明存在卻不想留的回憶?

2010 春  我失去了我的另一半 失去了平衡 失去了我自己

我變態的想要知道到底發生了什麼事, 我問每個人為什麼為什麼, 為什麼我會被如此對待
到底發生了什麼事? 你說呢?
多少個夜晚, 我失眠 我驚醒 我獨自面對 那有多恐怖
多少個日子, 我過著皮笑肉不笑, 我忍著傷痛不想讓我親愛的你們擔心 那有多恐怖
**我告訴自己 不要忘了這痛 懂得珍惜身邊擁有的
**我買了智慧型手機, kerker…真是好物(大推)

2010 夏 我送給自己一個禮物__勇氣  唯一的計畫就是 **一個人

我學著自己一個人生活  過了十年有男朋友的生活 我該過過一個人的生活
我的生活需要改變  於是我辭職 報考了博班 我想要往更高的地方前進 這是我的虛榮

**踏上ㄧ個人的旅程,我孤獨地享受這寂靜
  一生難得的真空 我連自己的聲音都聽不到
**辭掉工作,單車環島。
2010 秋 一個人 I'm fine
我病態的讓自己不愛上任何人,什麼為什麼?
因為害怕失去  所以不想擁有
我不相信 愛
有什麼是可以依賴的嗎?
如果一個人可過的很好,我想我不需要另外一個人
**兩個好朋友在九月都找到新對象,Happy!
** 認真當學生
2010 冬  不習慣太完美
鬧鐘06:20開始響, 晚上01:00睡覺,每個星期二是最黑暗,
正常到不能在正常的生活,日復一日規律著生活著,
想過怎樣的生活是一種決定不是選擇
**相信不完美的完美
**遇到了兩個超讚的老師
 


2010年 感謝我失去了另一半  讓我更完整
2010年 感謝每一個擁抱每一個關懷  讓我溫暖
開始倒數了呦~~
886,885, ..., 520, ..., 025, ..., 10, 9, 8, 7, 6, 5, 4, 3, ,2, 1
是結束  也是開始

2010年12月25日 星期六

SchoolLife-Learning-Android *PhoneGap (跨平台手機app)

 

<陳老師網站>

PhoneGap –> get started

以下文章出處<here>

Building The Sample Project

File > New > Android Project

  • Select Create new project from existing source
  • Click Browse and point it to the location of the sample app provided with your PhoneGap 0.9.2 download

Creating A New Project

File > New > Android Project

And give it some sensible defaults. 

 

Don't bother using older versions of Android. Use the highest SDK target available. Phonegap will take care of backwards compatibility for you.

From the PhoneGap download earlier, we need the following two files:

  1. Android/phonegap.jar
  2. Android/phonegap.js

In the root directory of the project you created in Eclipse, create two new directories:

  1. /libs
  2. /assets /www

Now copy

  1. Android/phonegap.jar to /libs 
  2. Android/phonegap.js  to /assets/www

In Eclipse, select the project in the Package Explorer and refresh (F5) the project. The copied file will appear in the project.

然後在專案上按右鍵>>Bulid Path>>Cofigure Bulid Path

image

Libraries>>Add JARs…

image

Now, create index.html in your www folder and add some code like so:

<!DOCTYPE HTML>
<html>

  <head>
    <title>PhoneGap</title>

  </head>

  <body>
  <h1>Welcome to PhoneGap</h1>

  <h2>Edit assets/www/index.html</h2>

  <script type="text/javascript" charset="utf-8" src="phonegap.js"></script>      

  <script type="text/javascript" charset="utf-8">
        document.addEventListener("deviceready", function() {

            alert('initialized');
    }, true);

  </script>

  </body>

</html>

Make a few adjustments too the project's main Java file found in the src folder in Eclipse.

  1. Change the class's extend from Activity to DroidGap
  2. Replace the setContentView() line with super.loadUrl("file:///android_asset/www/index.html");
  3. Add import com.phonegap.*;

(You might experience an error here, where Eclipse can't find phonegap-0.9.2.jar. In this case, right click on the /libs folder and go to Build Paths/ > Configure Build Paths. Then, in the Libraries tab, add phonegap-0.9.2.jar to the Project. If Eclipse is being temperamental, you might need to refresh (F5) the project once again.)

Finally, lets add some permissions to the AndroidManifest.xml file to allow phonegap to run properly.

Open up your manifest file in your favourite editor and paste the following information after the versionName but before the application tag:

<supports-screens
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:resizeable="true"
        android:anyDensity="true"
        />
        <uses-permission android:name="android.permission.CAMERA" />
        <uses-permission android:name="android.permission.VIBRATE" />
        <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
        <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
        <uses-permission android:name="android.permission.READ_PHONE_STATE" />
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.RECEIVE_SMS" />
        <uses-permission android:name="android.permission.RECORD_AUDIO" />
        <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
        <uses-permission android:name="android.permission.READ_CONTACTS" />
        <uses-permission android:name="android.permission.WRITE_CONTACTS" />  
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />  
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

In AndroidManifest.xml, make sure the activity tag contains the following attribute:

    android:configChanges="orientation|keyboardHidden"

This tells android not to reload index.html when these events happen; phonegap will handle these events appropriately.

You can now run you project as an Android Application. Right click the project and go to Run As and click Android Application.  Eclipse might ask you to select an appropriate AVD. If there isn't one, then you'll need to create it before you can continue.

If all goes well then the AVD will load in the emulator -- be prepared to wait for this -- and you application will be uploaded, installed, and run.

2010年12月20日 星期一

SchoolLife-Project-MultiTouch-知事官邸之大員照像館

李大師揮毫畫畫
IMG_0002IMG_0009 IMG_0008
我,熊熊與Shawn畫看板, 歐耶!!我好滿意耶!!
 IMG_0003IMG_0044IMG_0027IMG_0047IMG_0086IMG_0054IMG_0063IMG_0103
哇~~終於完工啦!!!呼~~最後一張照片時間05:39, 伴隨著的是摩托車輪子破掉, 未免也可淒涼了吧!!
IMG_0076IMG_0065IMAG2144
隔天一大早先去國小訪查, 就趕到木材行來裝釘畫布的木框啦!!Lulu&Shawn玩釘槍玩的很起勁耶!!
IMG_5915IMG_5935  IMG_5927
繼續完成未完成的部份, 辛苦啦!!
   IMG_0116 IMG_0121 IMG_0124IMG_0133
熊熊在幫照相館蓋屋頂XDDD
IMG_0177IMAG2207
感謝王帥帥送來我愛吃的新東陽麻辣關東煮
IMAG2182IMAG2252IMAG2232IMAG2258
在佈展時, 蒙面俠有來耶!!真酷(這是他的名片) & 氣球上的我
IMAG2190IMAG2192

話說我們要寫一段感言, 我只好寫了一段很oo的感言
================================================

那個午後  陽光灑進縣知事的浪漫
那個夜晚  我們徹夜沒睡完成了作品
那個周末  我們搭起了大員照相館

指尖  帶我們回到百年前
過往歷史  如此歷歷在目

================================================

2010年12月19日 星期日

MyLife – 20101219 Anping tour

一早來到安平市場吃鼎邊锉當早餐XDD
IMG_6346IMG_6347IMG_6348
我真不敢相信, 竟然有人不知道安平古堡耶!!誇張…這次來, 很不巧安平古堡在整修, 所以無法到瞭望台看安平風景, 這次逛安平古堡, 想起了從前的回憶, 突然好感傷呦!小時候爬的樹, 在那乘涼, 在那玩耍, 在那看布袋戲, 從不用售票到有售票口, 售票口從那邊換到那邊又換到那邊, 小時候坐在大炮上的照片還歷歷在目, 摸著快倒塌的樹突然好想哭, 多希望他健康的活著, 那是我們之前乘涼的大樹, 擁有我快樂的回憶, 每次有人來安平, 我總是不厭其煩的當導遊^__^
每次總都會有不一樣的感受, 想起不一樣的回憶, 總有新發現新驚喜 
IMG_6355IMG_6356IMG_6361IMG_6367IMG_6373 
安平街道新發現, 每天進出這邊, 但對好多事務都還是好陌生唷!!真是慚愧>"<
IMG_6391IMG_6392IMG_6393
東興蚵嗲是我的愛店之一, 四神湯的腸子白白淨淨, 看起來就是很健康(大誤),這間店以前只是小小的攤販,且只賣中秋到某個時期,現在有第二代的幫忙,所以租了個店面,但主要還是老人家在賣,可是一年四季都有在賣嚕!!
IMG_6397IMG_6399IMG_6405
安平巷弄, 怎麼逛都不膩,我還是搞不董茉莉巷在哪?!

IMG_6430IMG_6424IMG_6429IMG_6437IMG_6439IMG_6446IMG_6449IMG_6466

以前外婆家XDD

變了好多,外面的小花園不見了,不知道現在裡面住著誰…

IMG_6459IMG_6452
安平樹屋,在這遇到超妙攝影機, 很愛幫人家照像, 還會規定pose與位置, 但他幫我照了三張有兩張是糊的@@
IMG_6523IMG_6511IMG_6483IMG_6536IMG_6541IMG_6558IMG_6560

在走去樹屋的路上,看到貓咪被關在籠子裡,停下來照像,沒想到主人就跑來抱貓咪讓我們照,他叫斑斑,樹屋後面的台江內海有許多紅樹林,每到下午就很多白鷺鷥

IMG_6569 IMG_6572IMG_6577

安平古堡在整修耶!!好酷唷!!讓我想到之前的捕快的造型,哈!!

IMG_6579

林默娘公園秘密基地的船,終於蓋好下水嚕!!這是個觀光船耶!!沒有想搭的意思XDD

IMG_6587
觀夕平台看夕陽,看到美麗的彩霞,特地來到這個觀夕平台看夕陽,真是太浪漫了呀!!還可以看完夕陽看月亮勒~~

但因為我一直在玩錯位遊戲,都沒仔細欣賞,太陽就下山啦!!! >///<

IMG_6754IMG_6758IMG_6759IMG_6762
遠百吃和民, 竟然要等一個小時, 只好到美食街亂吃啦!!可惡 =..=, 意外發現, 遠百美食街之巧克力可麗餅, 超讚的啦!!奶茶也好香, 但基於熱量考量, 我點了梅子綠, 嗚嗚~~
IMG_6763IMG_6768IMG_6787