Does anyone know how to set Google Gears up to work properly in a WebView?
The following fails with the error "Gears is not installed" on the web page. public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); WebView webView = new WebView(this); WebSettings settings = webView.getSettings(); settings.setJavaScriptEnabled(true); settings.setPluginsEnabled(true); //webView.loadUrl("http://code.google.com/apis/gears/samples/ hello_world_database.html"); webView.loadUrl("http://code.google.com/apis/gears/samples/ hello_world_geolocation.html"); //webView.loadUrl("http://www.google.com"); LinearLayout layout = new LinearLayout(this); layout.setOrientation(LinearLayout.VERTICAL); Button button = new Button(this); layout.addView(button); layout.addView(webView); setContentView(layout); } } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---