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!
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:
* United Kingdom
* United States
Not Australia yet, so that is not very useful for me.
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.
All you need to put the file name into the constructor
Then you can play and stop the file by these methods:
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.
You can jump to a new window by changing the content view.
But the type of Activity between two views must be same. In my case, I need to switch to a List view(Activity) from a normal window. I can't do by switching content views. The only way to do that is start a sub-activity, just like the following:
Yes, then it will jump to a new window, after the action completes, my code will call "finish();" from the sub-activity. Then it will jump back to the main window.