I am trying to display certain text in android which has text with numbers and bullets which I have achieved by using a HTML page. I am also familiar on how to add the webview but as I am using a PageCurl, I am unable to display the contents of webview in android.
CODE :
private int[] mBitmapIds = { R.layout.sample, R.layout.sample,
R.layout.sample, R.layout.sample, R.layout.sample,
R.layout.sample };
This is how I am using a page curl, all the XML files will be added to an array to be displayed in a page curl. This is what I have tried so far :
View sample = getLayoutInflater().inflate(R.layout.sample,null);
we = (WebView) sample.findViewById(R.id.admission_procedure_webview);
we.loadUrl("file:///android_asset/admission_prcedure.html");
I know its really dumb but I had to try something. I googled all over but was unable to find any solid lead. Some had even mentioned that it is impossible to achieve it. Found em at here and here. I am using one of the most popular page curl library.
How do I add a web view to page curl ? Any help will be much appreciated.