I think everyone has checked my previous post on how to improve Android WebView performance. If not, check it here Improve Android WebView Perfomance Now we will see how we can load a webpage textfields with our custom values in Android WebView. For this I am using a sample HTML file which is stored in my assets. HTML… Read More »
A Quick note on WebView A View that displays web pages. This class is the basis upon which you can roll your own web browser or simply display some online content within your Activity. It uses the WebKit rendering engine to display web pages and includes methods to navigate forward and backward through a history, zoom in and… Read More »
Here is a simple example showing how to load a database values in a spinner in android. OK we will start. This is the layout for the spinner row. spinner_row.xml This is the layout for the interface. activity_main.xml Now this is the MainActivity.java file that uses the spinner and the database. Join the Forum discussion on this post… Read More »
Hello all……….. Android has been absoultely wonderful for customizing widgets. I have shown a lot of example to customize ListViews, spinners etc. Today I will show you how to customize gridviews. Using this method you can actually place anything inside a gridview even a webview also. So here we start. We customize a gridview by creating an adapter… Read More »
Hello everyone Today I will explain how will you call a function that is defined inside the java android code from a webview. For this we need to add a webviewclient in android for the WebView we are adding in the xml. Then we have to register the webviewclient with the WebView we are creating using this method.… Read More »
This sample code helps you to load html from a string and from a file into webview in ANDROID.