Tuesday, February 14, 2012

android development

i also tried it in the past, but today i finished the installation of the Android SDK and i started to follow the instructions of some tutorials.

Because...
Depending on your environment, the Android emulator might take several minutes to boot fully, so please be patient
... i finally managed to setup the Google USB Driver and test the samle apps at my phone.

At the moment, an interesting class i found is WebView but it took me quite a while to figure what i should do when i read here:
Now open the HelloWebView.java file. At the top of the class, declare a WebView object:
WebView mWebView;
i found the solution here :-)

in HelloWebView.java, you need to add a few imports that aren't mentioned in the docs: 

import android.view.KeyEvent;

import android.webkit.WebView;
import android.webkit.WebViewClient;

No comments: