The long way to port my onlinedic on Android platform
難怪在Bienvenue chez les Chi'tis裡的那個老婆，那麼想要搬到法國南部；
After glancing through the basic documents of Android SDK, I still have a lot of work to do before porting my onlinedic to this platform:
1. Find the UI components that I need:
1.2 Button (for start searching)
1.3 HTML viewer
2. How to create and use its menu
3. Find the component to open http requests
4. Find the component to post-process the received html file
As for item 1, it's not so difficult because the UI components I need are few.
Except for the 1.3 HTML viewer, I spent some time to make it work.
First of all, the component to display html content on android is
You can create this component in the resource and find it by id in the java source code.
Secondly, you need to add a permission line in the Manifest xml file in order to have the access to load URLs.
<uses-permission android:name="android.permission.INTERNET" />
Since I will only use this component to display the processed results of the html, I don't have to study too much about what actions it supports.
As for 2, 3, and 4, I will update later once I know how to accomplish them.
voila, here's the result of today's work: