new Intent(Uri.parse("myapp://path"))

On Wed, Feb 20, 2013 at 4:47 AM, ntt broken <nttbro...@gmail.com> wrote:
> is there anybody out there?
>
> On Thu, Feb 14, 2013 at 7:21 PM, ntt broken <nttbro...@gmail.com> wrote:
>>
>> can someone share more info on this one? thank you!
>>
>>
>> On Mon, Jan 28, 2013 at 9:56 AM, ntt broken <nttbro...@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> How can i create an intent (Java code) that will be compatible with
>>> intent filter declared?
>>>
>>> for example, if this is the intent filter declared in the
>>> AndroidManifest.xml:
>>>
>>> <activity android:name=".MyUriActivity"> <intent-filter> <action
>>> android:name="android.intent.action.VIEW" /> <category
>>> android:name="android.intent.category.DEFAULT" /> <category
>>> android:name="android.intent.category.BROWSABLE" /> <data
>>> android:scheme="myapp" android:host="path" /> </intent-filter> </activity>
>>>
>>>
>>> How can i create a new intent that can be used to work with that intent
>>> filter?
>>>
>>> Intent myIntent = new Intent( ... ) ...
>>>
>>> the main gap is how to declare intent in java code with the '<data
>>> android:scheme="myapp" android:host="path" />' part.
>>> i mean, how to set the data of the scheme,host etc to a new intent.
>>>
>>> thanks!
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to