Android Team World Tour
After Google released their first Google Phone, their Android Team will go to a world tour. The team will stop at the cities Europe, North America, and Asia. But No Australia! Maybe, our market is too small. I have seen a lot of people using iPhone, few people using Window Mobile. But I have seen very few Andorid users on the street in Australia.
Related Link:
Android Developers Blog - Android Developer Lab World tour
Unicode is getting more popular
I remember around 10 years, I got so many problems on encoding when I read the chinese website. Whether it was simplified chinese(GB) or traditional chinese (BIG5). Sometimes, the website did not put the encoding setting in their HTML. So, a lot of times, I found the website was in non-readable. I needed to switch the encoding setting of my browser frequently.
For recently, most of webesites switched to Unicode, my problem is solved. According to Google, there are nearing 50% of website using Unicode now. That is good, I hope there will be 100% very soon. As a result, the encoding will be gone. Becuase Unicode is nearly including the characters from most of languages in the World.
Related Link:
Offical Google Blog
Apple iPad
I think the hottest IT@topic today is Apple iPad. Last night, Steve Jobs announced the first Apple's tablet PC, iPad, in his keynote. The rumors were talking about that for long long time.
It doesn't bring a lot of surpises to myself. It looks like an over-sized iPhone. Moreover, it has another key feature, iBook. iPad sounds a good eBook reader. But I am more prefer an eInk screen. iPad is using LED-backlight screen. I can't stand for reading a textbook on this kind of screen for long time! But the price is very very attractice. For 16GB version, that is only USD$499!
Related link:
Apple iPad
Country Setting on Trending in Twitter
I found Twitter has an new option on Trending. You can change the Trending to an individual country. But currently, they only provide the trending on these countries,included:
* Brazil
* Canada
* Ireland
* Mexico
* United Kingdom
* United States
Not Australia yet, so that is not very useful for me.
Write a wav file player in C#
That is a bit hard to write a mp3 player in C#. I think you may need to find third party mp3 decoder dll. But if you only want to play to a wav file, that is very easy. .Net libraries already have a control class for you.
Code
System.Media.SoundPlayer |
All you need to put the file name into the constructor
Code
SoundPlayer player = new SoundPlayer(FileName); |
Then you can play and stop the file by these methods:
Code
player.Play(); | |
player.Stop(); |
This afternoon, I wrote an example project for this. Moreover, this project is implemented in WPF rather than normal Windows Forms, because I wish to practice my WPF skills.
Download the example project, please click here.
