Adding button to list 'Go to', 'Bookmarks', 'Windows', etc. with WebView

by ruben » Fri, 20 Jun 2008 10:23:51 GMT


Sponsored Links
 Hi all,

Here is my question: How can I easily modify this code to add 'my
button' at android web browser menu?

        super.onCreate(icicle);
        WebView w = new WebView(this);
        url = "www.test.com";
        w.loadUrl(url);
        setContentView(w);

Thanks,
Ruben

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Cannot find provider package when using ProviderTestCase2 to test

hi,
I want to build a test program to test my content provider. The  steps
as follows:

1.Create project and modify Matifest file

<instrumentation android:name="android.test.InstrumentationTestRunner"
                     android:targetPackage="com.android.abc.providers"
                     android:label="ABC Provider tests"/>

2. New a ProviderTestCase2 class for testing

public class ABCProviderTest extends ProviderTestCase2<ABCProvider> {

    public TaskProviderTest(Class< ABCProvider > providerClass,
            String providerAuthority) {
        super(ABCProvider.class, "com.android.abc.providers");
    }

3. And I want to checkout this project can is runnable or not, but log
shows

 Test run failed: Unable to find instrumentation target package:
com.android.abc.providers

I'm sure all name are correct, and  log only shows

06-09 05:54:53.670: DEBUG/AndroidRuntime(2518): >>>>>>>>>>>>>>
AndroidRuntime START <<<<<<<<<<<<<<
06-09 05:54:53.670: DEBUG/AndroidRuntime(2518): CheckJNI is ON
06-09 05:54:53.890: DEBUG/AndroidRuntime(2518): --- registering native
functions ---
06-09 05:54:53.899: INFO/jdwp(2518): received file descriptor 20 from
ADB
06-09 05:54:53.910: INFO/jdwp(2518): Ignoring second de{*filter*} --
accepting and dropping
06-09 05:54:54.630: WARN/ActivityManager(588): Unable to find
instrumentation target package: com.android.abc.providers
06-09 05:54:54.699: DEBUG/AndroidRuntime(2518): Shutting down VM

Is there any problem?
Thanks!
--~--~---------~--~----~------------~-------~--~----~

2. How can I start an Intent to launch the IM applicaiotn

Thanks. Can you also tell me how can I specify recipient of my message
when I start the intent?



2009/6/8 Jack Ha <jack...@t-mobile.com>:



--~--~---------~--~----~------------~-------~--~----~

3. Aftek Limited successfully ports Android bsp on PXA270 mobile platform with STB (set-top box) application

4. External modem with zoom2 board

5. How to redraw a child view?

6. Cannot download. The content is not supported on the phone.

7. Cupcake: power button doesn't turn the screen off