My son Ding Wen
is porting some of his Apple IIGS and iPhone programs to Google Android phone.
There are 2 ways to do it. The first way is to embed a WebKit browser (WebView) to host a web application. The 2nd way is to use Canvas
Write a web application and tested them to work under Android Browser. If you have already learnt about Complete Pascal or other similar programming languages using QuickDraw, GScript
folder. In the Java source file in the src
folder, add 2 import statements:
Change the content of the onCreate
WebView webView = new WebView(this);
This code assuming the HTML file name to be index.html - change as you will. You can now compile and get a running application on your Android phone!
Writing web application is not the best way to do Android programming - a better way is to use Canvas
he initially written for the Apple IIGS.
Ding Wen has already written some native applications using Java.