I am working on a app for use in tracking a app for a pc game for
modders and i am working on a iframe but with this code it errors out
with the WebView myweb = (WebView) findViewById(R.id.myweb); with the
message myweb cannot be resolved or is not a field this is my first
attemp to use java app as i am more of a python script
package com.WryeBash;
import android.app.Activity;
import android.os.Bundle;
public class WryeBashActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
WebView myweb = (WebView) findViewById(R.id.myweb);
myweb.loadData("<iframe src =\"http://wryebash.netai.net/\"></
iframe>",
"text/html",
"utf-8");
myweb.getSettings().setJavaScriptEnabled(true);
}
}
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en