I wrote a Java program to call the webkit. It loaded the data, but had wordwrap and not horizontal scroll like in windows browser. I wrote a pretty intensive program and never imagined displaying the data would be the hardest part. I create a txt file (see Attachment 1st post) which I can load into QuickOffice or PrintShare and it looks great. I can not expect my users to purchase either program. I guess this project is on hold until I can view text with Vertical & Horizontal scrolling. Thanks for all the help.
Was able to get Java application to work:
package simoneau.apps.WebTest;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
public class WebTest extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
WebView mWebView;
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mWebView = (WebView) findViewById(R.id.webview);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.getSettings().setLoadWithOverviewMode(true);
mWebView.getSettings().setUseWideViewPort(true);
mWebView.loadUrl("file:///android_asset/Mortgage.txt");
}
}
How do I include this app with my b4a project and run it from b4a?