Generate the android-src for android api.
August 15th, 2011 § Leave a Comment
Learn from this website: http://androidforums.com/application-development/1045-source-code-android-jar.html
git clone git://git.source.android.com/platform/frameworks/base android-api
git tag
18 function gen_android_api_src () {
19
20 cd /home/tlee/work/android-apps-src/android-api-src
21 for TAG in android-1.5 android-1.6_r1 android-1.6_r2 android-2.0_r1 android-2.0.1_r1 an droid-2.1_r2 android-2.2_r1 android-2.2.2_r1 android-2.2_r1.3 android-2.3.1_r1 android-2.3.2_r1 android-2.3.3_r1 android-2.3.4_r1 android-2.3.5_r1 android-2.3_r1
22 do
23 # TAG=$1
24 pushd android-api
25 pwd
26 git checkout $TAG
27 f=android-src-$TAG.jar
28 rm -f ../$f
29
30
31 jar cf ../$f
32 for i in */java
33 do
34 echo $i
35 jar uf ../$f -C $i .
36 done
37 popd ..
38 done
39 }
Output this:
android-api android-src-android-2.2_r1.jar
android-src-android-1.5.jar android-src-android-2.3.1_r1.jar
android-src-android-1.6_r1.jar android-src-android-2.3.2_r1.jar
android-src-android-1.6_r2.jar android-src-android-2.3.3_r1.jar
android-src-android-2.0.1_r1.jar android-src-android-2.3.4_r1.jar
android-src-android-2.0_r1.jar android-src-android-2.3.5_r1.jar
android-src-android-2.1_r2.jar android-src-android-2.3_r1.jar
android-src-android-2.2.2_r1.jar android-src.sh
android-src-android-2.2_r1.3.jar
Works well!!!
Problem with booking with virginamerican group travel.
June 20th, 2011 § Leave a Comment
Saw round trip price of $438 on Virgin between SFO and MCO.
Try to book it – when Virgin Agent response 2 days later. They have jack up the price by > 50%.
End up getting the United deal of $388 instead.
Just want to note this transaction down in case someone else want to deal with Vigin-American group travel.
Fixed the outlook 2003 lossing image problems. with this solution.
April 21st, 2009 § Leave a Comment
http://itknowledgeexchange.techtarget.com/itanswers/outlook-2003-unable-to-view-images-in-body-of-message/
Hi There Fix to this problem of images not displaying in email body (Outlook 2003) is: 1. Close MS Outlook. 2. Go to the registry entry HKEY_CURRENT_USERSoftwareMicrosoftOffice11.0OutlookSecurity, copy and paste the Value Data field in to Windows Explorer, where it opens the designated temp folder for Outlook attachments. You will see all sorts of files, likely to be over 200MB in size. 3. Delete ALL items listed in that temp folder, and then re-open MS Outlook. The images should now appear. This would last as long as it takes to fill the folder again I guess. I’ve been told that the problem is due to the same default image name can only be stored in a folder a maximum of 99 times. Eg, Image1.jpg which is often sent through emails is added to the temp folder each time it is opened from the email attachment. Goodluck,
Install vista codecs 4.73 to test directx 10
December 8th, 2008 § Leave a Comment
vista codecs4.73
Mainly to test the MPC (Media Player Classic) can play the AVCHD content produce by Canon HF100 camera.
Using DirectX 10 with the NVidia GeForce 8400 display driver.
KLite codec pack does seem to work with Vista DirectX 10
Todo: Need to check out this: prosepoint
December 1st, 2008 § Leave a Comment
http://demo.prosepoint.org/news/technology
A drupal distribution:
A free and open source newspaper content management system.
ProsePoint is a software package that lets you quickly and easily publish your own newspaper or magazine online. You can upload stories, edit stories online, and organise stories into editions, all through the user-friendly and convenient web interface. You do not need to know any programming or html.
Features

- Newspaper and magazine centric data architecture – Stories can be aggregated into editions, and editions are versions of a publication series.
- Wysiwyg editing – Seamless integration with the TinyMCE rich text editor.
- Native management of images – Images are treated as content items, and can be manipulated, resized etc.
- Native management of media files (ie audio, video)
- Social network friendly links – Readers can add or bookmark your stories to social networking sites.
- Search engine friendly – Intuitive and clean looking web addresses that increase search engine traffic.
- Highly extendable – Use hundreds of freely available open source Drupal 6 modules for extra functionality.
- Free and open source – Licensed under the GPL 2 and other open source licenses.
Todo need to test out nextgen-gallery.
November 30th, 2008 § Leave a Comment
Todo need to test out nextgen-gallery.
Superbaby
November 30th, 2008 § Leave a Comment
Took this picture a couple months back, he is less than 2 years old. Now I can blog it.
Must getting the gene from his mom. I was a lot less active when I was young, according to my mom.
Super-baby
Find my boy can dribble the basketball about 15 times. Shoot some 1080p HDTV with the Canon HF100. One of these days, the web storage and bandwidth will be so cheap that I can post those HD video for my family and friends to see.
Dream comes true for Cisco/Juniper and Seagate/WD.
Thanksgiving weekend.
November 30th, 2008 § Leave a Comment
- Went to 2 parties – fun to meet friends and family again.
- Fixed the computer problem for my neighbor (don’t know why wordpress’ software flag neighbour as miss spell word – oh, well).
- He has trouble configure the outlook express software for the yahoo account.
- I can see how painful it is for non-techie try to configure the software. Need to get all the pop3 smtp, authentication, server address correctly.
- Good news is we fix his problem – it makes me feel like a hero.
- He is the greatest neighbor – for 3 months, he spend evenings and weekends to help me make my yard look best in the neighborhood.
- Do my share to contribute to the economy:
- Bought GPS – tomtom 120 for $99.
- A few DVDs at Walmart on Friday for $2 each.
- My parents bought some toys for my boy.
- 24 inch Samsung PC monitor for my girl – still in the process of setting it up.
- It looks good.
- Wife complained yet another hole in the wall – I hided the cables and put the power cord and computer on the other side of the wall.
- Setup the drupal and wordpress for my NAS system.
- Playing the blog on the wordpress.com


