On Sun, Mar 4, 2012 at 4:13 PM, Tom Ratajczak <[email protected]> wrote:
> I see the difference now, so this explains why the battery power intent was
> received. But I still don't know how to receive the intent that was sent
> with startActivity. Thanks for your help.

Step #1: Implement an Activity.

Step #2: Set up the <intent-filter> in the manifest to respond to the
Intent you want. E.g.,

      <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <data android:scheme="geo" />
      </intent-filter>

Step #3: Have a beer.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
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

Reply via email to