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.
Create New Window in Android
You can jump to a new window by changing the content view.
Code
setContentView(R.layout.second); |
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:
Code
Intent intent = new Intent((Context)this, NewWindow.class); | |
startActivityForResult(intent, 0); |
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.