browser intent messages and broadcastReceiver

by Stephan Kromberg » Tue, 12 May 2009 01:37:20 GMT


Sponsored Links
 Hi. Please tell me how to receive (with a BroadcastReceiver)  intent 
messages from the browser application. Currently my manifest code 
snippet looks like this:

        <receiver android:name=".receiver.BrowseReceiver">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category 
android:name="android.intent.category.BROWSABLE" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.SEARCH" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.WEB_SEARCH" />
            </intent-filter>
            <!--
                <intent-filter> action 
android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category 
android:name="android.intent.category.BROWSABLE" />
                <action 
android:name="android.intent.browser.BrowserActivity" />
                <action android:name="android.intent.action.WEB_SEARCH" 
<action
                android:name="android.intent.action.SEARCH" /> 
</intent-filter>
            -->
        </receiver>

Does anyone have a solution for this?

Thanks



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



Other Threads

1. Do the USB drivers work on XP64?

I have two machines, one a WindowsXP32, and one 64. Both with AMD64
chips.
I have eclipse on both, and the SDK on both.
I'm using the usb drivers with the HTC Legend (http://
groups.google.com/group/android-developers/browse_thread/thread/
2b54d2ce1202b04b/dd6f9152cd50d64b?lnk=gst&q=usb+#dd6f9152cd50d64b).

On the 32bit one things work just peachy. Device recognised, and
debugging working fine.
However, the 64bit one doesn't seem to recognise the device.
Windows recognise's the device, and windows device manage shows it,
but "adb devices" lists nothing, and nothing shows up when trying to
manually launch from eclipse.

Any ideas?

-- 

2. SlidingDrawer handle

Hi!
Quick question: what is the drawable ID of the handle for the
application's SlidingDrawer used in the home screen?
Thanks in advance!

-- 

3. Native Bluetooth programming

4. Help! Download aplikasi di android market

5. OOT:WinMo devices yg mulus jalanin dual boot Android

6. newbie ni...gimana cara upgrade magic ke 2.1

7. aidl.exe is missing from tool directory