On Sun, Mar 4, 2012 at 10:19 PM, Mark Murphy <[email protected]>wrote:

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

Wait with the beer for a moment:) This is what I am already doing and the
activity is selected as one of many, but how do i process the geo:45.0,34.0
that the originating activity sends with startActivity(). This is the
missing part here. Activity is selected based on filters but how does it
know what number to dial.


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

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