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. Android-Calendar, How to get first day of week?

Hi, all
There is a string, it's value is "5-14-2009".
we know 14 is Wed,  so 12 is Monday. This week is begin by 12(Mon.).
How to get first day of week, when we know one of the date in the
week?

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

2. About SD card mount option

Hi:
  Anyone know the reason of SD card mounted with
"uid=1000,gid=1000,fmask=711,dmask=700"? It prevents
servicemanager/system_server and other processes with uid=1000 to access
files on SD card. Is this intended to prevent copying java applications from
SD card?

Thanks,
-Ethan

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

3. Not sure how to use Cursors

4. Internet on OMAP ZOOM

5. Start a program in background

6. SurfaceView very flickery on scrolling images

7. Is it faster to draw directly on a portrait or a landscape layout?