一月 22, 2010

Tips on using Google Wave~

Posted in computer, tools tagged , , 於 9:14 下午 由 Wing

This is to share all about tips on using Google Wave.

Google Wave is a new online communications tool that enables groups of people to edit and discuss documents simultaneously on the web.

Command for searching wave:

with:public
onlyto:me is:unread
creator:me -is:note
is:note

http://lifehacker.com/5383221/three-google-wave-searches-worth-saving


Useful Cheat Sheet:

http://www.googlewaveblogger.com/reviews/new-google-wave-users-cheat-sheet/


To open multiple waves:

(Windows) Ctrl+ click another wave in Inbox
(Mac OS) Command+ click another wave in Inbox


To add a link to another wave:

“To create a link, locate in the Search panel the wave you’d like to reference. Then, drag and drop that wave into your compose window. Voila! Your waves are linked."
http://www.google.com/support/wave/bin/answer.py?hl=en&answer=163058


To switch image display mode between preview/large size:

In edit mode, click “option" at the top right corner to switch image display mode.


Create a public wave:

Method 1:
1. Click on the + beside Manage Contacts
2. Type public@a.gwave.com (not public@a.googlewave.com)
3. Ignore the “User does not have a Google Wave account" message and hit enter.
4. Create a new wave
5. Click the + at the top of the wave
6. Choose public@a.gwave.com from the list

Method 2:
“Add this to your contacts list – easypublic@appspot.com – this will actually stay in your contacts list so you don’t have to add it every time you create a public wave, like public@a.googlewave.com"
This method is easier but easypublic@appspot.com will be included in the user list.
http://www.google.com/support/forum/p/wave/thread?tid=3069b241f612e1ba&hl=en


Remove user in wave (so far):

“It’s not possible to remove a participant from a wave just yet…"
Be careful when selecting …
http://www.google.com/support/forum/p/wave/thread?tid=357285765c698588&hl=en


Cannot create Read-only wave (so far):

“It isn’t yet possible to make your own waves read-only, but we look forward to offering this functionality in the future."
http://www.google.com/support/wave/bin/answer.py?hl=en&answer=163150


Wave on mobile:

In case you want to use it on mobile, you may see the screen as followings:
iPhone Screenshot
iPhone Screenshot
you may click “go ahead" to continue at your own peril XDD

In fact, I have tried on iPhone and android platform, it is quite slow and some gadget is broken…


Reference

The Complete Guide to Google Wave:
http://completewaveguide.com/guide/The_Complete_Guide_to_Google_Wave
This blog post is a copy of following wave:
https://wave.google.com/wave/?pli=1#restored:wave:googlewave.com!w%252Bt3rqj0OYI

I would like to thank all of the contributors, who enrich my wave. Cheers~

PS: If you want to be invited to google wave, just let me know~

廣告

一月 16, 2010

Android Development

Posted in computer, Development tagged , , , 於 9:57 下午 由 Wing

This is my development notes on Android~

Development Environment:

Mac OS
Android 1.6 SDK
Eclipse 3.5 Galileo


Basic elements:

1. Installation
2. Emulator
3. Android 1.6 NDK
4. SQLite databases


1. Installation:

1.1. Install Android 1.6 SDK
1.2. Install Eclipse 3.5 Galileo http://www.eclipse.org/downloads/
1.3. Install Android Development Tools (ADT) Plugin for Eclipse
http://developer.android.com/sdk/1.6_r1/installing.html


2. Emulator:

To list Available Android targets, go to the sdk tools directory (e.g. /Applications/android-sdk-mac_x86-1.6_r1/tools) and then issue following command:
$ ./android list targets
Available Android targets:

id: 1
Name: Android 1.5
Type: Platform
API level: 3
Revision: 1
Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
id: 2
Name: Android 1.6
Type: Platform
API level: 4
Revision: 1
Skins: HVGA (default), QVGA, WVGA800, WVGA854
id: 3
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 3
Description: Android + Google APIs
Based on Android 1.5 (API level 3)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: QVGA-P, HVGA-L, HVGA (default), QVGA-L, HVGA-P
id: 4
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 1.6 (API level 4)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, HVGA (default), WVGA800, QVGA

Note:
VGA (Video Graphics Array) is 640×480
HVGA (Half Video Graphics Array) is 640×240
QVGA (Quarter Video Graphics Array) is 320×240
WVGA (Wide Video Graphics Array) is 800×480

To create emulator:
$ ./android create avd --target 1 --name cupcake
Android 1.5 is a basic Android platform.
Do you wish to create a custom hardware profile [no]
Created AVD ‘cupcake’ based on Android 1.5
$ ./android create avd --target 2 --name donut
Android 1.6 is a basic Android platform.
Do you wish to create a custom hardware profile [no]
Created AVD ‘donut’ based on Android 1.6, with the following hardware config:
hw.lcd.density=160

To list the created emulator:
$ ./android list avd
Available Android Virtual Devices:
Name: cupcake
Path: /Users/wing/.android/avd/cupcake.avd
Target: Android 1.5 (API level 3)
Skin: HVGA
———
Name: donut
Path: /Users/wing/.android/avd/donut.avd
Target: Android 1.6 (API level 4)
Skin: HVGA

To delete emulator:
$ ./android delete avd --name donut
Deleting file /Users/wing/.android/avd/donut.ini
Deleting folder /Users/wing/.android/avd/donut.avd
AVD ‘donut’ deleted.

To start emulator:
$ ./emulator -avd cupcake


3. Android 1.6 NDK:

Seems it can reuse existing native code.
http://developer.android.com/sdk/ndk/1.6_r1/index.html


4. SQLite Databases:

4.1. Start emulator
$ ./emulator -avd cupcake

4.2. Start adb shell
$ ./adb shell

4.3. Go to application directory and create database
#cd data/data/<application_dir>
#mkdir databases
#chmod 777 databases
#sqlite3 <db_name>.db
sqlite>


Reference:

http://developer.android.com/index.html

一月 10, 2010

如何除去礙眼的路人

Posted in photo tagged , 於 5:51 下午 由 Wing

當拍風景照的時候,尤其是比較熱門的景點,總是有很多路人走來走去!
最簡單的方法當然是等待及捉緊時機拍下,但是當人多的時候總少不免地拍到一個半個路人的…
其實有一個比較有趣的方法可以除去礙眼的路人,就是使用長時間曝光
首先要用腳架設定好你的拍攝位置,之後便可以大約30秒的快門(甚或使用 BULB 自定等候時間),再相對地調整較細的光圈(e.g. f/22)。當然要做到完全除去礙眼的路人,先決條件是路人不會在同一地點停留很久,要不然會影到很多殘影的說…

以下是我在夜間拍下的照片,由於人流太多,也有一點殘影呢~
長時間曝光
曝光: 30
Aperture: f/22.0
焦距: 24 mm
ISO 速度: 100

長時間曝光也可做出各種不同的效果,例如以下便是拉長了的船~
拉長了的船
曝光: 30
Aperture: f/22.0
焦距: 22 mm
ISO 速度: 100

另外有沒有發現當長時間曝光時,光點都是星形的呢?當然我沒有用到 filter 啦,這其實是由細光圈加上鏡頭葉片結構所造成的呀~
(Reference: http://forum.photosharp.com.tw/FORUM/ArticleList.aspx?ForumId=129&TopicId=134729)

話說影煙花的時候也可使用長時間曝光再配合黑色卡紙,而黑色卡紙用於拍照的時候把不必要入鏡的東西都蓋上以免影響構圖!例如在沒有煙花出現的時候如果太大煙可用黑色卡紙蓋上。說實在的影煙花的技巧我也只是聽說,還未有機會試呢 😛